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
43 extern void SWIG_MakePtr(char *, void *, char *);
44 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
45 extern char *SWIG_GetPtr(char *, void **, char *);
46 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
47 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
48 extern PyObject
*SWIG_newvarlink(void);
52 #define SWIG_init initgridc
54 #define SWIG_name "gridc"
59 static PyObject
* l_output_helper(PyObject
* target
, PyObject
* o
) {
63 } else if (target
== Py_None
) {
67 if (!PyList_Check(target
)) {
69 target
= PyList_New(0);
70 PyList_Append(target
, o2
);
73 PyList_Append(target
,o
);
79 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
85 } else if (target
== Py_None
) {
89 if (!PyTuple_Check(target
)) {
91 target
= PyTuple_New(1);
92 PyTuple_SetItem(target
, 0, o2
);
95 PyTuple_SetItem(o3
, 0, o
);
98 target
= PySequence_Concat(o2
, o3
);
105 static char* wxStringErrorMsg
= "string type is required for parameter";
107 #define PYCALLBACK_GCA_INTINT(PCLASS, CBNAME) \
108 wxGridCellAttr* CBNAME(int a, int b) { \
109 wxGridCellAttr* rval = NULL; \
110 bool doSave = wxPyRestoreThread(); \
111 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) { \
113 wxGridCellAttr* ptr; \
114 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)", a, b)); \
116 if (!SWIG_GetPtrObj(ro, (void **)&ptr, "_wxGridCellAttr_p")) \
122 rval = PCLASS::CBNAME(a, b); \
123 wxPySaveThread(doSave); \
126 wxGridCellAttr *base_##CBNAME(int a, int b) { \
127 return PCLASS::CBNAME(a, b); \
132 #define PYCALLBACK__GCAINTINT(PCLASS, CBNAME) \
133 void CBNAME(wxGridCellAttr *attr, int a, int b) { \
134 bool doSave = wxPyRestoreThread(); \
135 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) { \
136 PyObject* obj = wxPyConstructObject((void*)attr, "wxGridCellAttr", 0);\
137 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(Oii)", obj, a, b)); \
141 PCLASS::CBNAME(attr, a, b); \
142 wxPySaveThread(doSave); \
144 void base_##CBNAME(wxGridCellAttr *attr, int a, int b) { \
145 PCLASS::CBNAME(attr, a, b); \
150 #define PYCALLBACK__GCAINT(PCLASS, CBNAME) \
151 void CBNAME(wxGridCellAttr *attr, int val) { \
152 bool doSave = wxPyRestoreThread(); \
153 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) { \
154 PyObject* obj = wxPyConstructObject((void*)attr, "wxGridCellAttr", 0);\
155 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(Oi)", obj, val)); \
159 PCLASS::CBNAME(attr, val); \
160 wxPySaveThread(doSave); \
162 void base_##CBNAME(wxGridCellAttr *attr, int val) { \
163 PCLASS::CBNAME(attr, val); \
168 #define PYCALLBACK_INT__pure(CBNAME) \
170 bool doSave = wxPyRestoreThread(); \
172 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
173 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("()")); \
174 wxPySaveThread(doSave); \
180 #define PYCALLBACK_BOOL_INTINT_pure(CBNAME) \
181 bool CBNAME(int a, int b) { \
182 bool doSave = wxPyRestoreThread(); \
184 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
185 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)",a,b)); \
186 wxPySaveThread(doSave); \
192 #define PYCALLBACK_STRING_INTINT_pure(CBNAME) \
193 wxString CBNAME(int a, int b) { \
194 bool doSave = wxPyRestoreThread(); \
196 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) { \
198 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",a,b)); \
200 PyObject* str = PyObject_Str(ro); \
201 rval = PyString_AsString(str); \
202 Py_DECREF(ro); Py_DECREF(str); \
205 wxPySaveThread(doSave); \
211 #define PYCALLBACK__INTINTSTRING_pure(CBNAME) \
212 void CBNAME(int a, int b, const wxString& c) { \
213 bool doSave = wxPyRestoreThread(); \
214 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
215 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iis)",a,b,c.c_str())); \
216 wxPySaveThread(doSave); \
220 #define PYCALLBACK_STRING_INTINT(PCLASS, CBNAME) \
221 wxString CBNAME(int a, int b) { \
222 bool doSave = wxPyRestoreThread(); \
224 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) { \
226 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",a,b)); \
228 PyObject* str = PyObject_Str(ro); \
229 rval = PyString_AsString(str); \
230 Py_DECREF(ro); Py_DECREF(str); \
233 rval = PCLASS::CBNAME(a, b); \
234 wxPySaveThread(doSave); \
237 wxString base_##CBNAME(int a, int b) { \
238 return PCLASS::CBNAME(a, b); \
243 #define PYCALLBACK_BOOL_INTINTSTRING(PCLASS, CBNAME) \
244 bool CBNAME(int a, int b, const wxString& c) { \
246 bool doSave = wxPyRestoreThread(); \
247 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
248 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iis)", a,b,c.c_str())); \
250 rval = PCLASS::CBNAME(a,b,c); \
251 wxPySaveThread(doSave); \
254 bool base_##CBNAME(int a, int b, const wxString& c) { \
255 return PCLASS::CBNAME(a,b,c); \
261 #define PYCALLBACK_LONG_INTINT(PCLASS, CBNAME) \
262 long CBNAME(int a, int b) { \
264 bool doSave = wxPyRestoreThread(); \
265 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
266 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
268 rval = PCLASS::CBNAME(a,b); \
269 wxPySaveThread(doSave); \
272 long base_##CBNAME(int a, int b) { \
273 return PCLASS::CBNAME(a,b); \
278 #define PYCALLBACK_BOOL_INTINT(PCLASS, CBNAME) \
279 bool CBNAME(int a, int b) { \
281 bool doSave = wxPyRestoreThread(); \
282 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
283 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
285 rval = PCLASS::CBNAME(a,b); \
286 wxPySaveThread(doSave); \
289 bool base_##CBNAME(int a, int b) { \
290 return PCLASS::CBNAME(a,b); \
295 #define PYCALLBACK_DOUBLE_INTINT(PCLASS, CBNAME) \
296 double CBNAME(int a, int b) { \
297 bool doSave = wxPyRestoreThread(); \
299 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) { \
301 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",a,b)); \
303 PyObject* str = PyObject_Str(ro); \
304 rval = PyFloat_AsDouble(str); \
305 Py_DECREF(ro); Py_DECREF(str); \
308 rval = PCLASS::CBNAME(a, b); \
309 wxPySaveThread(doSave); \
312 double base_##CBNAME(int a, int b) { \
313 return PCLASS::CBNAME(a, b); \
318 #define PYCALLBACK__(PCLASS, CBNAME) \
320 bool doSave = wxPyRestoreThread(); \
321 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
322 wxPyCBH_callCallback(m_myInst, Py_BuildValue("()")); \
325 wxPySaveThread(doSave); \
327 void base_##CBNAME() { \
334 #define PYCALLBACK_BOOL_SIZETSIZET(PCLASS, CBNAME) \
335 bool CBNAME(size_t a, size_t b) { \
337 bool doSave = wxPyRestoreThread(); \
338 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
339 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
341 rval = PCLASS::CBNAME(a,b); \
342 wxPySaveThread(doSave); \
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) { \
354 bool doSave = wxPyRestoreThread(); \
355 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
356 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(i)", a)); \
358 rval = PCLASS::CBNAME(a); \
359 wxPySaveThread(doSave); \
362 bool base_##CBNAME(size_t a) { \
363 return PCLASS::CBNAME(a); \
368 #define PYCALLBACK_STRING_INT(PCLASS, CBNAME) \
369 wxString CBNAME(int a) { \
370 bool doSave = wxPyRestoreThread(); \
372 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) { \
374 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(i)",a)); \
376 PyObject* str = PyObject_Str(ro); \
377 rval = PyString_AsString(str); \
378 Py_DECREF(ro); Py_DECREF(str); \
381 rval = PCLASS::CBNAME(a); \
382 wxPySaveThread(doSave); \
385 wxString base_##CBNAME(int a) { \
386 return PCLASS::CBNAME(a); \
391 #define PYCALLBACK__INTSTRING(PCLASS, CBNAME) \
392 void CBNAME(int a, const wxString& c) { \
393 bool doSave = wxPyRestoreThread(); \
394 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
395 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(is)", a,c.c_str())); \
397 PCLASS::CBNAME(a,c); \
398 wxPySaveThread(doSave); \
400 void base_##CBNAME(int a, const wxString& c) { \
401 PCLASS::CBNAME(a,c); \
407 #define PYCALLBACK_BOOL_(PCLASS, CBNAME) \
410 bool doSave = wxPyRestoreThread(); \
411 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
412 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("()")); \
414 rval = PCLASS::CBNAME(); \
415 wxPySaveThread(doSave); \
418 bool base_##CBNAME() { \
419 return PCLASS::CBNAME(); \
424 #define PYCALLBACK__SIZETINT(PCLASS, CBNAME) \
425 void CBNAME(size_t a, int b) { \
426 bool doSave = wxPyRestoreThread(); \
427 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
428 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
430 PCLASS::CBNAME(a,b); \
431 wxPySaveThread(doSave); \
433 void base_##CBNAME(size_t a, int b) { \
434 PCLASS::CBNAME(a,b); \
440 #define PYCALLBACK__INTINTLONG(PCLASS, CBNAME) \
441 void CBNAME(int a, int b, long c) { \
442 bool doSave = wxPyRestoreThread(); \
443 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
444 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iii)", a,b,c)); \
446 PCLASS::CBNAME(a,b,c); \
447 wxPySaveThread(doSave); \
449 void base_##CBNAME(int a, int b, long c) { \
450 PCLASS::CBNAME(a,b,c); \
456 #define PYCALLBACK__INTINTDOUBLE(PCLASS, CBNAME) \
457 void CBNAME(int a, int b, double c) { \
458 bool doSave = wxPyRestoreThread(); \
459 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
460 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iif)", a,b,c)); \
462 PCLASS::CBNAME(a,b,c); \
463 wxPySaveThread(doSave); \
465 void base_##CBNAME(int a, int b, double c) { \
466 PCLASS::CBNAME(a,b,c); \
471 #define PYCALLBACK__INTINTBOOL(PCLASS, CBNAME) \
472 void CBNAME(int a, int b, bool c) { \
473 bool doSave = wxPyRestoreThread(); \
474 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
475 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iii)", a,b,c)); \
477 PCLASS::CBNAME(a,b,c); \
478 wxPySaveThread(doSave); \
480 void base_##CBNAME(int a, int b, bool c) { \
481 PCLASS::CBNAME(a,b,c); \
488 class wxPyGridCellRenderer
: public wxGridCellRenderer
491 wxPyGridCellRenderer() : wxGridCellRenderer() {};
493 // Implement Python callback aware virtual methods
494 void Draw(wxGrid
& grid
, wxGridCellAttr
& attr
,
495 wxDC
& dc
, const wxRect
& rect
,
496 int row
, int col
, bool isSelected
) {
497 bool doSave
= wxPyRestoreThread();
498 if (wxPyCBH_findCallback(m_myInst
, "Draw")) {
499 wxPyCBH_callCallback(m_myInst
,
500 Py_BuildValue("(OOOOiii)",
501 wxPyConstructObject((void*)&grid
, "wxGrid", 0),
502 wxPyConstructObject((void*)&attr
, "wxGridCellAttr", 0),
503 wxPyConstructObject((void*)&dc
, "wxDC", 0),
504 wxPyConstructObject((void*)&rect
, "wxRect", 0),
505 row
, col
, isSelected
));
507 wxPySaveThread(doSave
);
510 wxSize
GetBestSize(wxGrid
& grid
, wxGridCellAttr
& attr
, wxDC
& dc
,
513 bool doSave
= wxPyRestoreThread();
514 if (wxPyCBH_findCallback(m_myInst
, "GetBestSize")) {
517 ro
= wxPyCBH_callCallbackObj(m_myInst
,
518 Py_BuildValue("(OOOii)",
519 wxPyConstructObject((void*)&grid
, "wxGrid", 0),
520 wxPyConstructObject((void*)&attr
, "wxGridCellAttr", 0),
521 wxPyConstructObject((void*)&dc
, "wxDC", 0),
524 if (!SWIG_GetPtrObj(ro
, (void **)&ptr
, "_wxSize_p"))
529 wxPySaveThread(doSave
);
534 wxGridCellRenderer
*Clone() const {
535 wxGridCellRenderer
* rval
= NULL
;
536 bool doSave
= wxPyRestoreThread();
537 if (wxPyCBH_findCallback(m_myInst
, "Clone")) {
539 wxGridCellRenderer
* ptr
;
540 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
542 if (!SWIG_GetPtrObj(ro
, (void **)&ptr
, "_wxGridCellRenderer_p"))
547 wxPySaveThread(doSave
);
551 DEC_PYCALLBACK__STRING(SetParameters
);
556 IMP_PYCALLBACK__STRING( wxPyGridCellRenderer
, wxGridCellRenderer
, SetParameters
);
559 class wxPyGridCellEditor
: public wxGridCellEditor
562 wxPyGridCellEditor() : wxGridCellEditor() {}
564 void Create(wxWindow
* parent
, wxWindowID id
, wxEvtHandler
* evtHandler
) {
565 bool doSave
= wxPyRestoreThread();
566 if (wxPyCBH_findCallback(m_myInst
, "Create")) {
567 wxPyCBH_callCallback(m_myInst
,
568 Py_BuildValue("(OiO)",
569 wxPyConstructObject((void*)parent
, "wxWindow", 0),
571 wxPyConstructObject((void*)evtHandler
, "wxEvtHandler", 0)));
573 wxPySaveThread(doSave
);
577 void BeginEdit(int row
, int col
, wxGrid
* grid
) {
578 bool doSave
= wxPyRestoreThread();
579 if (wxPyCBH_findCallback(m_myInst
, "BeginEdit")) {
580 wxPyCBH_callCallback(m_myInst
,
581 Py_BuildValue("(iiO)", row
, col
,
582 wxPyConstructObject((void*)grid
, "wxGrid", 0)));
584 wxPySaveThread(doSave
);
588 bool EndEdit(int row
, int col
, wxGrid
* grid
) {
590 bool doSave
= wxPyRestoreThread();
591 if (wxPyCBH_findCallback(m_myInst
, "EndEdit")) {
592 rv
= wxPyCBH_callCallback(m_myInst
,
593 Py_BuildValue("(iiO)", row
, col
,
594 wxPyConstructObject((void*)grid
, "wxGrid", 0)));
596 wxPySaveThread(doSave
);
601 wxGridCellEditor
*Clone() const {
602 wxGridCellEditor
* rval
= NULL
;
603 bool doSave
= wxPyRestoreThread();
604 if (wxPyCBH_findCallback(m_myInst
, "Clone")) {
606 wxGridCellEditor
* ptr
;
607 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
609 if (!SWIG_GetPtrObj(ro
, (void **)&ptr
, "_wxGridCellEditor_p"))
614 wxPySaveThread(doSave
);
619 void Show(bool show
, wxGridCellAttr
*attr
) {
620 bool doSave
= wxPyRestoreThread();
621 if (wxPyCBH_findCallback(m_myInst
, "Show"))
622 wxPyCBH_callCallback(m_myInst
,
623 Py_BuildValue("(iO)", show
,
624 wxPyConstructObject((void*)attr
, "wxGridCellAttr", 0)));
626 wxGridCellEditor::Show(show
, attr
);
627 wxPySaveThread(doSave
);
629 void base_Show(bool show
, wxGridCellAttr
*attr
) {
630 wxGridCellEditor::Show(show
, attr
);
634 void PaintBackground(const wxRect
& rectCell
, wxGridCellAttr
*attr
) {
635 bool doSave
= wxPyRestoreThread();
636 if (wxPyCBH_findCallback(m_myInst
, "PaintBackground"))
637 wxPyCBH_callCallback(m_myInst
,
638 Py_BuildValue("(OO)",
639 wxPyConstructObject((void*)&rectCell
, "wxRect", 0),
640 wxPyConstructObject((void*)attr
, "wxGridCellAttr", 0)));
642 wxGridCellEditor::PaintBackground(rectCell
, attr
);
643 wxPySaveThread(doSave
);
645 void base_PaintBackground(const wxRect
& rectCell
, wxGridCellAttr
*attr
) {
646 wxGridCellEditor::PaintBackground(rectCell
, attr
);
650 DEC_PYCALLBACK___pure(Reset
);
651 DEC_PYCALLBACK__constany(SetSize
, wxRect
);
652 DEC_PYCALLBACK_bool_any(IsAcceptedKey
, wxKeyEvent
);
653 DEC_PYCALLBACK__any(StartingKey
, wxKeyEvent
);
654 DEC_PYCALLBACK__any(HandleReturn
, wxKeyEvent
);
655 DEC_PYCALLBACK__(StartingClick
);
656 DEC_PYCALLBACK__(Destroy
);
657 DEC_PYCALLBACK__STRING(SetParameters
);
663 IMP_PYCALLBACK__STRING( wxPyGridCellEditor
, wxGridCellEditor
, SetParameters
);
664 IMP_PYCALLBACK___pure(wxPyGridCellEditor
, wxGridCellEditor
, Reset
);
665 IMP_PYCALLBACK__constany(wxPyGridCellEditor
, wxGridCellEditor
, SetSize
, wxRect
);
666 IMP_PYCALLBACK_bool_any(wxPyGridCellEditor
, wxGridCellEditor
, IsAcceptedKey
, wxKeyEvent
);
667 IMP_PYCALLBACK__any(wxPyGridCellEditor
, wxGridCellEditor
, StartingKey
, wxKeyEvent
);
668 IMP_PYCALLBACK__any(wxPyGridCellEditor
, wxGridCellEditor
, HandleReturn
, wxKeyEvent
);
669 IMP_PYCALLBACK__(wxPyGridCellEditor
, wxGridCellEditor
, StartingClick
);
670 IMP_PYCALLBACK__(wxPyGridCellEditor
, wxGridCellEditor
, Destroy
);
673 class wxPyGridCellAttrProvider
: public wxGridCellAttrProvider
676 wxPyGridCellAttrProvider() : wxGridCellAttrProvider() {};
678 PYCALLBACK_GCA_INTINT(wxGridCellAttrProvider
, GetAttr
);
679 PYCALLBACK__GCAINTINT(wxGridCellAttrProvider
, SetAttr
);
680 PYCALLBACK__GCAINT(wxGridCellAttrProvider
, SetRowAttr
);
681 PYCALLBACK__GCAINT(wxGridCellAttrProvider
, SetColAttr
);
686 class wxPyGridTableBase
: public wxGridTableBase
689 wxPyGridTableBase() : wxGridTableBase() {}
691 PYCALLBACK_INT__pure(GetNumberRows
);
692 PYCALLBACK_INT__pure(GetNumberCols
);
693 PYCALLBACK_BOOL_INTINT_pure(IsEmptyCell
);
694 PYCALLBACK_STRING_INTINT(wxGridTableBase
, GetTypeName
);
695 PYCALLBACK_BOOL_INTINTSTRING(wxGridTableBase
, CanGetValueAs
);
696 PYCALLBACK_BOOL_INTINTSTRING(wxGridTableBase
, CanSetValueAs
);
697 PYCALLBACK__(wxGridTableBase
, Clear
);
698 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase
, InsertRows
);
699 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase
, DeleteRows
);
700 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase
, InsertCols
);
701 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase
, DeleteCols
);
702 PYCALLBACK_BOOL_SIZET(wxGridTableBase
, AppendRows
);
703 PYCALLBACK_BOOL_SIZET(wxGridTableBase
, AppendCols
);
704 PYCALLBACK_STRING_INT(wxGridTableBase
, GetRowLabelValue
);
705 PYCALLBACK_STRING_INT(wxGridTableBase
, GetColLabelValue
);
706 PYCALLBACK__INTSTRING(wxGridTableBase
, SetRowLabelValue
);
707 PYCALLBACK__INTSTRING(wxGridTableBase
, SetColLabelValue
);
708 PYCALLBACK_BOOL_(wxGridTableBase
, CanHaveAttributes
);
709 PYCALLBACK_GCA_INTINT(wxGridTableBase
, GetAttr
);
710 PYCALLBACK__GCAINTINT(wxGridTableBase
, SetAttr
);
711 PYCALLBACK__GCAINT(wxGridTableBase
, SetRowAttr
);
712 PYCALLBACK__GCAINT(wxGridTableBase
, SetColAttr
);
715 wxString
GetValue(int row
, int col
) {
716 bool doSave
= wxPyRestoreThread();
718 if (wxPyCBH_findCallback(m_myInst
, "GetValue")) {
720 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(ii)",row
,col
));
722 PyObject
* str
= PyObject_Str(ro
);
723 rval
= PyString_AsString(str
);
728 wxPySaveThread(doSave
);
732 void SetValue(int row
, int col
, const wxString
& val
) {
733 bool doSave
= wxPyRestoreThread();
734 if (wxPyCBH_findCallback(m_myInst
, "SetValue"))
735 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iis)",row
,col
,val
.c_str()));
736 wxPySaveThread(doSave
);
740 // Map the Get/Set methods for the standard non-string types to
741 // the GetValue and SetValue python methods.
742 long GetValueAsLong( int row
, int col
) {
744 bool doSave
= wxPyRestoreThread();
745 if (wxPyCBH_findCallback(m_myInst
, "GetValue")) {
748 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(ii)", row
, col
));
749 if (ro
&& PyNumber_Check(ro
)) {
750 num
= PyNumber_Int(ro
);
752 rval
= PyInt_AsLong(num
);
758 wxPySaveThread(doSave
);
762 double GetValueAsDouble( int row
, int col
) {
764 bool doSave
= wxPyRestoreThread();
765 if (wxPyCBH_findCallback(m_myInst
, "GetValue")) {
768 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(ii)", row
, col
));
769 if (ro
&& PyNumber_Check(ro
)) {
770 num
= PyNumber_Float(ro
);
772 rval
= PyFloat_AsDouble(num
);
778 wxPySaveThread(doSave
);
782 bool GetValueAsBool( int row
, int col
) {
783 return (bool)GetValueAsLong(row
, col
);
786 void SetValueAsLong( int row
, int col
, long value
) {
787 bool doSave
= wxPyRestoreThread();
788 if (wxPyCBH_findCallback(m_myInst
, "SetValue")) {
789 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iii)", row
, col
, value
));
791 wxPySaveThread(doSave
);
794 void SetValueAsDouble( int row
, int col
, double value
) {
795 bool doSave
= wxPyRestoreThread();
796 if (wxPyCBH_findCallback(m_myInst
, "SetValue")) {
797 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iid)", row
, col
, value
));
799 wxPySaveThread(doSave
);
802 void SetValueAsBool( int row
, int col
, bool value
) {
803 SetValueAsLong( row
, col
, (long)value
);
810 bool wxGridCellCoords_helper(PyObject
* source
, wxGridCellCoords
** obj
) {
812 // If source is an object instance then it may already be the right type
813 if (PyInstance_Check(source
)) {
814 wxGridCellCoords
* ptr
;
815 if (SWIG_GetPtrObj(source
, (void **)&ptr
, "_wxGridCellCoords_p"))
820 // otherwise a 2-tuple of integers is expected
821 else if (PySequence_Check(source
) && PyObject_Length(source
) == 2) {
822 PyObject
* o1
= PySequence_GetItem(source
, 0);
823 PyObject
* o2
= PySequence_GetItem(source
, 1);
824 **obj
= wxGridCellCoords(PyInt_AsLong(o1
), PyInt_AsLong(o2
));
829 PyErr_SetString(PyExc_TypeError
, "Expected a 2-tuple of integers or a wxGridCellCoords object.");
833 typedef wxGrid::wxGridSelectionModes WXGRIDSELECTIONMODES
;
837 static int _wrap_wxGridNoCellCoords_set(PyObject
*val
) {
839 PyErr_SetString(PyExc_TypeError
,"Variable wxGridNoCellCoords is read-only.");
843 static PyObject
*_wrap_wxGridNoCellCoords_get() {
847 SWIG_MakePtr(ptemp
,(char *) &wxGridNoCellCoords
,"_wxGridCellCoords_p");
848 pyobj
= PyString_FromString(ptemp
);
852 static int _wrap_wxGridNoCellRect_set(PyObject
*val
) {
854 PyErr_SetString(PyExc_TypeError
,"Variable wxGridNoCellRect is read-only.");
858 static PyObject
*_wrap_wxGridNoCellRect_get() {
862 SWIG_MakePtr(ptemp
,(char *) &wxGridNoCellRect
,"_wxRect_p");
863 pyobj
= PyString_FromString(ptemp
);
867 #define wxGridCellRenderer_SetParameters(_swigobj,_swigarg0) (_swigobj->SetParameters(_swigarg0))
868 static PyObject
*_wrap_wxGridCellRenderer_SetParameters(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
869 PyObject
* _resultobj
;
870 wxGridCellRenderer
* _arg0
;
872 PyObject
* _argo0
= 0;
873 PyObject
* _obj1
= 0;
874 char *_kwnames
[] = { "self","params", NULL
};
877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellRenderer_SetParameters",_kwnames
,&_argo0
,&_obj1
))
880 if (_argo0
== Py_None
) { _arg0
= NULL
; }
881 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellRenderer_p")) {
882 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellRenderer_SetParameters. Expected _wxGridCellRenderer_p.");
887 #if PYTHON_API_VERSION >= 1009
888 char* tmpPtr
; int tmpSize
;
889 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
890 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
893 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
895 _arg1
= new wxString(tmpPtr
, tmpSize
);
897 if (!PyString_Check(_obj1
)) {
898 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
901 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
905 wxPy_BEGIN_ALLOW_THREADS
;
906 wxGridCellRenderer_SetParameters(_arg0
,*_arg1
);
908 wxPy_END_ALLOW_THREADS
;
909 } Py_INCREF(Py_None
);
910 _resultobj
= Py_None
;
918 #define wxGridCellRenderer_IncRef(_swigobj) (_swigobj->IncRef())
919 static PyObject
*_wrap_wxGridCellRenderer_IncRef(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
920 PyObject
* _resultobj
;
921 wxGridCellRenderer
* _arg0
;
922 PyObject
* _argo0
= 0;
923 char *_kwnames
[] = { "self", NULL
};
926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellRenderer_IncRef",_kwnames
,&_argo0
))
929 if (_argo0
== Py_None
) { _arg0
= NULL
; }
930 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellRenderer_p")) {
931 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellRenderer_IncRef. Expected _wxGridCellRenderer_p.");
936 wxPy_BEGIN_ALLOW_THREADS
;
937 wxGridCellRenderer_IncRef(_arg0
);
939 wxPy_END_ALLOW_THREADS
;
940 } Py_INCREF(Py_None
);
941 _resultobj
= Py_None
;
945 #define wxGridCellRenderer_DecRef(_swigobj) (_swigobj->DecRef())
946 static PyObject
*_wrap_wxGridCellRenderer_DecRef(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
947 PyObject
* _resultobj
;
948 wxGridCellRenderer
* _arg0
;
949 PyObject
* _argo0
= 0;
950 char *_kwnames
[] = { "self", NULL
};
953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellRenderer_DecRef",_kwnames
,&_argo0
))
956 if (_argo0
== Py_None
) { _arg0
= NULL
; }
957 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellRenderer_p")) {
958 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellRenderer_DecRef. Expected _wxGridCellRenderer_p.");
963 wxPy_BEGIN_ALLOW_THREADS
;
964 wxGridCellRenderer_DecRef(_arg0
);
966 wxPy_END_ALLOW_THREADS
;
967 } Py_INCREF(Py_None
);
968 _resultobj
= Py_None
;
972 #define wxGridCellRenderer_Draw(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Draw(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
973 static PyObject
*_wrap_wxGridCellRenderer_Draw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
974 PyObject
* _resultobj
;
975 wxGridCellRenderer
* _arg0
;
977 wxGridCellAttr
* _arg2
;
983 PyObject
* _argo0
= 0;
984 PyObject
* _argo1
= 0;
985 PyObject
* _argo2
= 0;
986 PyObject
* _argo3
= 0;
988 PyObject
* _obj4
= 0;
990 char *_kwnames
[] = { "self","grid","attr","dc","rect","row","col","isSelected", NULL
};
993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOOOiii:wxGridCellRenderer_Draw",_kwnames
,&_argo0
,&_argo1
,&_argo2
,&_argo3
,&_obj4
,&_arg5
,&_arg6
,&tempbool7
))
996 if (_argo0
== Py_None
) { _arg0
= NULL
; }
997 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellRenderer_p")) {
998 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellRenderer_Draw. Expected _wxGridCellRenderer_p.");
1003 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1004 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGrid_p")) {
1005 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellRenderer_Draw. Expected _wxGrid_p.");
1010 if (_argo2
== Py_None
) { _arg2
= NULL
; }
1011 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGridCellAttr_p")) {
1012 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxGridCellRenderer_Draw. Expected _wxGridCellAttr_p.");
1017 if (_argo3
== Py_None
) { _arg3
= NULL
; }
1018 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxDC_p")) {
1019 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGridCellRenderer_Draw. Expected _wxDC_p.");
1025 if (! wxRect_helper(_obj4
, &_arg4
))
1028 _arg7
= (bool ) tempbool7
;
1030 wxPy_BEGIN_ALLOW_THREADS
;
1031 wxGridCellRenderer_Draw(_arg0
,*_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
,_arg7
);
1033 wxPy_END_ALLOW_THREADS
;
1034 } Py_INCREF(Py_None
);
1035 _resultobj
= Py_None
;
1039 #define wxGridCellRenderer_GetBestSize(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->GetBestSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
1040 static PyObject
*_wrap_wxGridCellRenderer_GetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1041 PyObject
* _resultobj
;
1043 wxGridCellRenderer
* _arg0
;
1045 wxGridCellAttr
* _arg2
;
1049 PyObject
* _argo0
= 0;
1050 PyObject
* _argo1
= 0;
1051 PyObject
* _argo2
= 0;
1052 PyObject
* _argo3
= 0;
1053 char *_kwnames
[] = { "self","grid","attr","dc","row","col", NULL
};
1057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOOii:wxGridCellRenderer_GetBestSize",_kwnames
,&_argo0
,&_argo1
,&_argo2
,&_argo3
,&_arg4
,&_arg5
))
1060 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1061 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellRenderer_p")) {
1062 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellRenderer_GetBestSize. Expected _wxGridCellRenderer_p.");
1067 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1068 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGrid_p")) {
1069 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellRenderer_GetBestSize. Expected _wxGrid_p.");
1074 if (_argo2
== Py_None
) { _arg2
= NULL
; }
1075 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGridCellAttr_p")) {
1076 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxGridCellRenderer_GetBestSize. Expected _wxGridCellAttr_p.");
1081 if (_argo3
== Py_None
) { _arg3
= NULL
; }
1082 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxDC_p")) {
1083 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGridCellRenderer_GetBestSize. Expected _wxDC_p.");
1088 wxPy_BEGIN_ALLOW_THREADS
;
1089 _result
= new wxSize (wxGridCellRenderer_GetBestSize(_arg0
,*_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
));
1091 wxPy_END_ALLOW_THREADS
;
1092 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
1093 _resultobj
= Py_BuildValue("s",_ptemp
);
1097 #define wxGridCellRenderer_Clone(_swigobj) (_swigobj->Clone())
1098 static PyObject
*_wrap_wxGridCellRenderer_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1099 PyObject
* _resultobj
;
1100 wxGridCellRenderer
* _result
;
1101 wxGridCellRenderer
* _arg0
;
1102 PyObject
* _argo0
= 0;
1103 char *_kwnames
[] = { "self", NULL
};
1107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellRenderer_Clone",_kwnames
,&_argo0
))
1110 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1111 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellRenderer_p")) {
1112 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellRenderer_Clone. Expected _wxGridCellRenderer_p.");
1117 wxPy_BEGIN_ALLOW_THREADS
;
1118 _result
= (wxGridCellRenderer
*)wxGridCellRenderer_Clone(_arg0
);
1120 wxPy_END_ALLOW_THREADS
;
1122 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellRenderer_p");
1123 _resultobj
= Py_BuildValue("s",_ptemp
);
1126 _resultobj
= Py_None
;
1131 static void *SwigwxPyGridCellRendererTowxGridCellRenderer(void *ptr
) {
1132 wxPyGridCellRenderer
*src
;
1133 wxGridCellRenderer
*dest
;
1134 src
= (wxPyGridCellRenderer
*) ptr
;
1135 dest
= (wxGridCellRenderer
*) src
;
1136 return (void *) dest
;
1139 #define new_wxPyGridCellRenderer() (new wxPyGridCellRenderer())
1140 static PyObject
*_wrap_new_wxPyGridCellRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1141 PyObject
* _resultobj
;
1142 wxPyGridCellRenderer
* _result
;
1143 char *_kwnames
[] = { NULL
};
1147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPyGridCellRenderer",_kwnames
))
1150 wxPy_BEGIN_ALLOW_THREADS
;
1151 _result
= (wxPyGridCellRenderer
*)new_wxPyGridCellRenderer();
1153 wxPy_END_ALLOW_THREADS
;
1155 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyGridCellRenderer_p");
1156 _resultobj
= Py_BuildValue("s",_ptemp
);
1159 _resultobj
= Py_None
;
1164 #define wxPyGridCellRenderer__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1))
1165 static PyObject
*_wrap_wxPyGridCellRenderer__setSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1166 PyObject
* _resultobj
;
1167 wxPyGridCellRenderer
* _arg0
;
1170 PyObject
* _argo0
= 0;
1171 PyObject
* _obj1
= 0;
1172 PyObject
* _obj2
= 0;
1173 char *_kwnames
[] = { "self","self","_class", NULL
};
1176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyGridCellRenderer__setSelf",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
1179 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1180 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellRenderer_p")) {
1181 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellRenderer__setSelf. Expected _wxPyGridCellRenderer_p.");
1192 wxPy_BEGIN_ALLOW_THREADS
;
1193 wxPyGridCellRenderer__setSelf(_arg0
,_arg1
,_arg2
);
1195 wxPy_END_ALLOW_THREADS
;
1196 } Py_INCREF(Py_None
);
1197 _resultobj
= Py_None
;
1201 #define wxPyGridCellRenderer_base_SetParameters(_swigobj,_swigarg0) (_swigobj->base_SetParameters(_swigarg0))
1202 static PyObject
*_wrap_wxPyGridCellRenderer_base_SetParameters(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1203 PyObject
* _resultobj
;
1204 wxPyGridCellRenderer
* _arg0
;
1206 PyObject
* _argo0
= 0;
1207 PyObject
* _obj1
= 0;
1208 char *_kwnames
[] = { "self","params", NULL
};
1211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyGridCellRenderer_base_SetParameters",_kwnames
,&_argo0
,&_obj1
))
1214 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1215 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellRenderer_p")) {
1216 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellRenderer_base_SetParameters. Expected _wxPyGridCellRenderer_p.");
1221 #if PYTHON_API_VERSION >= 1009
1222 char* tmpPtr
; int tmpSize
;
1223 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1224 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
1227 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1229 _arg1
= new wxString(tmpPtr
, tmpSize
);
1231 if (!PyString_Check(_obj1
)) {
1232 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1235 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1239 wxPy_BEGIN_ALLOW_THREADS
;
1240 wxPyGridCellRenderer_base_SetParameters(_arg0
,*_arg1
);
1242 wxPy_END_ALLOW_THREADS
;
1243 } Py_INCREF(Py_None
);
1244 _resultobj
= Py_None
;
1252 static void *SwigwxGridCellStringRendererTowxGridCellRenderer(void *ptr
) {
1253 wxGridCellStringRenderer
*src
;
1254 wxGridCellRenderer
*dest
;
1255 src
= (wxGridCellStringRenderer
*) ptr
;
1256 dest
= (wxGridCellRenderer
*) src
;
1257 return (void *) dest
;
1260 #define new_wxGridCellStringRenderer() (new wxGridCellStringRenderer())
1261 static PyObject
*_wrap_new_wxGridCellStringRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1262 PyObject
* _resultobj
;
1263 wxGridCellStringRenderer
* _result
;
1264 char *_kwnames
[] = { NULL
};
1268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxGridCellStringRenderer",_kwnames
))
1271 wxPy_BEGIN_ALLOW_THREADS
;
1272 _result
= (wxGridCellStringRenderer
*)new_wxGridCellStringRenderer();
1274 wxPy_END_ALLOW_THREADS
;
1276 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellStringRenderer_p");
1277 _resultobj
= Py_BuildValue("s",_ptemp
);
1280 _resultobj
= Py_None
;
1285 static void *SwigwxGridCellNumberRendererTowxGridCellStringRenderer(void *ptr
) {
1286 wxGridCellNumberRenderer
*src
;
1287 wxGridCellStringRenderer
*dest
;
1288 src
= (wxGridCellNumberRenderer
*) ptr
;
1289 dest
= (wxGridCellStringRenderer
*) src
;
1290 return (void *) dest
;
1293 static void *SwigwxGridCellNumberRendererTowxGridCellRenderer(void *ptr
) {
1294 wxGridCellNumberRenderer
*src
;
1295 wxGridCellRenderer
*dest
;
1296 src
= (wxGridCellNumberRenderer
*) ptr
;
1297 dest
= (wxGridCellRenderer
*) src
;
1298 return (void *) dest
;
1301 #define new_wxGridCellNumberRenderer() (new wxGridCellNumberRenderer())
1302 static PyObject
*_wrap_new_wxGridCellNumberRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1303 PyObject
* _resultobj
;
1304 wxGridCellNumberRenderer
* _result
;
1305 char *_kwnames
[] = { NULL
};
1309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxGridCellNumberRenderer",_kwnames
))
1312 wxPy_BEGIN_ALLOW_THREADS
;
1313 _result
= (wxGridCellNumberRenderer
*)new_wxGridCellNumberRenderer();
1315 wxPy_END_ALLOW_THREADS
;
1317 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellNumberRenderer_p");
1318 _resultobj
= Py_BuildValue("s",_ptemp
);
1321 _resultobj
= Py_None
;
1326 static void *SwigwxGridCellFloatRendererTowxGridCellStringRenderer(void *ptr
) {
1327 wxGridCellFloatRenderer
*src
;
1328 wxGridCellStringRenderer
*dest
;
1329 src
= (wxGridCellFloatRenderer
*) ptr
;
1330 dest
= (wxGridCellStringRenderer
*) src
;
1331 return (void *) dest
;
1334 static void *SwigwxGridCellFloatRendererTowxGridCellRenderer(void *ptr
) {
1335 wxGridCellFloatRenderer
*src
;
1336 wxGridCellRenderer
*dest
;
1337 src
= (wxGridCellFloatRenderer
*) ptr
;
1338 dest
= (wxGridCellRenderer
*) src
;
1339 return (void *) dest
;
1342 #define new_wxGridCellFloatRenderer(_swigarg0,_swigarg1) (new wxGridCellFloatRenderer(_swigarg0,_swigarg1))
1343 static PyObject
*_wrap_new_wxGridCellFloatRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1344 PyObject
* _resultobj
;
1345 wxGridCellFloatRenderer
* _result
;
1346 int _arg0
= (int ) -1;
1347 int _arg1
= (int ) -1;
1348 char *_kwnames
[] = { "width","precision", NULL
};
1352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:new_wxGridCellFloatRenderer",_kwnames
,&_arg0
,&_arg1
))
1355 wxPy_BEGIN_ALLOW_THREADS
;
1356 _result
= (wxGridCellFloatRenderer
*)new_wxGridCellFloatRenderer(_arg0
,_arg1
);
1358 wxPy_END_ALLOW_THREADS
;
1360 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellFloatRenderer_p");
1361 _resultobj
= Py_BuildValue("s",_ptemp
);
1364 _resultobj
= Py_None
;
1369 #define wxGridCellFloatRenderer_GetWidth(_swigobj) (_swigobj->GetWidth())
1370 static PyObject
*_wrap_wxGridCellFloatRenderer_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1371 PyObject
* _resultobj
;
1373 wxGridCellFloatRenderer
* _arg0
;
1374 PyObject
* _argo0
= 0;
1375 char *_kwnames
[] = { "self", NULL
};
1378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellFloatRenderer_GetWidth",_kwnames
,&_argo0
))
1381 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1382 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellFloatRenderer_p")) {
1383 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellFloatRenderer_GetWidth. Expected _wxGridCellFloatRenderer_p.");
1388 wxPy_BEGIN_ALLOW_THREADS
;
1389 _result
= (int )wxGridCellFloatRenderer_GetWidth(_arg0
);
1391 wxPy_END_ALLOW_THREADS
;
1392 } _resultobj
= Py_BuildValue("i",_result
);
1396 #define wxGridCellFloatRenderer_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
1397 static PyObject
*_wrap_wxGridCellFloatRenderer_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1398 PyObject
* _resultobj
;
1399 wxGridCellFloatRenderer
* _arg0
;
1401 PyObject
* _argo0
= 0;
1402 char *_kwnames
[] = { "self","width", NULL
};
1405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridCellFloatRenderer_SetWidth",_kwnames
,&_argo0
,&_arg1
))
1408 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1409 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellFloatRenderer_p")) {
1410 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellFloatRenderer_SetWidth. Expected _wxGridCellFloatRenderer_p.");
1415 wxPy_BEGIN_ALLOW_THREADS
;
1416 wxGridCellFloatRenderer_SetWidth(_arg0
,_arg1
);
1418 wxPy_END_ALLOW_THREADS
;
1419 } Py_INCREF(Py_None
);
1420 _resultobj
= Py_None
;
1424 #define wxGridCellFloatRenderer_GetPrecision(_swigobj) (_swigobj->GetPrecision())
1425 static PyObject
*_wrap_wxGridCellFloatRenderer_GetPrecision(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1426 PyObject
* _resultobj
;
1428 wxGridCellFloatRenderer
* _arg0
;
1429 PyObject
* _argo0
= 0;
1430 char *_kwnames
[] = { "self", NULL
};
1433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellFloatRenderer_GetPrecision",_kwnames
,&_argo0
))
1436 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1437 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellFloatRenderer_p")) {
1438 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellFloatRenderer_GetPrecision. Expected _wxGridCellFloatRenderer_p.");
1443 wxPy_BEGIN_ALLOW_THREADS
;
1444 _result
= (int )wxGridCellFloatRenderer_GetPrecision(_arg0
);
1446 wxPy_END_ALLOW_THREADS
;
1447 } _resultobj
= Py_BuildValue("i",_result
);
1451 #define wxGridCellFloatRenderer_SetPrecision(_swigobj,_swigarg0) (_swigobj->SetPrecision(_swigarg0))
1452 static PyObject
*_wrap_wxGridCellFloatRenderer_SetPrecision(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1453 PyObject
* _resultobj
;
1454 wxGridCellFloatRenderer
* _arg0
;
1456 PyObject
* _argo0
= 0;
1457 char *_kwnames
[] = { "self","precision", NULL
};
1460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridCellFloatRenderer_SetPrecision",_kwnames
,&_argo0
,&_arg1
))
1463 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1464 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellFloatRenderer_p")) {
1465 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellFloatRenderer_SetPrecision. Expected _wxGridCellFloatRenderer_p.");
1470 wxPy_BEGIN_ALLOW_THREADS
;
1471 wxGridCellFloatRenderer_SetPrecision(_arg0
,_arg1
);
1473 wxPy_END_ALLOW_THREADS
;
1474 } Py_INCREF(Py_None
);
1475 _resultobj
= Py_None
;
1479 static void *SwigwxGridCellBoolRendererTowxGridCellRenderer(void *ptr
) {
1480 wxGridCellBoolRenderer
*src
;
1481 wxGridCellRenderer
*dest
;
1482 src
= (wxGridCellBoolRenderer
*) ptr
;
1483 dest
= (wxGridCellRenderer
*) src
;
1484 return (void *) dest
;
1487 #define new_wxGridCellBoolRenderer() (new wxGridCellBoolRenderer())
1488 static PyObject
*_wrap_new_wxGridCellBoolRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1489 PyObject
* _resultobj
;
1490 wxGridCellBoolRenderer
* _result
;
1491 char *_kwnames
[] = { NULL
};
1495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxGridCellBoolRenderer",_kwnames
))
1498 wxPy_BEGIN_ALLOW_THREADS
;
1499 _result
= (wxGridCellBoolRenderer
*)new_wxGridCellBoolRenderer();
1501 wxPy_END_ALLOW_THREADS
;
1503 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellBoolRenderer_p");
1504 _resultobj
= Py_BuildValue("s",_ptemp
);
1507 _resultobj
= Py_None
;
1512 #define wxGridCellEditor_IsCreated(_swigobj) (_swigobj->IsCreated())
1513 static PyObject
*_wrap_wxGridCellEditor_IsCreated(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1514 PyObject
* _resultobj
;
1516 wxGridCellEditor
* _arg0
;
1517 PyObject
* _argo0
= 0;
1518 char *_kwnames
[] = { "self", NULL
};
1521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellEditor_IsCreated",_kwnames
,&_argo0
))
1524 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1525 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
1526 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_IsCreated. Expected _wxGridCellEditor_p.");
1531 wxPy_BEGIN_ALLOW_THREADS
;
1532 _result
= (bool )wxGridCellEditor_IsCreated(_arg0
);
1534 wxPy_END_ALLOW_THREADS
;
1535 } _resultobj
= Py_BuildValue("i",_result
);
1539 #define wxGridCellEditor_GetControl(_swigobj) (_swigobj->GetControl())
1540 static PyObject
*_wrap_wxGridCellEditor_GetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1541 PyObject
* _resultobj
;
1542 wxControl
* _result
;
1543 wxGridCellEditor
* _arg0
;
1544 PyObject
* _argo0
= 0;
1545 char *_kwnames
[] = { "self", NULL
};
1549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellEditor_GetControl",_kwnames
,&_argo0
))
1552 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1553 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
1554 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_GetControl. Expected _wxGridCellEditor_p.");
1559 wxPy_BEGIN_ALLOW_THREADS
;
1560 _result
= (wxControl
*)wxGridCellEditor_GetControl(_arg0
);
1562 wxPy_END_ALLOW_THREADS
;
1564 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxControl_p");
1565 _resultobj
= Py_BuildValue("s",_ptemp
);
1568 _resultobj
= Py_None
;
1573 #define wxGridCellEditor_SetControl(_swigobj,_swigarg0) (_swigobj->SetControl(_swigarg0))
1574 static PyObject
*_wrap_wxGridCellEditor_SetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1575 PyObject
* _resultobj
;
1576 wxGridCellEditor
* _arg0
;
1578 PyObject
* _argo0
= 0;
1579 PyObject
* _argo1
= 0;
1580 char *_kwnames
[] = { "self","control", NULL
};
1583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellEditor_SetControl",_kwnames
,&_argo0
,&_argo1
))
1586 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1587 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
1588 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_SetControl. Expected _wxGridCellEditor_p.");
1593 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1594 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxControl_p")) {
1595 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellEditor_SetControl. Expected _wxControl_p.");
1600 wxPy_BEGIN_ALLOW_THREADS
;
1601 wxGridCellEditor_SetControl(_arg0
,_arg1
);
1603 wxPy_END_ALLOW_THREADS
;
1604 } Py_INCREF(Py_None
);
1605 _resultobj
= Py_None
;
1609 #define wxGridCellEditor_SetParameters(_swigobj,_swigarg0) (_swigobj->SetParameters(_swigarg0))
1610 static PyObject
*_wrap_wxGridCellEditor_SetParameters(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1611 PyObject
* _resultobj
;
1612 wxGridCellEditor
* _arg0
;
1614 PyObject
* _argo0
= 0;
1615 PyObject
* _obj1
= 0;
1616 char *_kwnames
[] = { "self","params", NULL
};
1619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellEditor_SetParameters",_kwnames
,&_argo0
,&_obj1
))
1622 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1623 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
1624 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_SetParameters. Expected _wxGridCellEditor_p.");
1629 #if PYTHON_API_VERSION >= 1009
1630 char* tmpPtr
; int tmpSize
;
1631 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1632 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
1635 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1637 _arg1
= new wxString(tmpPtr
, tmpSize
);
1639 if (!PyString_Check(_obj1
)) {
1640 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1643 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1647 wxPy_BEGIN_ALLOW_THREADS
;
1648 wxGridCellEditor_SetParameters(_arg0
,*_arg1
);
1650 wxPy_END_ALLOW_THREADS
;
1651 } Py_INCREF(Py_None
);
1652 _resultobj
= Py_None
;
1660 #define wxGridCellEditor_IncRef(_swigobj) (_swigobj->IncRef())
1661 static PyObject
*_wrap_wxGridCellEditor_IncRef(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1662 PyObject
* _resultobj
;
1663 wxGridCellEditor
* _arg0
;
1664 PyObject
* _argo0
= 0;
1665 char *_kwnames
[] = { "self", NULL
};
1668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellEditor_IncRef",_kwnames
,&_argo0
))
1671 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1672 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
1673 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_IncRef. Expected _wxGridCellEditor_p.");
1678 wxPy_BEGIN_ALLOW_THREADS
;
1679 wxGridCellEditor_IncRef(_arg0
);
1681 wxPy_END_ALLOW_THREADS
;
1682 } Py_INCREF(Py_None
);
1683 _resultobj
= Py_None
;
1687 #define wxGridCellEditor_DecRef(_swigobj) (_swigobj->DecRef())
1688 static PyObject
*_wrap_wxGridCellEditor_DecRef(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1689 PyObject
* _resultobj
;
1690 wxGridCellEditor
* _arg0
;
1691 PyObject
* _argo0
= 0;
1692 char *_kwnames
[] = { "self", NULL
};
1695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellEditor_DecRef",_kwnames
,&_argo0
))
1698 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1699 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
1700 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_DecRef. Expected _wxGridCellEditor_p.");
1705 wxPy_BEGIN_ALLOW_THREADS
;
1706 wxGridCellEditor_DecRef(_arg0
);
1708 wxPy_END_ALLOW_THREADS
;
1709 } Py_INCREF(Py_None
);
1710 _resultobj
= Py_None
;
1714 #define wxGridCellEditor_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2))
1715 static PyObject
*_wrap_wxGridCellEditor_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1716 PyObject
* _resultobj
;
1717 wxGridCellEditor
* _arg0
;
1720 wxEvtHandler
* _arg3
;
1721 PyObject
* _argo0
= 0;
1722 PyObject
* _argo1
= 0;
1723 PyObject
* _argo3
= 0;
1724 char *_kwnames
[] = { "self","parent","id","evtHandler", NULL
};
1727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO:wxGridCellEditor_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_argo3
))
1730 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1731 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
1732 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_Create. Expected _wxGridCellEditor_p.");
1737 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1738 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1739 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellEditor_Create. Expected _wxWindow_p.");
1744 if (_argo3
== Py_None
) { _arg3
= NULL
; }
1745 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxEvtHandler_p")) {
1746 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGridCellEditor_Create. Expected _wxEvtHandler_p.");
1751 wxPy_BEGIN_ALLOW_THREADS
;
1752 wxGridCellEditor_Create(_arg0
,_arg1
,_arg2
,_arg3
);
1754 wxPy_END_ALLOW_THREADS
;
1755 } Py_INCREF(Py_None
);
1756 _resultobj
= Py_None
;
1760 #define wxGridCellEditor_BeginEdit(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->BeginEdit(_swigarg0,_swigarg1,_swigarg2))
1761 static PyObject
*_wrap_wxGridCellEditor_BeginEdit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1762 PyObject
* _resultobj
;
1763 wxGridCellEditor
* _arg0
;
1767 PyObject
* _argo0
= 0;
1768 PyObject
* _argo3
= 0;
1769 char *_kwnames
[] = { "self","row","col","grid", NULL
};
1772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxGridCellEditor_BeginEdit",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_argo3
))
1775 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1776 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
1777 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_BeginEdit. Expected _wxGridCellEditor_p.");
1782 if (_argo3
== Py_None
) { _arg3
= NULL
; }
1783 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxGrid_p")) {
1784 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGridCellEditor_BeginEdit. Expected _wxGrid_p.");
1789 wxPy_BEGIN_ALLOW_THREADS
;
1790 wxGridCellEditor_BeginEdit(_arg0
,_arg1
,_arg2
,_arg3
);
1792 wxPy_END_ALLOW_THREADS
;
1793 } Py_INCREF(Py_None
);
1794 _resultobj
= Py_None
;
1798 #define wxGridCellEditor_EndEdit(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->EndEdit(_swigarg0,_swigarg1,_swigarg2))
1799 static PyObject
*_wrap_wxGridCellEditor_EndEdit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1800 PyObject
* _resultobj
;
1802 wxGridCellEditor
* _arg0
;
1806 PyObject
* _argo0
= 0;
1807 PyObject
* _argo3
= 0;
1808 char *_kwnames
[] = { "self","row","col","grid", NULL
};
1811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxGridCellEditor_EndEdit",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_argo3
))
1814 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1815 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
1816 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_EndEdit. Expected _wxGridCellEditor_p.");
1821 if (_argo3
== Py_None
) { _arg3
= NULL
; }
1822 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxGrid_p")) {
1823 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGridCellEditor_EndEdit. Expected _wxGrid_p.");
1828 wxPy_BEGIN_ALLOW_THREADS
;
1829 _result
= (bool )wxGridCellEditor_EndEdit(_arg0
,_arg1
,_arg2
,_arg3
);
1831 wxPy_END_ALLOW_THREADS
;
1832 } _resultobj
= Py_BuildValue("i",_result
);
1836 #define wxGridCellEditor_Reset(_swigobj) (_swigobj->Reset())
1837 static PyObject
*_wrap_wxGridCellEditor_Reset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1838 PyObject
* _resultobj
;
1839 wxGridCellEditor
* _arg0
;
1840 PyObject
* _argo0
= 0;
1841 char *_kwnames
[] = { "self", NULL
};
1844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellEditor_Reset",_kwnames
,&_argo0
))
1847 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1848 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
1849 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_Reset. Expected _wxGridCellEditor_p.");
1854 wxPy_BEGIN_ALLOW_THREADS
;
1855 wxGridCellEditor_Reset(_arg0
);
1857 wxPy_END_ALLOW_THREADS
;
1858 } Py_INCREF(Py_None
);
1859 _resultobj
= Py_None
;
1863 #define wxGridCellEditor_Clone(_swigobj) (_swigobj->Clone())
1864 static PyObject
*_wrap_wxGridCellEditor_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1865 PyObject
* _resultobj
;
1866 wxGridCellEditor
* _result
;
1867 wxGridCellEditor
* _arg0
;
1868 PyObject
* _argo0
= 0;
1869 char *_kwnames
[] = { "self", NULL
};
1873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellEditor_Clone",_kwnames
,&_argo0
))
1876 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1877 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
1878 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_Clone. Expected _wxGridCellEditor_p.");
1883 wxPy_BEGIN_ALLOW_THREADS
;
1884 _result
= (wxGridCellEditor
*)wxGridCellEditor_Clone(_arg0
);
1886 wxPy_END_ALLOW_THREADS
;
1888 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellEditor_p");
1889 _resultobj
= Py_BuildValue("s",_ptemp
);
1892 _resultobj
= Py_None
;
1897 #define wxGridCellEditor_SetSize(_swigobj,_swigarg0) (_swigobj->SetSize(_swigarg0))
1898 static PyObject
*_wrap_wxGridCellEditor_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1899 PyObject
* _resultobj
;
1900 wxGridCellEditor
* _arg0
;
1902 PyObject
* _argo0
= 0;
1904 PyObject
* _obj1
= 0;
1905 char *_kwnames
[] = { "self","rect", NULL
};
1908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellEditor_SetSize",_kwnames
,&_argo0
,&_obj1
))
1911 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1912 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
1913 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_SetSize. Expected _wxGridCellEditor_p.");
1919 if (! wxRect_helper(_obj1
, &_arg1
))
1923 wxPy_BEGIN_ALLOW_THREADS
;
1924 wxGridCellEditor_SetSize(_arg0
,*_arg1
);
1926 wxPy_END_ALLOW_THREADS
;
1927 } Py_INCREF(Py_None
);
1928 _resultobj
= Py_None
;
1932 #define wxGridCellEditor_Show(_swigobj,_swigarg0,_swigarg1) (_swigobj->Show(_swigarg0,_swigarg1))
1933 static PyObject
*_wrap_wxGridCellEditor_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1934 PyObject
* _resultobj
;
1935 wxGridCellEditor
* _arg0
;
1937 wxGridCellAttr
* _arg2
= (wxGridCellAttr
*) NULL
;
1938 PyObject
* _argo0
= 0;
1940 PyObject
* _argo2
= 0;
1941 char *_kwnames
[] = { "self","show","attr", NULL
};
1944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|O:wxGridCellEditor_Show",_kwnames
,&_argo0
,&tempbool1
,&_argo2
))
1947 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1948 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
1949 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_Show. Expected _wxGridCellEditor_p.");
1953 _arg1
= (bool ) tempbool1
;
1955 if (_argo2
== Py_None
) { _arg2
= NULL
; }
1956 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGridCellAttr_p")) {
1957 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxGridCellEditor_Show. Expected _wxGridCellAttr_p.");
1962 wxPy_BEGIN_ALLOW_THREADS
;
1963 wxGridCellEditor_Show(_arg0
,_arg1
,_arg2
);
1965 wxPy_END_ALLOW_THREADS
;
1966 } Py_INCREF(Py_None
);
1967 _resultobj
= Py_None
;
1971 #define wxGridCellEditor_PaintBackground(_swigobj,_swigarg0,_swigarg1) (_swigobj->PaintBackground(_swigarg0,_swigarg1))
1972 static PyObject
*_wrap_wxGridCellEditor_PaintBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1973 PyObject
* _resultobj
;
1974 wxGridCellEditor
* _arg0
;
1976 wxGridCellAttr
* _arg2
;
1977 PyObject
* _argo0
= 0;
1979 PyObject
* _obj1
= 0;
1980 PyObject
* _argo2
= 0;
1981 char *_kwnames
[] = { "self","rectCell","attr", NULL
};
1984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxGridCellEditor_PaintBackground",_kwnames
,&_argo0
,&_obj1
,&_argo2
))
1987 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1988 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
1989 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_PaintBackground. Expected _wxGridCellEditor_p.");
1995 if (! wxRect_helper(_obj1
, &_arg1
))
1999 if (_argo2
== Py_None
) { _arg2
= NULL
; }
2000 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGridCellAttr_p")) {
2001 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxGridCellEditor_PaintBackground. Expected _wxGridCellAttr_p.");
2006 wxPy_BEGIN_ALLOW_THREADS
;
2007 wxGridCellEditor_PaintBackground(_arg0
,*_arg1
,_arg2
);
2009 wxPy_END_ALLOW_THREADS
;
2010 } Py_INCREF(Py_None
);
2011 _resultobj
= Py_None
;
2015 #define wxGridCellEditor_IsAcceptedKey(_swigobj,_swigarg0) (_swigobj->IsAcceptedKey(_swigarg0))
2016 static PyObject
*_wrap_wxGridCellEditor_IsAcceptedKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2017 PyObject
* _resultobj
;
2019 wxGridCellEditor
* _arg0
;
2021 PyObject
* _argo0
= 0;
2022 PyObject
* _argo1
= 0;
2023 char *_kwnames
[] = { "self","event", NULL
};
2026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellEditor_IsAcceptedKey",_kwnames
,&_argo0
,&_argo1
))
2029 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2030 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
2031 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_IsAcceptedKey. Expected _wxGridCellEditor_p.");
2036 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2037 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxKeyEvent_p")) {
2038 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellEditor_IsAcceptedKey. Expected _wxKeyEvent_p.");
2043 wxPy_BEGIN_ALLOW_THREADS
;
2044 _result
= (bool )wxGridCellEditor_IsAcceptedKey(_arg0
,*_arg1
);
2046 wxPy_END_ALLOW_THREADS
;
2047 } _resultobj
= Py_BuildValue("i",_result
);
2051 #define wxGridCellEditor_StartingKey(_swigobj,_swigarg0) (_swigobj->StartingKey(_swigarg0))
2052 static PyObject
*_wrap_wxGridCellEditor_StartingKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2053 PyObject
* _resultobj
;
2054 wxGridCellEditor
* _arg0
;
2056 PyObject
* _argo0
= 0;
2057 PyObject
* _argo1
= 0;
2058 char *_kwnames
[] = { "self","event", NULL
};
2061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellEditor_StartingKey",_kwnames
,&_argo0
,&_argo1
))
2064 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2065 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
2066 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_StartingKey. Expected _wxGridCellEditor_p.");
2071 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2072 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxKeyEvent_p")) {
2073 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellEditor_StartingKey. Expected _wxKeyEvent_p.");
2078 wxPy_BEGIN_ALLOW_THREADS
;
2079 wxGridCellEditor_StartingKey(_arg0
,*_arg1
);
2081 wxPy_END_ALLOW_THREADS
;
2082 } Py_INCREF(Py_None
);
2083 _resultobj
= Py_None
;
2087 #define wxGridCellEditor_StartingClick(_swigobj) (_swigobj->StartingClick())
2088 static PyObject
*_wrap_wxGridCellEditor_StartingClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2089 PyObject
* _resultobj
;
2090 wxGridCellEditor
* _arg0
;
2091 PyObject
* _argo0
= 0;
2092 char *_kwnames
[] = { "self", NULL
};
2095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellEditor_StartingClick",_kwnames
,&_argo0
))
2098 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2099 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
2100 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_StartingClick. Expected _wxGridCellEditor_p.");
2105 wxPy_BEGIN_ALLOW_THREADS
;
2106 wxGridCellEditor_StartingClick(_arg0
);
2108 wxPy_END_ALLOW_THREADS
;
2109 } Py_INCREF(Py_None
);
2110 _resultobj
= Py_None
;
2114 #define wxGridCellEditor_HandleReturn(_swigobj,_swigarg0) (_swigobj->HandleReturn(_swigarg0))
2115 static PyObject
*_wrap_wxGridCellEditor_HandleReturn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2116 PyObject
* _resultobj
;
2117 wxGridCellEditor
* _arg0
;
2119 PyObject
* _argo0
= 0;
2120 PyObject
* _argo1
= 0;
2121 char *_kwnames
[] = { "self","event", NULL
};
2124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellEditor_HandleReturn",_kwnames
,&_argo0
,&_argo1
))
2127 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2128 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
2129 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_HandleReturn. Expected _wxGridCellEditor_p.");
2134 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2135 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxKeyEvent_p")) {
2136 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellEditor_HandleReturn. Expected _wxKeyEvent_p.");
2141 wxPy_BEGIN_ALLOW_THREADS
;
2142 wxGridCellEditor_HandleReturn(_arg0
,*_arg1
);
2144 wxPy_END_ALLOW_THREADS
;
2145 } Py_INCREF(Py_None
);
2146 _resultobj
= Py_None
;
2150 #define wxGridCellEditor_Destroy(_swigobj) (_swigobj->Destroy())
2151 static PyObject
*_wrap_wxGridCellEditor_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2152 PyObject
* _resultobj
;
2153 wxGridCellEditor
* _arg0
;
2154 PyObject
* _argo0
= 0;
2155 char *_kwnames
[] = { "self", NULL
};
2158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellEditor_Destroy",_kwnames
,&_argo0
))
2161 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2162 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
2163 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_Destroy. Expected _wxGridCellEditor_p.");
2168 wxPy_BEGIN_ALLOW_THREADS
;
2169 wxGridCellEditor_Destroy(_arg0
);
2171 wxPy_END_ALLOW_THREADS
;
2172 } Py_INCREF(Py_None
);
2173 _resultobj
= Py_None
;
2177 static void *SwigwxPyGridCellEditorTowxGridCellEditor(void *ptr
) {
2178 wxPyGridCellEditor
*src
;
2179 wxGridCellEditor
*dest
;
2180 src
= (wxPyGridCellEditor
*) ptr
;
2181 dest
= (wxGridCellEditor
*) src
;
2182 return (void *) dest
;
2185 #define new_wxPyGridCellEditor() (new wxPyGridCellEditor())
2186 static PyObject
*_wrap_new_wxPyGridCellEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2187 PyObject
* _resultobj
;
2188 wxPyGridCellEditor
* _result
;
2189 char *_kwnames
[] = { NULL
};
2193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPyGridCellEditor",_kwnames
))
2196 wxPy_BEGIN_ALLOW_THREADS
;
2197 _result
= (wxPyGridCellEditor
*)new_wxPyGridCellEditor();
2199 wxPy_END_ALLOW_THREADS
;
2201 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyGridCellEditor_p");
2202 _resultobj
= Py_BuildValue("s",_ptemp
);
2205 _resultobj
= Py_None
;
2210 #define wxPyGridCellEditor__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1))
2211 static PyObject
*_wrap_wxPyGridCellEditor__setSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2212 PyObject
* _resultobj
;
2213 wxPyGridCellEditor
* _arg0
;
2216 PyObject
* _argo0
= 0;
2217 PyObject
* _obj1
= 0;
2218 PyObject
* _obj2
= 0;
2219 char *_kwnames
[] = { "self","self","_class", NULL
};
2222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyGridCellEditor__setSelf",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
2225 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2226 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellEditor_p")) {
2227 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellEditor__setSelf. Expected _wxPyGridCellEditor_p.");
2238 wxPy_BEGIN_ALLOW_THREADS
;
2239 wxPyGridCellEditor__setSelf(_arg0
,_arg1
,_arg2
);
2241 wxPy_END_ALLOW_THREADS
;
2242 } Py_INCREF(Py_None
);
2243 _resultobj
= Py_None
;
2247 #define wxPyGridCellEditor_base_SetSize(_swigobj,_swigarg0) (_swigobj->base_SetSize(_swigarg0))
2248 static PyObject
*_wrap_wxPyGridCellEditor_base_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2249 PyObject
* _resultobj
;
2250 wxPyGridCellEditor
* _arg0
;
2252 PyObject
* _argo0
= 0;
2254 PyObject
* _obj1
= 0;
2255 char *_kwnames
[] = { "self","rect", NULL
};
2258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyGridCellEditor_base_SetSize",_kwnames
,&_argo0
,&_obj1
))
2261 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2262 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellEditor_p")) {
2263 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellEditor_base_SetSize. Expected _wxPyGridCellEditor_p.");
2269 if (! wxRect_helper(_obj1
, &_arg1
))
2273 wxPy_BEGIN_ALLOW_THREADS
;
2274 wxPyGridCellEditor_base_SetSize(_arg0
,*_arg1
);
2276 wxPy_END_ALLOW_THREADS
;
2277 } Py_INCREF(Py_None
);
2278 _resultobj
= Py_None
;
2282 #define wxPyGridCellEditor_base_Show(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_Show(_swigarg0,_swigarg1))
2283 static PyObject
*_wrap_wxPyGridCellEditor_base_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2284 PyObject
* _resultobj
;
2285 wxPyGridCellEditor
* _arg0
;
2287 wxGridCellAttr
* _arg2
= (wxGridCellAttr
*) NULL
;
2288 PyObject
* _argo0
= 0;
2290 PyObject
* _argo2
= 0;
2291 char *_kwnames
[] = { "self","show","attr", NULL
};
2294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|O:wxPyGridCellEditor_base_Show",_kwnames
,&_argo0
,&tempbool1
,&_argo2
))
2297 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2298 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellEditor_p")) {
2299 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellEditor_base_Show. Expected _wxPyGridCellEditor_p.");
2303 _arg1
= (bool ) tempbool1
;
2305 if (_argo2
== Py_None
) { _arg2
= NULL
; }
2306 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGridCellAttr_p")) {
2307 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxPyGridCellEditor_base_Show. Expected _wxGridCellAttr_p.");
2312 wxPy_BEGIN_ALLOW_THREADS
;
2313 wxPyGridCellEditor_base_Show(_arg0
,_arg1
,_arg2
);
2315 wxPy_END_ALLOW_THREADS
;
2316 } Py_INCREF(Py_None
);
2317 _resultobj
= Py_None
;
2321 #define wxPyGridCellEditor_base_PaintBackground(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_PaintBackground(_swigarg0,_swigarg1))
2322 static PyObject
*_wrap_wxPyGridCellEditor_base_PaintBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2323 PyObject
* _resultobj
;
2324 wxPyGridCellEditor
* _arg0
;
2326 wxGridCellAttr
* _arg2
;
2327 PyObject
* _argo0
= 0;
2329 PyObject
* _obj1
= 0;
2330 PyObject
* _argo2
= 0;
2331 char *_kwnames
[] = { "self","rectCell","attr", NULL
};
2334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyGridCellEditor_base_PaintBackground",_kwnames
,&_argo0
,&_obj1
,&_argo2
))
2337 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2338 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellEditor_p")) {
2339 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellEditor_base_PaintBackground. Expected _wxPyGridCellEditor_p.");
2345 if (! wxRect_helper(_obj1
, &_arg1
))
2349 if (_argo2
== Py_None
) { _arg2
= NULL
; }
2350 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGridCellAttr_p")) {
2351 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxPyGridCellEditor_base_PaintBackground. Expected _wxGridCellAttr_p.");
2356 wxPy_BEGIN_ALLOW_THREADS
;
2357 wxPyGridCellEditor_base_PaintBackground(_arg0
,*_arg1
,_arg2
);
2359 wxPy_END_ALLOW_THREADS
;
2360 } Py_INCREF(Py_None
);
2361 _resultobj
= Py_None
;
2365 #define wxPyGridCellEditor_base_IsAcceptedKey(_swigobj,_swigarg0) (_swigobj->base_IsAcceptedKey(_swigarg0))
2366 static PyObject
*_wrap_wxPyGridCellEditor_base_IsAcceptedKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2367 PyObject
* _resultobj
;
2368 wxPyGridCellEditor
* _arg0
;
2370 PyObject
* _argo0
= 0;
2371 PyObject
* _argo1
= 0;
2372 char *_kwnames
[] = { "self","event", NULL
};
2375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyGridCellEditor_base_IsAcceptedKey",_kwnames
,&_argo0
,&_argo1
))
2378 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2379 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellEditor_p")) {
2380 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellEditor_base_IsAcceptedKey. Expected _wxPyGridCellEditor_p.");
2385 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2386 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxKeyEvent_p")) {
2387 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyGridCellEditor_base_IsAcceptedKey. Expected _wxKeyEvent_p.");
2392 wxPy_BEGIN_ALLOW_THREADS
;
2393 wxPyGridCellEditor_base_IsAcceptedKey(_arg0
,*_arg1
);
2395 wxPy_END_ALLOW_THREADS
;
2396 } Py_INCREF(Py_None
);
2397 _resultobj
= Py_None
;
2401 #define wxPyGridCellEditor_base_StartingKey(_swigobj,_swigarg0) (_swigobj->base_StartingKey(_swigarg0))
2402 static PyObject
*_wrap_wxPyGridCellEditor_base_StartingKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2403 PyObject
* _resultobj
;
2404 wxPyGridCellEditor
* _arg0
;
2406 PyObject
* _argo0
= 0;
2407 PyObject
* _argo1
= 0;
2408 char *_kwnames
[] = { "self","event", NULL
};
2411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyGridCellEditor_base_StartingKey",_kwnames
,&_argo0
,&_argo1
))
2414 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2415 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellEditor_p")) {
2416 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellEditor_base_StartingKey. Expected _wxPyGridCellEditor_p.");
2421 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2422 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxKeyEvent_p")) {
2423 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyGridCellEditor_base_StartingKey. Expected _wxKeyEvent_p.");
2428 wxPy_BEGIN_ALLOW_THREADS
;
2429 wxPyGridCellEditor_base_StartingKey(_arg0
,*_arg1
);
2431 wxPy_END_ALLOW_THREADS
;
2432 } Py_INCREF(Py_None
);
2433 _resultobj
= Py_None
;
2437 #define wxPyGridCellEditor_base_StartingClick(_swigobj) (_swigobj->base_StartingClick())
2438 static PyObject
*_wrap_wxPyGridCellEditor_base_StartingClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2439 PyObject
* _resultobj
;
2440 wxPyGridCellEditor
* _arg0
;
2441 PyObject
* _argo0
= 0;
2442 char *_kwnames
[] = { "self", NULL
};
2445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyGridCellEditor_base_StartingClick",_kwnames
,&_argo0
))
2448 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2449 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellEditor_p")) {
2450 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellEditor_base_StartingClick. Expected _wxPyGridCellEditor_p.");
2455 wxPy_BEGIN_ALLOW_THREADS
;
2456 wxPyGridCellEditor_base_StartingClick(_arg0
);
2458 wxPy_END_ALLOW_THREADS
;
2459 } Py_INCREF(Py_None
);
2460 _resultobj
= Py_None
;
2464 #define wxPyGridCellEditor_base_HandleReturn(_swigobj,_swigarg0) (_swigobj->base_HandleReturn(_swigarg0))
2465 static PyObject
*_wrap_wxPyGridCellEditor_base_HandleReturn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2466 PyObject
* _resultobj
;
2467 wxPyGridCellEditor
* _arg0
;
2469 PyObject
* _argo0
= 0;
2470 PyObject
* _argo1
= 0;
2471 char *_kwnames
[] = { "self","event", NULL
};
2474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyGridCellEditor_base_HandleReturn",_kwnames
,&_argo0
,&_argo1
))
2477 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2478 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellEditor_p")) {
2479 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellEditor_base_HandleReturn. Expected _wxPyGridCellEditor_p.");
2484 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2485 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxKeyEvent_p")) {
2486 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyGridCellEditor_base_HandleReturn. Expected _wxKeyEvent_p.");
2491 wxPy_BEGIN_ALLOW_THREADS
;
2492 wxPyGridCellEditor_base_HandleReturn(_arg0
,*_arg1
);
2494 wxPy_END_ALLOW_THREADS
;
2495 } Py_INCREF(Py_None
);
2496 _resultobj
= Py_None
;
2500 #define wxPyGridCellEditor_base_Destroy(_swigobj) (_swigobj->base_Destroy())
2501 static PyObject
*_wrap_wxPyGridCellEditor_base_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2502 PyObject
* _resultobj
;
2503 wxPyGridCellEditor
* _arg0
;
2504 PyObject
* _argo0
= 0;
2505 char *_kwnames
[] = { "self", NULL
};
2508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyGridCellEditor_base_Destroy",_kwnames
,&_argo0
))
2511 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2512 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellEditor_p")) {
2513 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellEditor_base_Destroy. Expected _wxPyGridCellEditor_p.");
2518 wxPy_BEGIN_ALLOW_THREADS
;
2519 wxPyGridCellEditor_base_Destroy(_arg0
);
2521 wxPy_END_ALLOW_THREADS
;
2522 } Py_INCREF(Py_None
);
2523 _resultobj
= Py_None
;
2527 #define wxPyGridCellEditor_base_SetParameters(_swigobj,_swigarg0) (_swigobj->base_SetParameters(_swigarg0))
2528 static PyObject
*_wrap_wxPyGridCellEditor_base_SetParameters(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2529 PyObject
* _resultobj
;
2530 wxPyGridCellEditor
* _arg0
;
2532 PyObject
* _argo0
= 0;
2533 PyObject
* _obj1
= 0;
2534 char *_kwnames
[] = { "self","params", NULL
};
2537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyGridCellEditor_base_SetParameters",_kwnames
,&_argo0
,&_obj1
))
2540 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2541 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellEditor_p")) {
2542 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellEditor_base_SetParameters. Expected _wxPyGridCellEditor_p.");
2547 #if PYTHON_API_VERSION >= 1009
2548 char* tmpPtr
; int tmpSize
;
2549 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
2550 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
2553 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
2555 _arg1
= new wxString(tmpPtr
, tmpSize
);
2557 if (!PyString_Check(_obj1
)) {
2558 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2561 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
2565 wxPy_BEGIN_ALLOW_THREADS
;
2566 wxPyGridCellEditor_base_SetParameters(_arg0
,*_arg1
);
2568 wxPy_END_ALLOW_THREADS
;
2569 } Py_INCREF(Py_None
);
2570 _resultobj
= Py_None
;
2578 static void *SwigwxGridCellTextEditorTowxGridCellEditor(void *ptr
) {
2579 wxGridCellTextEditor
*src
;
2580 wxGridCellEditor
*dest
;
2581 src
= (wxGridCellTextEditor
*) ptr
;
2582 dest
= (wxGridCellEditor
*) src
;
2583 return (void *) dest
;
2586 #define new_wxGridCellTextEditor() (new wxGridCellTextEditor())
2587 static PyObject
*_wrap_new_wxGridCellTextEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2588 PyObject
* _resultobj
;
2589 wxGridCellTextEditor
* _result
;
2590 char *_kwnames
[] = { NULL
};
2594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxGridCellTextEditor",_kwnames
))
2597 wxPy_BEGIN_ALLOW_THREADS
;
2598 _result
= (wxGridCellTextEditor
*)new_wxGridCellTextEditor();
2600 wxPy_END_ALLOW_THREADS
;
2602 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellTextEditor_p");
2603 _resultobj
= Py_BuildValue("s",_ptemp
);
2606 _resultobj
= Py_None
;
2611 static void *SwigwxGridCellNumberEditorTowxGridCellTextEditor(void *ptr
) {
2612 wxGridCellNumberEditor
*src
;
2613 wxGridCellTextEditor
*dest
;
2614 src
= (wxGridCellNumberEditor
*) ptr
;
2615 dest
= (wxGridCellTextEditor
*) src
;
2616 return (void *) dest
;
2619 static void *SwigwxGridCellNumberEditorTowxGridCellEditor(void *ptr
) {
2620 wxGridCellNumberEditor
*src
;
2621 wxGridCellEditor
*dest
;
2622 src
= (wxGridCellNumberEditor
*) ptr
;
2623 dest
= (wxGridCellEditor
*) src
;
2624 return (void *) dest
;
2627 #define new_wxGridCellNumberEditor(_swigarg0,_swigarg1) (new wxGridCellNumberEditor(_swigarg0,_swigarg1))
2628 static PyObject
*_wrap_new_wxGridCellNumberEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2629 PyObject
* _resultobj
;
2630 wxGridCellNumberEditor
* _result
;
2631 int _arg0
= (int ) -1;
2632 int _arg1
= (int ) -1;
2633 char *_kwnames
[] = { "min","max", NULL
};
2637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:new_wxGridCellNumberEditor",_kwnames
,&_arg0
,&_arg1
))
2640 wxPy_BEGIN_ALLOW_THREADS
;
2641 _result
= (wxGridCellNumberEditor
*)new_wxGridCellNumberEditor(_arg0
,_arg1
);
2643 wxPy_END_ALLOW_THREADS
;
2645 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellNumberEditor_p");
2646 _resultobj
= Py_BuildValue("s",_ptemp
);
2649 _resultobj
= Py_None
;
2654 static void *SwigwxGridCellFloatEditorTowxGridCellTextEditor(void *ptr
) {
2655 wxGridCellFloatEditor
*src
;
2656 wxGridCellTextEditor
*dest
;
2657 src
= (wxGridCellFloatEditor
*) ptr
;
2658 dest
= (wxGridCellTextEditor
*) src
;
2659 return (void *) dest
;
2662 static void *SwigwxGridCellFloatEditorTowxGridCellEditor(void *ptr
) {
2663 wxGridCellFloatEditor
*src
;
2664 wxGridCellEditor
*dest
;
2665 src
= (wxGridCellFloatEditor
*) ptr
;
2666 dest
= (wxGridCellEditor
*) src
;
2667 return (void *) dest
;
2670 #define new_wxGridCellFloatEditor() (new wxGridCellFloatEditor())
2671 static PyObject
*_wrap_new_wxGridCellFloatEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2672 PyObject
* _resultobj
;
2673 wxGridCellFloatEditor
* _result
;
2674 char *_kwnames
[] = { NULL
};
2678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxGridCellFloatEditor",_kwnames
))
2681 wxPy_BEGIN_ALLOW_THREADS
;
2682 _result
= (wxGridCellFloatEditor
*)new_wxGridCellFloatEditor();
2684 wxPy_END_ALLOW_THREADS
;
2686 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellFloatEditor_p");
2687 _resultobj
= Py_BuildValue("s",_ptemp
);
2690 _resultobj
= Py_None
;
2695 static void *SwigwxGridCellBoolEditorTowxGridCellEditor(void *ptr
) {
2696 wxGridCellBoolEditor
*src
;
2697 wxGridCellEditor
*dest
;
2698 src
= (wxGridCellBoolEditor
*) ptr
;
2699 dest
= (wxGridCellEditor
*) src
;
2700 return (void *) dest
;
2703 #define new_wxGridCellBoolEditor() (new wxGridCellBoolEditor())
2704 static PyObject
*_wrap_new_wxGridCellBoolEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2705 PyObject
* _resultobj
;
2706 wxGridCellBoolEditor
* _result
;
2707 char *_kwnames
[] = { NULL
};
2711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxGridCellBoolEditor",_kwnames
))
2714 wxPy_BEGIN_ALLOW_THREADS
;
2715 _result
= (wxGridCellBoolEditor
*)new_wxGridCellBoolEditor();
2717 wxPy_END_ALLOW_THREADS
;
2719 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellBoolEditor_p");
2720 _resultobj
= Py_BuildValue("s",_ptemp
);
2723 _resultobj
= Py_None
;
2728 static void *SwigwxGridCellChoiceEditorTowxGridCellEditor(void *ptr
) {
2729 wxGridCellChoiceEditor
*src
;
2730 wxGridCellEditor
*dest
;
2731 src
= (wxGridCellChoiceEditor
*) ptr
;
2732 dest
= (wxGridCellEditor
*) src
;
2733 return (void *) dest
;
2736 #define new_wxGridCellChoiceEditor(_swigarg0,_swigarg1,_swigarg2) (new wxGridCellChoiceEditor(_swigarg0,_swigarg1,_swigarg2))
2737 static PyObject
*_wrap_new_wxGridCellChoiceEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2738 PyObject
* _resultobj
;
2739 wxGridCellChoiceEditor
* _result
;
2740 int _arg0
= (int ) 0;
2741 wxString
* _arg1
= (wxString
*) NULL
;
2742 bool _arg2
= (bool ) FALSE
;
2743 PyObject
* _obj1
= 0;
2744 int tempbool2
= (int) FALSE
;
2745 char *_kwnames
[] = { "choices","allowOthers", NULL
};
2749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|Oi:new_wxGridCellChoiceEditor",_kwnames
,&_obj1
,&tempbool2
))
2753 _arg1
= wxString_LIST_helper(_obj1
);
2754 if (_arg1
== NULL
) {
2758 _arg2
= (bool ) tempbool2
;
2761 _arg0
= PyList_Size(_obj1
);
2768 wxPy_BEGIN_ALLOW_THREADS
;
2769 _result
= (wxGridCellChoiceEditor
*)new_wxGridCellChoiceEditor(_arg0
,_arg1
,_arg2
);
2771 wxPy_END_ALLOW_THREADS
;
2773 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellChoiceEditor_p");
2774 _resultobj
= Py_BuildValue("s",_ptemp
);
2777 _resultobj
= Py_None
;
2785 #define new_wxGridCellAttr() (new wxGridCellAttr())
2786 static PyObject
*_wrap_new_wxGridCellAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2787 PyObject
* _resultobj
;
2788 wxGridCellAttr
* _result
;
2789 char *_kwnames
[] = { NULL
};
2793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxGridCellAttr",_kwnames
))
2796 wxPy_BEGIN_ALLOW_THREADS
;
2797 _result
= (wxGridCellAttr
*)new_wxGridCellAttr();
2799 wxPy_END_ALLOW_THREADS
;
2801 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellAttr_p");
2802 _resultobj
= Py_BuildValue("s",_ptemp
);
2805 _resultobj
= Py_None
;
2810 #define wxGridCellAttr_Clone(_swigobj) (_swigobj->Clone())
2811 static PyObject
*_wrap_wxGridCellAttr_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2812 PyObject
* _resultobj
;
2813 wxGridCellAttr
* _result
;
2814 wxGridCellAttr
* _arg0
;
2815 PyObject
* _argo0
= 0;
2816 char *_kwnames
[] = { "self", NULL
};
2820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_Clone",_kwnames
,&_argo0
))
2823 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2824 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
2825 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_Clone. Expected _wxGridCellAttr_p.");
2830 wxPy_BEGIN_ALLOW_THREADS
;
2831 _result
= (wxGridCellAttr
*)wxGridCellAttr_Clone(_arg0
);
2833 wxPy_END_ALLOW_THREADS
;
2835 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellAttr_p");
2836 _resultobj
= Py_BuildValue("s",_ptemp
);
2839 _resultobj
= Py_None
;
2844 #define wxGridCellAttr_IncRef(_swigobj) (_swigobj->IncRef())
2845 static PyObject
*_wrap_wxGridCellAttr_IncRef(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2846 PyObject
* _resultobj
;
2847 wxGridCellAttr
* _arg0
;
2848 PyObject
* _argo0
= 0;
2849 char *_kwnames
[] = { "self", NULL
};
2852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_IncRef",_kwnames
,&_argo0
))
2855 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2856 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
2857 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_IncRef. Expected _wxGridCellAttr_p.");
2862 wxPy_BEGIN_ALLOW_THREADS
;
2863 wxGridCellAttr_IncRef(_arg0
);
2865 wxPy_END_ALLOW_THREADS
;
2866 } Py_INCREF(Py_None
);
2867 _resultobj
= Py_None
;
2871 #define wxGridCellAttr_DecRef(_swigobj) (_swigobj->DecRef())
2872 static PyObject
*_wrap_wxGridCellAttr_DecRef(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2873 PyObject
* _resultobj
;
2874 wxGridCellAttr
* _arg0
;
2875 PyObject
* _argo0
= 0;
2876 char *_kwnames
[] = { "self", NULL
};
2879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_DecRef",_kwnames
,&_argo0
))
2882 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2883 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
2884 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_DecRef. Expected _wxGridCellAttr_p.");
2889 wxPy_BEGIN_ALLOW_THREADS
;
2890 wxGridCellAttr_DecRef(_arg0
);
2892 wxPy_END_ALLOW_THREADS
;
2893 } Py_INCREF(Py_None
);
2894 _resultobj
= Py_None
;
2898 #define wxGridCellAttr_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
2899 static PyObject
*_wrap_wxGridCellAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2900 PyObject
* _resultobj
;
2901 wxGridCellAttr
* _arg0
;
2903 PyObject
* _argo0
= 0;
2905 PyObject
* _obj1
= 0;
2906 char *_kwnames
[] = { "self","colText", NULL
};
2909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellAttr_SetTextColour",_kwnames
,&_argo0
,&_obj1
))
2912 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2913 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
2914 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_SetTextColour. Expected _wxGridCellAttr_p.");
2920 if (! wxColour_helper(_obj1
, &_arg1
))
2924 wxPy_BEGIN_ALLOW_THREADS
;
2925 wxGridCellAttr_SetTextColour(_arg0
,*_arg1
);
2927 wxPy_END_ALLOW_THREADS
;
2928 } Py_INCREF(Py_None
);
2929 _resultobj
= Py_None
;
2933 #define wxGridCellAttr_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
2934 static PyObject
*_wrap_wxGridCellAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2935 PyObject
* _resultobj
;
2936 wxGridCellAttr
* _arg0
;
2938 PyObject
* _argo0
= 0;
2940 PyObject
* _obj1
= 0;
2941 char *_kwnames
[] = { "self","colBack", NULL
};
2944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellAttr_SetBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
2947 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2948 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
2949 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_SetBackgroundColour. Expected _wxGridCellAttr_p.");
2955 if (! wxColour_helper(_obj1
, &_arg1
))
2959 wxPy_BEGIN_ALLOW_THREADS
;
2960 wxGridCellAttr_SetBackgroundColour(_arg0
,*_arg1
);
2962 wxPy_END_ALLOW_THREADS
;
2963 } Py_INCREF(Py_None
);
2964 _resultobj
= Py_None
;
2968 #define wxGridCellAttr_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
2969 static PyObject
*_wrap_wxGridCellAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2970 PyObject
* _resultobj
;
2971 wxGridCellAttr
* _arg0
;
2973 PyObject
* _argo0
= 0;
2974 PyObject
* _argo1
= 0;
2975 char *_kwnames
[] = { "self","font", NULL
};
2978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellAttr_SetFont",_kwnames
,&_argo0
,&_argo1
))
2981 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2982 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
2983 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_SetFont. Expected _wxGridCellAttr_p.");
2988 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2989 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
2990 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellAttr_SetFont. Expected _wxFont_p.");
2995 wxPy_BEGIN_ALLOW_THREADS
;
2996 wxGridCellAttr_SetFont(_arg0
,*_arg1
);
2998 wxPy_END_ALLOW_THREADS
;
2999 } Py_INCREF(Py_None
);
3000 _resultobj
= Py_None
;
3004 #define wxGridCellAttr_SetAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetAlignment(_swigarg0,_swigarg1))
3005 static PyObject
*_wrap_wxGridCellAttr_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3006 PyObject
* _resultobj
;
3007 wxGridCellAttr
* _arg0
;
3010 PyObject
* _argo0
= 0;
3011 char *_kwnames
[] = { "self","hAlign","vAlign", NULL
};
3014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGridCellAttr_SetAlignment",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3017 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3018 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3019 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_SetAlignment. Expected _wxGridCellAttr_p.");
3024 wxPy_BEGIN_ALLOW_THREADS
;
3025 wxGridCellAttr_SetAlignment(_arg0
,_arg1
,_arg2
);
3027 wxPy_END_ALLOW_THREADS
;
3028 } Py_INCREF(Py_None
);
3029 _resultobj
= Py_None
;
3033 #define wxGridCellAttr_SetReadOnly(_swigobj,_swigarg0) (_swigobj->SetReadOnly(_swigarg0))
3034 static PyObject
*_wrap_wxGridCellAttr_SetReadOnly(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3035 PyObject
* _resultobj
;
3036 wxGridCellAttr
* _arg0
;
3037 bool _arg1
= (bool ) TRUE
;
3038 PyObject
* _argo0
= 0;
3039 int tempbool1
= (int) TRUE
;
3040 char *_kwnames
[] = { "self","isReadOnly", NULL
};
3043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxGridCellAttr_SetReadOnly",_kwnames
,&_argo0
,&tempbool1
))
3046 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3047 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3048 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_SetReadOnly. Expected _wxGridCellAttr_p.");
3052 _arg1
= (bool ) tempbool1
;
3054 wxPy_BEGIN_ALLOW_THREADS
;
3055 wxGridCellAttr_SetReadOnly(_arg0
,_arg1
);
3057 wxPy_END_ALLOW_THREADS
;
3058 } Py_INCREF(Py_None
);
3059 _resultobj
= Py_None
;
3063 #define wxGridCellAttr_SetRenderer(_swigobj,_swigarg0) (_swigobj->SetRenderer(_swigarg0))
3064 static PyObject
*_wrap_wxGridCellAttr_SetRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3065 PyObject
* _resultobj
;
3066 wxGridCellAttr
* _arg0
;
3067 wxGridCellRenderer
* _arg1
;
3068 PyObject
* _argo0
= 0;
3069 PyObject
* _argo1
= 0;
3070 char *_kwnames
[] = { "self","renderer", NULL
};
3073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellAttr_SetRenderer",_kwnames
,&_argo0
,&_argo1
))
3076 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3077 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3078 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_SetRenderer. Expected _wxGridCellAttr_p.");
3083 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3084 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellRenderer_p")) {
3085 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellAttr_SetRenderer. Expected _wxGridCellRenderer_p.");
3090 wxPy_BEGIN_ALLOW_THREADS
;
3091 wxGridCellAttr_SetRenderer(_arg0
,_arg1
);
3093 wxPy_END_ALLOW_THREADS
;
3094 } Py_INCREF(Py_None
);
3095 _resultobj
= Py_None
;
3099 #define wxGridCellAttr_SetEditor(_swigobj,_swigarg0) (_swigobj->SetEditor(_swigarg0))
3100 static PyObject
*_wrap_wxGridCellAttr_SetEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3101 PyObject
* _resultobj
;
3102 wxGridCellAttr
* _arg0
;
3103 wxGridCellEditor
* _arg1
;
3104 PyObject
* _argo0
= 0;
3105 PyObject
* _argo1
= 0;
3106 char *_kwnames
[] = { "self","editor", NULL
};
3109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellAttr_SetEditor",_kwnames
,&_argo0
,&_argo1
))
3112 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3113 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3114 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_SetEditor. Expected _wxGridCellAttr_p.");
3119 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3120 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellEditor_p")) {
3121 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellAttr_SetEditor. Expected _wxGridCellEditor_p.");
3126 wxPy_BEGIN_ALLOW_THREADS
;
3127 wxGridCellAttr_SetEditor(_arg0
,_arg1
);
3129 wxPy_END_ALLOW_THREADS
;
3130 } Py_INCREF(Py_None
);
3131 _resultobj
= Py_None
;
3135 #define wxGridCellAttr_HasTextColour(_swigobj) (_swigobj->HasTextColour())
3136 static PyObject
*_wrap_wxGridCellAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3137 PyObject
* _resultobj
;
3139 wxGridCellAttr
* _arg0
;
3140 PyObject
* _argo0
= 0;
3141 char *_kwnames
[] = { "self", NULL
};
3144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_HasTextColour",_kwnames
,&_argo0
))
3147 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3148 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3149 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_HasTextColour. Expected _wxGridCellAttr_p.");
3154 wxPy_BEGIN_ALLOW_THREADS
;
3155 _result
= (bool )wxGridCellAttr_HasTextColour(_arg0
);
3157 wxPy_END_ALLOW_THREADS
;
3158 } _resultobj
= Py_BuildValue("i",_result
);
3162 #define wxGridCellAttr_HasBackgroundColour(_swigobj) (_swigobj->HasBackgroundColour())
3163 static PyObject
*_wrap_wxGridCellAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3164 PyObject
* _resultobj
;
3166 wxGridCellAttr
* _arg0
;
3167 PyObject
* _argo0
= 0;
3168 char *_kwnames
[] = { "self", NULL
};
3171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_HasBackgroundColour",_kwnames
,&_argo0
))
3174 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3175 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3176 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_HasBackgroundColour. Expected _wxGridCellAttr_p.");
3181 wxPy_BEGIN_ALLOW_THREADS
;
3182 _result
= (bool )wxGridCellAttr_HasBackgroundColour(_arg0
);
3184 wxPy_END_ALLOW_THREADS
;
3185 } _resultobj
= Py_BuildValue("i",_result
);
3189 #define wxGridCellAttr_HasFont(_swigobj) (_swigobj->HasFont())
3190 static PyObject
*_wrap_wxGridCellAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3191 PyObject
* _resultobj
;
3193 wxGridCellAttr
* _arg0
;
3194 PyObject
* _argo0
= 0;
3195 char *_kwnames
[] = { "self", NULL
};
3198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_HasFont",_kwnames
,&_argo0
))
3201 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3202 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3203 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_HasFont. Expected _wxGridCellAttr_p.");
3208 wxPy_BEGIN_ALLOW_THREADS
;
3209 _result
= (bool )wxGridCellAttr_HasFont(_arg0
);
3211 wxPy_END_ALLOW_THREADS
;
3212 } _resultobj
= Py_BuildValue("i",_result
);
3216 #define wxGridCellAttr_HasAlignment(_swigobj) (_swigobj->HasAlignment())
3217 static PyObject
*_wrap_wxGridCellAttr_HasAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3218 PyObject
* _resultobj
;
3220 wxGridCellAttr
* _arg0
;
3221 PyObject
* _argo0
= 0;
3222 char *_kwnames
[] = { "self", NULL
};
3225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_HasAlignment",_kwnames
,&_argo0
))
3228 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3229 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3230 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_HasAlignment. Expected _wxGridCellAttr_p.");
3235 wxPy_BEGIN_ALLOW_THREADS
;
3236 _result
= (bool )wxGridCellAttr_HasAlignment(_arg0
);
3238 wxPy_END_ALLOW_THREADS
;
3239 } _resultobj
= Py_BuildValue("i",_result
);
3243 #define wxGridCellAttr_HasRenderer(_swigobj) (_swigobj->HasRenderer())
3244 static PyObject
*_wrap_wxGridCellAttr_HasRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3245 PyObject
* _resultobj
;
3247 wxGridCellAttr
* _arg0
;
3248 PyObject
* _argo0
= 0;
3249 char *_kwnames
[] = { "self", NULL
};
3252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_HasRenderer",_kwnames
,&_argo0
))
3255 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3256 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3257 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_HasRenderer. Expected _wxGridCellAttr_p.");
3262 wxPy_BEGIN_ALLOW_THREADS
;
3263 _result
= (bool )wxGridCellAttr_HasRenderer(_arg0
);
3265 wxPy_END_ALLOW_THREADS
;
3266 } _resultobj
= Py_BuildValue("i",_result
);
3270 #define wxGridCellAttr_HasEditor(_swigobj) (_swigobj->HasEditor())
3271 static PyObject
*_wrap_wxGridCellAttr_HasEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3272 PyObject
* _resultobj
;
3274 wxGridCellAttr
* _arg0
;
3275 PyObject
* _argo0
= 0;
3276 char *_kwnames
[] = { "self", NULL
};
3279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_HasEditor",_kwnames
,&_argo0
))
3282 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3283 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3284 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_HasEditor. Expected _wxGridCellAttr_p.");
3289 wxPy_BEGIN_ALLOW_THREADS
;
3290 _result
= (bool )wxGridCellAttr_HasEditor(_arg0
);
3292 wxPy_END_ALLOW_THREADS
;
3293 } _resultobj
= Py_BuildValue("i",_result
);
3297 #define wxGridCellAttr_GetTextColour(_swigobj) (_swigobj->GetTextColour())
3298 static PyObject
*_wrap_wxGridCellAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3299 PyObject
* _resultobj
;
3301 wxGridCellAttr
* _arg0
;
3302 PyObject
* _argo0
= 0;
3303 char *_kwnames
[] = { "self", NULL
};
3307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_GetTextColour",_kwnames
,&_argo0
))
3310 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3311 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3312 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_GetTextColour. Expected _wxGridCellAttr_p.");
3317 wxPy_BEGIN_ALLOW_THREADS
;
3318 const wxColour
& _result_ref
= wxGridCellAttr_GetTextColour(_arg0
);
3319 _result
= (wxColour
*) &_result_ref
;
3321 wxPy_END_ALLOW_THREADS
;
3323 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
3324 _resultobj
= Py_BuildValue("s",_ptemp
);
3327 _resultobj
= Py_None
;
3332 #define wxGridCellAttr_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
3333 static PyObject
*_wrap_wxGridCellAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3334 PyObject
* _resultobj
;
3336 wxGridCellAttr
* _arg0
;
3337 PyObject
* _argo0
= 0;
3338 char *_kwnames
[] = { "self", NULL
};
3342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_GetBackgroundColour",_kwnames
,&_argo0
))
3345 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3346 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3347 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_GetBackgroundColour. Expected _wxGridCellAttr_p.");
3352 wxPy_BEGIN_ALLOW_THREADS
;
3353 const wxColour
& _result_ref
= wxGridCellAttr_GetBackgroundColour(_arg0
);
3354 _result
= (wxColour
*) &_result_ref
;
3356 wxPy_END_ALLOW_THREADS
;
3358 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
3359 _resultobj
= Py_BuildValue("s",_ptemp
);
3362 _resultobj
= Py_None
;
3367 #define wxGridCellAttr_GetFont(_swigobj) (_swigobj->GetFont())
3368 static PyObject
*_wrap_wxGridCellAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3369 PyObject
* _resultobj
;
3371 wxGridCellAttr
* _arg0
;
3372 PyObject
* _argo0
= 0;
3373 char *_kwnames
[] = { "self", NULL
};
3377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_GetFont",_kwnames
,&_argo0
))
3380 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3381 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3382 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_GetFont. Expected _wxGridCellAttr_p.");
3387 wxPy_BEGIN_ALLOW_THREADS
;
3388 const wxFont
& _result_ref
= wxGridCellAttr_GetFont(_arg0
);
3389 _result
= (wxFont
*) &_result_ref
;
3391 wxPy_END_ALLOW_THREADS
;
3393 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
3394 _resultobj
= Py_BuildValue("s",_ptemp
);
3397 _resultobj
= Py_None
;
3402 #define wxGridCellAttr_GetAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetAlignment(_swigarg0,_swigarg1))
3403 static PyObject
*_wrap_wxGridCellAttr_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3404 PyObject
* _resultobj
;
3405 wxGridCellAttr
* _arg0
;
3410 PyObject
* _argo0
= 0;
3411 char *_kwnames
[] = { "self", NULL
};
3420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_GetAlignment",_kwnames
,&_argo0
))
3423 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3424 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3425 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_GetAlignment. Expected _wxGridCellAttr_p.");
3430 wxPy_BEGIN_ALLOW_THREADS
;
3431 wxGridCellAttr_GetAlignment(_arg0
,_arg1
,_arg2
);
3433 wxPy_END_ALLOW_THREADS
;
3434 } Py_INCREF(Py_None
);
3435 _resultobj
= Py_None
;
3438 o
= PyInt_FromLong((long) (*_arg1
));
3439 _resultobj
= t_output_helper(_resultobj
, o
);
3443 o
= PyInt_FromLong((long) (*_arg2
));
3444 _resultobj
= t_output_helper(_resultobj
, o
);
3449 #define wxGridCellAttr_GetRenderer(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetRenderer(_swigarg0,_swigarg1,_swigarg2))
3450 static PyObject
*_wrap_wxGridCellAttr_GetRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3451 PyObject
* _resultobj
;
3452 wxGridCellRenderer
* _result
;
3453 wxGridCellAttr
* _arg0
;
3457 PyObject
* _argo0
= 0;
3458 PyObject
* _argo1
= 0;
3459 char *_kwnames
[] = { "self","grid","row","col", NULL
};
3463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxGridCellAttr_GetRenderer",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
3466 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3467 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3468 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_GetRenderer. Expected _wxGridCellAttr_p.");
3473 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3474 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGrid_p")) {
3475 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellAttr_GetRenderer. Expected _wxGrid_p.");
3480 wxPy_BEGIN_ALLOW_THREADS
;
3481 _result
= (wxGridCellRenderer
*)wxGridCellAttr_GetRenderer(_arg0
,_arg1
,_arg2
,_arg3
);
3483 wxPy_END_ALLOW_THREADS
;
3485 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellRenderer_p");
3486 _resultobj
= Py_BuildValue("s",_ptemp
);
3489 _resultobj
= Py_None
;
3494 #define wxGridCellAttr_GetEditor(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetEditor(_swigarg0,_swigarg1,_swigarg2))
3495 static PyObject
*_wrap_wxGridCellAttr_GetEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3496 PyObject
* _resultobj
;
3497 wxGridCellEditor
* _result
;
3498 wxGridCellAttr
* _arg0
;
3502 PyObject
* _argo0
= 0;
3503 PyObject
* _argo1
= 0;
3504 char *_kwnames
[] = { "self","grid","row","col", NULL
};
3508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxGridCellAttr_GetEditor",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
3511 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3512 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3513 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_GetEditor. Expected _wxGridCellAttr_p.");
3518 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3519 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGrid_p")) {
3520 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellAttr_GetEditor. Expected _wxGrid_p.");
3525 wxPy_BEGIN_ALLOW_THREADS
;
3526 _result
= (wxGridCellEditor
*)wxGridCellAttr_GetEditor(_arg0
,_arg1
,_arg2
,_arg3
);
3528 wxPy_END_ALLOW_THREADS
;
3530 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellEditor_p");
3531 _resultobj
= Py_BuildValue("s",_ptemp
);
3534 _resultobj
= Py_None
;
3539 #define wxGridCellAttr_IsReadOnly(_swigobj) (_swigobj->IsReadOnly())
3540 static PyObject
*_wrap_wxGridCellAttr_IsReadOnly(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3541 PyObject
* _resultobj
;
3543 wxGridCellAttr
* _arg0
;
3544 PyObject
* _argo0
= 0;
3545 char *_kwnames
[] = { "self", NULL
};
3548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_IsReadOnly",_kwnames
,&_argo0
))
3551 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3552 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3553 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_IsReadOnly. Expected _wxGridCellAttr_p.");
3558 wxPy_BEGIN_ALLOW_THREADS
;
3559 _result
= (bool )wxGridCellAttr_IsReadOnly(_arg0
);
3561 wxPy_END_ALLOW_THREADS
;
3562 } _resultobj
= Py_BuildValue("i",_result
);
3566 #define wxGridCellAttr_SetDefAttr(_swigobj,_swigarg0) (_swigobj->SetDefAttr(_swigarg0))
3567 static PyObject
*_wrap_wxGridCellAttr_SetDefAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3568 PyObject
* _resultobj
;
3569 wxGridCellAttr
* _arg0
;
3570 wxGridCellAttr
* _arg1
;
3571 PyObject
* _argo0
= 0;
3572 PyObject
* _argo1
= 0;
3573 char *_kwnames
[] = { "self","defAttr", NULL
};
3576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellAttr_SetDefAttr",_kwnames
,&_argo0
,&_argo1
))
3579 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3580 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3581 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_SetDefAttr. Expected _wxGridCellAttr_p.");
3586 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3587 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
3588 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellAttr_SetDefAttr. Expected _wxGridCellAttr_p.");
3593 wxPy_BEGIN_ALLOW_THREADS
;
3594 wxGridCellAttr_SetDefAttr(_arg0
,_arg1
);
3596 wxPy_END_ALLOW_THREADS
;
3597 } Py_INCREF(Py_None
);
3598 _resultobj
= Py_None
;
3602 #define new_wxGridCellAttrProvider() (new wxGridCellAttrProvider())
3603 static PyObject
*_wrap_new_wxGridCellAttrProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3604 PyObject
* _resultobj
;
3605 wxGridCellAttrProvider
* _result
;
3606 char *_kwnames
[] = { NULL
};
3610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxGridCellAttrProvider",_kwnames
))
3613 wxPy_BEGIN_ALLOW_THREADS
;
3614 _result
= (wxGridCellAttrProvider
*)new_wxGridCellAttrProvider();
3616 wxPy_END_ALLOW_THREADS
;
3618 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellAttrProvider_p");
3619 _resultobj
= Py_BuildValue("s",_ptemp
);
3622 _resultobj
= Py_None
;
3627 #define wxGridCellAttrProvider_GetAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetAttr(_swigarg0,_swigarg1))
3628 static PyObject
*_wrap_wxGridCellAttrProvider_GetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3629 PyObject
* _resultobj
;
3630 wxGridCellAttr
* _result
;
3631 wxGridCellAttrProvider
* _arg0
;
3634 PyObject
* _argo0
= 0;
3635 char *_kwnames
[] = { "self","row","col", NULL
};
3639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGridCellAttrProvider_GetAttr",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3642 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3643 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttrProvider_p")) {
3644 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttrProvider_GetAttr. Expected _wxGridCellAttrProvider_p.");
3649 wxPy_BEGIN_ALLOW_THREADS
;
3650 _result
= (wxGridCellAttr
*)wxGridCellAttrProvider_GetAttr(_arg0
,_arg1
,_arg2
);
3652 wxPy_END_ALLOW_THREADS
;
3654 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellAttr_p");
3655 _resultobj
= Py_BuildValue("s",_ptemp
);
3658 _resultobj
= Py_None
;
3663 #define wxGridCellAttrProvider_SetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetAttr(_swigarg0,_swigarg1,_swigarg2))
3664 static PyObject
*_wrap_wxGridCellAttrProvider_SetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3665 PyObject
* _resultobj
;
3666 wxGridCellAttrProvider
* _arg0
;
3667 wxGridCellAttr
* _arg1
;
3670 PyObject
* _argo0
= 0;
3671 PyObject
* _argo1
= 0;
3672 char *_kwnames
[] = { "self","attr","row","col", NULL
};
3675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxGridCellAttrProvider_SetAttr",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
3678 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3679 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttrProvider_p")) {
3680 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttrProvider_SetAttr. Expected _wxGridCellAttrProvider_p.");
3685 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3686 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
3687 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellAttrProvider_SetAttr. Expected _wxGridCellAttr_p.");
3692 wxPy_BEGIN_ALLOW_THREADS
;
3693 wxGridCellAttrProvider_SetAttr(_arg0
,_arg1
,_arg2
,_arg3
);
3695 wxPy_END_ALLOW_THREADS
;
3696 } Py_INCREF(Py_None
);
3697 _resultobj
= Py_None
;
3701 #define wxGridCellAttrProvider_SetRowAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowAttr(_swigarg0,_swigarg1))
3702 static PyObject
*_wrap_wxGridCellAttrProvider_SetRowAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3703 PyObject
* _resultobj
;
3704 wxGridCellAttrProvider
* _arg0
;
3705 wxGridCellAttr
* _arg1
;
3707 PyObject
* _argo0
= 0;
3708 PyObject
* _argo1
= 0;
3709 char *_kwnames
[] = { "self","attr","row", NULL
};
3712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxGridCellAttrProvider_SetRowAttr",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
3715 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3716 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttrProvider_p")) {
3717 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttrProvider_SetRowAttr. Expected _wxGridCellAttrProvider_p.");
3722 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3723 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
3724 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellAttrProvider_SetRowAttr. Expected _wxGridCellAttr_p.");
3729 wxPy_BEGIN_ALLOW_THREADS
;
3730 wxGridCellAttrProvider_SetRowAttr(_arg0
,_arg1
,_arg2
);
3732 wxPy_END_ALLOW_THREADS
;
3733 } Py_INCREF(Py_None
);
3734 _resultobj
= Py_None
;
3738 #define wxGridCellAttrProvider_SetColAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColAttr(_swigarg0,_swigarg1))
3739 static PyObject
*_wrap_wxGridCellAttrProvider_SetColAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3740 PyObject
* _resultobj
;
3741 wxGridCellAttrProvider
* _arg0
;
3742 wxGridCellAttr
* _arg1
;
3744 PyObject
* _argo0
= 0;
3745 PyObject
* _argo1
= 0;
3746 char *_kwnames
[] = { "self","attr","col", NULL
};
3749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxGridCellAttrProvider_SetColAttr",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
3752 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3753 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttrProvider_p")) {
3754 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttrProvider_SetColAttr. Expected _wxGridCellAttrProvider_p.");
3759 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3760 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
3761 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellAttrProvider_SetColAttr. Expected _wxGridCellAttr_p.");
3766 wxPy_BEGIN_ALLOW_THREADS
;
3767 wxGridCellAttrProvider_SetColAttr(_arg0
,_arg1
,_arg2
);
3769 wxPy_END_ALLOW_THREADS
;
3770 } Py_INCREF(Py_None
);
3771 _resultobj
= Py_None
;
3775 #define wxGridCellAttrProvider_UpdateAttrRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->UpdateAttrRows(_swigarg0,_swigarg1))
3776 static PyObject
*_wrap_wxGridCellAttrProvider_UpdateAttrRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3777 PyObject
* _resultobj
;
3778 wxGridCellAttrProvider
* _arg0
;
3781 PyObject
* _argo0
= 0;
3782 char *_kwnames
[] = { "self","pos","numRows", NULL
};
3785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGridCellAttrProvider_UpdateAttrRows",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3788 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3789 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttrProvider_p")) {
3790 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttrProvider_UpdateAttrRows. Expected _wxGridCellAttrProvider_p.");
3795 wxPy_BEGIN_ALLOW_THREADS
;
3796 wxGridCellAttrProvider_UpdateAttrRows(_arg0
,_arg1
,_arg2
);
3798 wxPy_END_ALLOW_THREADS
;
3799 } Py_INCREF(Py_None
);
3800 _resultobj
= Py_None
;
3804 #define wxGridCellAttrProvider_UpdateAttrCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->UpdateAttrCols(_swigarg0,_swigarg1))
3805 static PyObject
*_wrap_wxGridCellAttrProvider_UpdateAttrCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3806 PyObject
* _resultobj
;
3807 wxGridCellAttrProvider
* _arg0
;
3810 PyObject
* _argo0
= 0;
3811 char *_kwnames
[] = { "self","pos","numCols", NULL
};
3814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGridCellAttrProvider_UpdateAttrCols",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3817 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3818 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttrProvider_p")) {
3819 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttrProvider_UpdateAttrCols. Expected _wxGridCellAttrProvider_p.");
3824 wxPy_BEGIN_ALLOW_THREADS
;
3825 wxGridCellAttrProvider_UpdateAttrCols(_arg0
,_arg1
,_arg2
);
3827 wxPy_END_ALLOW_THREADS
;
3828 } Py_INCREF(Py_None
);
3829 _resultobj
= Py_None
;
3833 static void *SwigwxPyGridCellAttrProviderTowxGridCellAttrProvider(void *ptr
) {
3834 wxPyGridCellAttrProvider
*src
;
3835 wxGridCellAttrProvider
*dest
;
3836 src
= (wxPyGridCellAttrProvider
*) ptr
;
3837 dest
= (wxGridCellAttrProvider
*) src
;
3838 return (void *) dest
;
3841 #define new_wxPyGridCellAttrProvider() (new wxPyGridCellAttrProvider())
3842 static PyObject
*_wrap_new_wxPyGridCellAttrProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3843 PyObject
* _resultobj
;
3844 wxPyGridCellAttrProvider
* _result
;
3845 char *_kwnames
[] = { NULL
};
3849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPyGridCellAttrProvider",_kwnames
))
3852 wxPy_BEGIN_ALLOW_THREADS
;
3853 _result
= (wxPyGridCellAttrProvider
*)new_wxPyGridCellAttrProvider();
3855 wxPy_END_ALLOW_THREADS
;
3857 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyGridCellAttrProvider_p");
3858 _resultobj
= Py_BuildValue("s",_ptemp
);
3861 _resultobj
= Py_None
;
3866 #define wxPyGridCellAttrProvider__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1))
3867 static PyObject
*_wrap_wxPyGridCellAttrProvider__setSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3868 PyObject
* _resultobj
;
3869 wxPyGridCellAttrProvider
* _arg0
;
3872 PyObject
* _argo0
= 0;
3873 PyObject
* _obj1
= 0;
3874 PyObject
* _obj2
= 0;
3875 char *_kwnames
[] = { "self","self","_class", NULL
};
3878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyGridCellAttrProvider__setSelf",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
3881 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3882 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellAttrProvider_p")) {
3883 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellAttrProvider__setSelf. Expected _wxPyGridCellAttrProvider_p.");
3894 wxPy_BEGIN_ALLOW_THREADS
;
3895 wxPyGridCellAttrProvider__setSelf(_arg0
,_arg1
,_arg2
);
3897 wxPy_END_ALLOW_THREADS
;
3898 } Py_INCREF(Py_None
);
3899 _resultobj
= Py_None
;
3903 #define wxPyGridCellAttrProvider_base_GetAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_GetAttr(_swigarg0,_swigarg1))
3904 static PyObject
*_wrap_wxPyGridCellAttrProvider_base_GetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3905 PyObject
* _resultobj
;
3906 wxGridCellAttr
* _result
;
3907 wxPyGridCellAttrProvider
* _arg0
;
3910 PyObject
* _argo0
= 0;
3911 char *_kwnames
[] = { "self","row","col", NULL
};
3915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxPyGridCellAttrProvider_base_GetAttr",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3918 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3919 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellAttrProvider_p")) {
3920 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellAttrProvider_base_GetAttr. Expected _wxPyGridCellAttrProvider_p.");
3925 wxPy_BEGIN_ALLOW_THREADS
;
3926 _result
= (wxGridCellAttr
*)wxPyGridCellAttrProvider_base_GetAttr(_arg0
,_arg1
,_arg2
);
3928 wxPy_END_ALLOW_THREADS
;
3930 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellAttr_p");
3931 _resultobj
= Py_BuildValue("s",_ptemp
);
3934 _resultobj
= Py_None
;
3939 #define wxPyGridCellAttrProvider_base_SetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_SetAttr(_swigarg0,_swigarg1,_swigarg2))
3940 static PyObject
*_wrap_wxPyGridCellAttrProvider_base_SetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3941 PyObject
* _resultobj
;
3942 wxPyGridCellAttrProvider
* _arg0
;
3943 wxGridCellAttr
* _arg1
;
3946 PyObject
* _argo0
= 0;
3947 PyObject
* _argo1
= 0;
3948 char *_kwnames
[] = { "self","attr","row","col", NULL
};
3951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxPyGridCellAttrProvider_base_SetAttr",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
3954 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3955 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellAttrProvider_p")) {
3956 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellAttrProvider_base_SetAttr. Expected _wxPyGridCellAttrProvider_p.");
3961 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3962 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
3963 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyGridCellAttrProvider_base_SetAttr. Expected _wxGridCellAttr_p.");
3968 wxPy_BEGIN_ALLOW_THREADS
;
3969 wxPyGridCellAttrProvider_base_SetAttr(_arg0
,_arg1
,_arg2
,_arg3
);
3971 wxPy_END_ALLOW_THREADS
;
3972 } Py_INCREF(Py_None
);
3973 _resultobj
= Py_None
;
3977 #define wxPyGridCellAttrProvider_base_SetRowAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetRowAttr(_swigarg0,_swigarg1))
3978 static PyObject
*_wrap_wxPyGridCellAttrProvider_base_SetRowAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3979 PyObject
* _resultobj
;
3980 wxPyGridCellAttrProvider
* _arg0
;
3981 wxGridCellAttr
* _arg1
;
3983 PyObject
* _argo0
= 0;
3984 PyObject
* _argo1
= 0;
3985 char *_kwnames
[] = { "self","attr","row", NULL
};
3988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxPyGridCellAttrProvider_base_SetRowAttr",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
3991 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3992 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellAttrProvider_p")) {
3993 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellAttrProvider_base_SetRowAttr. Expected _wxPyGridCellAttrProvider_p.");
3998 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3999 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
4000 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyGridCellAttrProvider_base_SetRowAttr. Expected _wxGridCellAttr_p.");
4005 wxPy_BEGIN_ALLOW_THREADS
;
4006 wxPyGridCellAttrProvider_base_SetRowAttr(_arg0
,_arg1
,_arg2
);
4008 wxPy_END_ALLOW_THREADS
;
4009 } Py_INCREF(Py_None
);
4010 _resultobj
= Py_None
;
4014 #define wxPyGridCellAttrProvider_base_SetColAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetColAttr(_swigarg0,_swigarg1))
4015 static PyObject
*_wrap_wxPyGridCellAttrProvider_base_SetColAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4016 PyObject
* _resultobj
;
4017 wxPyGridCellAttrProvider
* _arg0
;
4018 wxGridCellAttr
* _arg1
;
4020 PyObject
* _argo0
= 0;
4021 PyObject
* _argo1
= 0;
4022 char *_kwnames
[] = { "self","attr","col", NULL
};
4025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxPyGridCellAttrProvider_base_SetColAttr",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
4028 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4029 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellAttrProvider_p")) {
4030 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellAttrProvider_base_SetColAttr. Expected _wxPyGridCellAttrProvider_p.");
4035 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4036 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
4037 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyGridCellAttrProvider_base_SetColAttr. Expected _wxGridCellAttr_p.");
4042 wxPy_BEGIN_ALLOW_THREADS
;
4043 wxPyGridCellAttrProvider_base_SetColAttr(_arg0
,_arg1
,_arg2
);
4045 wxPy_END_ALLOW_THREADS
;
4046 } Py_INCREF(Py_None
);
4047 _resultobj
= Py_None
;
4051 #define wxGridTableBase_SetAttrProvider(_swigobj,_swigarg0) (_swigobj->SetAttrProvider(_swigarg0))
4052 static PyObject
*_wrap_wxGridTableBase_SetAttrProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4053 PyObject
* _resultobj
;
4054 wxGridTableBase
* _arg0
;
4055 wxGridCellAttrProvider
* _arg1
;
4056 PyObject
* _argo0
= 0;
4057 PyObject
* _argo1
= 0;
4058 char *_kwnames
[] = { "self","attrProvider", NULL
};
4061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridTableBase_SetAttrProvider",_kwnames
,&_argo0
,&_argo1
))
4064 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4065 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4066 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_SetAttrProvider. Expected _wxGridTableBase_p.");
4071 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4072 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttrProvider_p")) {
4073 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridTableBase_SetAttrProvider. Expected _wxGridCellAttrProvider_p.");
4078 wxPy_BEGIN_ALLOW_THREADS
;
4079 wxGridTableBase_SetAttrProvider(_arg0
,_arg1
);
4081 wxPy_END_ALLOW_THREADS
;
4082 } Py_INCREF(Py_None
);
4083 _resultobj
= Py_None
;
4087 #define wxGridTableBase_GetAttrProvider(_swigobj) (_swigobj->GetAttrProvider())
4088 static PyObject
*_wrap_wxGridTableBase_GetAttrProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4089 PyObject
* _resultobj
;
4090 wxGridCellAttrProvider
* _result
;
4091 wxGridTableBase
* _arg0
;
4092 PyObject
* _argo0
= 0;
4093 char *_kwnames
[] = { "self", NULL
};
4097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridTableBase_GetAttrProvider",_kwnames
,&_argo0
))
4100 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4101 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4102 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_GetAttrProvider. Expected _wxGridTableBase_p.");
4107 wxPy_BEGIN_ALLOW_THREADS
;
4108 _result
= (wxGridCellAttrProvider
*)wxGridTableBase_GetAttrProvider(_arg0
);
4110 wxPy_END_ALLOW_THREADS
;
4112 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellAttrProvider_p");
4113 _resultobj
= Py_BuildValue("s",_ptemp
);
4116 _resultobj
= Py_None
;
4121 #define wxGridTableBase_SetView(_swigobj,_swigarg0) (_swigobj->SetView(_swigarg0))
4122 static PyObject
*_wrap_wxGridTableBase_SetView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4123 PyObject
* _resultobj
;
4124 wxGridTableBase
* _arg0
;
4126 PyObject
* _argo0
= 0;
4127 PyObject
* _argo1
= 0;
4128 char *_kwnames
[] = { "self","grid", NULL
};
4131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridTableBase_SetView",_kwnames
,&_argo0
,&_argo1
))
4134 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4135 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4136 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_SetView. Expected _wxGridTableBase_p.");
4141 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4142 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGrid_p")) {
4143 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridTableBase_SetView. Expected _wxGrid_p.");
4148 wxPy_BEGIN_ALLOW_THREADS
;
4149 wxGridTableBase_SetView(_arg0
,_arg1
);
4151 wxPy_END_ALLOW_THREADS
;
4152 } Py_INCREF(Py_None
);
4153 _resultobj
= Py_None
;
4157 #define wxGridTableBase_GetView(_swigobj) (_swigobj->GetView())
4158 static PyObject
*_wrap_wxGridTableBase_GetView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4159 PyObject
* _resultobj
;
4161 wxGridTableBase
* _arg0
;
4162 PyObject
* _argo0
= 0;
4163 char *_kwnames
[] = { "self", NULL
};
4167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridTableBase_GetView",_kwnames
,&_argo0
))
4170 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4171 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4172 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_GetView. Expected _wxGridTableBase_p.");
4177 wxPy_BEGIN_ALLOW_THREADS
;
4178 _result
= (wxGrid
*)wxGridTableBase_GetView(_arg0
);
4180 wxPy_END_ALLOW_THREADS
;
4182 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGrid_p");
4183 _resultobj
= Py_BuildValue("s",_ptemp
);
4186 _resultobj
= Py_None
;
4191 #define wxGridTableBase_GetNumberRows(_swigobj) (_swigobj->GetNumberRows())
4192 static PyObject
*_wrap_wxGridTableBase_GetNumberRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4193 PyObject
* _resultobj
;
4195 wxGridTableBase
* _arg0
;
4196 PyObject
* _argo0
= 0;
4197 char *_kwnames
[] = { "self", NULL
};
4200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridTableBase_GetNumberRows",_kwnames
,&_argo0
))
4203 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4204 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4205 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_GetNumberRows. Expected _wxGridTableBase_p.");
4210 wxPy_BEGIN_ALLOW_THREADS
;
4211 _result
= (int )wxGridTableBase_GetNumberRows(_arg0
);
4213 wxPy_END_ALLOW_THREADS
;
4214 } _resultobj
= Py_BuildValue("i",_result
);
4218 #define wxGridTableBase_GetNumberCols(_swigobj) (_swigobj->GetNumberCols())
4219 static PyObject
*_wrap_wxGridTableBase_GetNumberCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4220 PyObject
* _resultobj
;
4222 wxGridTableBase
* _arg0
;
4223 PyObject
* _argo0
= 0;
4224 char *_kwnames
[] = { "self", NULL
};
4227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridTableBase_GetNumberCols",_kwnames
,&_argo0
))
4230 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4231 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4232 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_GetNumberCols. Expected _wxGridTableBase_p.");
4237 wxPy_BEGIN_ALLOW_THREADS
;
4238 _result
= (int )wxGridTableBase_GetNumberCols(_arg0
);
4240 wxPy_END_ALLOW_THREADS
;
4241 } _resultobj
= Py_BuildValue("i",_result
);
4245 #define wxGridTableBase_IsEmptyCell(_swigobj,_swigarg0,_swigarg1) (_swigobj->IsEmptyCell(_swigarg0,_swigarg1))
4246 static PyObject
*_wrap_wxGridTableBase_IsEmptyCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4247 PyObject
* _resultobj
;
4249 wxGridTableBase
* _arg0
;
4252 PyObject
* _argo0
= 0;
4253 char *_kwnames
[] = { "self","row","col", NULL
};
4256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGridTableBase_IsEmptyCell",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4259 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4260 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4261 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_IsEmptyCell. Expected _wxGridTableBase_p.");
4266 wxPy_BEGIN_ALLOW_THREADS
;
4267 _result
= (bool )wxGridTableBase_IsEmptyCell(_arg0
,_arg1
,_arg2
);
4269 wxPy_END_ALLOW_THREADS
;
4270 } _resultobj
= Py_BuildValue("i",_result
);
4274 #define wxGridTableBase_GetValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetValue(_swigarg0,_swigarg1))
4275 static PyObject
*_wrap_wxGridTableBase_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4276 PyObject
* _resultobj
;
4278 wxGridTableBase
* _arg0
;
4281 PyObject
* _argo0
= 0;
4282 char *_kwnames
[] = { "self","row","col", NULL
};
4285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGridTableBase_GetValue",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4288 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4289 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4290 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_GetValue. Expected _wxGridTableBase_p.");
4295 wxPy_BEGIN_ALLOW_THREADS
;
4296 _result
= new wxString (wxGridTableBase_GetValue(_arg0
,_arg1
,_arg2
));
4298 wxPy_END_ALLOW_THREADS
;
4300 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
4308 #define wxGridTableBase_SetValue(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetValue(_swigarg0,_swigarg1,_swigarg2))
4309 static PyObject
*_wrap_wxGridTableBase_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4310 PyObject
* _resultobj
;
4311 wxGridTableBase
* _arg0
;
4315 PyObject
* _argo0
= 0;
4316 PyObject
* _obj3
= 0;
4317 char *_kwnames
[] = { "self","row","col","value", NULL
};
4320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxGridTableBase_SetValue",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
4323 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4324 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4325 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_SetValue. Expected _wxGridTableBase_p.");
4330 #if PYTHON_API_VERSION >= 1009
4331 char* tmpPtr
; int tmpSize
;
4332 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
4333 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
4336 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
4338 _arg3
= new wxString(tmpPtr
, tmpSize
);
4340 if (!PyString_Check(_obj3
)) {
4341 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4344 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
4348 wxPy_BEGIN_ALLOW_THREADS
;
4349 wxGridTableBase_SetValue(_arg0
,_arg1
,_arg2
,*_arg3
);
4351 wxPy_END_ALLOW_THREADS
;
4352 } Py_INCREF(Py_None
);
4353 _resultobj
= Py_None
;
4361 #define wxGridTableBase_GetTypeName(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetTypeName(_swigarg0,_swigarg1))
4362 static PyObject
*_wrap_wxGridTableBase_GetTypeName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4363 PyObject
* _resultobj
;
4365 wxGridTableBase
* _arg0
;
4368 PyObject
* _argo0
= 0;
4369 char *_kwnames
[] = { "self","row","col", NULL
};
4372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGridTableBase_GetTypeName",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4375 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4376 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4377 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_GetTypeName. Expected _wxGridTableBase_p.");
4382 wxPy_BEGIN_ALLOW_THREADS
;
4383 _result
= new wxString (wxGridTableBase_GetTypeName(_arg0
,_arg1
,_arg2
));
4385 wxPy_END_ALLOW_THREADS
;
4387 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
4395 #define wxGridTableBase_CanGetValueAs(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->CanGetValueAs(_swigarg0,_swigarg1,_swigarg2))
4396 static PyObject
*_wrap_wxGridTableBase_CanGetValueAs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4397 PyObject
* _resultobj
;
4399 wxGridTableBase
* _arg0
;
4403 PyObject
* _argo0
= 0;
4404 PyObject
* _obj3
= 0;
4405 char *_kwnames
[] = { "self","row","col","typeName", NULL
};
4408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxGridTableBase_CanGetValueAs",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
4411 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4412 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4413 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_CanGetValueAs. Expected _wxGridTableBase_p.");
4418 #if PYTHON_API_VERSION >= 1009
4419 char* tmpPtr
; int tmpSize
;
4420 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
4421 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
4424 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
4426 _arg3
= new wxString(tmpPtr
, tmpSize
);
4428 if (!PyString_Check(_obj3
)) {
4429 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4432 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
4436 wxPy_BEGIN_ALLOW_THREADS
;
4437 _result
= (bool )wxGridTableBase_CanGetValueAs(_arg0
,_arg1
,_arg2
,*_arg3
);
4439 wxPy_END_ALLOW_THREADS
;
4440 } _resultobj
= Py_BuildValue("i",_result
);
4448 #define wxGridTableBase_CanSetValueAs(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->CanSetValueAs(_swigarg0,_swigarg1,_swigarg2))
4449 static PyObject
*_wrap_wxGridTableBase_CanSetValueAs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4450 PyObject
* _resultobj
;
4452 wxGridTableBase
* _arg0
;
4456 PyObject
* _argo0
= 0;
4457 PyObject
* _obj3
= 0;
4458 char *_kwnames
[] = { "self","row","col","typeName", NULL
};
4461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxGridTableBase_CanSetValueAs",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
4464 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4465 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4466 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_CanSetValueAs. Expected _wxGridTableBase_p.");
4471 #if PYTHON_API_VERSION >= 1009
4472 char* tmpPtr
; int tmpSize
;
4473 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
4474 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
4477 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
4479 _arg3
= new wxString(tmpPtr
, tmpSize
);
4481 if (!PyString_Check(_obj3
)) {
4482 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4485 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
4489 wxPy_BEGIN_ALLOW_THREADS
;
4490 _result
= (bool )wxGridTableBase_CanSetValueAs(_arg0
,_arg1
,_arg2
,*_arg3
);
4492 wxPy_END_ALLOW_THREADS
;
4493 } _resultobj
= Py_BuildValue("i",_result
);
4501 #define wxGridTableBase_GetValueAsLong(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetValueAsLong(_swigarg0,_swigarg1))
4502 static PyObject
*_wrap_wxGridTableBase_GetValueAsLong(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4503 PyObject
* _resultobj
;
4505 wxGridTableBase
* _arg0
;
4508 PyObject
* _argo0
= 0;
4509 char *_kwnames
[] = { "self","row","col", NULL
};
4512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGridTableBase_GetValueAsLong",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4515 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4516 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4517 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_GetValueAsLong. Expected _wxGridTableBase_p.");
4522 wxPy_BEGIN_ALLOW_THREADS
;
4523 _result
= (long )wxGridTableBase_GetValueAsLong(_arg0
,_arg1
,_arg2
);
4525 wxPy_END_ALLOW_THREADS
;
4526 } _resultobj
= Py_BuildValue("l",_result
);
4530 #define wxGridTableBase_GetValueAsDouble(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetValueAsDouble(_swigarg0,_swigarg1))
4531 static PyObject
*_wrap_wxGridTableBase_GetValueAsDouble(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4532 PyObject
* _resultobj
;
4534 wxGridTableBase
* _arg0
;
4537 PyObject
* _argo0
= 0;
4538 char *_kwnames
[] = { "self","row","col", NULL
};
4541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGridTableBase_GetValueAsDouble",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4544 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4545 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4546 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_GetValueAsDouble. Expected _wxGridTableBase_p.");
4551 wxPy_BEGIN_ALLOW_THREADS
;
4552 _result
= (double )wxGridTableBase_GetValueAsDouble(_arg0
,_arg1
,_arg2
);
4554 wxPy_END_ALLOW_THREADS
;
4555 } _resultobj
= Py_BuildValue("d",_result
);
4559 #define wxGridTableBase_GetValueAsBool(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetValueAsBool(_swigarg0,_swigarg1))
4560 static PyObject
*_wrap_wxGridTableBase_GetValueAsBool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4561 PyObject
* _resultobj
;
4563 wxGridTableBase
* _arg0
;
4566 PyObject
* _argo0
= 0;
4567 char *_kwnames
[] = { "self","row","col", NULL
};
4570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGridTableBase_GetValueAsBool",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4573 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4574 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4575 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_GetValueAsBool. Expected _wxGridTableBase_p.");
4580 wxPy_BEGIN_ALLOW_THREADS
;
4581 _result
= (bool )wxGridTableBase_GetValueAsBool(_arg0
,_arg1
,_arg2
);
4583 wxPy_END_ALLOW_THREADS
;
4584 } _resultobj
= Py_BuildValue("i",_result
);
4588 #define wxGridTableBase_SetValueAsLong(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetValueAsLong(_swigarg0,_swigarg1,_swigarg2))
4589 static PyObject
*_wrap_wxGridTableBase_SetValueAsLong(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4590 PyObject
* _resultobj
;
4591 wxGridTableBase
* _arg0
;
4595 PyObject
* _argo0
= 0;
4596 char *_kwnames
[] = { "self","row","col","value", NULL
};
4599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiil:wxGridTableBase_SetValueAsLong",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
4602 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4603 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4604 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_SetValueAsLong. Expected _wxGridTableBase_p.");
4609 wxPy_BEGIN_ALLOW_THREADS
;
4610 wxGridTableBase_SetValueAsLong(_arg0
,_arg1
,_arg2
,_arg3
);
4612 wxPy_END_ALLOW_THREADS
;
4613 } Py_INCREF(Py_None
);
4614 _resultobj
= Py_None
;
4618 #define wxGridTableBase_SetValueAsDouble(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetValueAsDouble(_swigarg0,_swigarg1,_swigarg2))
4619 static PyObject
*_wrap_wxGridTableBase_SetValueAsDouble(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4620 PyObject
* _resultobj
;
4621 wxGridTableBase
* _arg0
;
4625 PyObject
* _argo0
= 0;
4626 char *_kwnames
[] = { "self","row","col","value", NULL
};
4629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiid:wxGridTableBase_SetValueAsDouble",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
4632 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4633 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4634 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_SetValueAsDouble. Expected _wxGridTableBase_p.");
4639 wxPy_BEGIN_ALLOW_THREADS
;
4640 wxGridTableBase_SetValueAsDouble(_arg0
,_arg1
,_arg2
,_arg3
);
4642 wxPy_END_ALLOW_THREADS
;
4643 } Py_INCREF(Py_None
);
4644 _resultobj
= Py_None
;
4648 #define wxGridTableBase_SetValueAsBool(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetValueAsBool(_swigarg0,_swigarg1,_swigarg2))
4649 static PyObject
*_wrap_wxGridTableBase_SetValueAsBool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4650 PyObject
* _resultobj
;
4651 wxGridTableBase
* _arg0
;
4655 PyObject
* _argo0
= 0;
4657 char *_kwnames
[] = { "self","row","col","value", NULL
};
4660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiii:wxGridTableBase_SetValueAsBool",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
4663 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4664 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4665 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_SetValueAsBool. Expected _wxGridTableBase_p.");
4669 _arg3
= (bool ) tempbool3
;
4671 wxPy_BEGIN_ALLOW_THREADS
;
4672 wxGridTableBase_SetValueAsBool(_arg0
,_arg1
,_arg2
,_arg3
);
4674 wxPy_END_ALLOW_THREADS
;
4675 } Py_INCREF(Py_None
);
4676 _resultobj
= Py_None
;
4680 #define wxGridTableBase_Clear(_swigobj) (_swigobj->Clear())
4681 static PyObject
*_wrap_wxGridTableBase_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4682 PyObject
* _resultobj
;
4683 wxGridTableBase
* _arg0
;
4684 PyObject
* _argo0
= 0;
4685 char *_kwnames
[] = { "self", NULL
};
4688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridTableBase_Clear",_kwnames
,&_argo0
))
4691 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4692 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4693 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_Clear. Expected _wxGridTableBase_p.");
4698 wxPy_BEGIN_ALLOW_THREADS
;
4699 wxGridTableBase_Clear(_arg0
);
4701 wxPy_END_ALLOW_THREADS
;
4702 } Py_INCREF(Py_None
);
4703 _resultobj
= Py_None
;
4707 #define wxGridTableBase_InsertRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertRows(_swigarg0,_swigarg1))
4708 static PyObject
*_wrap_wxGridTableBase_InsertRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4709 PyObject
* _resultobj
;
4711 wxGridTableBase
* _arg0
;
4712 size_t _arg1
= (size_t ) 0;
4713 size_t _arg2
= (size_t ) 1;
4714 PyObject
* _argo0
= 0;
4715 char *_kwnames
[] = { "self","pos","numRows", NULL
};
4718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxGridTableBase_InsertRows",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4721 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4722 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4723 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_InsertRows. Expected _wxGridTableBase_p.");
4728 wxPy_BEGIN_ALLOW_THREADS
;
4729 _result
= (bool )wxGridTableBase_InsertRows(_arg0
,_arg1
,_arg2
);
4731 wxPy_END_ALLOW_THREADS
;
4732 } _resultobj
= Py_BuildValue("i",_result
);
4736 #define wxGridTableBase_AppendRows(_swigobj,_swigarg0) (_swigobj->AppendRows(_swigarg0))
4737 static PyObject
*_wrap_wxGridTableBase_AppendRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4738 PyObject
* _resultobj
;
4740 wxGridTableBase
* _arg0
;
4741 size_t _arg1
= (size_t ) 1;
4742 PyObject
* _argo0
= 0;
4743 char *_kwnames
[] = { "self","numRows", NULL
};
4746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxGridTableBase_AppendRows",_kwnames
,&_argo0
,&_arg1
))
4749 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4750 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4751 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_AppendRows. Expected _wxGridTableBase_p.");
4756 wxPy_BEGIN_ALLOW_THREADS
;
4757 _result
= (bool )wxGridTableBase_AppendRows(_arg0
,_arg1
);
4759 wxPy_END_ALLOW_THREADS
;
4760 } _resultobj
= Py_BuildValue("i",_result
);
4764 #define wxGridTableBase_DeleteRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->DeleteRows(_swigarg0,_swigarg1))
4765 static PyObject
*_wrap_wxGridTableBase_DeleteRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4766 PyObject
* _resultobj
;
4768 wxGridTableBase
* _arg0
;
4769 size_t _arg1
= (size_t ) 0;
4770 size_t _arg2
= (size_t ) 1;
4771 PyObject
* _argo0
= 0;
4772 char *_kwnames
[] = { "self","pos","numRows", NULL
};
4775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxGridTableBase_DeleteRows",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4778 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4779 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4780 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_DeleteRows. Expected _wxGridTableBase_p.");
4785 wxPy_BEGIN_ALLOW_THREADS
;
4786 _result
= (bool )wxGridTableBase_DeleteRows(_arg0
,_arg1
,_arg2
);
4788 wxPy_END_ALLOW_THREADS
;
4789 } _resultobj
= Py_BuildValue("i",_result
);
4793 #define wxGridTableBase_InsertCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertCols(_swigarg0,_swigarg1))
4794 static PyObject
*_wrap_wxGridTableBase_InsertCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4795 PyObject
* _resultobj
;
4797 wxGridTableBase
* _arg0
;
4798 size_t _arg1
= (size_t ) 0;
4799 size_t _arg2
= (size_t ) 1;
4800 PyObject
* _argo0
= 0;
4801 char *_kwnames
[] = { "self","pos","numCols", NULL
};
4804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxGridTableBase_InsertCols",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4807 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4808 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4809 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_InsertCols. Expected _wxGridTableBase_p.");
4814 wxPy_BEGIN_ALLOW_THREADS
;
4815 _result
= (bool )wxGridTableBase_InsertCols(_arg0
,_arg1
,_arg2
);
4817 wxPy_END_ALLOW_THREADS
;
4818 } _resultobj
= Py_BuildValue("i",_result
);
4822 #define wxGridTableBase_AppendCols(_swigobj,_swigarg0) (_swigobj->AppendCols(_swigarg0))
4823 static PyObject
*_wrap_wxGridTableBase_AppendCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4824 PyObject
* _resultobj
;
4826 wxGridTableBase
* _arg0
;
4827 size_t _arg1
= (size_t ) 1;
4828 PyObject
* _argo0
= 0;
4829 char *_kwnames
[] = { "self","numCols", NULL
};
4832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxGridTableBase_AppendCols",_kwnames
,&_argo0
,&_arg1
))
4835 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4836 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4837 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_AppendCols. Expected _wxGridTableBase_p.");
4842 wxPy_BEGIN_ALLOW_THREADS
;
4843 _result
= (bool )wxGridTableBase_AppendCols(_arg0
,_arg1
);
4845 wxPy_END_ALLOW_THREADS
;
4846 } _resultobj
= Py_BuildValue("i",_result
);
4850 #define wxGridTableBase_DeleteCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->DeleteCols(_swigarg0,_swigarg1))
4851 static PyObject
*_wrap_wxGridTableBase_DeleteCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4852 PyObject
* _resultobj
;
4854 wxGridTableBase
* _arg0
;
4855 size_t _arg1
= (size_t ) 0;
4856 size_t _arg2
= (size_t ) 1;
4857 PyObject
* _argo0
= 0;
4858 char *_kwnames
[] = { "self","pos","numCols", NULL
};
4861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxGridTableBase_DeleteCols",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4864 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4865 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4866 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_DeleteCols. Expected _wxGridTableBase_p.");
4871 wxPy_BEGIN_ALLOW_THREADS
;
4872 _result
= (bool )wxGridTableBase_DeleteCols(_arg0
,_arg1
,_arg2
);
4874 wxPy_END_ALLOW_THREADS
;
4875 } _resultobj
= Py_BuildValue("i",_result
);
4879 #define wxGridTableBase_GetRowLabelValue(_swigobj,_swigarg0) (_swigobj->GetRowLabelValue(_swigarg0))
4880 static PyObject
*_wrap_wxGridTableBase_GetRowLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4881 PyObject
* _resultobj
;
4883 wxGridTableBase
* _arg0
;
4885 PyObject
* _argo0
= 0;
4886 char *_kwnames
[] = { "self","row", NULL
};
4889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridTableBase_GetRowLabelValue",_kwnames
,&_argo0
,&_arg1
))
4892 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4893 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4894 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_GetRowLabelValue. Expected _wxGridTableBase_p.");
4899 wxPy_BEGIN_ALLOW_THREADS
;
4900 _result
= new wxString (wxGridTableBase_GetRowLabelValue(_arg0
,_arg1
));
4902 wxPy_END_ALLOW_THREADS
;
4904 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
4912 #define wxGridTableBase_GetColLabelValue(_swigobj,_swigarg0) (_swigobj->GetColLabelValue(_swigarg0))
4913 static PyObject
*_wrap_wxGridTableBase_GetColLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4914 PyObject
* _resultobj
;
4916 wxGridTableBase
* _arg0
;
4918 PyObject
* _argo0
= 0;
4919 char *_kwnames
[] = { "self","col", NULL
};
4922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridTableBase_GetColLabelValue",_kwnames
,&_argo0
,&_arg1
))
4925 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4926 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4927 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_GetColLabelValue. Expected _wxGridTableBase_p.");
4932 wxPy_BEGIN_ALLOW_THREADS
;
4933 _result
= new wxString (wxGridTableBase_GetColLabelValue(_arg0
,_arg1
));
4935 wxPy_END_ALLOW_THREADS
;
4937 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
4945 #define wxGridTableBase_SetRowLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowLabelValue(_swigarg0,_swigarg1))
4946 static PyObject
*_wrap_wxGridTableBase_SetRowLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4947 PyObject
* _resultobj
;
4948 wxGridTableBase
* _arg0
;
4951 PyObject
* _argo0
= 0;
4952 PyObject
* _obj2
= 0;
4953 char *_kwnames
[] = { "self","row","value", NULL
};
4956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxGridTableBase_SetRowLabelValue",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
4959 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4960 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4961 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_SetRowLabelValue. Expected _wxGridTableBase_p.");
4966 #if PYTHON_API_VERSION >= 1009
4967 char* tmpPtr
; int tmpSize
;
4968 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
4969 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
4972 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
4974 _arg2
= new wxString(tmpPtr
, tmpSize
);
4976 if (!PyString_Check(_obj2
)) {
4977 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4980 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
4984 wxPy_BEGIN_ALLOW_THREADS
;
4985 wxGridTableBase_SetRowLabelValue(_arg0
,_arg1
,*_arg2
);
4987 wxPy_END_ALLOW_THREADS
;
4988 } Py_INCREF(Py_None
);
4989 _resultobj
= Py_None
;
4997 #define wxGridTableBase_SetColLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColLabelValue(_swigarg0,_swigarg1))
4998 static PyObject
*_wrap_wxGridTableBase_SetColLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4999 PyObject
* _resultobj
;
5000 wxGridTableBase
* _arg0
;
5003 PyObject
* _argo0
= 0;
5004 PyObject
* _obj2
= 0;
5005 char *_kwnames
[] = { "self","col","value", NULL
};
5008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxGridTableBase_SetColLabelValue",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
5011 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5012 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5013 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_SetColLabelValue. Expected _wxGridTableBase_p.");
5018 #if PYTHON_API_VERSION >= 1009
5019 char* tmpPtr
; int tmpSize
;
5020 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
5021 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
5024 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
5026 _arg2
= new wxString(tmpPtr
, tmpSize
);
5028 if (!PyString_Check(_obj2
)) {
5029 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5032 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
5036 wxPy_BEGIN_ALLOW_THREADS
;
5037 wxGridTableBase_SetColLabelValue(_arg0
,_arg1
,*_arg2
);
5039 wxPy_END_ALLOW_THREADS
;
5040 } Py_INCREF(Py_None
);
5041 _resultobj
= Py_None
;
5049 #define wxGridTableBase_CanHaveAttributes(_swigobj) (_swigobj->CanHaveAttributes())
5050 static PyObject
*_wrap_wxGridTableBase_CanHaveAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5051 PyObject
* _resultobj
;
5053 wxGridTableBase
* _arg0
;
5054 PyObject
* _argo0
= 0;
5055 char *_kwnames
[] = { "self", NULL
};
5058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridTableBase_CanHaveAttributes",_kwnames
,&_argo0
))
5061 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5062 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5063 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_CanHaveAttributes. Expected _wxGridTableBase_p.");
5068 wxPy_BEGIN_ALLOW_THREADS
;
5069 _result
= (bool )wxGridTableBase_CanHaveAttributes(_arg0
);
5071 wxPy_END_ALLOW_THREADS
;
5072 } _resultobj
= Py_BuildValue("i",_result
);
5076 #define wxGridTableBase_GetAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetAttr(_swigarg0,_swigarg1))
5077 static PyObject
*_wrap_wxGridTableBase_GetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5078 PyObject
* _resultobj
;
5079 wxGridCellAttr
* _result
;
5080 wxGridTableBase
* _arg0
;
5083 PyObject
* _argo0
= 0;
5084 char *_kwnames
[] = { "self","row","col", NULL
};
5088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGridTableBase_GetAttr",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5091 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5092 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5093 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_GetAttr. Expected _wxGridTableBase_p.");
5098 wxPy_BEGIN_ALLOW_THREADS
;
5099 _result
= (wxGridCellAttr
*)wxGridTableBase_GetAttr(_arg0
,_arg1
,_arg2
);
5101 wxPy_END_ALLOW_THREADS
;
5103 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellAttr_p");
5104 _resultobj
= Py_BuildValue("s",_ptemp
);
5107 _resultobj
= Py_None
;
5112 #define wxGridTableBase_SetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetAttr(_swigarg0,_swigarg1,_swigarg2))
5113 static PyObject
*_wrap_wxGridTableBase_SetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5114 PyObject
* _resultobj
;
5115 wxGridTableBase
* _arg0
;
5116 wxGridCellAttr
* _arg1
;
5119 PyObject
* _argo0
= 0;
5120 PyObject
* _argo1
= 0;
5121 char *_kwnames
[] = { "self","attr","row","col", NULL
};
5124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxGridTableBase_SetAttr",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
5127 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5128 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5129 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_SetAttr. Expected _wxGridTableBase_p.");
5134 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5135 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
5136 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridTableBase_SetAttr. Expected _wxGridCellAttr_p.");
5141 wxPy_BEGIN_ALLOW_THREADS
;
5142 wxGridTableBase_SetAttr(_arg0
,_arg1
,_arg2
,_arg3
);
5144 wxPy_END_ALLOW_THREADS
;
5145 } Py_INCREF(Py_None
);
5146 _resultobj
= Py_None
;
5150 #define wxGridTableBase_SetRowAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowAttr(_swigarg0,_swigarg1))
5151 static PyObject
*_wrap_wxGridTableBase_SetRowAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5152 PyObject
* _resultobj
;
5153 wxGridTableBase
* _arg0
;
5154 wxGridCellAttr
* _arg1
;
5156 PyObject
* _argo0
= 0;
5157 PyObject
* _argo1
= 0;
5158 char *_kwnames
[] = { "self","attr","row", NULL
};
5161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxGridTableBase_SetRowAttr",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
5164 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5165 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5166 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_SetRowAttr. Expected _wxGridTableBase_p.");
5171 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5172 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
5173 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridTableBase_SetRowAttr. Expected _wxGridCellAttr_p.");
5178 wxPy_BEGIN_ALLOW_THREADS
;
5179 wxGridTableBase_SetRowAttr(_arg0
,_arg1
,_arg2
);
5181 wxPy_END_ALLOW_THREADS
;
5182 } Py_INCREF(Py_None
);
5183 _resultobj
= Py_None
;
5187 #define wxGridTableBase_SetColAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColAttr(_swigarg0,_swigarg1))
5188 static PyObject
*_wrap_wxGridTableBase_SetColAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5189 PyObject
* _resultobj
;
5190 wxGridTableBase
* _arg0
;
5191 wxGridCellAttr
* _arg1
;
5193 PyObject
* _argo0
= 0;
5194 PyObject
* _argo1
= 0;
5195 char *_kwnames
[] = { "self","attr","col", NULL
};
5198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxGridTableBase_SetColAttr",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
5201 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5202 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5203 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_SetColAttr. Expected _wxGridTableBase_p.");
5208 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5209 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
5210 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridTableBase_SetColAttr. Expected _wxGridCellAttr_p.");
5215 wxPy_BEGIN_ALLOW_THREADS
;
5216 wxGridTableBase_SetColAttr(_arg0
,_arg1
,_arg2
);
5218 wxPy_END_ALLOW_THREADS
;
5219 } Py_INCREF(Py_None
);
5220 _resultobj
= Py_None
;
5224 static void *SwigwxPyGridTableBaseTowxGridTableBase(void *ptr
) {
5225 wxPyGridTableBase
*src
;
5226 wxGridTableBase
*dest
;
5227 src
= (wxPyGridTableBase
*) ptr
;
5228 dest
= (wxGridTableBase
*) src
;
5229 return (void *) dest
;
5232 #define new_wxPyGridTableBase() (new wxPyGridTableBase())
5233 static PyObject
*_wrap_new_wxPyGridTableBase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5234 PyObject
* _resultobj
;
5235 wxPyGridTableBase
* _result
;
5236 char *_kwnames
[] = { NULL
};
5240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPyGridTableBase",_kwnames
))
5243 wxPy_BEGIN_ALLOW_THREADS
;
5244 _result
= (wxPyGridTableBase
*)new_wxPyGridTableBase();
5246 wxPy_END_ALLOW_THREADS
;
5248 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyGridTableBase_p");
5249 _resultobj
= Py_BuildValue("s",_ptemp
);
5252 _resultobj
= Py_None
;
5257 #define wxPyGridTableBase__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1))
5258 static PyObject
*_wrap_wxPyGridTableBase__setSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5259 PyObject
* _resultobj
;
5260 wxPyGridTableBase
* _arg0
;
5263 PyObject
* _argo0
= 0;
5264 PyObject
* _obj1
= 0;
5265 PyObject
* _obj2
= 0;
5266 char *_kwnames
[] = { "self","self","_class", NULL
};
5269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyGridTableBase__setSelf",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
5272 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5273 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
5274 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase__setSelf. Expected _wxPyGridTableBase_p.");
5285 wxPy_BEGIN_ALLOW_THREADS
;
5286 wxPyGridTableBase__setSelf(_arg0
,_arg1
,_arg2
);
5288 wxPy_END_ALLOW_THREADS
;
5289 } Py_INCREF(Py_None
);
5290 _resultobj
= Py_None
;
5294 static void wxPyGridTableBase_Destroy(wxPyGridTableBase
*self
) { delete self
; }
5295 static PyObject
*_wrap_wxPyGridTableBase_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5296 PyObject
* _resultobj
;
5297 wxPyGridTableBase
* _arg0
;
5298 PyObject
* _argo0
= 0;
5299 char *_kwnames
[] = { "self", NULL
};
5302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyGridTableBase_Destroy",_kwnames
,&_argo0
))
5305 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5306 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
5307 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_Destroy. Expected _wxPyGridTableBase_p.");
5312 wxPy_BEGIN_ALLOW_THREADS
;
5313 wxPyGridTableBase_Destroy(_arg0
);
5315 wxPy_END_ALLOW_THREADS
;
5316 } Py_INCREF(Py_None
);
5317 _resultobj
= Py_None
;
5321 #define wxPyGridTableBase_base_GetTypeName(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_GetTypeName(_swigarg0,_swigarg1))
5322 static PyObject
*_wrap_wxPyGridTableBase_base_GetTypeName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5323 PyObject
* _resultobj
;
5325 wxPyGridTableBase
* _arg0
;
5328 PyObject
* _argo0
= 0;
5329 char *_kwnames
[] = { "self","row","col", NULL
};
5332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxPyGridTableBase_base_GetTypeName",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5335 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5336 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
5337 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_GetTypeName. Expected _wxPyGridTableBase_p.");
5342 wxPy_BEGIN_ALLOW_THREADS
;
5343 _result
= new wxString (wxPyGridTableBase_base_GetTypeName(_arg0
,_arg1
,_arg2
));
5345 wxPy_END_ALLOW_THREADS
;
5347 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5355 #define wxPyGridTableBase_base_CanGetValueAs(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_CanGetValueAs(_swigarg0,_swigarg1,_swigarg2))
5356 static PyObject
*_wrap_wxPyGridTableBase_base_CanGetValueAs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5357 PyObject
* _resultobj
;
5359 wxPyGridTableBase
* _arg0
;
5363 PyObject
* _argo0
= 0;
5364 PyObject
* _obj3
= 0;
5365 char *_kwnames
[] = { "self","row","col","typeName", NULL
};
5368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxPyGridTableBase_base_CanGetValueAs",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
5371 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5372 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
5373 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_CanGetValueAs. Expected _wxPyGridTableBase_p.");
5378 #if PYTHON_API_VERSION >= 1009
5379 char* tmpPtr
; int tmpSize
;
5380 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
5381 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
5384 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
5386 _arg3
= new wxString(tmpPtr
, tmpSize
);
5388 if (!PyString_Check(_obj3
)) {
5389 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5392 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
5396 wxPy_BEGIN_ALLOW_THREADS
;
5397 _result
= (bool )wxPyGridTableBase_base_CanGetValueAs(_arg0
,_arg1
,_arg2
,*_arg3
);
5399 wxPy_END_ALLOW_THREADS
;
5400 } _resultobj
= Py_BuildValue("i",_result
);
5408 #define wxPyGridTableBase_base_CanSetValueAs(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_CanSetValueAs(_swigarg0,_swigarg1,_swigarg2))
5409 static PyObject
*_wrap_wxPyGridTableBase_base_CanSetValueAs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5410 PyObject
* _resultobj
;
5412 wxPyGridTableBase
* _arg0
;
5416 PyObject
* _argo0
= 0;
5417 PyObject
* _obj3
= 0;
5418 char *_kwnames
[] = { "self","row","col","typeName", NULL
};
5421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxPyGridTableBase_base_CanSetValueAs",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
5424 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5425 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
5426 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_CanSetValueAs. Expected _wxPyGridTableBase_p.");
5431 #if PYTHON_API_VERSION >= 1009
5432 char* tmpPtr
; int tmpSize
;
5433 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
5434 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
5437 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
5439 _arg3
= new wxString(tmpPtr
, tmpSize
);
5441 if (!PyString_Check(_obj3
)) {
5442 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5445 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
5449 wxPy_BEGIN_ALLOW_THREADS
;
5450 _result
= (bool )wxPyGridTableBase_base_CanSetValueAs(_arg0
,_arg1
,_arg2
,*_arg3
);
5452 wxPy_END_ALLOW_THREADS
;
5453 } _resultobj
= Py_BuildValue("i",_result
);
5461 #define wxPyGridTableBase_base_Clear(_swigobj) (_swigobj->base_Clear())
5462 static PyObject
*_wrap_wxPyGridTableBase_base_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5463 PyObject
* _resultobj
;
5464 wxPyGridTableBase
* _arg0
;
5465 PyObject
* _argo0
= 0;
5466 char *_kwnames
[] = { "self", NULL
};
5469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyGridTableBase_base_Clear",_kwnames
,&_argo0
))
5472 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5473 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
5474 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_Clear. Expected _wxPyGridTableBase_p.");
5479 wxPy_BEGIN_ALLOW_THREADS
;
5480 wxPyGridTableBase_base_Clear(_arg0
);
5482 wxPy_END_ALLOW_THREADS
;
5483 } Py_INCREF(Py_None
);
5484 _resultobj
= Py_None
;
5488 #define wxPyGridTableBase_base_InsertRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_InsertRows(_swigarg0,_swigarg1))
5489 static PyObject
*_wrap_wxPyGridTableBase_base_InsertRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5490 PyObject
* _resultobj
;
5492 wxPyGridTableBase
* _arg0
;
5493 size_t _arg1
= (size_t ) 0;
5494 size_t _arg2
= (size_t ) 1;
5495 PyObject
* _argo0
= 0;
5496 char *_kwnames
[] = { "self","pos","numRows", NULL
};
5499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxPyGridTableBase_base_InsertRows",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5502 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5503 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
5504 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_InsertRows. Expected _wxPyGridTableBase_p.");
5509 wxPy_BEGIN_ALLOW_THREADS
;
5510 _result
= (bool )wxPyGridTableBase_base_InsertRows(_arg0
,_arg1
,_arg2
);
5512 wxPy_END_ALLOW_THREADS
;
5513 } _resultobj
= Py_BuildValue("i",_result
);
5517 #define wxPyGridTableBase_base_AppendRows(_swigobj,_swigarg0) (_swigobj->base_AppendRows(_swigarg0))
5518 static PyObject
*_wrap_wxPyGridTableBase_base_AppendRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5519 PyObject
* _resultobj
;
5521 wxPyGridTableBase
* _arg0
;
5522 size_t _arg1
= (size_t ) 1;
5523 PyObject
* _argo0
= 0;
5524 char *_kwnames
[] = { "self","numRows", NULL
};
5527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxPyGridTableBase_base_AppendRows",_kwnames
,&_argo0
,&_arg1
))
5530 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5531 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
5532 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_AppendRows. Expected _wxPyGridTableBase_p.");
5537 wxPy_BEGIN_ALLOW_THREADS
;
5538 _result
= (bool )wxPyGridTableBase_base_AppendRows(_arg0
,_arg1
);
5540 wxPy_END_ALLOW_THREADS
;
5541 } _resultobj
= Py_BuildValue("i",_result
);
5545 #define wxPyGridTableBase_base_DeleteRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DeleteRows(_swigarg0,_swigarg1))
5546 static PyObject
*_wrap_wxPyGridTableBase_base_DeleteRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5547 PyObject
* _resultobj
;
5549 wxPyGridTableBase
* _arg0
;
5550 size_t _arg1
= (size_t ) 0;
5551 size_t _arg2
= (size_t ) 1;
5552 PyObject
* _argo0
= 0;
5553 char *_kwnames
[] = { "self","pos","numRows", NULL
};
5556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxPyGridTableBase_base_DeleteRows",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5559 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5560 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
5561 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_DeleteRows. Expected _wxPyGridTableBase_p.");
5566 wxPy_BEGIN_ALLOW_THREADS
;
5567 _result
= (bool )wxPyGridTableBase_base_DeleteRows(_arg0
,_arg1
,_arg2
);
5569 wxPy_END_ALLOW_THREADS
;
5570 } _resultobj
= Py_BuildValue("i",_result
);
5574 #define wxPyGridTableBase_base_InsertCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_InsertCols(_swigarg0,_swigarg1))
5575 static PyObject
*_wrap_wxPyGridTableBase_base_InsertCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5576 PyObject
* _resultobj
;
5578 wxPyGridTableBase
* _arg0
;
5579 size_t _arg1
= (size_t ) 0;
5580 size_t _arg2
= (size_t ) 1;
5581 PyObject
* _argo0
= 0;
5582 char *_kwnames
[] = { "self","pos","numCols", NULL
};
5585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxPyGridTableBase_base_InsertCols",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5588 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5589 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
5590 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_InsertCols. Expected _wxPyGridTableBase_p.");
5595 wxPy_BEGIN_ALLOW_THREADS
;
5596 _result
= (bool )wxPyGridTableBase_base_InsertCols(_arg0
,_arg1
,_arg2
);
5598 wxPy_END_ALLOW_THREADS
;
5599 } _resultobj
= Py_BuildValue("i",_result
);
5603 #define wxPyGridTableBase_base_AppendCols(_swigobj,_swigarg0) (_swigobj->base_AppendCols(_swigarg0))
5604 static PyObject
*_wrap_wxPyGridTableBase_base_AppendCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5605 PyObject
* _resultobj
;
5607 wxPyGridTableBase
* _arg0
;
5608 size_t _arg1
= (size_t ) 1;
5609 PyObject
* _argo0
= 0;
5610 char *_kwnames
[] = { "self","numCols", NULL
};
5613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxPyGridTableBase_base_AppendCols",_kwnames
,&_argo0
,&_arg1
))
5616 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5617 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
5618 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_AppendCols. Expected _wxPyGridTableBase_p.");
5623 wxPy_BEGIN_ALLOW_THREADS
;
5624 _result
= (bool )wxPyGridTableBase_base_AppendCols(_arg0
,_arg1
);
5626 wxPy_END_ALLOW_THREADS
;
5627 } _resultobj
= Py_BuildValue("i",_result
);
5631 #define wxPyGridTableBase_base_DeleteCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DeleteCols(_swigarg0,_swigarg1))
5632 static PyObject
*_wrap_wxPyGridTableBase_base_DeleteCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5633 PyObject
* _resultobj
;
5635 wxPyGridTableBase
* _arg0
;
5636 size_t _arg1
= (size_t ) 0;
5637 size_t _arg2
= (size_t ) 1;
5638 PyObject
* _argo0
= 0;
5639 char *_kwnames
[] = { "self","pos","numCols", NULL
};
5642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxPyGridTableBase_base_DeleteCols",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5645 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5646 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
5647 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_DeleteCols. Expected _wxPyGridTableBase_p.");
5652 wxPy_BEGIN_ALLOW_THREADS
;
5653 _result
= (bool )wxPyGridTableBase_base_DeleteCols(_arg0
,_arg1
,_arg2
);
5655 wxPy_END_ALLOW_THREADS
;
5656 } _resultobj
= Py_BuildValue("i",_result
);
5660 #define wxPyGridTableBase_base_GetRowLabelValue(_swigobj,_swigarg0) (_swigobj->base_GetRowLabelValue(_swigarg0))
5661 static PyObject
*_wrap_wxPyGridTableBase_base_GetRowLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5662 PyObject
* _resultobj
;
5664 wxPyGridTableBase
* _arg0
;
5666 PyObject
* _argo0
= 0;
5667 char *_kwnames
[] = { "self","row", NULL
};
5670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyGridTableBase_base_GetRowLabelValue",_kwnames
,&_argo0
,&_arg1
))
5673 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5674 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
5675 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_GetRowLabelValue. Expected _wxPyGridTableBase_p.");
5680 wxPy_BEGIN_ALLOW_THREADS
;
5681 _result
= new wxString (wxPyGridTableBase_base_GetRowLabelValue(_arg0
,_arg1
));
5683 wxPy_END_ALLOW_THREADS
;
5685 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5693 #define wxPyGridTableBase_base_GetColLabelValue(_swigobj,_swigarg0) (_swigobj->base_GetColLabelValue(_swigarg0))
5694 static PyObject
*_wrap_wxPyGridTableBase_base_GetColLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5695 PyObject
* _resultobj
;
5697 wxPyGridTableBase
* _arg0
;
5699 PyObject
* _argo0
= 0;
5700 char *_kwnames
[] = { "self","col", NULL
};
5703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyGridTableBase_base_GetColLabelValue",_kwnames
,&_argo0
,&_arg1
))
5706 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5707 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
5708 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_GetColLabelValue. Expected _wxPyGridTableBase_p.");
5713 wxPy_BEGIN_ALLOW_THREADS
;
5714 _result
= new wxString (wxPyGridTableBase_base_GetColLabelValue(_arg0
,_arg1
));
5716 wxPy_END_ALLOW_THREADS
;
5718 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5726 #define wxPyGridTableBase_base_SetRowLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetRowLabelValue(_swigarg0,_swigarg1))
5727 static PyObject
*_wrap_wxPyGridTableBase_base_SetRowLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5728 PyObject
* _resultobj
;
5729 wxPyGridTableBase
* _arg0
;
5732 PyObject
* _argo0
= 0;
5733 PyObject
* _obj2
= 0;
5734 char *_kwnames
[] = { "self","row","value", NULL
};
5737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxPyGridTableBase_base_SetRowLabelValue",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
5740 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5741 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
5742 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_SetRowLabelValue. Expected _wxPyGridTableBase_p.");
5747 #if PYTHON_API_VERSION >= 1009
5748 char* tmpPtr
; int tmpSize
;
5749 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
5750 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
5753 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
5755 _arg2
= new wxString(tmpPtr
, tmpSize
);
5757 if (!PyString_Check(_obj2
)) {
5758 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5761 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
5765 wxPy_BEGIN_ALLOW_THREADS
;
5766 wxPyGridTableBase_base_SetRowLabelValue(_arg0
,_arg1
,*_arg2
);
5768 wxPy_END_ALLOW_THREADS
;
5769 } Py_INCREF(Py_None
);
5770 _resultobj
= Py_None
;
5778 #define wxPyGridTableBase_base_SetColLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetColLabelValue(_swigarg0,_swigarg1))
5779 static PyObject
*_wrap_wxPyGridTableBase_base_SetColLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5780 PyObject
* _resultobj
;
5781 wxPyGridTableBase
* _arg0
;
5784 PyObject
* _argo0
= 0;
5785 PyObject
* _obj2
= 0;
5786 char *_kwnames
[] = { "self","col","value", NULL
};
5789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxPyGridTableBase_base_SetColLabelValue",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
5792 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5793 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
5794 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_SetColLabelValue. Expected _wxPyGridTableBase_p.");
5799 #if PYTHON_API_VERSION >= 1009
5800 char* tmpPtr
; int tmpSize
;
5801 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
5802 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
5805 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
5807 _arg2
= new wxString(tmpPtr
, tmpSize
);
5809 if (!PyString_Check(_obj2
)) {
5810 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5813 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
5817 wxPy_BEGIN_ALLOW_THREADS
;
5818 wxPyGridTableBase_base_SetColLabelValue(_arg0
,_arg1
,*_arg2
);
5820 wxPy_END_ALLOW_THREADS
;
5821 } Py_INCREF(Py_None
);
5822 _resultobj
= Py_None
;
5830 #define wxPyGridTableBase_base_CanHaveAttributes(_swigobj) (_swigobj->base_CanHaveAttributes())
5831 static PyObject
*_wrap_wxPyGridTableBase_base_CanHaveAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5832 PyObject
* _resultobj
;
5834 wxPyGridTableBase
* _arg0
;
5835 PyObject
* _argo0
= 0;
5836 char *_kwnames
[] = { "self", NULL
};
5839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyGridTableBase_base_CanHaveAttributes",_kwnames
,&_argo0
))
5842 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5843 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
5844 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_CanHaveAttributes. Expected _wxPyGridTableBase_p.");
5849 wxPy_BEGIN_ALLOW_THREADS
;
5850 _result
= (bool )wxPyGridTableBase_base_CanHaveAttributes(_arg0
);
5852 wxPy_END_ALLOW_THREADS
;
5853 } _resultobj
= Py_BuildValue("i",_result
);
5857 #define wxPyGridTableBase_base_GetAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_GetAttr(_swigarg0,_swigarg1))
5858 static PyObject
*_wrap_wxPyGridTableBase_base_GetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5859 PyObject
* _resultobj
;
5860 wxGridCellAttr
* _result
;
5861 wxPyGridTableBase
* _arg0
;
5864 PyObject
* _argo0
= 0;
5865 char *_kwnames
[] = { "self","row","col", NULL
};
5869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxPyGridTableBase_base_GetAttr",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5872 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5873 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
5874 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_GetAttr. Expected _wxPyGridTableBase_p.");
5879 wxPy_BEGIN_ALLOW_THREADS
;
5880 _result
= (wxGridCellAttr
*)wxPyGridTableBase_base_GetAttr(_arg0
,_arg1
,_arg2
);
5882 wxPy_END_ALLOW_THREADS
;
5884 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellAttr_p");
5885 _resultobj
= Py_BuildValue("s",_ptemp
);
5888 _resultobj
= Py_None
;
5893 #define wxPyGridTableBase_base_SetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_SetAttr(_swigarg0,_swigarg1,_swigarg2))
5894 static PyObject
*_wrap_wxPyGridTableBase_base_SetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5895 PyObject
* _resultobj
;
5896 wxPyGridTableBase
* _arg0
;
5897 wxGridCellAttr
* _arg1
;
5900 PyObject
* _argo0
= 0;
5901 PyObject
* _argo1
= 0;
5902 char *_kwnames
[] = { "self","attr","row","col", NULL
};
5905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxPyGridTableBase_base_SetAttr",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
5908 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5909 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
5910 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_SetAttr. Expected _wxPyGridTableBase_p.");
5915 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5916 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
5917 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyGridTableBase_base_SetAttr. Expected _wxGridCellAttr_p.");
5922 wxPy_BEGIN_ALLOW_THREADS
;
5923 wxPyGridTableBase_base_SetAttr(_arg0
,_arg1
,_arg2
,_arg3
);
5925 wxPy_END_ALLOW_THREADS
;
5926 } Py_INCREF(Py_None
);
5927 _resultobj
= Py_None
;
5931 #define wxPyGridTableBase_base_SetRowAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetRowAttr(_swigarg0,_swigarg1))
5932 static PyObject
*_wrap_wxPyGridTableBase_base_SetRowAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5933 PyObject
* _resultobj
;
5934 wxPyGridTableBase
* _arg0
;
5935 wxGridCellAttr
* _arg1
;
5937 PyObject
* _argo0
= 0;
5938 PyObject
* _argo1
= 0;
5939 char *_kwnames
[] = { "self","attr","row", NULL
};
5942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxPyGridTableBase_base_SetRowAttr",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
5945 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5946 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
5947 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_SetRowAttr. Expected _wxPyGridTableBase_p.");
5952 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5953 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
5954 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyGridTableBase_base_SetRowAttr. Expected _wxGridCellAttr_p.");
5959 wxPy_BEGIN_ALLOW_THREADS
;
5960 wxPyGridTableBase_base_SetRowAttr(_arg0
,_arg1
,_arg2
);
5962 wxPy_END_ALLOW_THREADS
;
5963 } Py_INCREF(Py_None
);
5964 _resultobj
= Py_None
;
5968 #define wxPyGridTableBase_base_SetColAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetColAttr(_swigarg0,_swigarg1))
5969 static PyObject
*_wrap_wxPyGridTableBase_base_SetColAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5970 PyObject
* _resultobj
;
5971 wxPyGridTableBase
* _arg0
;
5972 wxGridCellAttr
* _arg1
;
5974 PyObject
* _argo0
= 0;
5975 PyObject
* _argo1
= 0;
5976 char *_kwnames
[] = { "self","attr","col", NULL
};
5979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxPyGridTableBase_base_SetColAttr",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
5982 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5983 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
5984 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_SetColAttr. Expected _wxPyGridTableBase_p.");
5989 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5990 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
5991 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyGridTableBase_base_SetColAttr. Expected _wxGridCellAttr_p.");
5996 wxPy_BEGIN_ALLOW_THREADS
;
5997 wxPyGridTableBase_base_SetColAttr(_arg0
,_arg1
,_arg2
);
5999 wxPy_END_ALLOW_THREADS
;
6000 } Py_INCREF(Py_None
);
6001 _resultobj
= Py_None
;
6005 static void *SwigwxGridStringTableTowxGridTableBase(void *ptr
) {
6006 wxGridStringTable
*src
;
6007 wxGridTableBase
*dest
;
6008 src
= (wxGridStringTable
*) ptr
;
6009 dest
= (wxGridTableBase
*) src
;
6010 return (void *) dest
;
6013 #define new_wxGridStringTable(_swigarg0,_swigarg1) (new wxGridStringTable(_swigarg0,_swigarg1))
6014 static PyObject
*_wrap_new_wxGridStringTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6015 PyObject
* _resultobj
;
6016 wxGridStringTable
* _result
;
6017 int _arg0
= (int ) 0;
6018 int _arg1
= (int ) 0;
6019 char *_kwnames
[] = { "numRows","numCols", NULL
};
6023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:new_wxGridStringTable",_kwnames
,&_arg0
,&_arg1
))
6026 wxPy_BEGIN_ALLOW_THREADS
;
6027 _result
= (wxGridStringTable
*)new_wxGridStringTable(_arg0
,_arg1
);
6029 wxPy_END_ALLOW_THREADS
;
6031 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridStringTable_p");
6032 _resultobj
= Py_BuildValue("s",_ptemp
);
6035 _resultobj
= Py_None
;
6040 #define new_wxGridTableMessage(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxGridTableMessage(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6041 static PyObject
*_wrap_new_wxGridTableMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6042 PyObject
* _resultobj
;
6043 wxGridTableMessage
* _result
;
6044 wxGridTableBase
* _arg0
;
6046 int _arg2
= (int ) -1;
6047 int _arg3
= (int ) -1;
6048 PyObject
* _argo0
= 0;
6049 char *_kwnames
[] = { "table","id","comInt1","comInt2", NULL
};
6053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|ii:new_wxGridTableMessage",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
6056 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6057 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
6058 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxGridTableMessage. Expected _wxGridTableBase_p.");
6063 wxPy_BEGIN_ALLOW_THREADS
;
6064 _result
= (wxGridTableMessage
*)new_wxGridTableMessage(_arg0
,_arg1
,_arg2
,_arg3
);
6066 wxPy_END_ALLOW_THREADS
;
6068 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridTableMessage_p");
6069 _resultobj
= Py_BuildValue("s",_ptemp
);
6072 _resultobj
= Py_None
;
6077 #define delete_wxGridTableMessage(_swigobj) (delete _swigobj)
6078 static PyObject
*_wrap_delete_wxGridTableMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6079 PyObject
* _resultobj
;
6080 wxGridTableMessage
* _arg0
;
6081 PyObject
* _argo0
= 0;
6082 char *_kwnames
[] = { "self", NULL
};
6085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxGridTableMessage",_kwnames
,&_argo0
))
6088 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6089 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableMessage_p")) {
6090 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxGridTableMessage. Expected _wxGridTableMessage_p.");
6095 wxPy_BEGIN_ALLOW_THREADS
;
6096 delete_wxGridTableMessage(_arg0
);
6098 wxPy_END_ALLOW_THREADS
;
6099 } Py_INCREF(Py_None
);
6100 _resultobj
= Py_None
;
6104 #define wxGridTableMessage_SetTableObject(_swigobj,_swigarg0) (_swigobj->SetTableObject(_swigarg0))
6105 static PyObject
*_wrap_wxGridTableMessage_SetTableObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6106 PyObject
* _resultobj
;
6107 wxGridTableMessage
* _arg0
;
6108 wxGridTableBase
* _arg1
;
6109 PyObject
* _argo0
= 0;
6110 PyObject
* _argo1
= 0;
6111 char *_kwnames
[] = { "self","table", NULL
};
6114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridTableMessage_SetTableObject",_kwnames
,&_argo0
,&_argo1
))
6117 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6118 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableMessage_p")) {
6119 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableMessage_SetTableObject. Expected _wxGridTableMessage_p.");
6124 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6125 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridTableBase_p")) {
6126 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridTableMessage_SetTableObject. Expected _wxGridTableBase_p.");
6131 wxPy_BEGIN_ALLOW_THREADS
;
6132 wxGridTableMessage_SetTableObject(_arg0
,_arg1
);
6134 wxPy_END_ALLOW_THREADS
;
6135 } Py_INCREF(Py_None
);
6136 _resultobj
= Py_None
;
6140 #define wxGridTableMessage_GetTableObject(_swigobj) (_swigobj->GetTableObject())
6141 static PyObject
*_wrap_wxGridTableMessage_GetTableObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6142 PyObject
* _resultobj
;
6143 wxGridTableBase
* _result
;
6144 wxGridTableMessage
* _arg0
;
6145 PyObject
* _argo0
= 0;
6146 char *_kwnames
[] = { "self", NULL
};
6150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridTableMessage_GetTableObject",_kwnames
,&_argo0
))
6153 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6154 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableMessage_p")) {
6155 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableMessage_GetTableObject. Expected _wxGridTableMessage_p.");
6160 wxPy_BEGIN_ALLOW_THREADS
;
6161 _result
= (wxGridTableBase
*)wxGridTableMessage_GetTableObject(_arg0
);
6163 wxPy_END_ALLOW_THREADS
;
6165 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridTableBase_p");
6166 _resultobj
= Py_BuildValue("s",_ptemp
);
6169 _resultobj
= Py_None
;
6174 #define wxGridTableMessage_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
6175 static PyObject
*_wrap_wxGridTableMessage_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6176 PyObject
* _resultobj
;
6177 wxGridTableMessage
* _arg0
;
6179 PyObject
* _argo0
= 0;
6180 char *_kwnames
[] = { "self","id", NULL
};
6183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridTableMessage_SetId",_kwnames
,&_argo0
,&_arg1
))
6186 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6187 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableMessage_p")) {
6188 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableMessage_SetId. Expected _wxGridTableMessage_p.");
6193 wxPy_BEGIN_ALLOW_THREADS
;
6194 wxGridTableMessage_SetId(_arg0
,_arg1
);
6196 wxPy_END_ALLOW_THREADS
;
6197 } Py_INCREF(Py_None
);
6198 _resultobj
= Py_None
;
6202 #define wxGridTableMessage_GetId(_swigobj) (_swigobj->GetId())
6203 static PyObject
*_wrap_wxGridTableMessage_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6204 PyObject
* _resultobj
;
6206 wxGridTableMessage
* _arg0
;
6207 PyObject
* _argo0
= 0;
6208 char *_kwnames
[] = { "self", NULL
};
6211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridTableMessage_GetId",_kwnames
,&_argo0
))
6214 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6215 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableMessage_p")) {
6216 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableMessage_GetId. Expected _wxGridTableMessage_p.");
6221 wxPy_BEGIN_ALLOW_THREADS
;
6222 _result
= (int )wxGridTableMessage_GetId(_arg0
);
6224 wxPy_END_ALLOW_THREADS
;
6225 } _resultobj
= Py_BuildValue("i",_result
);
6229 #define wxGridTableMessage_SetCommandInt(_swigobj,_swigarg0) (_swigobj->SetCommandInt(_swigarg0))
6230 static PyObject
*_wrap_wxGridTableMessage_SetCommandInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6231 PyObject
* _resultobj
;
6232 wxGridTableMessage
* _arg0
;
6234 PyObject
* _argo0
= 0;
6235 char *_kwnames
[] = { "self","comInt1", NULL
};
6238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridTableMessage_SetCommandInt",_kwnames
,&_argo0
,&_arg1
))
6241 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6242 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableMessage_p")) {
6243 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableMessage_SetCommandInt. Expected _wxGridTableMessage_p.");
6248 wxPy_BEGIN_ALLOW_THREADS
;
6249 wxGridTableMessage_SetCommandInt(_arg0
,_arg1
);
6251 wxPy_END_ALLOW_THREADS
;
6252 } Py_INCREF(Py_None
);
6253 _resultobj
= Py_None
;
6257 #define wxGridTableMessage_GetCommandInt(_swigobj) (_swigobj->GetCommandInt())
6258 static PyObject
*_wrap_wxGridTableMessage_GetCommandInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6259 PyObject
* _resultobj
;
6261 wxGridTableMessage
* _arg0
;
6262 PyObject
* _argo0
= 0;
6263 char *_kwnames
[] = { "self", NULL
};
6266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridTableMessage_GetCommandInt",_kwnames
,&_argo0
))
6269 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6270 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableMessage_p")) {
6271 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableMessage_GetCommandInt. Expected _wxGridTableMessage_p.");
6276 wxPy_BEGIN_ALLOW_THREADS
;
6277 _result
= (int )wxGridTableMessage_GetCommandInt(_arg0
);
6279 wxPy_END_ALLOW_THREADS
;
6280 } _resultobj
= Py_BuildValue("i",_result
);
6284 #define wxGridTableMessage_SetCommandInt2(_swigobj,_swigarg0) (_swigobj->SetCommandInt2(_swigarg0))
6285 static PyObject
*_wrap_wxGridTableMessage_SetCommandInt2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6286 PyObject
* _resultobj
;
6287 wxGridTableMessage
* _arg0
;
6289 PyObject
* _argo0
= 0;
6290 char *_kwnames
[] = { "self","comInt2", NULL
};
6293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridTableMessage_SetCommandInt2",_kwnames
,&_argo0
,&_arg1
))
6296 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6297 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableMessage_p")) {
6298 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableMessage_SetCommandInt2. Expected _wxGridTableMessage_p.");
6303 wxPy_BEGIN_ALLOW_THREADS
;
6304 wxGridTableMessage_SetCommandInt2(_arg0
,_arg1
);
6306 wxPy_END_ALLOW_THREADS
;
6307 } Py_INCREF(Py_None
);
6308 _resultobj
= Py_None
;
6312 #define wxGridTableMessage_GetCommandInt2(_swigobj) (_swigobj->GetCommandInt2())
6313 static PyObject
*_wrap_wxGridTableMessage_GetCommandInt2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6314 PyObject
* _resultobj
;
6316 wxGridTableMessage
* _arg0
;
6317 PyObject
* _argo0
= 0;
6318 char *_kwnames
[] = { "self", NULL
};
6321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridTableMessage_GetCommandInt2",_kwnames
,&_argo0
))
6324 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6325 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableMessage_p")) {
6326 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableMessage_GetCommandInt2. Expected _wxGridTableMessage_p.");
6331 wxPy_BEGIN_ALLOW_THREADS
;
6332 _result
= (int )wxGridTableMessage_GetCommandInt2(_arg0
);
6334 wxPy_END_ALLOW_THREADS
;
6335 } _resultobj
= Py_BuildValue("i",_result
);
6339 #define new_wxGridCellCoords(_swigarg0,_swigarg1) (new wxGridCellCoords(_swigarg0,_swigarg1))
6340 static PyObject
*_wrap_new_wxGridCellCoords(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6341 PyObject
* _resultobj
;
6342 wxGridCellCoords
* _result
;
6343 int _arg0
= (int ) -1;
6344 int _arg1
= (int ) -1;
6345 char *_kwnames
[] = { "r","c", NULL
};
6349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:new_wxGridCellCoords",_kwnames
,&_arg0
,&_arg1
))
6352 wxPy_BEGIN_ALLOW_THREADS
;
6353 _result
= (wxGridCellCoords
*)new_wxGridCellCoords(_arg0
,_arg1
);
6355 wxPy_END_ALLOW_THREADS
;
6357 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellCoords_p");
6358 _resultobj
= Py_BuildValue("s",_ptemp
);
6361 _resultobj
= Py_None
;
6366 #define delete_wxGridCellCoords(_swigobj) (delete _swigobj)
6367 static PyObject
*_wrap_delete_wxGridCellCoords(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6368 PyObject
* _resultobj
;
6369 wxGridCellCoords
* _arg0
;
6370 PyObject
* _argo0
= 0;
6371 char *_kwnames
[] = { "self", NULL
};
6374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxGridCellCoords",_kwnames
,&_argo0
))
6377 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6378 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellCoords_p")) {
6379 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxGridCellCoords. Expected _wxGridCellCoords_p.");
6384 wxPy_BEGIN_ALLOW_THREADS
;
6385 delete_wxGridCellCoords(_arg0
);
6387 wxPy_END_ALLOW_THREADS
;
6388 } Py_INCREF(Py_None
);
6389 _resultobj
= Py_None
;
6393 #define wxGridCellCoords_GetRow(_swigobj) (_swigobj->GetRow())
6394 static PyObject
*_wrap_wxGridCellCoords_GetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6395 PyObject
* _resultobj
;
6397 wxGridCellCoords
* _arg0
;
6398 PyObject
* _argo0
= 0;
6399 char *_kwnames
[] = { "self", NULL
};
6402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellCoords_GetRow",_kwnames
,&_argo0
))
6405 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6406 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellCoords_p")) {
6407 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellCoords_GetRow. Expected _wxGridCellCoords_p.");
6412 wxPy_BEGIN_ALLOW_THREADS
;
6413 _result
= (int )wxGridCellCoords_GetRow(_arg0
);
6415 wxPy_END_ALLOW_THREADS
;
6416 } _resultobj
= Py_BuildValue("i",_result
);
6420 #define wxGridCellCoords_SetRow(_swigobj,_swigarg0) (_swigobj->SetRow(_swigarg0))
6421 static PyObject
*_wrap_wxGridCellCoords_SetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6422 PyObject
* _resultobj
;
6423 wxGridCellCoords
* _arg0
;
6425 PyObject
* _argo0
= 0;
6426 char *_kwnames
[] = { "self","n", NULL
};
6429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridCellCoords_SetRow",_kwnames
,&_argo0
,&_arg1
))
6432 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6433 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellCoords_p")) {
6434 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellCoords_SetRow. Expected _wxGridCellCoords_p.");
6439 wxPy_BEGIN_ALLOW_THREADS
;
6440 wxGridCellCoords_SetRow(_arg0
,_arg1
);
6442 wxPy_END_ALLOW_THREADS
;
6443 } Py_INCREF(Py_None
);
6444 _resultobj
= Py_None
;
6448 #define wxGridCellCoords_GetCol(_swigobj) (_swigobj->GetCol())
6449 static PyObject
*_wrap_wxGridCellCoords_GetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6450 PyObject
* _resultobj
;
6452 wxGridCellCoords
* _arg0
;
6453 PyObject
* _argo0
= 0;
6454 char *_kwnames
[] = { "self", NULL
};
6457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellCoords_GetCol",_kwnames
,&_argo0
))
6460 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6461 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellCoords_p")) {
6462 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellCoords_GetCol. Expected _wxGridCellCoords_p.");
6467 wxPy_BEGIN_ALLOW_THREADS
;
6468 _result
= (int )wxGridCellCoords_GetCol(_arg0
);
6470 wxPy_END_ALLOW_THREADS
;
6471 } _resultobj
= Py_BuildValue("i",_result
);
6475 #define wxGridCellCoords_SetCol(_swigobj,_swigarg0) (_swigobj->SetCol(_swigarg0))
6476 static PyObject
*_wrap_wxGridCellCoords_SetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6477 PyObject
* _resultobj
;
6478 wxGridCellCoords
* _arg0
;
6480 PyObject
* _argo0
= 0;
6481 char *_kwnames
[] = { "self","n", NULL
};
6484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridCellCoords_SetCol",_kwnames
,&_argo0
,&_arg1
))
6487 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6488 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellCoords_p")) {
6489 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellCoords_SetCol. Expected _wxGridCellCoords_p.");
6494 wxPy_BEGIN_ALLOW_THREADS
;
6495 wxGridCellCoords_SetCol(_arg0
,_arg1
);
6497 wxPy_END_ALLOW_THREADS
;
6498 } Py_INCREF(Py_None
);
6499 _resultobj
= Py_None
;
6503 #define wxGridCellCoords_Set(_swigobj,_swigarg0,_swigarg1) (_swigobj->Set(_swigarg0,_swigarg1))
6504 static PyObject
*_wrap_wxGridCellCoords_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6505 PyObject
* _resultobj
;
6506 wxGridCellCoords
* _arg0
;
6509 PyObject
* _argo0
= 0;
6510 char *_kwnames
[] = { "self","row","col", NULL
};
6513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGridCellCoords_Set",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6516 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6517 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellCoords_p")) {
6518 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellCoords_Set. Expected _wxGridCellCoords_p.");
6523 wxPy_BEGIN_ALLOW_THREADS
;
6524 wxGridCellCoords_Set(_arg0
,_arg1
,_arg2
);
6526 wxPy_END_ALLOW_THREADS
;
6527 } Py_INCREF(Py_None
);
6528 _resultobj
= Py_None
;
6532 static PyObject
* wxGridCellCoords_asTuple(wxGridCellCoords
*self
) {
6533 PyObject
* tup
= PyTuple_New(2);
6534 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRow()));
6535 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetCol()));
6538 static PyObject
*_wrap_wxGridCellCoords_asTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6539 PyObject
* _resultobj
;
6541 wxGridCellCoords
* _arg0
;
6542 PyObject
* _argo0
= 0;
6543 char *_kwnames
[] = { "self", NULL
};
6546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellCoords_asTuple",_kwnames
,&_argo0
))
6549 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6550 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellCoords_p")) {
6551 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellCoords_asTuple. Expected _wxGridCellCoords_p.");
6556 wxPy_BEGIN_ALLOW_THREADS
;
6557 _result
= (PyObject
*)wxGridCellCoords_asTuple(_arg0
);
6559 wxPy_END_ALLOW_THREADS
;
6561 _resultobj
= _result
;
6566 static int wxGridCellCoords___cmp__(wxGridCellCoords
*self
,const wxGridCellCoords
& other
) {
6567 return *self
!= other
;
6569 static PyObject
*_wrap_wxGridCellCoords___cmp__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6570 PyObject
* _resultobj
;
6572 wxGridCellCoords
* _arg0
;
6573 wxGridCellCoords
* _arg1
;
6574 PyObject
* _argo0
= 0;
6575 PyObject
* _argo1
= 0;
6576 char *_kwnames
[] = { "self","other", NULL
};
6579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellCoords___cmp__",_kwnames
,&_argo0
,&_argo1
))
6582 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6583 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellCoords_p")) {
6584 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellCoords___cmp__. Expected _wxGridCellCoords_p.");
6589 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6590 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellCoords_p")) {
6591 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellCoords___cmp__. Expected _wxGridCellCoords_p.");
6596 wxPy_BEGIN_ALLOW_THREADS
;
6597 _result
= (int )wxGridCellCoords___cmp__(_arg0
,*_arg1
);
6599 wxPy_END_ALLOW_THREADS
;
6600 } _resultobj
= Py_BuildValue("i",_result
);
6604 static void *SwigwxGridTowxScrolledWindow(void *ptr
) {
6606 wxScrolledWindow
*dest
;
6607 src
= (wxGrid
*) ptr
;
6608 dest
= (wxScrolledWindow
*) src
;
6609 return (void *) dest
;
6612 static void *SwigwxGridTowxPanel(void *ptr
) {
6615 src
= (wxGrid
*) ptr
;
6616 dest
= (wxPanel
*) src
;
6617 return (void *) dest
;
6620 static void *SwigwxGridTowxWindow(void *ptr
) {
6623 src
= (wxGrid
*) ptr
;
6624 dest
= (wxWindow
*) src
;
6625 return (void *) dest
;
6628 static void *SwigwxGridTowxEvtHandler(void *ptr
) {
6631 src
= (wxGrid
*) ptr
;
6632 dest
= (wxEvtHandler
*) src
;
6633 return (void *) dest
;
6636 #define new_wxGrid(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxGrid(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
6637 static PyObject
*_wrap_new_wxGrid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6638 PyObject
* _resultobj
;
6642 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
6643 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
6644 long _arg4
= (long ) wxWANTS_CHARS
;
6645 char * _arg5
= (char *) wxPanelNameStr
;
6646 PyObject
* _argo0
= 0;
6648 PyObject
* _obj2
= 0;
6650 PyObject
* _obj3
= 0;
6651 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
6655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOls:new_wxGrid",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
6658 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6659 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6660 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxGrid. Expected _wxWindow_p.");
6667 if (! wxPoint_helper(_obj2
, &_arg2
))
6673 if (! wxSize_helper(_obj3
, &_arg3
))
6677 wxPy_BEGIN_ALLOW_THREADS
;
6678 _result
= (wxGrid
*)new_wxGrid(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
6680 wxPy_END_ALLOW_THREADS
;
6682 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGrid_p");
6683 _resultobj
= Py_BuildValue("s",_ptemp
);
6686 _resultobj
= Py_None
;
6691 #define wxGrid_CreateGrid(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->CreateGrid(_swigarg0,_swigarg1,_swigarg2))
6692 static PyObject
*_wrap_wxGrid_CreateGrid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6693 PyObject
* _resultobj
;
6698 WXGRIDSELECTIONMODES _arg3
= (WXGRIDSELECTIONMODES
) wxGrid::wxGridSelectCells
;
6699 PyObject
* _argo0
= 0;
6700 char *_kwnames
[] = { "self","numRows","numCols","selmode", NULL
};
6703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|i:wxGrid_CreateGrid",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
6706 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6707 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
6708 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_CreateGrid. Expected _wxGrid_p.");
6713 wxPy_BEGIN_ALLOW_THREADS
;
6714 _result
= (bool )wxGrid_CreateGrid(_arg0
,_arg1
,_arg2
,_arg3
);
6716 wxPy_END_ALLOW_THREADS
;
6717 } _resultobj
= Py_BuildValue("i",_result
);
6721 #define wxGrid_SetSelectionMode(_swigobj,_swigarg0) (_swigobj->SetSelectionMode(_swigarg0))
6722 static PyObject
*_wrap_wxGrid_SetSelectionMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6723 PyObject
* _resultobj
;
6725 WXGRIDSELECTIONMODES _arg1
;
6726 PyObject
* _argo0
= 0;
6727 char *_kwnames
[] = { "self","selmode", NULL
};
6730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_SetSelectionMode",_kwnames
,&_argo0
,&_arg1
))
6733 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6734 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
6735 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetSelectionMode. Expected _wxGrid_p.");
6740 wxPy_BEGIN_ALLOW_THREADS
;
6741 wxGrid_SetSelectionMode(_arg0
,_arg1
);
6743 wxPy_END_ALLOW_THREADS
;
6744 } Py_INCREF(Py_None
);
6745 _resultobj
= Py_None
;
6749 #define wxGrid_GetNumberRows(_swigobj) (_swigobj->GetNumberRows())
6750 static PyObject
*_wrap_wxGrid_GetNumberRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6751 PyObject
* _resultobj
;
6754 PyObject
* _argo0
= 0;
6755 char *_kwnames
[] = { "self", NULL
};
6758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetNumberRows",_kwnames
,&_argo0
))
6761 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6762 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
6763 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetNumberRows. Expected _wxGrid_p.");
6768 wxPy_BEGIN_ALLOW_THREADS
;
6769 _result
= (int )wxGrid_GetNumberRows(_arg0
);
6771 wxPy_END_ALLOW_THREADS
;
6772 } _resultobj
= Py_BuildValue("i",_result
);
6776 #define wxGrid_GetNumberCols(_swigobj) (_swigobj->GetNumberCols())
6777 static PyObject
*_wrap_wxGrid_GetNumberCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6778 PyObject
* _resultobj
;
6781 PyObject
* _argo0
= 0;
6782 char *_kwnames
[] = { "self", NULL
};
6785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetNumberCols",_kwnames
,&_argo0
))
6788 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6789 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
6790 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetNumberCols. Expected _wxGrid_p.");
6795 wxPy_BEGIN_ALLOW_THREADS
;
6796 _result
= (int )wxGrid_GetNumberCols(_arg0
);
6798 wxPy_END_ALLOW_THREADS
;
6799 } _resultobj
= Py_BuildValue("i",_result
);
6803 #define wxGrid_ProcessTableMessage(_swigobj,_swigarg0) (_swigobj->ProcessTableMessage(_swigarg0))
6804 static PyObject
*_wrap_wxGrid_ProcessTableMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6805 PyObject
* _resultobj
;
6808 wxGridTableMessage
* _arg1
;
6809 PyObject
* _argo0
= 0;
6810 PyObject
* _argo1
= 0;
6811 char *_kwnames
[] = { "self","arg2", NULL
};
6814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_ProcessTableMessage",_kwnames
,&_argo0
,&_argo1
))
6817 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6818 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
6819 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_ProcessTableMessage. Expected _wxGrid_p.");
6824 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6825 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridTableMessage_p")) {
6826 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_ProcessTableMessage. Expected _wxGridTableMessage_p.");
6831 wxPy_BEGIN_ALLOW_THREADS
;
6832 _result
= (bool )wxGrid_ProcessTableMessage(_arg0
,*_arg1
);
6834 wxPy_END_ALLOW_THREADS
;
6835 } _resultobj
= Py_BuildValue("i",_result
);
6839 #define wxGrid_GetTable(_swigobj) (_swigobj->GetTable())
6840 static PyObject
*_wrap_wxGrid_GetTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6841 PyObject
* _resultobj
;
6842 wxGridTableBase
* _result
;
6844 PyObject
* _argo0
= 0;
6845 char *_kwnames
[] = { "self", NULL
};
6849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetTable",_kwnames
,&_argo0
))
6852 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6853 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
6854 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetTable. Expected _wxGrid_p.");
6859 wxPy_BEGIN_ALLOW_THREADS
;
6860 _result
= (wxGridTableBase
*)wxGrid_GetTable(_arg0
);
6862 wxPy_END_ALLOW_THREADS
;
6864 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridTableBase_p");
6865 _resultobj
= Py_BuildValue("s",_ptemp
);
6868 _resultobj
= Py_None
;
6873 #define wxGrid_SetTable(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetTable(_swigarg0,_swigarg1,_swigarg2))
6874 static PyObject
*_wrap_wxGrid_SetTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6875 PyObject
* _resultobj
;
6878 wxGridTableBase
* _arg1
;
6879 bool _arg2
= (bool ) FALSE
;
6880 WXGRIDSELECTIONMODES _arg3
= (WXGRIDSELECTIONMODES
) wxGrid::wxGridSelectCells
;
6881 PyObject
* _argo0
= 0;
6882 PyObject
* _argo1
= 0;
6883 int tempbool2
= (int) FALSE
;
6884 char *_kwnames
[] = { "self","table","takeOwnership","selmode", NULL
};
6887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|ii:wxGrid_SetTable",_kwnames
,&_argo0
,&_argo1
,&tempbool2
,&_arg3
))
6890 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6891 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
6892 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetTable. Expected _wxGrid_p.");
6897 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6898 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridTableBase_p")) {
6899 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_SetTable. Expected _wxGridTableBase_p.");
6903 _arg2
= (bool ) tempbool2
;
6905 wxPy_BEGIN_ALLOW_THREADS
;
6906 _result
= (bool )wxGrid_SetTable(_arg0
,_arg1
,_arg2
,_arg3
);
6908 wxPy_END_ALLOW_THREADS
;
6909 } _resultobj
= Py_BuildValue("i",_result
);
6913 #define wxGrid_ClearGrid(_swigobj) (_swigobj->ClearGrid())
6914 static PyObject
*_wrap_wxGrid_ClearGrid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6915 PyObject
* _resultobj
;
6917 PyObject
* _argo0
= 0;
6918 char *_kwnames
[] = { "self", NULL
};
6921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_ClearGrid",_kwnames
,&_argo0
))
6924 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6925 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
6926 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_ClearGrid. Expected _wxGrid_p.");
6931 wxPy_BEGIN_ALLOW_THREADS
;
6932 wxGrid_ClearGrid(_arg0
);
6934 wxPy_END_ALLOW_THREADS
;
6935 } Py_INCREF(Py_None
);
6936 _resultobj
= Py_None
;
6940 #define wxGrid_InsertRows(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertRows(_swigarg0,_swigarg1,_swigarg2))
6941 static PyObject
*_wrap_wxGrid_InsertRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6942 PyObject
* _resultobj
;
6945 int _arg1
= (int ) 0;
6946 int _arg2
= (int ) 1;
6947 bool _arg3
= (bool ) TRUE
;
6948 PyObject
* _argo0
= 0;
6949 int tempbool3
= (int) TRUE
;
6950 char *_kwnames
[] = { "self","pos","numRows","updateLabels", NULL
};
6953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iii:wxGrid_InsertRows",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
6956 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6957 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
6958 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_InsertRows. Expected _wxGrid_p.");
6962 _arg3
= (bool ) tempbool3
;
6964 wxPy_BEGIN_ALLOW_THREADS
;
6965 _result
= (bool )wxGrid_InsertRows(_arg0
,_arg1
,_arg2
,_arg3
);
6967 wxPy_END_ALLOW_THREADS
;
6968 } _resultobj
= Py_BuildValue("i",_result
);
6972 #define wxGrid_AppendRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->AppendRows(_swigarg0,_swigarg1))
6973 static PyObject
*_wrap_wxGrid_AppendRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6974 PyObject
* _resultobj
;
6977 int _arg1
= (int ) 1;
6978 bool _arg2
= (bool ) TRUE
;
6979 PyObject
* _argo0
= 0;
6980 int tempbool2
= (int) TRUE
;
6981 char *_kwnames
[] = { "self","numRows","updateLabels", NULL
};
6984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxGrid_AppendRows",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
6987 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6988 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
6989 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_AppendRows. Expected _wxGrid_p.");
6993 _arg2
= (bool ) tempbool2
;
6995 wxPy_BEGIN_ALLOW_THREADS
;
6996 _result
= (bool )wxGrid_AppendRows(_arg0
,_arg1
,_arg2
);
6998 wxPy_END_ALLOW_THREADS
;
6999 } _resultobj
= Py_BuildValue("i",_result
);
7003 #define wxGrid_DeleteRows(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DeleteRows(_swigarg0,_swigarg1,_swigarg2))
7004 static PyObject
*_wrap_wxGrid_DeleteRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7005 PyObject
* _resultobj
;
7008 int _arg1
= (int ) 0;
7009 int _arg2
= (int ) 1;
7010 bool _arg3
= (bool ) TRUE
;
7011 PyObject
* _argo0
= 0;
7012 int tempbool3
= (int) TRUE
;
7013 char *_kwnames
[] = { "self","pos","numRows","updateLabels", NULL
};
7016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iii:wxGrid_DeleteRows",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
7019 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7020 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7021 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_DeleteRows. Expected _wxGrid_p.");
7025 _arg3
= (bool ) tempbool3
;
7027 wxPy_BEGIN_ALLOW_THREADS
;
7028 _result
= (bool )wxGrid_DeleteRows(_arg0
,_arg1
,_arg2
,_arg3
);
7030 wxPy_END_ALLOW_THREADS
;
7031 } _resultobj
= Py_BuildValue("i",_result
);
7035 #define wxGrid_InsertCols(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertCols(_swigarg0,_swigarg1,_swigarg2))
7036 static PyObject
*_wrap_wxGrid_InsertCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7037 PyObject
* _resultobj
;
7040 int _arg1
= (int ) 0;
7041 int _arg2
= (int ) 1;
7042 bool _arg3
= (bool ) TRUE
;
7043 PyObject
* _argo0
= 0;
7044 int tempbool3
= (int) TRUE
;
7045 char *_kwnames
[] = { "self","pos","numCols","updateLabels", NULL
};
7048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iii:wxGrid_InsertCols",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
7051 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7052 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7053 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_InsertCols. Expected _wxGrid_p.");
7057 _arg3
= (bool ) tempbool3
;
7059 wxPy_BEGIN_ALLOW_THREADS
;
7060 _result
= (bool )wxGrid_InsertCols(_arg0
,_arg1
,_arg2
,_arg3
);
7062 wxPy_END_ALLOW_THREADS
;
7063 } _resultobj
= Py_BuildValue("i",_result
);
7067 #define wxGrid_AppendCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->AppendCols(_swigarg0,_swigarg1))
7068 static PyObject
*_wrap_wxGrid_AppendCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7069 PyObject
* _resultobj
;
7072 int _arg1
= (int ) 1;
7073 bool _arg2
= (bool ) TRUE
;
7074 PyObject
* _argo0
= 0;
7075 int tempbool2
= (int) TRUE
;
7076 char *_kwnames
[] = { "self","numCols","updateLabels", NULL
};
7079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxGrid_AppendCols",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
7082 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7083 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7084 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_AppendCols. Expected _wxGrid_p.");
7088 _arg2
= (bool ) tempbool2
;
7090 wxPy_BEGIN_ALLOW_THREADS
;
7091 _result
= (bool )wxGrid_AppendCols(_arg0
,_arg1
,_arg2
);
7093 wxPy_END_ALLOW_THREADS
;
7094 } _resultobj
= Py_BuildValue("i",_result
);
7098 #define wxGrid_DeleteCols(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DeleteCols(_swigarg0,_swigarg1,_swigarg2))
7099 static PyObject
*_wrap_wxGrid_DeleteCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7100 PyObject
* _resultobj
;
7103 int _arg1
= (int ) 0;
7104 int _arg2
= (int ) 1;
7105 bool _arg3
= (bool ) TRUE
;
7106 PyObject
* _argo0
= 0;
7107 int tempbool3
= (int) TRUE
;
7108 char *_kwnames
[] = { "self","pos","numCols","updateLabels", NULL
};
7111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iii:wxGrid_DeleteCols",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
7114 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7115 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7116 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_DeleteCols. Expected _wxGrid_p.");
7120 _arg3
= (bool ) tempbool3
;
7122 wxPy_BEGIN_ALLOW_THREADS
;
7123 _result
= (bool )wxGrid_DeleteCols(_arg0
,_arg1
,_arg2
,_arg3
);
7125 wxPy_END_ALLOW_THREADS
;
7126 } _resultobj
= Py_BuildValue("i",_result
);
7130 #define wxGrid_DrawCellHighlight(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawCellHighlight(_swigarg0,_swigarg1))
7131 static PyObject
*_wrap_wxGrid_DrawCellHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7132 PyObject
* _resultobj
;
7135 wxGridCellAttr
* _arg2
;
7136 PyObject
* _argo0
= 0;
7137 PyObject
* _argo1
= 0;
7138 PyObject
* _argo2
= 0;
7139 char *_kwnames
[] = { "self","dc","attr", NULL
};
7142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxGrid_DrawCellHighlight",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
7145 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7146 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7147 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_DrawCellHighlight. Expected _wxGrid_p.");
7152 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7153 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7154 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_DrawCellHighlight. Expected _wxDC_p.");
7159 if (_argo2
== Py_None
) { _arg2
= NULL
; }
7160 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGridCellAttr_p")) {
7161 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxGrid_DrawCellHighlight. Expected _wxGridCellAttr_p.");
7166 wxPy_BEGIN_ALLOW_THREADS
;
7167 wxGrid_DrawCellHighlight(_arg0
,*_arg1
,_arg2
);
7169 wxPy_END_ALLOW_THREADS
;
7170 } Py_INCREF(Py_None
);
7171 _resultobj
= Py_None
;
7175 #define wxGrid_DrawTextRectangle(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->DrawTextRectangle(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
7176 static PyObject
*_wrap_wxGrid_DrawTextRectangle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7177 PyObject
* _resultobj
;
7182 int _arg4
= (int ) wxLEFT
;
7183 int _arg5
= (int ) wxTOP
;
7184 PyObject
* _argo0
= 0;
7185 PyObject
* _argo1
= 0;
7186 PyObject
* _obj2
= 0;
7188 PyObject
* _obj3
= 0;
7189 char *_kwnames
[] = { "self","dc","arg3","arg4","horizontalAlignment","verticalAlignment", NULL
};
7192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO|ii:wxGrid_DrawTextRectangle",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
7195 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7196 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7197 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_DrawTextRectangle. Expected _wxGrid_p.");
7202 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7203 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7204 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_DrawTextRectangle. Expected _wxDC_p.");
7209 #if PYTHON_API_VERSION >= 1009
7210 char* tmpPtr
; int tmpSize
;
7211 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
7212 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
7215 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
7217 _arg2
= new wxString(tmpPtr
, tmpSize
);
7219 if (!PyString_Check(_obj2
)) {
7220 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7223 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
7228 if (! wxRect_helper(_obj3
, &_arg3
))
7232 wxPy_BEGIN_ALLOW_THREADS
;
7233 wxGrid_DrawTextRectangle(_arg0
,*_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
7235 wxPy_END_ALLOW_THREADS
;
7236 } Py_INCREF(Py_None
);
7237 _resultobj
= Py_None
;
7245 #define wxGrid_StringToLines(_swigobj,_swigarg0,_swigarg1) (_swigobj->StringToLines(_swigarg0,_swigarg1))
7246 static PyObject
*_wrap_wxGrid_StringToLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7247 PyObject
* _resultobj
;
7250 wxArrayString
* _arg2
;
7251 PyObject
* _argo0
= 0;
7252 PyObject
* _obj1
= 0;
7253 PyObject
* _argo2
= 0;
7254 char *_kwnames
[] = { "self","value","lines", NULL
};
7257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxGrid_StringToLines",_kwnames
,&_argo0
,&_obj1
,&_argo2
))
7260 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7261 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7262 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_StringToLines. Expected _wxGrid_p.");
7267 #if PYTHON_API_VERSION >= 1009
7268 char* tmpPtr
; int tmpSize
;
7269 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
7270 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
7273 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
7275 _arg1
= new wxString(tmpPtr
, tmpSize
);
7277 if (!PyString_Check(_obj1
)) {
7278 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7281 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
7285 if (_argo2
== Py_None
) { _arg2
= NULL
; }
7286 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxArrayString_p")) {
7287 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxGrid_StringToLines. Expected _wxArrayString_p.");
7292 wxPy_BEGIN_ALLOW_THREADS
;
7293 wxGrid_StringToLines(_arg0
,*_arg1
,*_arg2
);
7295 wxPy_END_ALLOW_THREADS
;
7296 } Py_INCREF(Py_None
);
7297 _resultobj
= Py_None
;
7305 #define wxGrid_GetTextBoxSize(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetTextBoxSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7306 static PyObject
*_wrap_wxGrid_GetTextBoxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7307 PyObject
* _resultobj
;
7310 wxArrayString
* _arg2
;
7315 PyObject
* _argo0
= 0;
7316 PyObject
* _argo1
= 0;
7317 PyObject
* _argo2
= 0;
7318 char *_kwnames
[] = { "self","dc","lines", NULL
};
7327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxGrid_GetTextBoxSize",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
7330 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7331 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7332 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetTextBoxSize. Expected _wxGrid_p.");
7337 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7338 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7339 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_GetTextBoxSize. Expected _wxDC_p.");
7344 if (_argo2
== Py_None
) { _arg2
= NULL
; }
7345 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxArrayString_p")) {
7346 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxGrid_GetTextBoxSize. Expected _wxArrayString_p.");
7351 wxPy_BEGIN_ALLOW_THREADS
;
7352 wxGrid_GetTextBoxSize(_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
);
7354 wxPy_END_ALLOW_THREADS
;
7355 } Py_INCREF(Py_None
);
7356 _resultobj
= Py_None
;
7359 o
= PyInt_FromLong((long) (*_arg3
));
7360 _resultobj
= t_output_helper(_resultobj
, o
);
7364 o
= PyInt_FromLong((long) (*_arg4
));
7365 _resultobj
= t_output_helper(_resultobj
, o
);
7370 #define wxGrid_BeginBatch(_swigobj) (_swigobj->BeginBatch())
7371 static PyObject
*_wrap_wxGrid_BeginBatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7372 PyObject
* _resultobj
;
7374 PyObject
* _argo0
= 0;
7375 char *_kwnames
[] = { "self", NULL
};
7378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_BeginBatch",_kwnames
,&_argo0
))
7381 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7382 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7383 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_BeginBatch. Expected _wxGrid_p.");
7388 wxPy_BEGIN_ALLOW_THREADS
;
7389 wxGrid_BeginBatch(_arg0
);
7391 wxPy_END_ALLOW_THREADS
;
7392 } Py_INCREF(Py_None
);
7393 _resultobj
= Py_None
;
7397 #define wxGrid_EndBatch(_swigobj) (_swigobj->EndBatch())
7398 static PyObject
*_wrap_wxGrid_EndBatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7399 PyObject
* _resultobj
;
7401 PyObject
* _argo0
= 0;
7402 char *_kwnames
[] = { "self", NULL
};
7405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_EndBatch",_kwnames
,&_argo0
))
7408 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7409 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7410 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_EndBatch. Expected _wxGrid_p.");
7415 wxPy_BEGIN_ALLOW_THREADS
;
7416 wxGrid_EndBatch(_arg0
);
7418 wxPy_END_ALLOW_THREADS
;
7419 } Py_INCREF(Py_None
);
7420 _resultobj
= Py_None
;
7424 #define wxGrid_GetBatchCount(_swigobj) (_swigobj->GetBatchCount())
7425 static PyObject
*_wrap_wxGrid_GetBatchCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7426 PyObject
* _resultobj
;
7429 PyObject
* _argo0
= 0;
7430 char *_kwnames
[] = { "self", NULL
};
7433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetBatchCount",_kwnames
,&_argo0
))
7436 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7437 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7438 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetBatchCount. Expected _wxGrid_p.");
7443 wxPy_BEGIN_ALLOW_THREADS
;
7444 _result
= (int )wxGrid_GetBatchCount(_arg0
);
7446 wxPy_END_ALLOW_THREADS
;
7447 } _resultobj
= Py_BuildValue("i",_result
);
7451 #define wxGrid_IsEditable(_swigobj) (_swigobj->IsEditable())
7452 static PyObject
*_wrap_wxGrid_IsEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7453 PyObject
* _resultobj
;
7456 PyObject
* _argo0
= 0;
7457 char *_kwnames
[] = { "self", NULL
};
7460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_IsEditable",_kwnames
,&_argo0
))
7463 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7464 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7465 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_IsEditable. Expected _wxGrid_p.");
7470 wxPy_BEGIN_ALLOW_THREADS
;
7471 _result
= (bool )wxGrid_IsEditable(_arg0
);
7473 wxPy_END_ALLOW_THREADS
;
7474 } _resultobj
= Py_BuildValue("i",_result
);
7478 #define wxGrid_EnableEditing(_swigobj,_swigarg0) (_swigobj->EnableEditing(_swigarg0))
7479 static PyObject
*_wrap_wxGrid_EnableEditing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7480 PyObject
* _resultobj
;
7483 PyObject
* _argo0
= 0;
7485 char *_kwnames
[] = { "self","edit", NULL
};
7488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_EnableEditing",_kwnames
,&_argo0
,&tempbool1
))
7491 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7492 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7493 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_EnableEditing. Expected _wxGrid_p.");
7497 _arg1
= (bool ) tempbool1
;
7499 wxPy_BEGIN_ALLOW_THREADS
;
7500 wxGrid_EnableEditing(_arg0
,_arg1
);
7502 wxPy_END_ALLOW_THREADS
;
7503 } Py_INCREF(Py_None
);
7504 _resultobj
= Py_None
;
7508 #define wxGrid_EnableCellEditControl(_swigobj,_swigarg0) (_swigobj->EnableCellEditControl(_swigarg0))
7509 static PyObject
*_wrap_wxGrid_EnableCellEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7510 PyObject
* _resultobj
;
7512 bool _arg1
= (bool ) TRUE
;
7513 PyObject
* _argo0
= 0;
7514 int tempbool1
= (int) TRUE
;
7515 char *_kwnames
[] = { "self","enable", NULL
};
7518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxGrid_EnableCellEditControl",_kwnames
,&_argo0
,&tempbool1
))
7521 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7522 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7523 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_EnableCellEditControl. Expected _wxGrid_p.");
7527 _arg1
= (bool ) tempbool1
;
7529 wxPy_BEGIN_ALLOW_THREADS
;
7530 wxGrid_EnableCellEditControl(_arg0
,_arg1
);
7532 wxPy_END_ALLOW_THREADS
;
7533 } Py_INCREF(Py_None
);
7534 _resultobj
= Py_None
;
7538 #define wxGrid_DisableCellEditControl(_swigobj) (_swigobj->DisableCellEditControl())
7539 static PyObject
*_wrap_wxGrid_DisableCellEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7540 PyObject
* _resultobj
;
7542 PyObject
* _argo0
= 0;
7543 char *_kwnames
[] = { "self", NULL
};
7546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_DisableCellEditControl",_kwnames
,&_argo0
))
7549 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7550 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7551 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_DisableCellEditControl. Expected _wxGrid_p.");
7556 wxPy_BEGIN_ALLOW_THREADS
;
7557 wxGrid_DisableCellEditControl(_arg0
);
7559 wxPy_END_ALLOW_THREADS
;
7560 } Py_INCREF(Py_None
);
7561 _resultobj
= Py_None
;
7565 #define wxGrid_CanEnableCellControl(_swigobj) (_swigobj->CanEnableCellControl())
7566 static PyObject
*_wrap_wxGrid_CanEnableCellControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7567 PyObject
* _resultobj
;
7570 PyObject
* _argo0
= 0;
7571 char *_kwnames
[] = { "self", NULL
};
7574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_CanEnableCellControl",_kwnames
,&_argo0
))
7577 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7578 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7579 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_CanEnableCellControl. Expected _wxGrid_p.");
7584 wxPy_BEGIN_ALLOW_THREADS
;
7585 _result
= (bool )wxGrid_CanEnableCellControl(_arg0
);
7587 wxPy_END_ALLOW_THREADS
;
7588 } _resultobj
= Py_BuildValue("i",_result
);
7592 #define wxGrid_IsCellEditControlEnabled(_swigobj) (_swigobj->IsCellEditControlEnabled())
7593 static PyObject
*_wrap_wxGrid_IsCellEditControlEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7594 PyObject
* _resultobj
;
7597 PyObject
* _argo0
= 0;
7598 char *_kwnames
[] = { "self", NULL
};
7601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_IsCellEditControlEnabled",_kwnames
,&_argo0
))
7604 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7605 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7606 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_IsCellEditControlEnabled. Expected _wxGrid_p.");
7611 wxPy_BEGIN_ALLOW_THREADS
;
7612 _result
= (bool )wxGrid_IsCellEditControlEnabled(_arg0
);
7614 wxPy_END_ALLOW_THREADS
;
7615 } _resultobj
= Py_BuildValue("i",_result
);
7619 #define wxGrid_IsCellEditControlShown(_swigobj) (_swigobj->IsCellEditControlShown())
7620 static PyObject
*_wrap_wxGrid_IsCellEditControlShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7621 PyObject
* _resultobj
;
7624 PyObject
* _argo0
= 0;
7625 char *_kwnames
[] = { "self", NULL
};
7628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_IsCellEditControlShown",_kwnames
,&_argo0
))
7631 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7632 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7633 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_IsCellEditControlShown. Expected _wxGrid_p.");
7638 wxPy_BEGIN_ALLOW_THREADS
;
7639 _result
= (bool )wxGrid_IsCellEditControlShown(_arg0
);
7641 wxPy_END_ALLOW_THREADS
;
7642 } _resultobj
= Py_BuildValue("i",_result
);
7646 #define wxGrid_IsCurrentCellReadOnly(_swigobj) (_swigobj->IsCurrentCellReadOnly())
7647 static PyObject
*_wrap_wxGrid_IsCurrentCellReadOnly(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7648 PyObject
* _resultobj
;
7651 PyObject
* _argo0
= 0;
7652 char *_kwnames
[] = { "self", NULL
};
7655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_IsCurrentCellReadOnly",_kwnames
,&_argo0
))
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_IsCurrentCellReadOnly. Expected _wxGrid_p.");
7665 wxPy_BEGIN_ALLOW_THREADS
;
7666 _result
= (bool )wxGrid_IsCurrentCellReadOnly(_arg0
);
7668 wxPy_END_ALLOW_THREADS
;
7669 } _resultobj
= Py_BuildValue("i",_result
);
7673 #define wxGrid_ShowCellEditControl(_swigobj) (_swigobj->ShowCellEditControl())
7674 static PyObject
*_wrap_wxGrid_ShowCellEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7675 PyObject
* _resultobj
;
7677 PyObject
* _argo0
= 0;
7678 char *_kwnames
[] = { "self", NULL
};
7681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_ShowCellEditControl",_kwnames
,&_argo0
))
7684 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7685 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7686 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_ShowCellEditControl. Expected _wxGrid_p.");
7691 wxPy_BEGIN_ALLOW_THREADS
;
7692 wxGrid_ShowCellEditControl(_arg0
);
7694 wxPy_END_ALLOW_THREADS
;
7695 } Py_INCREF(Py_None
);
7696 _resultobj
= Py_None
;
7700 #define wxGrid_HideCellEditControl(_swigobj) (_swigobj->HideCellEditControl())
7701 static PyObject
*_wrap_wxGrid_HideCellEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7702 PyObject
* _resultobj
;
7704 PyObject
* _argo0
= 0;
7705 char *_kwnames
[] = { "self", NULL
};
7708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_HideCellEditControl",_kwnames
,&_argo0
))
7711 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7712 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7713 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_HideCellEditControl. Expected _wxGrid_p.");
7718 wxPy_BEGIN_ALLOW_THREADS
;
7719 wxGrid_HideCellEditControl(_arg0
);
7721 wxPy_END_ALLOW_THREADS
;
7722 } Py_INCREF(Py_None
);
7723 _resultobj
= Py_None
;
7727 #define wxGrid_SaveEditControlValue(_swigobj) (_swigobj->SaveEditControlValue())
7728 static PyObject
*_wrap_wxGrid_SaveEditControlValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7729 PyObject
* _resultobj
;
7731 PyObject
* _argo0
= 0;
7732 char *_kwnames
[] = { "self", NULL
};
7735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_SaveEditControlValue",_kwnames
,&_argo0
))
7738 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7739 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7740 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SaveEditControlValue. Expected _wxGrid_p.");
7745 wxPy_BEGIN_ALLOW_THREADS
;
7746 wxGrid_SaveEditControlValue(_arg0
);
7748 wxPy_END_ALLOW_THREADS
;
7749 } Py_INCREF(Py_None
);
7750 _resultobj
= Py_None
;
7754 static wxGridCellCoords
* wxGrid_XYToCell(wxGrid
*self
,int x
,int y
) {
7755 wxGridCellCoords rv
;
7756 self
->XYToCell(x
, y
, rv
);
7757 return new wxGridCellCoords(rv
);
7759 static PyObject
*_wrap_wxGrid_XYToCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7760 PyObject
* _resultobj
;
7761 wxGridCellCoords
* _result
;
7765 PyObject
* _argo0
= 0;
7766 char *_kwnames
[] = { "self","x","y", NULL
};
7770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_XYToCell",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7773 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7774 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7775 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_XYToCell. Expected _wxGrid_p.");
7780 wxPy_BEGIN_ALLOW_THREADS
;
7781 _result
= (wxGridCellCoords
*)wxGrid_XYToCell(_arg0
,_arg1
,_arg2
);
7783 wxPy_END_ALLOW_THREADS
;
7785 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellCoords_p");
7786 _resultobj
= Py_BuildValue("s",_ptemp
);
7789 _resultobj
= Py_None
;
7794 #define wxGrid_YToRow(_swigobj,_swigarg0) (_swigobj->YToRow(_swigarg0))
7795 static PyObject
*_wrap_wxGrid_YToRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7796 PyObject
* _resultobj
;
7800 PyObject
* _argo0
= 0;
7801 char *_kwnames
[] = { "self","y", NULL
};
7804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_YToRow",_kwnames
,&_argo0
,&_arg1
))
7807 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7808 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7809 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_YToRow. Expected _wxGrid_p.");
7814 wxPy_BEGIN_ALLOW_THREADS
;
7815 _result
= (int )wxGrid_YToRow(_arg0
,_arg1
);
7817 wxPy_END_ALLOW_THREADS
;
7818 } _resultobj
= Py_BuildValue("i",_result
);
7822 #define wxGrid_XToCol(_swigobj,_swigarg0) (_swigobj->XToCol(_swigarg0))
7823 static PyObject
*_wrap_wxGrid_XToCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7824 PyObject
* _resultobj
;
7828 PyObject
* _argo0
= 0;
7829 char *_kwnames
[] = { "self","x", NULL
};
7832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_XToCol",_kwnames
,&_argo0
,&_arg1
))
7835 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7836 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7837 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_XToCol. Expected _wxGrid_p.");
7842 wxPy_BEGIN_ALLOW_THREADS
;
7843 _result
= (int )wxGrid_XToCol(_arg0
,_arg1
);
7845 wxPy_END_ALLOW_THREADS
;
7846 } _resultobj
= Py_BuildValue("i",_result
);
7850 #define wxGrid_YToEdgeOfRow(_swigobj,_swigarg0) (_swigobj->YToEdgeOfRow(_swigarg0))
7851 static PyObject
*_wrap_wxGrid_YToEdgeOfRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7852 PyObject
* _resultobj
;
7856 PyObject
* _argo0
= 0;
7857 char *_kwnames
[] = { "self","y", NULL
};
7860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_YToEdgeOfRow",_kwnames
,&_argo0
,&_arg1
))
7863 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7864 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7865 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_YToEdgeOfRow. Expected _wxGrid_p.");
7870 wxPy_BEGIN_ALLOW_THREADS
;
7871 _result
= (int )wxGrid_YToEdgeOfRow(_arg0
,_arg1
);
7873 wxPy_END_ALLOW_THREADS
;
7874 } _resultobj
= Py_BuildValue("i",_result
);
7878 #define wxGrid_XToEdgeOfCol(_swigobj,_swigarg0) (_swigobj->XToEdgeOfCol(_swigarg0))
7879 static PyObject
*_wrap_wxGrid_XToEdgeOfCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7880 PyObject
* _resultobj
;
7884 PyObject
* _argo0
= 0;
7885 char *_kwnames
[] = { "self","x", NULL
};
7888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_XToEdgeOfCol",_kwnames
,&_argo0
,&_arg1
))
7891 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7892 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7893 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_XToEdgeOfCol. Expected _wxGrid_p.");
7898 wxPy_BEGIN_ALLOW_THREADS
;
7899 _result
= (int )wxGrid_XToEdgeOfCol(_arg0
,_arg1
);
7901 wxPy_END_ALLOW_THREADS
;
7902 } _resultobj
= Py_BuildValue("i",_result
);
7906 #define wxGrid_CellToRect(_swigobj,_swigarg0,_swigarg1) (_swigobj->CellToRect(_swigarg0,_swigarg1))
7907 static PyObject
*_wrap_wxGrid_CellToRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7908 PyObject
* _resultobj
;
7913 PyObject
* _argo0
= 0;
7914 char *_kwnames
[] = { "self","row","col", NULL
};
7918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_CellToRect",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7921 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7922 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7923 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_CellToRect. Expected _wxGrid_p.");
7928 wxPy_BEGIN_ALLOW_THREADS
;
7929 _result
= new wxRect (wxGrid_CellToRect(_arg0
,_arg1
,_arg2
));
7931 wxPy_END_ALLOW_THREADS
;
7932 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
7933 _resultobj
= Py_BuildValue("s",_ptemp
);
7937 #define wxGrid_GetGridCursorRow(_swigobj) (_swigobj->GetGridCursorRow())
7938 static PyObject
*_wrap_wxGrid_GetGridCursorRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7939 PyObject
* _resultobj
;
7942 PyObject
* _argo0
= 0;
7943 char *_kwnames
[] = { "self", NULL
};
7946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetGridCursorRow",_kwnames
,&_argo0
))
7949 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7950 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7951 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetGridCursorRow. Expected _wxGrid_p.");
7956 wxPy_BEGIN_ALLOW_THREADS
;
7957 _result
= (int )wxGrid_GetGridCursorRow(_arg0
);
7959 wxPy_END_ALLOW_THREADS
;
7960 } _resultobj
= Py_BuildValue("i",_result
);
7964 #define wxGrid_GetGridCursorCol(_swigobj) (_swigobj->GetGridCursorCol())
7965 static PyObject
*_wrap_wxGrid_GetGridCursorCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7966 PyObject
* _resultobj
;
7969 PyObject
* _argo0
= 0;
7970 char *_kwnames
[] = { "self", NULL
};
7973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetGridCursorCol",_kwnames
,&_argo0
))
7976 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7977 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7978 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetGridCursorCol. Expected _wxGrid_p.");
7983 wxPy_BEGIN_ALLOW_THREADS
;
7984 _result
= (int )wxGrid_GetGridCursorCol(_arg0
);
7986 wxPy_END_ALLOW_THREADS
;
7987 } _resultobj
= Py_BuildValue("i",_result
);
7991 #define wxGrid_IsVisible(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->IsVisible(_swigarg0,_swigarg1,_swigarg2))
7992 static PyObject
*_wrap_wxGrid_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7993 PyObject
* _resultobj
;
7998 bool _arg3
= (bool ) TRUE
;
7999 PyObject
* _argo0
= 0;
8000 int tempbool3
= (int) TRUE
;
8001 char *_kwnames
[] = { "self","row","col","wholeCellVisible", NULL
};
8004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|i:wxGrid_IsVisible",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
8007 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8008 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8009 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_IsVisible. Expected _wxGrid_p.");
8013 _arg3
= (bool ) tempbool3
;
8015 wxPy_BEGIN_ALLOW_THREADS
;
8016 _result
= (bool )wxGrid_IsVisible(_arg0
,_arg1
,_arg2
,_arg3
);
8018 wxPy_END_ALLOW_THREADS
;
8019 } _resultobj
= Py_BuildValue("i",_result
);
8023 #define wxGrid_MakeCellVisible(_swigobj,_swigarg0,_swigarg1) (_swigobj->MakeCellVisible(_swigarg0,_swigarg1))
8024 static PyObject
*_wrap_wxGrid_MakeCellVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8025 PyObject
* _resultobj
;
8029 PyObject
* _argo0
= 0;
8030 char *_kwnames
[] = { "self","row","col", NULL
};
8033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_MakeCellVisible",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
8036 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8037 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8038 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_MakeCellVisible. Expected _wxGrid_p.");
8043 wxPy_BEGIN_ALLOW_THREADS
;
8044 wxGrid_MakeCellVisible(_arg0
,_arg1
,_arg2
);
8046 wxPy_END_ALLOW_THREADS
;
8047 } Py_INCREF(Py_None
);
8048 _resultobj
= Py_None
;
8052 #define wxGrid_SetGridCursor(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetGridCursor(_swigarg0,_swigarg1))
8053 static PyObject
*_wrap_wxGrid_SetGridCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8054 PyObject
* _resultobj
;
8058 PyObject
* _argo0
= 0;
8059 char *_kwnames
[] = { "self","row","col", NULL
};
8062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_SetGridCursor",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
8065 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8066 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8067 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetGridCursor. Expected _wxGrid_p.");
8072 wxPy_BEGIN_ALLOW_THREADS
;
8073 wxGrid_SetGridCursor(_arg0
,_arg1
,_arg2
);
8075 wxPy_END_ALLOW_THREADS
;
8076 } Py_INCREF(Py_None
);
8077 _resultobj
= Py_None
;
8081 #define wxGrid_MoveCursorUp(_swigobj,_swigarg0) (_swigobj->MoveCursorUp(_swigarg0))
8082 static PyObject
*_wrap_wxGrid_MoveCursorUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8083 PyObject
* _resultobj
;
8087 PyObject
* _argo0
= 0;
8089 char *_kwnames
[] = { "self","expandSelection", NULL
};
8092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_MoveCursorUp",_kwnames
,&_argo0
,&tempbool1
))
8095 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8096 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8097 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_MoveCursorUp. Expected _wxGrid_p.");
8101 _arg1
= (bool ) tempbool1
;
8103 wxPy_BEGIN_ALLOW_THREADS
;
8104 _result
= (bool )wxGrid_MoveCursorUp(_arg0
,_arg1
);
8106 wxPy_END_ALLOW_THREADS
;
8107 } _resultobj
= Py_BuildValue("i",_result
);
8111 #define wxGrid_MoveCursorDown(_swigobj,_swigarg0) (_swigobj->MoveCursorDown(_swigarg0))
8112 static PyObject
*_wrap_wxGrid_MoveCursorDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8113 PyObject
* _resultobj
;
8117 PyObject
* _argo0
= 0;
8119 char *_kwnames
[] = { "self","expandSelection", NULL
};
8122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_MoveCursorDown",_kwnames
,&_argo0
,&tempbool1
))
8125 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8126 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8127 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_MoveCursorDown. Expected _wxGrid_p.");
8131 _arg1
= (bool ) tempbool1
;
8133 wxPy_BEGIN_ALLOW_THREADS
;
8134 _result
= (bool )wxGrid_MoveCursorDown(_arg0
,_arg1
);
8136 wxPy_END_ALLOW_THREADS
;
8137 } _resultobj
= Py_BuildValue("i",_result
);
8141 #define wxGrid_MoveCursorLeft(_swigobj,_swigarg0) (_swigobj->MoveCursorLeft(_swigarg0))
8142 static PyObject
*_wrap_wxGrid_MoveCursorLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8143 PyObject
* _resultobj
;
8147 PyObject
* _argo0
= 0;
8149 char *_kwnames
[] = { "self","expandSelection", NULL
};
8152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_MoveCursorLeft",_kwnames
,&_argo0
,&tempbool1
))
8155 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8156 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8157 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_MoveCursorLeft. Expected _wxGrid_p.");
8161 _arg1
= (bool ) tempbool1
;
8163 wxPy_BEGIN_ALLOW_THREADS
;
8164 _result
= (bool )wxGrid_MoveCursorLeft(_arg0
,_arg1
);
8166 wxPy_END_ALLOW_THREADS
;
8167 } _resultobj
= Py_BuildValue("i",_result
);
8171 #define wxGrid_MoveCursorRight(_swigobj,_swigarg0) (_swigobj->MoveCursorRight(_swigarg0))
8172 static PyObject
*_wrap_wxGrid_MoveCursorRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8173 PyObject
* _resultobj
;
8177 PyObject
* _argo0
= 0;
8179 char *_kwnames
[] = { "self","expandSelection", NULL
};
8182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_MoveCursorRight",_kwnames
,&_argo0
,&tempbool1
))
8185 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8186 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8187 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_MoveCursorRight. Expected _wxGrid_p.");
8191 _arg1
= (bool ) tempbool1
;
8193 wxPy_BEGIN_ALLOW_THREADS
;
8194 _result
= (bool )wxGrid_MoveCursorRight(_arg0
,_arg1
);
8196 wxPy_END_ALLOW_THREADS
;
8197 } _resultobj
= Py_BuildValue("i",_result
);
8201 #define wxGrid_MovePageDown(_swigobj) (_swigobj->MovePageDown())
8202 static PyObject
*_wrap_wxGrid_MovePageDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8203 PyObject
* _resultobj
;
8206 PyObject
* _argo0
= 0;
8207 char *_kwnames
[] = { "self", NULL
};
8210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_MovePageDown",_kwnames
,&_argo0
))
8213 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8214 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8215 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_MovePageDown. Expected _wxGrid_p.");
8220 wxPy_BEGIN_ALLOW_THREADS
;
8221 _result
= (bool )wxGrid_MovePageDown(_arg0
);
8223 wxPy_END_ALLOW_THREADS
;
8224 } _resultobj
= Py_BuildValue("i",_result
);
8228 #define wxGrid_MovePageUp(_swigobj) (_swigobj->MovePageUp())
8229 static PyObject
*_wrap_wxGrid_MovePageUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8230 PyObject
* _resultobj
;
8233 PyObject
* _argo0
= 0;
8234 char *_kwnames
[] = { "self", NULL
};
8237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_MovePageUp",_kwnames
,&_argo0
))
8240 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8241 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8242 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_MovePageUp. Expected _wxGrid_p.");
8247 wxPy_BEGIN_ALLOW_THREADS
;
8248 _result
= (bool )wxGrid_MovePageUp(_arg0
);
8250 wxPy_END_ALLOW_THREADS
;
8251 } _resultobj
= Py_BuildValue("i",_result
);
8255 #define wxGrid_MoveCursorUpBlock(_swigobj,_swigarg0) (_swigobj->MoveCursorUpBlock(_swigarg0))
8256 static PyObject
*_wrap_wxGrid_MoveCursorUpBlock(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8257 PyObject
* _resultobj
;
8261 PyObject
* _argo0
= 0;
8263 char *_kwnames
[] = { "self","expandSelection", NULL
};
8266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_MoveCursorUpBlock",_kwnames
,&_argo0
,&tempbool1
))
8269 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8270 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8271 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_MoveCursorUpBlock. Expected _wxGrid_p.");
8275 _arg1
= (bool ) tempbool1
;
8277 wxPy_BEGIN_ALLOW_THREADS
;
8278 _result
= (bool )wxGrid_MoveCursorUpBlock(_arg0
,_arg1
);
8280 wxPy_END_ALLOW_THREADS
;
8281 } _resultobj
= Py_BuildValue("i",_result
);
8285 #define wxGrid_MoveCursorDownBlock(_swigobj,_swigarg0) (_swigobj->MoveCursorDownBlock(_swigarg0))
8286 static PyObject
*_wrap_wxGrid_MoveCursorDownBlock(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8287 PyObject
* _resultobj
;
8291 PyObject
* _argo0
= 0;
8293 char *_kwnames
[] = { "self","expandSelection", NULL
};
8296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_MoveCursorDownBlock",_kwnames
,&_argo0
,&tempbool1
))
8299 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8300 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8301 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_MoveCursorDownBlock. Expected _wxGrid_p.");
8305 _arg1
= (bool ) tempbool1
;
8307 wxPy_BEGIN_ALLOW_THREADS
;
8308 _result
= (bool )wxGrid_MoveCursorDownBlock(_arg0
,_arg1
);
8310 wxPy_END_ALLOW_THREADS
;
8311 } _resultobj
= Py_BuildValue("i",_result
);
8315 #define wxGrid_MoveCursorLeftBlock(_swigobj,_swigarg0) (_swigobj->MoveCursorLeftBlock(_swigarg0))
8316 static PyObject
*_wrap_wxGrid_MoveCursorLeftBlock(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8317 PyObject
* _resultobj
;
8321 PyObject
* _argo0
= 0;
8323 char *_kwnames
[] = { "self","expandSelection", NULL
};
8326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_MoveCursorLeftBlock",_kwnames
,&_argo0
,&tempbool1
))
8329 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8330 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8331 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_MoveCursorLeftBlock. Expected _wxGrid_p.");
8335 _arg1
= (bool ) tempbool1
;
8337 wxPy_BEGIN_ALLOW_THREADS
;
8338 _result
= (bool )wxGrid_MoveCursorLeftBlock(_arg0
,_arg1
);
8340 wxPy_END_ALLOW_THREADS
;
8341 } _resultobj
= Py_BuildValue("i",_result
);
8345 #define wxGrid_MoveCursorRightBlock(_swigobj,_swigarg0) (_swigobj->MoveCursorRightBlock(_swigarg0))
8346 static PyObject
*_wrap_wxGrid_MoveCursorRightBlock(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8347 PyObject
* _resultobj
;
8351 PyObject
* _argo0
= 0;
8353 char *_kwnames
[] = { "self","expandSelection", NULL
};
8356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_MoveCursorRightBlock",_kwnames
,&_argo0
,&tempbool1
))
8359 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8360 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8361 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_MoveCursorRightBlock. Expected _wxGrid_p.");
8365 _arg1
= (bool ) tempbool1
;
8367 wxPy_BEGIN_ALLOW_THREADS
;
8368 _result
= (bool )wxGrid_MoveCursorRightBlock(_arg0
,_arg1
);
8370 wxPy_END_ALLOW_THREADS
;
8371 } _resultobj
= Py_BuildValue("i",_result
);
8375 #define wxGrid_GetDefaultRowLabelSize(_swigobj) (_swigobj->GetDefaultRowLabelSize())
8376 static PyObject
*_wrap_wxGrid_GetDefaultRowLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8377 PyObject
* _resultobj
;
8380 PyObject
* _argo0
= 0;
8381 char *_kwnames
[] = { "self", NULL
};
8384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetDefaultRowLabelSize",_kwnames
,&_argo0
))
8387 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8388 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8389 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultRowLabelSize. Expected _wxGrid_p.");
8394 wxPy_BEGIN_ALLOW_THREADS
;
8395 _result
= (int )wxGrid_GetDefaultRowLabelSize(_arg0
);
8397 wxPy_END_ALLOW_THREADS
;
8398 } _resultobj
= Py_BuildValue("i",_result
);
8402 #define wxGrid_GetRowLabelSize(_swigobj) (_swigobj->GetRowLabelSize())
8403 static PyObject
*_wrap_wxGrid_GetRowLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8404 PyObject
* _resultobj
;
8407 PyObject
* _argo0
= 0;
8408 char *_kwnames
[] = { "self", NULL
};
8411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetRowLabelSize",_kwnames
,&_argo0
))
8414 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8415 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8416 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetRowLabelSize. Expected _wxGrid_p.");
8421 wxPy_BEGIN_ALLOW_THREADS
;
8422 _result
= (int )wxGrid_GetRowLabelSize(_arg0
);
8424 wxPy_END_ALLOW_THREADS
;
8425 } _resultobj
= Py_BuildValue("i",_result
);
8429 #define wxGrid_GetDefaultColLabelSize(_swigobj) (_swigobj->GetDefaultColLabelSize())
8430 static PyObject
*_wrap_wxGrid_GetDefaultColLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8431 PyObject
* _resultobj
;
8434 PyObject
* _argo0
= 0;
8435 char *_kwnames
[] = { "self", NULL
};
8438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetDefaultColLabelSize",_kwnames
,&_argo0
))
8441 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8442 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8443 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultColLabelSize. Expected _wxGrid_p.");
8448 wxPy_BEGIN_ALLOW_THREADS
;
8449 _result
= (int )wxGrid_GetDefaultColLabelSize(_arg0
);
8451 wxPy_END_ALLOW_THREADS
;
8452 } _resultobj
= Py_BuildValue("i",_result
);
8456 #define wxGrid_GetColLabelSize(_swigobj) (_swigobj->GetColLabelSize())
8457 static PyObject
*_wrap_wxGrid_GetColLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8458 PyObject
* _resultobj
;
8461 PyObject
* _argo0
= 0;
8462 char *_kwnames
[] = { "self", NULL
};
8465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetColLabelSize",_kwnames
,&_argo0
))
8468 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8469 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8470 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetColLabelSize. Expected _wxGrid_p.");
8475 wxPy_BEGIN_ALLOW_THREADS
;
8476 _result
= (int )wxGrid_GetColLabelSize(_arg0
);
8478 wxPy_END_ALLOW_THREADS
;
8479 } _resultobj
= Py_BuildValue("i",_result
);
8483 #define wxGrid_GetLabelBackgroundColour(_swigobj) (_swigobj->GetLabelBackgroundColour())
8484 static PyObject
*_wrap_wxGrid_GetLabelBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8485 PyObject
* _resultobj
;
8488 PyObject
* _argo0
= 0;
8489 char *_kwnames
[] = { "self", NULL
};
8493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetLabelBackgroundColour",_kwnames
,&_argo0
))
8496 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8497 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8498 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetLabelBackgroundColour. Expected _wxGrid_p.");
8503 wxPy_BEGIN_ALLOW_THREADS
;
8504 _result
= new wxColour (wxGrid_GetLabelBackgroundColour(_arg0
));
8506 wxPy_END_ALLOW_THREADS
;
8507 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
8508 _resultobj
= Py_BuildValue("s",_ptemp
);
8512 #define wxGrid_GetLabelTextColour(_swigobj) (_swigobj->GetLabelTextColour())
8513 static PyObject
*_wrap_wxGrid_GetLabelTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8514 PyObject
* _resultobj
;
8517 PyObject
* _argo0
= 0;
8518 char *_kwnames
[] = { "self", NULL
};
8522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetLabelTextColour",_kwnames
,&_argo0
))
8525 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8526 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8527 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetLabelTextColour. Expected _wxGrid_p.");
8532 wxPy_BEGIN_ALLOW_THREADS
;
8533 _result
= new wxColour (wxGrid_GetLabelTextColour(_arg0
));
8535 wxPy_END_ALLOW_THREADS
;
8536 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
8537 _resultobj
= Py_BuildValue("s",_ptemp
);
8541 #define wxGrid_GetLabelFont(_swigobj) (_swigobj->GetLabelFont())
8542 static PyObject
*_wrap_wxGrid_GetLabelFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8543 PyObject
* _resultobj
;
8546 PyObject
* _argo0
= 0;
8547 char *_kwnames
[] = { "self", NULL
};
8551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetLabelFont",_kwnames
,&_argo0
))
8554 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8555 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8556 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetLabelFont. Expected _wxGrid_p.");
8561 wxPy_BEGIN_ALLOW_THREADS
;
8562 _result
= new wxFont (wxGrid_GetLabelFont(_arg0
));
8564 wxPy_END_ALLOW_THREADS
;
8565 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
8566 _resultobj
= Py_BuildValue("s",_ptemp
);
8570 #define wxGrid_GetRowLabelAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetRowLabelAlignment(_swigarg0,_swigarg1))
8571 static PyObject
*_wrap_wxGrid_GetRowLabelAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8572 PyObject
* _resultobj
;
8578 PyObject
* _argo0
= 0;
8579 char *_kwnames
[] = { "self", NULL
};
8588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetRowLabelAlignment",_kwnames
,&_argo0
))
8591 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8592 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8593 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetRowLabelAlignment. Expected _wxGrid_p.");
8598 wxPy_BEGIN_ALLOW_THREADS
;
8599 wxGrid_GetRowLabelAlignment(_arg0
,_arg1
,_arg2
);
8601 wxPy_END_ALLOW_THREADS
;
8602 } Py_INCREF(Py_None
);
8603 _resultobj
= Py_None
;
8606 o
= PyInt_FromLong((long) (*_arg1
));
8607 _resultobj
= t_output_helper(_resultobj
, o
);
8611 o
= PyInt_FromLong((long) (*_arg2
));
8612 _resultobj
= t_output_helper(_resultobj
, o
);
8617 #define wxGrid_GetColLabelAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetColLabelAlignment(_swigarg0,_swigarg1))
8618 static PyObject
*_wrap_wxGrid_GetColLabelAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8619 PyObject
* _resultobj
;
8625 PyObject
* _argo0
= 0;
8626 char *_kwnames
[] = { "self", NULL
};
8635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetColLabelAlignment",_kwnames
,&_argo0
))
8638 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8639 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8640 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetColLabelAlignment. Expected _wxGrid_p.");
8645 wxPy_BEGIN_ALLOW_THREADS
;
8646 wxGrid_GetColLabelAlignment(_arg0
,_arg1
,_arg2
);
8648 wxPy_END_ALLOW_THREADS
;
8649 } Py_INCREF(Py_None
);
8650 _resultobj
= Py_None
;
8653 o
= PyInt_FromLong((long) (*_arg1
));
8654 _resultobj
= t_output_helper(_resultobj
, o
);
8658 o
= PyInt_FromLong((long) (*_arg2
));
8659 _resultobj
= t_output_helper(_resultobj
, o
);
8664 #define wxGrid_GetRowLabelValue(_swigobj,_swigarg0) (_swigobj->GetRowLabelValue(_swigarg0))
8665 static PyObject
*_wrap_wxGrid_GetRowLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8666 PyObject
* _resultobj
;
8670 PyObject
* _argo0
= 0;
8671 char *_kwnames
[] = { "self","row", NULL
};
8674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_GetRowLabelValue",_kwnames
,&_argo0
,&_arg1
))
8677 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8678 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8679 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetRowLabelValue. Expected _wxGrid_p.");
8684 wxPy_BEGIN_ALLOW_THREADS
;
8685 _result
= new wxString (wxGrid_GetRowLabelValue(_arg0
,_arg1
));
8687 wxPy_END_ALLOW_THREADS
;
8689 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8697 #define wxGrid_GetColLabelValue(_swigobj,_swigarg0) (_swigobj->GetColLabelValue(_swigarg0))
8698 static PyObject
*_wrap_wxGrid_GetColLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8699 PyObject
* _resultobj
;
8703 PyObject
* _argo0
= 0;
8704 char *_kwnames
[] = { "self","col", NULL
};
8707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_GetColLabelValue",_kwnames
,&_argo0
,&_arg1
))
8710 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8711 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8712 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetColLabelValue. Expected _wxGrid_p.");
8717 wxPy_BEGIN_ALLOW_THREADS
;
8718 _result
= new wxString (wxGrid_GetColLabelValue(_arg0
,_arg1
));
8720 wxPy_END_ALLOW_THREADS
;
8722 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8730 #define wxGrid_GetGridLineColour(_swigobj) (_swigobj->GetGridLineColour())
8731 static PyObject
*_wrap_wxGrid_GetGridLineColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8732 PyObject
* _resultobj
;
8735 PyObject
* _argo0
= 0;
8736 char *_kwnames
[] = { "self", NULL
};
8740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetGridLineColour",_kwnames
,&_argo0
))
8743 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8744 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8745 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetGridLineColour. Expected _wxGrid_p.");
8750 wxPy_BEGIN_ALLOW_THREADS
;
8751 _result
= new wxColour (wxGrid_GetGridLineColour(_arg0
));
8753 wxPy_END_ALLOW_THREADS
;
8754 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
8755 _resultobj
= Py_BuildValue("s",_ptemp
);
8759 #define wxGrid_GetCellHighlightColour(_swigobj) (_swigobj->GetCellHighlightColour())
8760 static PyObject
*_wrap_wxGrid_GetCellHighlightColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8761 PyObject
* _resultobj
;
8764 PyObject
* _argo0
= 0;
8765 char *_kwnames
[] = { "self", NULL
};
8769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetCellHighlightColour",_kwnames
,&_argo0
))
8772 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8773 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8774 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellHighlightColour. Expected _wxGrid_p.");
8779 wxPy_BEGIN_ALLOW_THREADS
;
8780 _result
= new wxColour (wxGrid_GetCellHighlightColour(_arg0
));
8782 wxPy_END_ALLOW_THREADS
;
8783 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
8784 _resultobj
= Py_BuildValue("s",_ptemp
);
8788 #define wxGrid_SetRowLabelSize(_swigobj,_swigarg0) (_swigobj->SetRowLabelSize(_swigarg0))
8789 static PyObject
*_wrap_wxGrid_SetRowLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8790 PyObject
* _resultobj
;
8793 PyObject
* _argo0
= 0;
8794 char *_kwnames
[] = { "self","width", NULL
};
8797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_SetRowLabelSize",_kwnames
,&_argo0
,&_arg1
))
8800 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8801 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8802 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetRowLabelSize. Expected _wxGrid_p.");
8807 wxPy_BEGIN_ALLOW_THREADS
;
8808 wxGrid_SetRowLabelSize(_arg0
,_arg1
);
8810 wxPy_END_ALLOW_THREADS
;
8811 } Py_INCREF(Py_None
);
8812 _resultobj
= Py_None
;
8816 #define wxGrid_SetColLabelSize(_swigobj,_swigarg0) (_swigobj->SetColLabelSize(_swigarg0))
8817 static PyObject
*_wrap_wxGrid_SetColLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8818 PyObject
* _resultobj
;
8821 PyObject
* _argo0
= 0;
8822 char *_kwnames
[] = { "self","height", NULL
};
8825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_SetColLabelSize",_kwnames
,&_argo0
,&_arg1
))
8828 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8829 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8830 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetColLabelSize. Expected _wxGrid_p.");
8835 wxPy_BEGIN_ALLOW_THREADS
;
8836 wxGrid_SetColLabelSize(_arg0
,_arg1
);
8838 wxPy_END_ALLOW_THREADS
;
8839 } Py_INCREF(Py_None
);
8840 _resultobj
= Py_None
;
8844 #define wxGrid_SetLabelBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetLabelBackgroundColour(_swigarg0))
8845 static PyObject
*_wrap_wxGrid_SetLabelBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8846 PyObject
* _resultobj
;
8849 PyObject
* _argo0
= 0;
8851 PyObject
* _obj1
= 0;
8852 char *_kwnames
[] = { "self","arg2", NULL
};
8855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetLabelBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
8858 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8859 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8860 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetLabelBackgroundColour. Expected _wxGrid_p.");
8866 if (! wxColour_helper(_obj1
, &_arg1
))
8870 wxPy_BEGIN_ALLOW_THREADS
;
8871 wxGrid_SetLabelBackgroundColour(_arg0
,*_arg1
);
8873 wxPy_END_ALLOW_THREADS
;
8874 } Py_INCREF(Py_None
);
8875 _resultobj
= Py_None
;
8879 #define wxGrid_SetLabelTextColour(_swigobj,_swigarg0) (_swigobj->SetLabelTextColour(_swigarg0))
8880 static PyObject
*_wrap_wxGrid_SetLabelTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8881 PyObject
* _resultobj
;
8884 PyObject
* _argo0
= 0;
8886 PyObject
* _obj1
= 0;
8887 char *_kwnames
[] = { "self","arg2", NULL
};
8890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetLabelTextColour",_kwnames
,&_argo0
,&_obj1
))
8893 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8894 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8895 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetLabelTextColour. Expected _wxGrid_p.");
8901 if (! wxColour_helper(_obj1
, &_arg1
))
8905 wxPy_BEGIN_ALLOW_THREADS
;
8906 wxGrid_SetLabelTextColour(_arg0
,*_arg1
);
8908 wxPy_END_ALLOW_THREADS
;
8909 } Py_INCREF(Py_None
);
8910 _resultobj
= Py_None
;
8914 #define wxGrid_SetLabelFont(_swigobj,_swigarg0) (_swigobj->SetLabelFont(_swigarg0))
8915 static PyObject
*_wrap_wxGrid_SetLabelFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8916 PyObject
* _resultobj
;
8919 PyObject
* _argo0
= 0;
8920 PyObject
* _argo1
= 0;
8921 char *_kwnames
[] = { "self","arg2", NULL
};
8924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetLabelFont",_kwnames
,&_argo0
,&_argo1
))
8927 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8928 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8929 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetLabelFont. Expected _wxGrid_p.");
8934 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8935 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
8936 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_SetLabelFont. Expected _wxFont_p.");
8941 wxPy_BEGIN_ALLOW_THREADS
;
8942 wxGrid_SetLabelFont(_arg0
,*_arg1
);
8944 wxPy_END_ALLOW_THREADS
;
8945 } Py_INCREF(Py_None
);
8946 _resultobj
= Py_None
;
8950 #define wxGrid_SetRowLabelAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowLabelAlignment(_swigarg0,_swigarg1))
8951 static PyObject
*_wrap_wxGrid_SetRowLabelAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8952 PyObject
* _resultobj
;
8956 PyObject
* _argo0
= 0;
8957 char *_kwnames
[] = { "self","horiz","vert", NULL
};
8960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_SetRowLabelAlignment",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
8963 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8964 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8965 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetRowLabelAlignment. Expected _wxGrid_p.");
8970 wxPy_BEGIN_ALLOW_THREADS
;
8971 wxGrid_SetRowLabelAlignment(_arg0
,_arg1
,_arg2
);
8973 wxPy_END_ALLOW_THREADS
;
8974 } Py_INCREF(Py_None
);
8975 _resultobj
= Py_None
;
8979 #define wxGrid_SetColLabelAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColLabelAlignment(_swigarg0,_swigarg1))
8980 static PyObject
*_wrap_wxGrid_SetColLabelAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8981 PyObject
* _resultobj
;
8985 PyObject
* _argo0
= 0;
8986 char *_kwnames
[] = { "self","horiz","vert", NULL
};
8989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_SetColLabelAlignment",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
8992 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8993 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8994 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetColLabelAlignment. Expected _wxGrid_p.");
8999 wxPy_BEGIN_ALLOW_THREADS
;
9000 wxGrid_SetColLabelAlignment(_arg0
,_arg1
,_arg2
);
9002 wxPy_END_ALLOW_THREADS
;
9003 } Py_INCREF(Py_None
);
9004 _resultobj
= Py_None
;
9008 #define wxGrid_SetRowLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowLabelValue(_swigarg0,_swigarg1))
9009 static PyObject
*_wrap_wxGrid_SetRowLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9010 PyObject
* _resultobj
;
9014 PyObject
* _argo0
= 0;
9015 PyObject
* _obj2
= 0;
9016 char *_kwnames
[] = { "self","row","arg3", NULL
};
9019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxGrid_SetRowLabelValue",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
9022 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9023 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9024 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetRowLabelValue. Expected _wxGrid_p.");
9029 #if PYTHON_API_VERSION >= 1009
9030 char* tmpPtr
; int tmpSize
;
9031 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
9032 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
9035 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
9037 _arg2
= new wxString(tmpPtr
, tmpSize
);
9039 if (!PyString_Check(_obj2
)) {
9040 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9043 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
9047 wxPy_BEGIN_ALLOW_THREADS
;
9048 wxGrid_SetRowLabelValue(_arg0
,_arg1
,*_arg2
);
9050 wxPy_END_ALLOW_THREADS
;
9051 } Py_INCREF(Py_None
);
9052 _resultobj
= Py_None
;
9060 #define wxGrid_SetColLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColLabelValue(_swigarg0,_swigarg1))
9061 static PyObject
*_wrap_wxGrid_SetColLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9062 PyObject
* _resultobj
;
9066 PyObject
* _argo0
= 0;
9067 PyObject
* _obj2
= 0;
9068 char *_kwnames
[] = { "self","col","arg3", NULL
};
9071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxGrid_SetColLabelValue",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
9074 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9075 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9076 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetColLabelValue. Expected _wxGrid_p.");
9081 #if PYTHON_API_VERSION >= 1009
9082 char* tmpPtr
; int tmpSize
;
9083 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
9084 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
9087 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
9089 _arg2
= new wxString(tmpPtr
, tmpSize
);
9091 if (!PyString_Check(_obj2
)) {
9092 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9095 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
9099 wxPy_BEGIN_ALLOW_THREADS
;
9100 wxGrid_SetColLabelValue(_arg0
,_arg1
,*_arg2
);
9102 wxPy_END_ALLOW_THREADS
;
9103 } Py_INCREF(Py_None
);
9104 _resultobj
= Py_None
;
9112 #define wxGrid_SetGridLineColour(_swigobj,_swigarg0) (_swigobj->SetGridLineColour(_swigarg0))
9113 static PyObject
*_wrap_wxGrid_SetGridLineColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9114 PyObject
* _resultobj
;
9117 PyObject
* _argo0
= 0;
9119 PyObject
* _obj1
= 0;
9120 char *_kwnames
[] = { "self","arg2", NULL
};
9123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetGridLineColour",_kwnames
,&_argo0
,&_obj1
))
9126 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9127 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9128 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetGridLineColour. Expected _wxGrid_p.");
9134 if (! wxColour_helper(_obj1
, &_arg1
))
9138 wxPy_BEGIN_ALLOW_THREADS
;
9139 wxGrid_SetGridLineColour(_arg0
,*_arg1
);
9141 wxPy_END_ALLOW_THREADS
;
9142 } Py_INCREF(Py_None
);
9143 _resultobj
= Py_None
;
9147 #define wxGrid_SetCellHighlightColour(_swigobj,_swigarg0) (_swigobj->SetCellHighlightColour(_swigarg0))
9148 static PyObject
*_wrap_wxGrid_SetCellHighlightColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9149 PyObject
* _resultobj
;
9152 PyObject
* _argo0
= 0;
9154 PyObject
* _obj1
= 0;
9155 char *_kwnames
[] = { "self","arg2", NULL
};
9158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetCellHighlightColour",_kwnames
,&_argo0
,&_obj1
))
9161 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9162 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9163 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellHighlightColour. Expected _wxGrid_p.");
9169 if (! wxColour_helper(_obj1
, &_arg1
))
9173 wxPy_BEGIN_ALLOW_THREADS
;
9174 wxGrid_SetCellHighlightColour(_arg0
,*_arg1
);
9176 wxPy_END_ALLOW_THREADS
;
9177 } Py_INCREF(Py_None
);
9178 _resultobj
= Py_None
;
9182 #define wxGrid_EnableDragRowSize(_swigobj,_swigarg0) (_swigobj->EnableDragRowSize(_swigarg0))
9183 static PyObject
*_wrap_wxGrid_EnableDragRowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9184 PyObject
* _resultobj
;
9186 bool _arg1
= (bool ) TRUE
;
9187 PyObject
* _argo0
= 0;
9188 int tempbool1
= (int) TRUE
;
9189 char *_kwnames
[] = { "self","enable", NULL
};
9192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxGrid_EnableDragRowSize",_kwnames
,&_argo0
,&tempbool1
))
9195 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9196 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9197 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_EnableDragRowSize. Expected _wxGrid_p.");
9201 _arg1
= (bool ) tempbool1
;
9203 wxPy_BEGIN_ALLOW_THREADS
;
9204 wxGrid_EnableDragRowSize(_arg0
,_arg1
);
9206 wxPy_END_ALLOW_THREADS
;
9207 } Py_INCREF(Py_None
);
9208 _resultobj
= Py_None
;
9212 #define wxGrid_DisableDragRowSize(_swigobj) (_swigobj->DisableDragRowSize())
9213 static PyObject
*_wrap_wxGrid_DisableDragRowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9214 PyObject
* _resultobj
;
9216 PyObject
* _argo0
= 0;
9217 char *_kwnames
[] = { "self", NULL
};
9220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_DisableDragRowSize",_kwnames
,&_argo0
))
9223 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9224 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9225 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_DisableDragRowSize. Expected _wxGrid_p.");
9230 wxPy_BEGIN_ALLOW_THREADS
;
9231 wxGrid_DisableDragRowSize(_arg0
);
9233 wxPy_END_ALLOW_THREADS
;
9234 } Py_INCREF(Py_None
);
9235 _resultobj
= Py_None
;
9239 #define wxGrid_CanDragRowSize(_swigobj) (_swigobj->CanDragRowSize())
9240 static PyObject
*_wrap_wxGrid_CanDragRowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9241 PyObject
* _resultobj
;
9244 PyObject
* _argo0
= 0;
9245 char *_kwnames
[] = { "self", NULL
};
9248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_CanDragRowSize",_kwnames
,&_argo0
))
9251 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9252 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9253 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_CanDragRowSize. Expected _wxGrid_p.");
9258 wxPy_BEGIN_ALLOW_THREADS
;
9259 _result
= (bool )wxGrid_CanDragRowSize(_arg0
);
9261 wxPy_END_ALLOW_THREADS
;
9262 } _resultobj
= Py_BuildValue("i",_result
);
9266 #define wxGrid_EnableDragColSize(_swigobj,_swigarg0) (_swigobj->EnableDragColSize(_swigarg0))
9267 static PyObject
*_wrap_wxGrid_EnableDragColSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9268 PyObject
* _resultobj
;
9270 bool _arg1
= (bool ) TRUE
;
9271 PyObject
* _argo0
= 0;
9272 int tempbool1
= (int) TRUE
;
9273 char *_kwnames
[] = { "self","enable", NULL
};
9276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxGrid_EnableDragColSize",_kwnames
,&_argo0
,&tempbool1
))
9279 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9280 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9281 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_EnableDragColSize. Expected _wxGrid_p.");
9285 _arg1
= (bool ) tempbool1
;
9287 wxPy_BEGIN_ALLOW_THREADS
;
9288 wxGrid_EnableDragColSize(_arg0
,_arg1
);
9290 wxPy_END_ALLOW_THREADS
;
9291 } Py_INCREF(Py_None
);
9292 _resultobj
= Py_None
;
9296 #define wxGrid_DisableDragColSize(_swigobj) (_swigobj->DisableDragColSize())
9297 static PyObject
*_wrap_wxGrid_DisableDragColSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9298 PyObject
* _resultobj
;
9300 PyObject
* _argo0
= 0;
9301 char *_kwnames
[] = { "self", NULL
};
9304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_DisableDragColSize",_kwnames
,&_argo0
))
9307 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9308 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9309 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_DisableDragColSize. Expected _wxGrid_p.");
9314 wxPy_BEGIN_ALLOW_THREADS
;
9315 wxGrid_DisableDragColSize(_arg0
);
9317 wxPy_END_ALLOW_THREADS
;
9318 } Py_INCREF(Py_None
);
9319 _resultobj
= Py_None
;
9323 #define wxGrid_CanDragColSize(_swigobj) (_swigobj->CanDragColSize())
9324 static PyObject
*_wrap_wxGrid_CanDragColSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9325 PyObject
* _resultobj
;
9328 PyObject
* _argo0
= 0;
9329 char *_kwnames
[] = { "self", NULL
};
9332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_CanDragColSize",_kwnames
,&_argo0
))
9335 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9336 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9337 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_CanDragColSize. Expected _wxGrid_p.");
9342 wxPy_BEGIN_ALLOW_THREADS
;
9343 _result
= (bool )wxGrid_CanDragColSize(_arg0
);
9345 wxPy_END_ALLOW_THREADS
;
9346 } _resultobj
= Py_BuildValue("i",_result
);
9350 #define wxGrid_EnableDragGridSize(_swigobj,_swigarg0) (_swigobj->EnableDragGridSize(_swigarg0))
9351 static PyObject
*_wrap_wxGrid_EnableDragGridSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9352 PyObject
* _resultobj
;
9354 bool _arg1
= (bool ) TRUE
;
9355 PyObject
* _argo0
= 0;
9356 int tempbool1
= (int) TRUE
;
9357 char *_kwnames
[] = { "self","enable", NULL
};
9360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxGrid_EnableDragGridSize",_kwnames
,&_argo0
,&tempbool1
))
9363 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9364 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9365 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_EnableDragGridSize. Expected _wxGrid_p.");
9369 _arg1
= (bool ) tempbool1
;
9371 wxPy_BEGIN_ALLOW_THREADS
;
9372 wxGrid_EnableDragGridSize(_arg0
,_arg1
);
9374 wxPy_END_ALLOW_THREADS
;
9375 } Py_INCREF(Py_None
);
9376 _resultobj
= Py_None
;
9380 #define wxGrid_DisableDragGridSize(_swigobj) (_swigobj->DisableDragGridSize())
9381 static PyObject
*_wrap_wxGrid_DisableDragGridSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9382 PyObject
* _resultobj
;
9384 PyObject
* _argo0
= 0;
9385 char *_kwnames
[] = { "self", NULL
};
9388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_DisableDragGridSize",_kwnames
,&_argo0
))
9391 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9392 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9393 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_DisableDragGridSize. Expected _wxGrid_p.");
9398 wxPy_BEGIN_ALLOW_THREADS
;
9399 wxGrid_DisableDragGridSize(_arg0
);
9401 wxPy_END_ALLOW_THREADS
;
9402 } Py_INCREF(Py_None
);
9403 _resultobj
= Py_None
;
9407 #define wxGrid_CanDragGridSize(_swigobj) (_swigobj->CanDragGridSize())
9408 static PyObject
*_wrap_wxGrid_CanDragGridSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9409 PyObject
* _resultobj
;
9412 PyObject
* _argo0
= 0;
9413 char *_kwnames
[] = { "self", NULL
};
9416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_CanDragGridSize",_kwnames
,&_argo0
))
9419 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9420 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9421 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_CanDragGridSize. Expected _wxGrid_p.");
9426 wxPy_BEGIN_ALLOW_THREADS
;
9427 _result
= (bool )wxGrid_CanDragGridSize(_arg0
);
9429 wxPy_END_ALLOW_THREADS
;
9430 } _resultobj
= Py_BuildValue("i",_result
);
9434 #define wxGrid_SetRowAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowAttr(_swigarg0,_swigarg1))
9435 static PyObject
*_wrap_wxGrid_SetRowAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9436 PyObject
* _resultobj
;
9439 wxGridCellAttr
* _arg2
;
9440 PyObject
* _argo0
= 0;
9441 PyObject
* _argo2
= 0;
9442 char *_kwnames
[] = { "self","row","attr", NULL
};
9445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxGrid_SetRowAttr",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
9448 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9449 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9450 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetRowAttr. Expected _wxGrid_p.");
9455 if (_argo2
== Py_None
) { _arg2
= NULL
; }
9456 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGridCellAttr_p")) {
9457 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxGrid_SetRowAttr. Expected _wxGridCellAttr_p.");
9462 wxPy_BEGIN_ALLOW_THREADS
;
9463 wxGrid_SetRowAttr(_arg0
,_arg1
,_arg2
);
9465 wxPy_END_ALLOW_THREADS
;
9466 } Py_INCREF(Py_None
);
9467 _resultobj
= Py_None
;
9471 #define wxGrid_SetColAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColAttr(_swigarg0,_swigarg1))
9472 static PyObject
*_wrap_wxGrid_SetColAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9473 PyObject
* _resultobj
;
9476 wxGridCellAttr
* _arg2
;
9477 PyObject
* _argo0
= 0;
9478 PyObject
* _argo2
= 0;
9479 char *_kwnames
[] = { "self","col","attr", NULL
};
9482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxGrid_SetColAttr",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
9485 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9486 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9487 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetColAttr. Expected _wxGrid_p.");
9492 if (_argo2
== Py_None
) { _arg2
= NULL
; }
9493 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGridCellAttr_p")) {
9494 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxGrid_SetColAttr. Expected _wxGridCellAttr_p.");
9499 wxPy_BEGIN_ALLOW_THREADS
;
9500 wxGrid_SetColAttr(_arg0
,_arg1
,_arg2
);
9502 wxPy_END_ALLOW_THREADS
;
9503 } Py_INCREF(Py_None
);
9504 _resultobj
= Py_None
;
9508 #define wxGrid_SetColFormatBool(_swigobj,_swigarg0) (_swigobj->SetColFormatBool(_swigarg0))
9509 static PyObject
*_wrap_wxGrid_SetColFormatBool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9510 PyObject
* _resultobj
;
9513 PyObject
* _argo0
= 0;
9514 char *_kwnames
[] = { "self","col", NULL
};
9517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_SetColFormatBool",_kwnames
,&_argo0
,&_arg1
))
9520 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9521 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9522 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetColFormatBool. Expected _wxGrid_p.");
9527 wxPy_BEGIN_ALLOW_THREADS
;
9528 wxGrid_SetColFormatBool(_arg0
,_arg1
);
9530 wxPy_END_ALLOW_THREADS
;
9531 } Py_INCREF(Py_None
);
9532 _resultobj
= Py_None
;
9536 #define wxGrid_SetColFormatNumber(_swigobj,_swigarg0) (_swigobj->SetColFormatNumber(_swigarg0))
9537 static PyObject
*_wrap_wxGrid_SetColFormatNumber(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9538 PyObject
* _resultobj
;
9541 PyObject
* _argo0
= 0;
9542 char *_kwnames
[] = { "self","col", NULL
};
9545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_SetColFormatNumber",_kwnames
,&_argo0
,&_arg1
))
9548 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9549 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9550 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetColFormatNumber. Expected _wxGrid_p.");
9555 wxPy_BEGIN_ALLOW_THREADS
;
9556 wxGrid_SetColFormatNumber(_arg0
,_arg1
);
9558 wxPy_END_ALLOW_THREADS
;
9559 } Py_INCREF(Py_None
);
9560 _resultobj
= Py_None
;
9564 #define wxGrid_SetColFormatFloat(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetColFormatFloat(_swigarg0,_swigarg1,_swigarg2))
9565 static PyObject
*_wrap_wxGrid_SetColFormatFloat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9566 PyObject
* _resultobj
;
9569 int _arg2
= (int ) -1;
9570 int _arg3
= (int ) -1;
9571 PyObject
* _argo0
= 0;
9572 char *_kwnames
[] = { "self","col","width","precision", NULL
};
9575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|ii:wxGrid_SetColFormatFloat",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
9578 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9579 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9580 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetColFormatFloat. Expected _wxGrid_p.");
9585 wxPy_BEGIN_ALLOW_THREADS
;
9586 wxGrid_SetColFormatFloat(_arg0
,_arg1
,_arg2
,_arg3
);
9588 wxPy_END_ALLOW_THREADS
;
9589 } Py_INCREF(Py_None
);
9590 _resultobj
= Py_None
;
9594 #define wxGrid_SetColFormatCustom(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColFormatCustom(_swigarg0,_swigarg1))
9595 static PyObject
*_wrap_wxGrid_SetColFormatCustom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9596 PyObject
* _resultobj
;
9600 PyObject
* _argo0
= 0;
9601 PyObject
* _obj2
= 0;
9602 char *_kwnames
[] = { "self","col","typeName", NULL
};
9605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxGrid_SetColFormatCustom",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
9608 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9609 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9610 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetColFormatCustom. Expected _wxGrid_p.");
9615 #if PYTHON_API_VERSION >= 1009
9616 char* tmpPtr
; int tmpSize
;
9617 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
9618 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
9621 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
9623 _arg2
= new wxString(tmpPtr
, tmpSize
);
9625 if (!PyString_Check(_obj2
)) {
9626 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9629 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
9633 wxPy_BEGIN_ALLOW_THREADS
;
9634 wxGrid_SetColFormatCustom(_arg0
,_arg1
,*_arg2
);
9636 wxPy_END_ALLOW_THREADS
;
9637 } Py_INCREF(Py_None
);
9638 _resultobj
= Py_None
;
9646 #define wxGrid_EnableGridLines(_swigobj,_swigarg0) (_swigobj->EnableGridLines(_swigarg0))
9647 static PyObject
*_wrap_wxGrid_EnableGridLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9648 PyObject
* _resultobj
;
9650 bool _arg1
= (bool ) TRUE
;
9651 PyObject
* _argo0
= 0;
9652 int tempbool1
= (int) TRUE
;
9653 char *_kwnames
[] = { "self","enable", NULL
};
9656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxGrid_EnableGridLines",_kwnames
,&_argo0
,&tempbool1
))
9659 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9660 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9661 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_EnableGridLines. Expected _wxGrid_p.");
9665 _arg1
= (bool ) tempbool1
;
9667 wxPy_BEGIN_ALLOW_THREADS
;
9668 wxGrid_EnableGridLines(_arg0
,_arg1
);
9670 wxPy_END_ALLOW_THREADS
;
9671 } Py_INCREF(Py_None
);
9672 _resultobj
= Py_None
;
9676 #define wxGrid_GridLinesEnabled(_swigobj) (_swigobj->GridLinesEnabled())
9677 static PyObject
*_wrap_wxGrid_GridLinesEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9678 PyObject
* _resultobj
;
9681 PyObject
* _argo0
= 0;
9682 char *_kwnames
[] = { "self", NULL
};
9685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GridLinesEnabled",_kwnames
,&_argo0
))
9688 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9689 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9690 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GridLinesEnabled. Expected _wxGrid_p.");
9695 wxPy_BEGIN_ALLOW_THREADS
;
9696 _result
= (bool )wxGrid_GridLinesEnabled(_arg0
);
9698 wxPy_END_ALLOW_THREADS
;
9699 } _resultobj
= Py_BuildValue("i",_result
);
9703 #define wxGrid_GetDefaultRowSize(_swigobj) (_swigobj->GetDefaultRowSize())
9704 static PyObject
*_wrap_wxGrid_GetDefaultRowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9705 PyObject
* _resultobj
;
9708 PyObject
* _argo0
= 0;
9709 char *_kwnames
[] = { "self", NULL
};
9712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetDefaultRowSize",_kwnames
,&_argo0
))
9715 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9716 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9717 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultRowSize. Expected _wxGrid_p.");
9722 wxPy_BEGIN_ALLOW_THREADS
;
9723 _result
= (int )wxGrid_GetDefaultRowSize(_arg0
);
9725 wxPy_END_ALLOW_THREADS
;
9726 } _resultobj
= Py_BuildValue("i",_result
);
9730 #define wxGrid_GetRowSize(_swigobj,_swigarg0) (_swigobj->GetRowSize(_swigarg0))
9731 static PyObject
*_wrap_wxGrid_GetRowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9732 PyObject
* _resultobj
;
9736 PyObject
* _argo0
= 0;
9737 char *_kwnames
[] = { "self","row", NULL
};
9740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_GetRowSize",_kwnames
,&_argo0
,&_arg1
))
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_GetRowSize. Expected _wxGrid_p.");
9750 wxPy_BEGIN_ALLOW_THREADS
;
9751 _result
= (int )wxGrid_GetRowSize(_arg0
,_arg1
);
9753 wxPy_END_ALLOW_THREADS
;
9754 } _resultobj
= Py_BuildValue("i",_result
);
9758 #define wxGrid_GetDefaultColSize(_swigobj) (_swigobj->GetDefaultColSize())
9759 static PyObject
*_wrap_wxGrid_GetDefaultColSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9760 PyObject
* _resultobj
;
9763 PyObject
* _argo0
= 0;
9764 char *_kwnames
[] = { "self", NULL
};
9767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetDefaultColSize",_kwnames
,&_argo0
))
9770 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9771 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9772 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultColSize. Expected _wxGrid_p.");
9777 wxPy_BEGIN_ALLOW_THREADS
;
9778 _result
= (int )wxGrid_GetDefaultColSize(_arg0
);
9780 wxPy_END_ALLOW_THREADS
;
9781 } _resultobj
= Py_BuildValue("i",_result
);
9785 #define wxGrid_GetColSize(_swigobj,_swigarg0) (_swigobj->GetColSize(_swigarg0))
9786 static PyObject
*_wrap_wxGrid_GetColSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9787 PyObject
* _resultobj
;
9791 PyObject
* _argo0
= 0;
9792 char *_kwnames
[] = { "self","col", NULL
};
9795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_GetColSize",_kwnames
,&_argo0
,&_arg1
))
9798 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9799 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9800 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetColSize. Expected _wxGrid_p.");
9805 wxPy_BEGIN_ALLOW_THREADS
;
9806 _result
= (int )wxGrid_GetColSize(_arg0
,_arg1
);
9808 wxPy_END_ALLOW_THREADS
;
9809 } _resultobj
= Py_BuildValue("i",_result
);
9813 #define wxGrid_GetDefaultCellBackgroundColour(_swigobj) (_swigobj->GetDefaultCellBackgroundColour())
9814 static PyObject
*_wrap_wxGrid_GetDefaultCellBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9815 PyObject
* _resultobj
;
9818 PyObject
* _argo0
= 0;
9819 char *_kwnames
[] = { "self", NULL
};
9823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetDefaultCellBackgroundColour",_kwnames
,&_argo0
))
9826 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9827 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9828 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultCellBackgroundColour. Expected _wxGrid_p.");
9833 wxPy_BEGIN_ALLOW_THREADS
;
9834 _result
= new wxColour (wxGrid_GetDefaultCellBackgroundColour(_arg0
));
9836 wxPy_END_ALLOW_THREADS
;
9837 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
9838 _resultobj
= Py_BuildValue("s",_ptemp
);
9842 #define wxGrid_GetCellBackgroundColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellBackgroundColour(_swigarg0,_swigarg1))
9843 static PyObject
*_wrap_wxGrid_GetCellBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9844 PyObject
* _resultobj
;
9849 PyObject
* _argo0
= 0;
9850 char *_kwnames
[] = { "self","row","col", NULL
};
9854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_GetCellBackgroundColour",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
9857 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9858 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9859 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellBackgroundColour. Expected _wxGrid_p.");
9864 wxPy_BEGIN_ALLOW_THREADS
;
9865 _result
= new wxColour (wxGrid_GetCellBackgroundColour(_arg0
,_arg1
,_arg2
));
9867 wxPy_END_ALLOW_THREADS
;
9868 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
9869 _resultobj
= Py_BuildValue("s",_ptemp
);
9873 #define wxGrid_GetDefaultCellTextColour(_swigobj) (_swigobj->GetDefaultCellTextColour())
9874 static PyObject
*_wrap_wxGrid_GetDefaultCellTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9875 PyObject
* _resultobj
;
9878 PyObject
* _argo0
= 0;
9879 char *_kwnames
[] = { "self", NULL
};
9883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetDefaultCellTextColour",_kwnames
,&_argo0
))
9886 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9887 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9888 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultCellTextColour. Expected _wxGrid_p.");
9893 wxPy_BEGIN_ALLOW_THREADS
;
9894 _result
= new wxColour (wxGrid_GetDefaultCellTextColour(_arg0
));
9896 wxPy_END_ALLOW_THREADS
;
9897 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
9898 _resultobj
= Py_BuildValue("s",_ptemp
);
9902 #define wxGrid_GetCellTextColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellTextColour(_swigarg0,_swigarg1))
9903 static PyObject
*_wrap_wxGrid_GetCellTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9904 PyObject
* _resultobj
;
9909 PyObject
* _argo0
= 0;
9910 char *_kwnames
[] = { "self","row","col", NULL
};
9914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_GetCellTextColour",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
9917 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9918 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9919 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellTextColour. Expected _wxGrid_p.");
9924 wxPy_BEGIN_ALLOW_THREADS
;
9925 _result
= new wxColour (wxGrid_GetCellTextColour(_arg0
,_arg1
,_arg2
));
9927 wxPy_END_ALLOW_THREADS
;
9928 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
9929 _resultobj
= Py_BuildValue("s",_ptemp
);
9933 #define wxGrid_GetDefaultCellFont(_swigobj) (_swigobj->GetDefaultCellFont())
9934 static PyObject
*_wrap_wxGrid_GetDefaultCellFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9935 PyObject
* _resultobj
;
9938 PyObject
* _argo0
= 0;
9939 char *_kwnames
[] = { "self", NULL
};
9943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetDefaultCellFont",_kwnames
,&_argo0
))
9946 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9947 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9948 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultCellFont. Expected _wxGrid_p.");
9953 wxPy_BEGIN_ALLOW_THREADS
;
9954 _result
= new wxFont (wxGrid_GetDefaultCellFont(_arg0
));
9956 wxPy_END_ALLOW_THREADS
;
9957 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
9958 _resultobj
= Py_BuildValue("s",_ptemp
);
9962 #define wxGrid_GetCellFont(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellFont(_swigarg0,_swigarg1))
9963 static PyObject
*_wrap_wxGrid_GetCellFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9964 PyObject
* _resultobj
;
9969 PyObject
* _argo0
= 0;
9970 char *_kwnames
[] = { "self","row","col", NULL
};
9974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_GetCellFont",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
9977 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9978 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9979 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellFont. Expected _wxGrid_p.");
9984 wxPy_BEGIN_ALLOW_THREADS
;
9985 _result
= new wxFont (wxGrid_GetCellFont(_arg0
,_arg1
,_arg2
));
9987 wxPy_END_ALLOW_THREADS
;
9988 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
9989 _resultobj
= Py_BuildValue("s",_ptemp
);
9993 #define wxGrid_GetDefaultCellAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetDefaultCellAlignment(_swigarg0,_swigarg1))
9994 static PyObject
*_wrap_wxGrid_GetDefaultCellAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9995 PyObject
* _resultobj
;
9999 PyObject
* _argo0
= 0;
10000 PyObject
* _argo1
= 0;
10001 PyObject
* _argo2
= 0;
10002 char *_kwnames
[] = { "self","horiz","vert", NULL
};
10005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxGrid_GetDefaultCellAlignment",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
10008 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10009 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10010 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultCellAlignment. Expected _wxGrid_p.");
10015 if (_argo1
== Py_None
) { _arg1
= NULL
; }
10016 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_int_p")) {
10017 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_GetDefaultCellAlignment. Expected _int_p.");
10022 if (_argo2
== Py_None
) { _arg2
= NULL
; }
10023 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_int_p")) {
10024 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxGrid_GetDefaultCellAlignment. Expected _int_p.");
10029 wxPy_BEGIN_ALLOW_THREADS
;
10030 wxGrid_GetDefaultCellAlignment(_arg0
,_arg1
,_arg2
);
10032 wxPy_END_ALLOW_THREADS
;
10033 } Py_INCREF(Py_None
);
10034 _resultobj
= Py_None
;
10038 #define wxGrid_GetCellAlignment(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetCellAlignment(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
10039 static PyObject
*_wrap_wxGrid_GetCellAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10040 PyObject
* _resultobj
;
10046 PyObject
* _argo0
= 0;
10047 PyObject
* _argo3
= 0;
10048 PyObject
* _argo4
= 0;
10049 char *_kwnames
[] = { "self","row","col","horiz","vert", NULL
};
10052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiOO:wxGrid_GetCellAlignment",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_argo3
,&_argo4
))
10055 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10056 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10057 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellAlignment. Expected _wxGrid_p.");
10062 if (_argo3
== Py_None
) { _arg3
= NULL
; }
10063 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_int_p")) {
10064 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGrid_GetCellAlignment. Expected _int_p.");
10069 if (_argo4
== Py_None
) { _arg4
= NULL
; }
10070 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_int_p")) {
10071 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxGrid_GetCellAlignment. Expected _int_p.");
10076 wxPy_BEGIN_ALLOW_THREADS
;
10077 wxGrid_GetCellAlignment(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
10079 wxPy_END_ALLOW_THREADS
;
10080 } Py_INCREF(Py_None
);
10081 _resultobj
= Py_None
;
10085 #define wxGrid_SetDefaultRowSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDefaultRowSize(_swigarg0,_swigarg1))
10086 static PyObject
*_wrap_wxGrid_SetDefaultRowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10087 PyObject
* _resultobj
;
10090 bool _arg2
= (bool ) FALSE
;
10091 PyObject
* _argo0
= 0;
10092 int tempbool2
= (int) FALSE
;
10093 char *_kwnames
[] = { "self","height","resizeExistingRows", NULL
};
10096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxGrid_SetDefaultRowSize",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
10099 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10100 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10101 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetDefaultRowSize. Expected _wxGrid_p.");
10105 _arg2
= (bool ) tempbool2
;
10107 wxPy_BEGIN_ALLOW_THREADS
;
10108 wxGrid_SetDefaultRowSize(_arg0
,_arg1
,_arg2
);
10110 wxPy_END_ALLOW_THREADS
;
10111 } Py_INCREF(Py_None
);
10112 _resultobj
= Py_None
;
10116 #define wxGrid_SetRowSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowSize(_swigarg0,_swigarg1))
10117 static PyObject
*_wrap_wxGrid_SetRowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10118 PyObject
* _resultobj
;
10122 PyObject
* _argo0
= 0;
10123 char *_kwnames
[] = { "self","row","height", NULL
};
10126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_SetRowSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
10129 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10130 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10131 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetRowSize. Expected _wxGrid_p.");
10136 wxPy_BEGIN_ALLOW_THREADS
;
10137 wxGrid_SetRowSize(_arg0
,_arg1
,_arg2
);
10139 wxPy_END_ALLOW_THREADS
;
10140 } Py_INCREF(Py_None
);
10141 _resultobj
= Py_None
;
10145 #define wxGrid_SetDefaultColSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDefaultColSize(_swigarg0,_swigarg1))
10146 static PyObject
*_wrap_wxGrid_SetDefaultColSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10147 PyObject
* _resultobj
;
10150 bool _arg2
= (bool ) FALSE
;
10151 PyObject
* _argo0
= 0;
10152 int tempbool2
= (int) FALSE
;
10153 char *_kwnames
[] = { "self","width","resizeExistingCols", NULL
};
10156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxGrid_SetDefaultColSize",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
10159 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10160 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10161 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetDefaultColSize. Expected _wxGrid_p.");
10165 _arg2
= (bool ) tempbool2
;
10167 wxPy_BEGIN_ALLOW_THREADS
;
10168 wxGrid_SetDefaultColSize(_arg0
,_arg1
,_arg2
);
10170 wxPy_END_ALLOW_THREADS
;
10171 } Py_INCREF(Py_None
);
10172 _resultobj
= Py_None
;
10176 #define wxGrid_SetColSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColSize(_swigarg0,_swigarg1))
10177 static PyObject
*_wrap_wxGrid_SetColSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10178 PyObject
* _resultobj
;
10182 PyObject
* _argo0
= 0;
10183 char *_kwnames
[] = { "self","col","width", NULL
};
10186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_SetColSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
10189 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10190 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10191 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetColSize. Expected _wxGrid_p.");
10196 wxPy_BEGIN_ALLOW_THREADS
;
10197 wxGrid_SetColSize(_arg0
,_arg1
,_arg2
);
10199 wxPy_END_ALLOW_THREADS
;
10200 } Py_INCREF(Py_None
);
10201 _resultobj
= Py_None
;
10205 #define wxGrid_AutoSizeColumn(_swigobj,_swigarg0,_swigarg1) (_swigobj->AutoSizeColumn(_swigarg0,_swigarg1))
10206 static PyObject
*_wrap_wxGrid_AutoSizeColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10207 PyObject
* _resultobj
;
10210 bool _arg2
= (bool ) TRUE
;
10211 PyObject
* _argo0
= 0;
10212 int tempbool2
= (int) TRUE
;
10213 char *_kwnames
[] = { "self","col","setAsMin", NULL
};
10216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxGrid_AutoSizeColumn",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
10219 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10220 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10221 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_AutoSizeColumn. Expected _wxGrid_p.");
10225 _arg2
= (bool ) tempbool2
;
10227 wxPy_BEGIN_ALLOW_THREADS
;
10228 wxGrid_AutoSizeColumn(_arg0
,_arg1
,_arg2
);
10230 wxPy_END_ALLOW_THREADS
;
10231 } Py_INCREF(Py_None
);
10232 _resultobj
= Py_None
;
10236 #define wxGrid_AutoSizeRow(_swigobj,_swigarg0,_swigarg1) (_swigobj->AutoSizeRow(_swigarg0,_swigarg1))
10237 static PyObject
*_wrap_wxGrid_AutoSizeRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10238 PyObject
* _resultobj
;
10241 bool _arg2
= (bool ) TRUE
;
10242 PyObject
* _argo0
= 0;
10243 int tempbool2
= (int) TRUE
;
10244 char *_kwnames
[] = { "self","row","setAsMin", NULL
};
10247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxGrid_AutoSizeRow",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
10250 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10251 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10252 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_AutoSizeRow. Expected _wxGrid_p.");
10256 _arg2
= (bool ) tempbool2
;
10258 wxPy_BEGIN_ALLOW_THREADS
;
10259 wxGrid_AutoSizeRow(_arg0
,_arg1
,_arg2
);
10261 wxPy_END_ALLOW_THREADS
;
10262 } Py_INCREF(Py_None
);
10263 _resultobj
= Py_None
;
10267 #define wxGrid_AutoSizeColumns(_swigobj,_swigarg0) (_swigobj->AutoSizeColumns(_swigarg0))
10268 static PyObject
*_wrap_wxGrid_AutoSizeColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10269 PyObject
* _resultobj
;
10271 bool _arg1
= (bool ) TRUE
;
10272 PyObject
* _argo0
= 0;
10273 int tempbool1
= (int) TRUE
;
10274 char *_kwnames
[] = { "self","setAsMin", NULL
};
10277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxGrid_AutoSizeColumns",_kwnames
,&_argo0
,&tempbool1
))
10280 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10281 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10282 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_AutoSizeColumns. Expected _wxGrid_p.");
10286 _arg1
= (bool ) tempbool1
;
10288 wxPy_BEGIN_ALLOW_THREADS
;
10289 wxGrid_AutoSizeColumns(_arg0
,_arg1
);
10291 wxPy_END_ALLOW_THREADS
;
10292 } Py_INCREF(Py_None
);
10293 _resultobj
= Py_None
;
10297 #define wxGrid_AutoSizeRows(_swigobj,_swigarg0) (_swigobj->AutoSizeRows(_swigarg0))
10298 static PyObject
*_wrap_wxGrid_AutoSizeRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10299 PyObject
* _resultobj
;
10301 bool _arg1
= (bool ) TRUE
;
10302 PyObject
* _argo0
= 0;
10303 int tempbool1
= (int) TRUE
;
10304 char *_kwnames
[] = { "self","setAsMin", NULL
};
10307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxGrid_AutoSizeRows",_kwnames
,&_argo0
,&tempbool1
))
10310 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10311 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10312 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_AutoSizeRows. Expected _wxGrid_p.");
10316 _arg1
= (bool ) tempbool1
;
10318 wxPy_BEGIN_ALLOW_THREADS
;
10319 wxGrid_AutoSizeRows(_arg0
,_arg1
);
10321 wxPy_END_ALLOW_THREADS
;
10322 } Py_INCREF(Py_None
);
10323 _resultobj
= Py_None
;
10327 #define wxGrid_AutoSize(_swigobj) (_swigobj->AutoSize())
10328 static PyObject
*_wrap_wxGrid_AutoSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10329 PyObject
* _resultobj
;
10331 PyObject
* _argo0
= 0;
10332 char *_kwnames
[] = { "self", NULL
};
10335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_AutoSize",_kwnames
,&_argo0
))
10338 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10339 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10340 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_AutoSize. Expected _wxGrid_p.");
10345 wxPy_BEGIN_ALLOW_THREADS
;
10346 wxGrid_AutoSize(_arg0
);
10348 wxPy_END_ALLOW_THREADS
;
10349 } Py_INCREF(Py_None
);
10350 _resultobj
= Py_None
;
10354 #define wxGrid_SetColMinimalWidth(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColMinimalWidth(_swigarg0,_swigarg1))
10355 static PyObject
*_wrap_wxGrid_SetColMinimalWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10356 PyObject
* _resultobj
;
10360 PyObject
* _argo0
= 0;
10361 char *_kwnames
[] = { "self","col","width", NULL
};
10364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_SetColMinimalWidth",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
10367 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10368 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10369 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetColMinimalWidth. Expected _wxGrid_p.");
10374 wxPy_BEGIN_ALLOW_THREADS
;
10375 wxGrid_SetColMinimalWidth(_arg0
,_arg1
,_arg2
);
10377 wxPy_END_ALLOW_THREADS
;
10378 } Py_INCREF(Py_None
);
10379 _resultobj
= Py_None
;
10383 #define wxGrid_SetRowMinimalHeight(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowMinimalHeight(_swigarg0,_swigarg1))
10384 static PyObject
*_wrap_wxGrid_SetRowMinimalHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10385 PyObject
* _resultobj
;
10389 PyObject
* _argo0
= 0;
10390 char *_kwnames
[] = { "self","row","width", NULL
};
10393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_SetRowMinimalHeight",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
10396 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10397 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10398 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetRowMinimalHeight. Expected _wxGrid_p.");
10403 wxPy_BEGIN_ALLOW_THREADS
;
10404 wxGrid_SetRowMinimalHeight(_arg0
,_arg1
,_arg2
);
10406 wxPy_END_ALLOW_THREADS
;
10407 } Py_INCREF(Py_None
);
10408 _resultobj
= Py_None
;
10412 #define wxGrid_SetDefaultCellBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetDefaultCellBackgroundColour(_swigarg0))
10413 static PyObject
*_wrap_wxGrid_SetDefaultCellBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10414 PyObject
* _resultobj
;
10417 PyObject
* _argo0
= 0;
10419 PyObject
* _obj1
= 0;
10420 char *_kwnames
[] = { "self","arg2", NULL
};
10423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetDefaultCellBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
10426 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10427 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10428 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetDefaultCellBackgroundColour. Expected _wxGrid_p.");
10434 if (! wxColour_helper(_obj1
, &_arg1
))
10438 wxPy_BEGIN_ALLOW_THREADS
;
10439 wxGrid_SetDefaultCellBackgroundColour(_arg0
,*_arg1
);
10441 wxPy_END_ALLOW_THREADS
;
10442 } Py_INCREF(Py_None
);
10443 _resultobj
= Py_None
;
10447 #define wxGrid_SetCellBackgroundColour(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellBackgroundColour(_swigarg0,_swigarg1,_swigarg2))
10448 static PyObject
*_wrap_wxGrid_SetCellBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10449 PyObject
* _resultobj
;
10454 PyObject
* _argo0
= 0;
10456 PyObject
* _obj3
= 0;
10457 char *_kwnames
[] = { "self","row","col","arg4", NULL
};
10460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxGrid_SetCellBackgroundColour",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
10463 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10464 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10465 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellBackgroundColour. Expected _wxGrid_p.");
10471 if (! wxColour_helper(_obj3
, &_arg3
))
10475 wxPy_BEGIN_ALLOW_THREADS
;
10476 wxGrid_SetCellBackgroundColour(_arg0
,_arg1
,_arg2
,*_arg3
);
10478 wxPy_END_ALLOW_THREADS
;
10479 } Py_INCREF(Py_None
);
10480 _resultobj
= Py_None
;
10484 #define wxGrid_SetDefaultCellTextColour(_swigobj,_swigarg0) (_swigobj->SetDefaultCellTextColour(_swigarg0))
10485 static PyObject
*_wrap_wxGrid_SetDefaultCellTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10486 PyObject
* _resultobj
;
10489 PyObject
* _argo0
= 0;
10491 PyObject
* _obj1
= 0;
10492 char *_kwnames
[] = { "self","arg2", NULL
};
10495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetDefaultCellTextColour",_kwnames
,&_argo0
,&_obj1
))
10498 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10499 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10500 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetDefaultCellTextColour. Expected _wxGrid_p.");
10506 if (! wxColour_helper(_obj1
, &_arg1
))
10510 wxPy_BEGIN_ALLOW_THREADS
;
10511 wxGrid_SetDefaultCellTextColour(_arg0
,*_arg1
);
10513 wxPy_END_ALLOW_THREADS
;
10514 } Py_INCREF(Py_None
);
10515 _resultobj
= Py_None
;
10519 #define wxGrid_SetCellTextColour(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellTextColour(_swigarg0,_swigarg1,_swigarg2))
10520 static PyObject
*_wrap_wxGrid_SetCellTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10521 PyObject
* _resultobj
;
10526 PyObject
* _argo0
= 0;
10528 PyObject
* _obj3
= 0;
10529 char *_kwnames
[] = { "self","row","col","arg4", NULL
};
10532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxGrid_SetCellTextColour",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
10535 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10536 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10537 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellTextColour. Expected _wxGrid_p.");
10543 if (! wxColour_helper(_obj3
, &_arg3
))
10547 wxPy_BEGIN_ALLOW_THREADS
;
10548 wxGrid_SetCellTextColour(_arg0
,_arg1
,_arg2
,*_arg3
);
10550 wxPy_END_ALLOW_THREADS
;
10551 } Py_INCREF(Py_None
);
10552 _resultobj
= Py_None
;
10556 #define wxGrid_SetDefaultCellFont(_swigobj,_swigarg0) (_swigobj->SetDefaultCellFont(_swigarg0))
10557 static PyObject
*_wrap_wxGrid_SetDefaultCellFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10558 PyObject
* _resultobj
;
10561 PyObject
* _argo0
= 0;
10562 PyObject
* _argo1
= 0;
10563 char *_kwnames
[] = { "self","arg2", NULL
};
10566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetDefaultCellFont",_kwnames
,&_argo0
,&_argo1
))
10569 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10570 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10571 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetDefaultCellFont. Expected _wxGrid_p.");
10576 if (_argo1
== Py_None
) { _arg1
= NULL
; }
10577 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
10578 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_SetDefaultCellFont. Expected _wxFont_p.");
10583 wxPy_BEGIN_ALLOW_THREADS
;
10584 wxGrid_SetDefaultCellFont(_arg0
,*_arg1
);
10586 wxPy_END_ALLOW_THREADS
;
10587 } Py_INCREF(Py_None
);
10588 _resultobj
= Py_None
;
10592 #define wxGrid_SetCellFont(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellFont(_swigarg0,_swigarg1,_swigarg2))
10593 static PyObject
*_wrap_wxGrid_SetCellFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10594 PyObject
* _resultobj
;
10599 PyObject
* _argo0
= 0;
10600 PyObject
* _argo3
= 0;
10601 char *_kwnames
[] = { "self","row","col","arg4", NULL
};
10604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxGrid_SetCellFont",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_argo3
))
10607 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10608 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10609 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellFont. Expected _wxGrid_p.");
10614 if (_argo3
== Py_None
) { _arg3
= NULL
; }
10615 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxFont_p")) {
10616 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGrid_SetCellFont. Expected _wxFont_p.");
10621 wxPy_BEGIN_ALLOW_THREADS
;
10622 wxGrid_SetCellFont(_arg0
,_arg1
,_arg2
,*_arg3
);
10624 wxPy_END_ALLOW_THREADS
;
10625 } Py_INCREF(Py_None
);
10626 _resultobj
= Py_None
;
10630 #define wxGrid_SetDefaultCellAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDefaultCellAlignment(_swigarg0,_swigarg1))
10631 static PyObject
*_wrap_wxGrid_SetDefaultCellAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10632 PyObject
* _resultobj
;
10636 PyObject
* _argo0
= 0;
10637 char *_kwnames
[] = { "self","horiz","vert", NULL
};
10640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_SetDefaultCellAlignment",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
10643 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10644 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10645 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetDefaultCellAlignment. Expected _wxGrid_p.");
10650 wxPy_BEGIN_ALLOW_THREADS
;
10651 wxGrid_SetDefaultCellAlignment(_arg0
,_arg1
,_arg2
);
10653 wxPy_END_ALLOW_THREADS
;
10654 } Py_INCREF(Py_None
);
10655 _resultobj
= Py_None
;
10659 #define wxGrid_SetCellAlignment(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetCellAlignment(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
10660 static PyObject
*_wrap_wxGrid_SetCellAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10661 PyObject
* _resultobj
;
10667 PyObject
* _argo0
= 0;
10668 char *_kwnames
[] = { "self","row","col","horiz","vert", NULL
};
10671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii:wxGrid_SetCellAlignment",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
10674 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10675 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10676 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellAlignment. Expected _wxGrid_p.");
10681 wxPy_BEGIN_ALLOW_THREADS
;
10682 wxGrid_SetCellAlignment(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
10684 wxPy_END_ALLOW_THREADS
;
10685 } Py_INCREF(Py_None
);
10686 _resultobj
= Py_None
;
10690 #define wxGrid_SetDefaultRenderer(_swigobj,_swigarg0) (_swigobj->SetDefaultRenderer(_swigarg0))
10691 static PyObject
*_wrap_wxGrid_SetDefaultRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10692 PyObject
* _resultobj
;
10694 wxGridCellRenderer
* _arg1
;
10695 PyObject
* _argo0
= 0;
10696 PyObject
* _argo1
= 0;
10697 char *_kwnames
[] = { "self","renderer", NULL
};
10700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetDefaultRenderer",_kwnames
,&_argo0
,&_argo1
))
10703 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10704 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10705 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetDefaultRenderer. Expected _wxGrid_p.");
10710 if (_argo1
== Py_None
) { _arg1
= NULL
; }
10711 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellRenderer_p")) {
10712 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_SetDefaultRenderer. Expected _wxGridCellRenderer_p.");
10717 wxPy_BEGIN_ALLOW_THREADS
;
10718 wxGrid_SetDefaultRenderer(_arg0
,_arg1
);
10720 wxPy_END_ALLOW_THREADS
;
10721 } Py_INCREF(Py_None
);
10722 _resultobj
= Py_None
;
10726 #define wxGrid_SetCellRenderer(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellRenderer(_swigarg0,_swigarg1,_swigarg2))
10727 static PyObject
*_wrap_wxGrid_SetCellRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10728 PyObject
* _resultobj
;
10732 wxGridCellRenderer
* _arg3
;
10733 PyObject
* _argo0
= 0;
10734 PyObject
* _argo3
= 0;
10735 char *_kwnames
[] = { "self","row","col","renderer", NULL
};
10738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxGrid_SetCellRenderer",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_argo3
))
10741 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10742 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10743 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellRenderer. Expected _wxGrid_p.");
10748 if (_argo3
== Py_None
) { _arg3
= NULL
; }
10749 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxGridCellRenderer_p")) {
10750 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGrid_SetCellRenderer. Expected _wxGridCellRenderer_p.");
10755 wxPy_BEGIN_ALLOW_THREADS
;
10756 wxGrid_SetCellRenderer(_arg0
,_arg1
,_arg2
,_arg3
);
10758 wxPy_END_ALLOW_THREADS
;
10759 } Py_INCREF(Py_None
);
10760 _resultobj
= Py_None
;
10764 #define wxGrid_GetDefaultRenderer(_swigobj) (_swigobj->GetDefaultRenderer())
10765 static PyObject
*_wrap_wxGrid_GetDefaultRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10766 PyObject
* _resultobj
;
10767 wxGridCellRenderer
* _result
;
10769 PyObject
* _argo0
= 0;
10770 char *_kwnames
[] = { "self", NULL
};
10774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetDefaultRenderer",_kwnames
,&_argo0
))
10777 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10778 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10779 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultRenderer. Expected _wxGrid_p.");
10784 wxPy_BEGIN_ALLOW_THREADS
;
10785 _result
= (wxGridCellRenderer
*)wxGrid_GetDefaultRenderer(_arg0
);
10787 wxPy_END_ALLOW_THREADS
;
10789 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellRenderer_p");
10790 _resultobj
= Py_BuildValue("s",_ptemp
);
10792 Py_INCREF(Py_None
);
10793 _resultobj
= Py_None
;
10798 #define wxGrid_GetCellRenderer(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellRenderer(_swigarg0,_swigarg1))
10799 static PyObject
*_wrap_wxGrid_GetCellRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10800 PyObject
* _resultobj
;
10801 wxGridCellRenderer
* _result
;
10805 PyObject
* _argo0
= 0;
10806 char *_kwnames
[] = { "self","row","col", NULL
};
10810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_GetCellRenderer",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
10813 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10814 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10815 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellRenderer. Expected _wxGrid_p.");
10820 wxPy_BEGIN_ALLOW_THREADS
;
10821 _result
= (wxGridCellRenderer
*)wxGrid_GetCellRenderer(_arg0
,_arg1
,_arg2
);
10823 wxPy_END_ALLOW_THREADS
;
10825 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellRenderer_p");
10826 _resultobj
= Py_BuildValue("s",_ptemp
);
10828 Py_INCREF(Py_None
);
10829 _resultobj
= Py_None
;
10834 #define wxGrid_SetDefaultEditor(_swigobj,_swigarg0) (_swigobj->SetDefaultEditor(_swigarg0))
10835 static PyObject
*_wrap_wxGrid_SetDefaultEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10836 PyObject
* _resultobj
;
10838 wxGridCellEditor
* _arg1
;
10839 PyObject
* _argo0
= 0;
10840 PyObject
* _argo1
= 0;
10841 char *_kwnames
[] = { "self","editor", NULL
};
10844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetDefaultEditor",_kwnames
,&_argo0
,&_argo1
))
10847 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10848 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10849 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetDefaultEditor. Expected _wxGrid_p.");
10854 if (_argo1
== Py_None
) { _arg1
= NULL
; }
10855 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellEditor_p")) {
10856 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_SetDefaultEditor. Expected _wxGridCellEditor_p.");
10861 wxPy_BEGIN_ALLOW_THREADS
;
10862 wxGrid_SetDefaultEditor(_arg0
,_arg1
);
10864 wxPy_END_ALLOW_THREADS
;
10865 } Py_INCREF(Py_None
);
10866 _resultobj
= Py_None
;
10870 #define wxGrid_SetCellEditor(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellEditor(_swigarg0,_swigarg1,_swigarg2))
10871 static PyObject
*_wrap_wxGrid_SetCellEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10872 PyObject
* _resultobj
;
10876 wxGridCellEditor
* _arg3
;
10877 PyObject
* _argo0
= 0;
10878 PyObject
* _argo3
= 0;
10879 char *_kwnames
[] = { "self","row","col","editor", NULL
};
10882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxGrid_SetCellEditor",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_argo3
))
10885 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10886 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10887 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellEditor. Expected _wxGrid_p.");
10892 if (_argo3
== Py_None
) { _arg3
= NULL
; }
10893 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxGridCellEditor_p")) {
10894 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGrid_SetCellEditor. Expected _wxGridCellEditor_p.");
10899 wxPy_BEGIN_ALLOW_THREADS
;
10900 wxGrid_SetCellEditor(_arg0
,_arg1
,_arg2
,_arg3
);
10902 wxPy_END_ALLOW_THREADS
;
10903 } Py_INCREF(Py_None
);
10904 _resultobj
= Py_None
;
10908 #define wxGrid_GetDefaultEditor(_swigobj) (_swigobj->GetDefaultEditor())
10909 static PyObject
*_wrap_wxGrid_GetDefaultEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10910 PyObject
* _resultobj
;
10911 wxGridCellEditor
* _result
;
10913 PyObject
* _argo0
= 0;
10914 char *_kwnames
[] = { "self", NULL
};
10918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetDefaultEditor",_kwnames
,&_argo0
))
10921 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10922 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10923 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultEditor. Expected _wxGrid_p.");
10928 wxPy_BEGIN_ALLOW_THREADS
;
10929 _result
= (wxGridCellEditor
*)wxGrid_GetDefaultEditor(_arg0
);
10931 wxPy_END_ALLOW_THREADS
;
10933 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellEditor_p");
10934 _resultobj
= Py_BuildValue("s",_ptemp
);
10936 Py_INCREF(Py_None
);
10937 _resultobj
= Py_None
;
10942 #define wxGrid_GetCellEditor(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellEditor(_swigarg0,_swigarg1))
10943 static PyObject
*_wrap_wxGrid_GetCellEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10944 PyObject
* _resultobj
;
10945 wxGridCellEditor
* _result
;
10949 PyObject
* _argo0
= 0;
10950 char *_kwnames
[] = { "self","row","col", NULL
};
10954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_GetCellEditor",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
10957 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10958 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10959 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellEditor. Expected _wxGrid_p.");
10964 wxPy_BEGIN_ALLOW_THREADS
;
10965 _result
= (wxGridCellEditor
*)wxGrid_GetCellEditor(_arg0
,_arg1
,_arg2
);
10967 wxPy_END_ALLOW_THREADS
;
10969 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellEditor_p");
10970 _resultobj
= Py_BuildValue("s",_ptemp
);
10972 Py_INCREF(Py_None
);
10973 _resultobj
= Py_None
;
10978 #define wxGrid_GetCellValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellValue(_swigarg0,_swigarg1))
10979 static PyObject
*_wrap_wxGrid_GetCellValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10980 PyObject
* _resultobj
;
10981 wxString
* _result
;
10985 PyObject
* _argo0
= 0;
10986 char *_kwnames
[] = { "self","row","col", NULL
};
10989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_GetCellValue",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
10992 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10993 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10994 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellValue. Expected _wxGrid_p.");
10999 wxPy_BEGIN_ALLOW_THREADS
;
11000 _result
= new wxString (wxGrid_GetCellValue(_arg0
,_arg1
,_arg2
));
11002 wxPy_END_ALLOW_THREADS
;
11004 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
11012 #define wxGrid_SetCellValue(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellValue(_swigarg0,_swigarg1,_swigarg2))
11013 static PyObject
*_wrap_wxGrid_SetCellValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11014 PyObject
* _resultobj
;
11019 PyObject
* _argo0
= 0;
11020 PyObject
* _obj3
= 0;
11021 char *_kwnames
[] = { "self","row","col","s", NULL
};
11024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxGrid_SetCellValue",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
11027 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11028 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11029 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellValue. Expected _wxGrid_p.");
11034 #if PYTHON_API_VERSION >= 1009
11035 char* tmpPtr
; int tmpSize
;
11036 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
11037 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
11040 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
11042 _arg3
= new wxString(tmpPtr
, tmpSize
);
11044 if (!PyString_Check(_obj3
)) {
11045 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
11048 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
11052 wxPy_BEGIN_ALLOW_THREADS
;
11053 wxGrid_SetCellValue(_arg0
,_arg1
,_arg2
,*_arg3
);
11055 wxPy_END_ALLOW_THREADS
;
11056 } Py_INCREF(Py_None
);
11057 _resultobj
= Py_None
;
11065 #define wxGrid_IsReadOnly(_swigobj,_swigarg0,_swigarg1) (_swigobj->IsReadOnly(_swigarg0,_swigarg1))
11066 static PyObject
*_wrap_wxGrid_IsReadOnly(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11067 PyObject
* _resultobj
;
11072 PyObject
* _argo0
= 0;
11073 char *_kwnames
[] = { "self","row","col", NULL
};
11076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_IsReadOnly",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
11079 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11080 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11081 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_IsReadOnly. Expected _wxGrid_p.");
11086 wxPy_BEGIN_ALLOW_THREADS
;
11087 _result
= (bool )wxGrid_IsReadOnly(_arg0
,_arg1
,_arg2
);
11089 wxPy_END_ALLOW_THREADS
;
11090 } _resultobj
= Py_BuildValue("i",_result
);
11094 #define wxGrid_SetReadOnly(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetReadOnly(_swigarg0,_swigarg1,_swigarg2))
11095 static PyObject
*_wrap_wxGrid_SetReadOnly(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11096 PyObject
* _resultobj
;
11100 bool _arg3
= (bool ) TRUE
;
11101 PyObject
* _argo0
= 0;
11102 int tempbool3
= (int) TRUE
;
11103 char *_kwnames
[] = { "self","row","col","isReadOnly", NULL
};
11106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|i:wxGrid_SetReadOnly",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
11109 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11110 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11111 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetReadOnly. Expected _wxGrid_p.");
11115 _arg3
= (bool ) tempbool3
;
11117 wxPy_BEGIN_ALLOW_THREADS
;
11118 wxGrid_SetReadOnly(_arg0
,_arg1
,_arg2
,_arg3
);
11120 wxPy_END_ALLOW_THREADS
;
11121 } Py_INCREF(Py_None
);
11122 _resultobj
= Py_None
;
11126 #define wxGrid_SelectRow(_swigobj,_swigarg0,_swigarg1) (_swigobj->SelectRow(_swigarg0,_swigarg1))
11127 static PyObject
*_wrap_wxGrid_SelectRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11128 PyObject
* _resultobj
;
11131 bool _arg2
= (bool ) FALSE
;
11132 PyObject
* _argo0
= 0;
11133 int tempbool2
= (int) FALSE
;
11134 char *_kwnames
[] = { "self","row","addToSelected", NULL
};
11137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxGrid_SelectRow",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
11140 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11141 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11142 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SelectRow. Expected _wxGrid_p.");
11146 _arg2
= (bool ) tempbool2
;
11148 wxPy_BEGIN_ALLOW_THREADS
;
11149 wxGrid_SelectRow(_arg0
,_arg1
,_arg2
);
11151 wxPy_END_ALLOW_THREADS
;
11152 } Py_INCREF(Py_None
);
11153 _resultobj
= Py_None
;
11157 #define wxGrid_SelectCol(_swigobj,_swigarg0,_swigarg1) (_swigobj->SelectCol(_swigarg0,_swigarg1))
11158 static PyObject
*_wrap_wxGrid_SelectCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11159 PyObject
* _resultobj
;
11162 bool _arg2
= (bool ) FALSE
;
11163 PyObject
* _argo0
= 0;
11164 int tempbool2
= (int) FALSE
;
11165 char *_kwnames
[] = { "self","col","addToSelected", NULL
};
11168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxGrid_SelectCol",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
11171 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11172 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11173 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SelectCol. Expected _wxGrid_p.");
11177 _arg2
= (bool ) tempbool2
;
11179 wxPy_BEGIN_ALLOW_THREADS
;
11180 wxGrid_SelectCol(_arg0
,_arg1
,_arg2
);
11182 wxPy_END_ALLOW_THREADS
;
11183 } Py_INCREF(Py_None
);
11184 _resultobj
= Py_None
;
11188 #define wxGrid_SelectBlock(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SelectBlock(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
11189 static PyObject
*_wrap_wxGrid_SelectBlock(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11190 PyObject
* _resultobj
;
11196 bool _arg5
= (bool ) FALSE
;
11197 PyObject
* _argo0
= 0;
11198 int tempbool5
= (int) FALSE
;
11199 char *_kwnames
[] = { "self","topRow","leftCol","bottomRow","rightCol","addToSelected", NULL
};
11202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|i:wxGrid_SelectBlock",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&tempbool5
))
11205 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11206 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11207 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SelectBlock. Expected _wxGrid_p.");
11211 _arg5
= (bool ) tempbool5
;
11213 wxPy_BEGIN_ALLOW_THREADS
;
11214 wxGrid_SelectBlock(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
11216 wxPy_END_ALLOW_THREADS
;
11217 } Py_INCREF(Py_None
);
11218 _resultobj
= Py_None
;
11222 #define wxGrid_SelectAll(_swigobj) (_swigobj->SelectAll())
11223 static PyObject
*_wrap_wxGrid_SelectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11224 PyObject
* _resultobj
;
11226 PyObject
* _argo0
= 0;
11227 char *_kwnames
[] = { "self", NULL
};
11230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_SelectAll",_kwnames
,&_argo0
))
11233 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11234 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11235 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SelectAll. Expected _wxGrid_p.");
11240 wxPy_BEGIN_ALLOW_THREADS
;
11241 wxGrid_SelectAll(_arg0
);
11243 wxPy_END_ALLOW_THREADS
;
11244 } Py_INCREF(Py_None
);
11245 _resultobj
= Py_None
;
11249 #define wxGrid_IsSelection(_swigobj) (_swigobj->IsSelection())
11250 static PyObject
*_wrap_wxGrid_IsSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11251 PyObject
* _resultobj
;
11254 PyObject
* _argo0
= 0;
11255 char *_kwnames
[] = { "self", NULL
};
11258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_IsSelection",_kwnames
,&_argo0
))
11261 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11262 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11263 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_IsSelection. Expected _wxGrid_p.");
11268 wxPy_BEGIN_ALLOW_THREADS
;
11269 _result
= (bool )wxGrid_IsSelection(_arg0
);
11271 wxPy_END_ALLOW_THREADS
;
11272 } _resultobj
= Py_BuildValue("i",_result
);
11276 #define wxGrid_ClearSelection(_swigobj) (_swigobj->ClearSelection())
11277 static PyObject
*_wrap_wxGrid_ClearSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11278 PyObject
* _resultobj
;
11280 PyObject
* _argo0
= 0;
11281 char *_kwnames
[] = { "self", NULL
};
11284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_ClearSelection",_kwnames
,&_argo0
))
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_ClearSelection. Expected _wxGrid_p.");
11294 wxPy_BEGIN_ALLOW_THREADS
;
11295 wxGrid_ClearSelection(_arg0
);
11297 wxPy_END_ALLOW_THREADS
;
11298 } Py_INCREF(Py_None
);
11299 _resultobj
= Py_None
;
11303 #define wxGrid_IsInSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->IsInSelection(_swigarg0,_swigarg1))
11304 static PyObject
*_wrap_wxGrid_IsInSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11305 PyObject
* _resultobj
;
11310 PyObject
* _argo0
= 0;
11311 char *_kwnames
[] = { "self","row","col", NULL
};
11314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_IsInSelection",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
11317 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11318 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11319 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_IsInSelection. Expected _wxGrid_p.");
11324 wxPy_BEGIN_ALLOW_THREADS
;
11325 _result
= (bool )wxGrid_IsInSelection(_arg0
,_arg1
,_arg2
);
11327 wxPy_END_ALLOW_THREADS
;
11328 } _resultobj
= Py_BuildValue("i",_result
);
11332 #define wxGrid_BlockToDeviceRect(_swigobj,_swigarg0,_swigarg1) (_swigobj->BlockToDeviceRect(_swigarg0,_swigarg1))
11333 static PyObject
*_wrap_wxGrid_BlockToDeviceRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11334 PyObject
* _resultobj
;
11337 wxGridCellCoords
* _arg1
;
11338 wxGridCellCoords
* _arg2
;
11339 PyObject
* _argo0
= 0;
11340 wxGridCellCoords temp
;
11341 PyObject
* _obj1
= 0;
11342 wxGridCellCoords temp0
;
11343 PyObject
* _obj2
= 0;
11344 char *_kwnames
[] = { "self","topLeft","bottomRight", NULL
};
11348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxGrid_BlockToDeviceRect",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
11351 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11352 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11353 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_BlockToDeviceRect. Expected _wxGrid_p.");
11359 if (! wxGridCellCoords_helper(_obj1
, &_arg1
))
11364 if (! wxGridCellCoords_helper(_obj2
, &_arg2
))
11368 wxPy_BEGIN_ALLOW_THREADS
;
11369 _result
= new wxRect (wxGrid_BlockToDeviceRect(_arg0
,*_arg1
,*_arg2
));
11371 wxPy_END_ALLOW_THREADS
;
11372 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
11373 _resultobj
= Py_BuildValue("s",_ptemp
);
11377 #define wxGrid_GetSelectionBackground(_swigobj) (_swigobj->GetSelectionBackground())
11378 static PyObject
*_wrap_wxGrid_GetSelectionBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11379 PyObject
* _resultobj
;
11380 wxColour
* _result
;
11382 PyObject
* _argo0
= 0;
11383 char *_kwnames
[] = { "self", NULL
};
11387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetSelectionBackground",_kwnames
,&_argo0
))
11390 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11391 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11392 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetSelectionBackground. Expected _wxGrid_p.");
11397 wxPy_BEGIN_ALLOW_THREADS
;
11398 _result
= new wxColour (wxGrid_GetSelectionBackground(_arg0
));
11400 wxPy_END_ALLOW_THREADS
;
11401 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
11402 _resultobj
= Py_BuildValue("s",_ptemp
);
11406 #define wxGrid_GetSelectionForeground(_swigobj) (_swigobj->GetSelectionForeground())
11407 static PyObject
*_wrap_wxGrid_GetSelectionForeground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11408 PyObject
* _resultobj
;
11409 wxColour
* _result
;
11411 PyObject
* _argo0
= 0;
11412 char *_kwnames
[] = { "self", NULL
};
11416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetSelectionForeground",_kwnames
,&_argo0
))
11419 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11420 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11421 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetSelectionForeground. Expected _wxGrid_p.");
11426 wxPy_BEGIN_ALLOW_THREADS
;
11427 _result
= new wxColour (wxGrid_GetSelectionForeground(_arg0
));
11429 wxPy_END_ALLOW_THREADS
;
11430 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
11431 _resultobj
= Py_BuildValue("s",_ptemp
);
11435 #define wxGrid_SetSelectionBackground(_swigobj,_swigarg0) (_swigobj->SetSelectionBackground(_swigarg0))
11436 static PyObject
*_wrap_wxGrid_SetSelectionBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11437 PyObject
* _resultobj
;
11440 PyObject
* _argo0
= 0;
11442 PyObject
* _obj1
= 0;
11443 char *_kwnames
[] = { "self","c", NULL
};
11446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetSelectionBackground",_kwnames
,&_argo0
,&_obj1
))
11449 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11450 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11451 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetSelectionBackground. Expected _wxGrid_p.");
11457 if (! wxColour_helper(_obj1
, &_arg1
))
11461 wxPy_BEGIN_ALLOW_THREADS
;
11462 wxGrid_SetSelectionBackground(_arg0
,*_arg1
);
11464 wxPy_END_ALLOW_THREADS
;
11465 } Py_INCREF(Py_None
);
11466 _resultobj
= Py_None
;
11470 #define wxGrid_SetSelectionForeground(_swigobj,_swigarg0) (_swigobj->SetSelectionForeground(_swigarg0))
11471 static PyObject
*_wrap_wxGrid_SetSelectionForeground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11472 PyObject
* _resultobj
;
11475 PyObject
* _argo0
= 0;
11477 PyObject
* _obj1
= 0;
11478 char *_kwnames
[] = { "self","c", NULL
};
11481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetSelectionForeground",_kwnames
,&_argo0
,&_obj1
))
11484 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11485 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11486 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetSelectionForeground. Expected _wxGrid_p.");
11492 if (! wxColour_helper(_obj1
, &_arg1
))
11496 wxPy_BEGIN_ALLOW_THREADS
;
11497 wxGrid_SetSelectionForeground(_arg0
,*_arg1
);
11499 wxPy_END_ALLOW_THREADS
;
11500 } Py_INCREF(Py_None
);
11501 _resultobj
= Py_None
;
11505 #define wxGrid_RegisterDataType(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->RegisterDataType(_swigarg0,_swigarg1,_swigarg2))
11506 static PyObject
*_wrap_wxGrid_RegisterDataType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11507 PyObject
* _resultobj
;
11510 wxGridCellRenderer
* _arg2
;
11511 wxGridCellEditor
* _arg3
;
11512 PyObject
* _argo0
= 0;
11513 PyObject
* _obj1
= 0;
11514 PyObject
* _argo2
= 0;
11515 PyObject
* _argo3
= 0;
11516 char *_kwnames
[] = { "self","typeName","renderer","editor", NULL
};
11519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO:wxGrid_RegisterDataType",_kwnames
,&_argo0
,&_obj1
,&_argo2
,&_argo3
))
11522 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11523 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11524 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_RegisterDataType. Expected _wxGrid_p.");
11529 #if PYTHON_API_VERSION >= 1009
11530 char* tmpPtr
; int tmpSize
;
11531 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
11532 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
11535 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
11537 _arg1
= new wxString(tmpPtr
, tmpSize
);
11539 if (!PyString_Check(_obj1
)) {
11540 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
11543 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
11547 if (_argo2
== Py_None
) { _arg2
= NULL
; }
11548 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGridCellRenderer_p")) {
11549 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxGrid_RegisterDataType. Expected _wxGridCellRenderer_p.");
11554 if (_argo3
== Py_None
) { _arg3
= NULL
; }
11555 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxGridCellEditor_p")) {
11556 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGrid_RegisterDataType. Expected _wxGridCellEditor_p.");
11561 wxPy_BEGIN_ALLOW_THREADS
;
11562 wxGrid_RegisterDataType(_arg0
,*_arg1
,_arg2
,_arg3
);
11564 wxPy_END_ALLOW_THREADS
;
11565 } Py_INCREF(Py_None
);
11566 _resultobj
= Py_None
;
11574 #define wxGrid_GetDefaultEditorForCell(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetDefaultEditorForCell(_swigarg0,_swigarg1))
11575 static PyObject
*_wrap_wxGrid_GetDefaultEditorForCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11576 PyObject
* _resultobj
;
11577 wxGridCellEditor
* _result
;
11581 PyObject
* _argo0
= 0;
11582 char *_kwnames
[] = { "self","row","col", NULL
};
11586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_GetDefaultEditorForCell",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
11589 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11590 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11591 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultEditorForCell. Expected _wxGrid_p.");
11596 wxPy_BEGIN_ALLOW_THREADS
;
11597 _result
= (wxGridCellEditor
*)wxGrid_GetDefaultEditorForCell(_arg0
,_arg1
,_arg2
);
11599 wxPy_END_ALLOW_THREADS
;
11601 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellEditor_p");
11602 _resultobj
= Py_BuildValue("s",_ptemp
);
11604 Py_INCREF(Py_None
);
11605 _resultobj
= Py_None
;
11610 #define wxGrid_GetDefaultRendererForCell(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetDefaultRendererForCell(_swigarg0,_swigarg1))
11611 static PyObject
*_wrap_wxGrid_GetDefaultRendererForCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11612 PyObject
* _resultobj
;
11613 wxGridCellRenderer
* _result
;
11617 PyObject
* _argo0
= 0;
11618 char *_kwnames
[] = { "self","row","col", NULL
};
11622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_GetDefaultRendererForCell",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
11625 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11626 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11627 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultRendererForCell. Expected _wxGrid_p.");
11632 wxPy_BEGIN_ALLOW_THREADS
;
11633 _result
= (wxGridCellRenderer
*)wxGrid_GetDefaultRendererForCell(_arg0
,_arg1
,_arg2
);
11635 wxPy_END_ALLOW_THREADS
;
11637 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellRenderer_p");
11638 _resultobj
= Py_BuildValue("s",_ptemp
);
11640 Py_INCREF(Py_None
);
11641 _resultobj
= Py_None
;
11646 #define wxGrid_GetDefaultEditorForType(_swigobj,_swigarg0) (_swigobj->GetDefaultEditorForType(_swigarg0))
11647 static PyObject
*_wrap_wxGrid_GetDefaultEditorForType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11648 PyObject
* _resultobj
;
11649 wxGridCellEditor
* _result
;
11652 PyObject
* _argo0
= 0;
11653 PyObject
* _obj1
= 0;
11654 char *_kwnames
[] = { "self","typeName", NULL
};
11658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_GetDefaultEditorForType",_kwnames
,&_argo0
,&_obj1
))
11661 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11662 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11663 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultEditorForType. Expected _wxGrid_p.");
11668 #if PYTHON_API_VERSION >= 1009
11669 char* tmpPtr
; int tmpSize
;
11670 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
11671 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
11674 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
11676 _arg1
= new wxString(tmpPtr
, tmpSize
);
11678 if (!PyString_Check(_obj1
)) {
11679 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
11682 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
11686 wxPy_BEGIN_ALLOW_THREADS
;
11687 _result
= (wxGridCellEditor
*)wxGrid_GetDefaultEditorForType(_arg0
,*_arg1
);
11689 wxPy_END_ALLOW_THREADS
;
11691 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellEditor_p");
11692 _resultobj
= Py_BuildValue("s",_ptemp
);
11694 Py_INCREF(Py_None
);
11695 _resultobj
= Py_None
;
11704 #define wxGrid_GetDefaultRendererForType(_swigobj,_swigarg0) (_swigobj->GetDefaultRendererForType(_swigarg0))
11705 static PyObject
*_wrap_wxGrid_GetDefaultRendererForType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11706 PyObject
* _resultobj
;
11707 wxGridCellRenderer
* _result
;
11710 PyObject
* _argo0
= 0;
11711 PyObject
* _obj1
= 0;
11712 char *_kwnames
[] = { "self","typeName", NULL
};
11716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_GetDefaultRendererForType",_kwnames
,&_argo0
,&_obj1
))
11719 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11720 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11721 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultRendererForType. Expected _wxGrid_p.");
11726 #if PYTHON_API_VERSION >= 1009
11727 char* tmpPtr
; int tmpSize
;
11728 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
11729 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
11732 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
11734 _arg1
= new wxString(tmpPtr
, tmpSize
);
11736 if (!PyString_Check(_obj1
)) {
11737 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
11740 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
11744 wxPy_BEGIN_ALLOW_THREADS
;
11745 _result
= (wxGridCellRenderer
*)wxGrid_GetDefaultRendererForType(_arg0
,*_arg1
);
11747 wxPy_END_ALLOW_THREADS
;
11749 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellRenderer_p");
11750 _resultobj
= Py_BuildValue("s",_ptemp
);
11752 Py_INCREF(Py_None
);
11753 _resultobj
= Py_None
;
11762 #define wxGrid_SetMargins(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetMargins(_swigarg0,_swigarg1))
11763 static PyObject
*_wrap_wxGrid_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11764 PyObject
* _resultobj
;
11768 PyObject
* _argo0
= 0;
11769 char *_kwnames
[] = { "self","extraWidth","extraHeight", NULL
};
11772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_SetMargins",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
11775 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11776 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11777 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetMargins. Expected _wxGrid_p.");
11782 wxPy_BEGIN_ALLOW_THREADS
;
11783 wxGrid_SetMargins(_arg0
,_arg1
,_arg2
);
11785 wxPy_END_ALLOW_THREADS
;
11786 } Py_INCREF(Py_None
);
11787 _resultobj
= Py_None
;
11791 static void *SwigwxGridEventTowxNotifyEvent(void *ptr
) {
11793 wxNotifyEvent
*dest
;
11794 src
= (wxGridEvent
*) ptr
;
11795 dest
= (wxNotifyEvent
*) src
;
11796 return (void *) dest
;
11799 static void *SwigwxGridEventTowxCommandEvent(void *ptr
) {
11801 wxCommandEvent
*dest
;
11802 src
= (wxGridEvent
*) ptr
;
11803 dest
= (wxCommandEvent
*) src
;
11804 return (void *) dest
;
11807 static void *SwigwxGridEventTowxEvent(void *ptr
) {
11810 src
= (wxGridEvent
*) ptr
;
11811 dest
= (wxEvent
*) src
;
11812 return (void *) dest
;
11815 #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))
11816 static PyObject
*_wrap_new_wxGridEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11817 PyObject
* _resultobj
;
11818 wxGridEvent
* _result
;
11822 int _arg3
= (int ) -1;
11823 int _arg4
= (int ) -1;
11824 int _arg5
= (int ) -1;
11825 int _arg6
= (int ) -1;
11826 bool _arg7
= (bool ) TRUE
;
11827 bool _arg8
= (bool ) FALSE
;
11828 bool _arg9
= (bool ) FALSE
;
11829 bool _arg10
= (bool ) FALSE
;
11830 bool _arg11
= (bool ) FALSE
;
11831 PyObject
* _argo2
= 0;
11832 int tempbool7
= (int) TRUE
;
11833 int tempbool8
= (int) FALSE
;
11834 int tempbool9
= (int) FALSE
;
11835 int tempbool10
= (int) FALSE
;
11836 int tempbool11
= (int) FALSE
;
11837 char *_kwnames
[] = { "id","type","obj","row","col","x","y","sel","control","shift","alt","meta", NULL
};
11841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"iiO|iiiiiiiii:new_wxGridEvent",_kwnames
,&_arg0
,&_arg1
,&_argo2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
,&tempbool7
,&tempbool8
,&tempbool9
,&tempbool10
,&tempbool11
))
11844 if (_argo2
== Py_None
) { _arg2
= NULL
; }
11845 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGrid_p")) {
11846 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxGridEvent. Expected _wxGrid_p.");
11850 _arg7
= (bool ) tempbool7
;
11851 _arg8
= (bool ) tempbool8
;
11852 _arg9
= (bool ) tempbool9
;
11853 _arg10
= (bool ) tempbool10
;
11854 _arg11
= (bool ) tempbool11
;
11856 wxPy_BEGIN_ALLOW_THREADS
;
11857 _result
= (wxGridEvent
*)new_wxGridEvent(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,_arg9
,_arg10
,_arg11
);
11859 wxPy_END_ALLOW_THREADS
;
11861 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridEvent_p");
11862 _resultobj
= Py_BuildValue("s",_ptemp
);
11864 Py_INCREF(Py_None
);
11865 _resultobj
= Py_None
;
11870 #define wxGridEvent_GetRow(_swigobj) (_swigobj->GetRow())
11871 static PyObject
*_wrap_wxGridEvent_GetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11872 PyObject
* _resultobj
;
11874 wxGridEvent
* _arg0
;
11875 PyObject
* _argo0
= 0;
11876 char *_kwnames
[] = { "self", NULL
};
11879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_GetRow",_kwnames
,&_argo0
))
11882 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11883 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
11884 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_GetRow. Expected _wxGridEvent_p.");
11889 wxPy_BEGIN_ALLOW_THREADS
;
11890 _result
= (int )wxGridEvent_GetRow(_arg0
);
11892 wxPy_END_ALLOW_THREADS
;
11893 } _resultobj
= Py_BuildValue("i",_result
);
11897 #define wxGridEvent_GetCol(_swigobj) (_swigobj->GetCol())
11898 static PyObject
*_wrap_wxGridEvent_GetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11899 PyObject
* _resultobj
;
11901 wxGridEvent
* _arg0
;
11902 PyObject
* _argo0
= 0;
11903 char *_kwnames
[] = { "self", NULL
};
11906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_GetCol",_kwnames
,&_argo0
))
11909 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11910 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
11911 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_GetCol. Expected _wxGridEvent_p.");
11916 wxPy_BEGIN_ALLOW_THREADS
;
11917 _result
= (int )wxGridEvent_GetCol(_arg0
);
11919 wxPy_END_ALLOW_THREADS
;
11920 } _resultobj
= Py_BuildValue("i",_result
);
11924 #define wxGridEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
11925 static PyObject
*_wrap_wxGridEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11926 PyObject
* _resultobj
;
11928 wxGridEvent
* _arg0
;
11929 PyObject
* _argo0
= 0;
11930 char *_kwnames
[] = { "self", NULL
};
11934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_GetPosition",_kwnames
,&_argo0
))
11937 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11938 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
11939 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_GetPosition. Expected _wxGridEvent_p.");
11944 wxPy_BEGIN_ALLOW_THREADS
;
11945 _result
= new wxPoint (wxGridEvent_GetPosition(_arg0
));
11947 wxPy_END_ALLOW_THREADS
;
11948 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
11949 _resultobj
= Py_BuildValue("s",_ptemp
);
11953 #define wxGridEvent_Selecting(_swigobj) (_swigobj->Selecting())
11954 static PyObject
*_wrap_wxGridEvent_Selecting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11955 PyObject
* _resultobj
;
11957 wxGridEvent
* _arg0
;
11958 PyObject
* _argo0
= 0;
11959 char *_kwnames
[] = { "self", NULL
};
11962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_Selecting",_kwnames
,&_argo0
))
11965 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11966 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
11967 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_Selecting. Expected _wxGridEvent_p.");
11972 wxPy_BEGIN_ALLOW_THREADS
;
11973 _result
= (bool )wxGridEvent_Selecting(_arg0
);
11975 wxPy_END_ALLOW_THREADS
;
11976 } _resultobj
= Py_BuildValue("i",_result
);
11980 #define wxGridEvent_ControlDown(_swigobj) (_swigobj->ControlDown())
11981 static PyObject
*_wrap_wxGridEvent_ControlDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11982 PyObject
* _resultobj
;
11984 wxGridEvent
* _arg0
;
11985 PyObject
* _argo0
= 0;
11986 char *_kwnames
[] = { "self", NULL
};
11989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_ControlDown",_kwnames
,&_argo0
))
11992 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11993 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
11994 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_ControlDown. Expected _wxGridEvent_p.");
11999 wxPy_BEGIN_ALLOW_THREADS
;
12000 _result
= (bool )wxGridEvent_ControlDown(_arg0
);
12002 wxPy_END_ALLOW_THREADS
;
12003 } _resultobj
= Py_BuildValue("i",_result
);
12007 #define wxGridEvent_MetaDown(_swigobj) (_swigobj->MetaDown())
12008 static PyObject
*_wrap_wxGridEvent_MetaDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12009 PyObject
* _resultobj
;
12011 wxGridEvent
* _arg0
;
12012 PyObject
* _argo0
= 0;
12013 char *_kwnames
[] = { "self", NULL
};
12016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_MetaDown",_kwnames
,&_argo0
))
12019 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12020 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
12021 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_MetaDown. Expected _wxGridEvent_p.");
12026 wxPy_BEGIN_ALLOW_THREADS
;
12027 _result
= (bool )wxGridEvent_MetaDown(_arg0
);
12029 wxPy_END_ALLOW_THREADS
;
12030 } _resultobj
= Py_BuildValue("i",_result
);
12034 #define wxGridEvent_ShiftDown(_swigobj) (_swigobj->ShiftDown())
12035 static PyObject
*_wrap_wxGridEvent_ShiftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12036 PyObject
* _resultobj
;
12038 wxGridEvent
* _arg0
;
12039 PyObject
* _argo0
= 0;
12040 char *_kwnames
[] = { "self", NULL
};
12043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_ShiftDown",_kwnames
,&_argo0
))
12046 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12047 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
12048 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_ShiftDown. Expected _wxGridEvent_p.");
12053 wxPy_BEGIN_ALLOW_THREADS
;
12054 _result
= (bool )wxGridEvent_ShiftDown(_arg0
);
12056 wxPy_END_ALLOW_THREADS
;
12057 } _resultobj
= Py_BuildValue("i",_result
);
12061 #define wxGridEvent_AltDown(_swigobj) (_swigobj->AltDown())
12062 static PyObject
*_wrap_wxGridEvent_AltDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12063 PyObject
* _resultobj
;
12065 wxGridEvent
* _arg0
;
12066 PyObject
* _argo0
= 0;
12067 char *_kwnames
[] = { "self", NULL
};
12070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_AltDown",_kwnames
,&_argo0
))
12073 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12074 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
12075 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_AltDown. Expected _wxGridEvent_p.");
12080 wxPy_BEGIN_ALLOW_THREADS
;
12081 _result
= (bool )wxGridEvent_AltDown(_arg0
);
12083 wxPy_END_ALLOW_THREADS
;
12084 } _resultobj
= Py_BuildValue("i",_result
);
12088 static void *SwigwxGridSizeEventTowxNotifyEvent(void *ptr
) {
12089 wxGridSizeEvent
*src
;
12090 wxNotifyEvent
*dest
;
12091 src
= (wxGridSizeEvent
*) ptr
;
12092 dest
= (wxNotifyEvent
*) src
;
12093 return (void *) dest
;
12096 static void *SwigwxGridSizeEventTowxCommandEvent(void *ptr
) {
12097 wxGridSizeEvent
*src
;
12098 wxCommandEvent
*dest
;
12099 src
= (wxGridSizeEvent
*) ptr
;
12100 dest
= (wxCommandEvent
*) src
;
12101 return (void *) dest
;
12104 static void *SwigwxGridSizeEventTowxEvent(void *ptr
) {
12105 wxGridSizeEvent
*src
;
12107 src
= (wxGridSizeEvent
*) ptr
;
12108 dest
= (wxEvent
*) src
;
12109 return (void *) dest
;
12112 #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))
12113 static PyObject
*_wrap_new_wxGridSizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12114 PyObject
* _resultobj
;
12115 wxGridSizeEvent
* _result
;
12119 int _arg3
= (int ) -1;
12120 int _arg4
= (int ) -1;
12121 int _arg5
= (int ) -1;
12122 bool _arg6
= (bool ) FALSE
;
12123 bool _arg7
= (bool ) FALSE
;
12124 bool _arg8
= (bool ) FALSE
;
12125 bool _arg9
= (bool ) FALSE
;
12126 PyObject
* _argo2
= 0;
12127 int tempbool6
= (int) FALSE
;
12128 int tempbool7
= (int) FALSE
;
12129 int tempbool8
= (int) FALSE
;
12130 int tempbool9
= (int) FALSE
;
12131 char *_kwnames
[] = { "id","type","obj","rowOrCol","x","y","control","shift","alt","meta", NULL
};
12135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"iiO|iiiiiii:new_wxGridSizeEvent",_kwnames
,&_arg0
,&_arg1
,&_argo2
,&_arg3
,&_arg4
,&_arg5
,&tempbool6
,&tempbool7
,&tempbool8
,&tempbool9
))
12138 if (_argo2
== Py_None
) { _arg2
= NULL
; }
12139 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGrid_p")) {
12140 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxGridSizeEvent. Expected _wxGrid_p.");
12144 _arg6
= (bool ) tempbool6
;
12145 _arg7
= (bool ) tempbool7
;
12146 _arg8
= (bool ) tempbool8
;
12147 _arg9
= (bool ) tempbool9
;
12149 wxPy_BEGIN_ALLOW_THREADS
;
12150 _result
= (wxGridSizeEvent
*)new_wxGridSizeEvent(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,_arg9
);
12152 wxPy_END_ALLOW_THREADS
;
12154 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridSizeEvent_p");
12155 _resultobj
= Py_BuildValue("s",_ptemp
);
12157 Py_INCREF(Py_None
);
12158 _resultobj
= Py_None
;
12163 #define wxGridSizeEvent_GetRowOrCol(_swigobj) (_swigobj->GetRowOrCol())
12164 static PyObject
*_wrap_wxGridSizeEvent_GetRowOrCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12165 PyObject
* _resultobj
;
12167 wxGridSizeEvent
* _arg0
;
12168 PyObject
* _argo0
= 0;
12169 char *_kwnames
[] = { "self", NULL
};
12172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridSizeEvent_GetRowOrCol",_kwnames
,&_argo0
))
12175 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12176 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridSizeEvent_p")) {
12177 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridSizeEvent_GetRowOrCol. Expected _wxGridSizeEvent_p.");
12182 wxPy_BEGIN_ALLOW_THREADS
;
12183 _result
= (int )wxGridSizeEvent_GetRowOrCol(_arg0
);
12185 wxPy_END_ALLOW_THREADS
;
12186 } _resultobj
= Py_BuildValue("i",_result
);
12190 #define wxGridSizeEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
12191 static PyObject
*_wrap_wxGridSizeEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12192 PyObject
* _resultobj
;
12194 wxGridSizeEvent
* _arg0
;
12195 PyObject
* _argo0
= 0;
12196 char *_kwnames
[] = { "self", NULL
};
12200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridSizeEvent_GetPosition",_kwnames
,&_argo0
))
12203 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12204 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridSizeEvent_p")) {
12205 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridSizeEvent_GetPosition. Expected _wxGridSizeEvent_p.");
12210 wxPy_BEGIN_ALLOW_THREADS
;
12211 _result
= new wxPoint (wxGridSizeEvent_GetPosition(_arg0
));
12213 wxPy_END_ALLOW_THREADS
;
12214 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
12215 _resultobj
= Py_BuildValue("s",_ptemp
);
12219 #define wxGridSizeEvent_ControlDown(_swigobj) (_swigobj->ControlDown())
12220 static PyObject
*_wrap_wxGridSizeEvent_ControlDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12221 PyObject
* _resultobj
;
12223 wxGridSizeEvent
* _arg0
;
12224 PyObject
* _argo0
= 0;
12225 char *_kwnames
[] = { "self", NULL
};
12228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridSizeEvent_ControlDown",_kwnames
,&_argo0
))
12231 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12232 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridSizeEvent_p")) {
12233 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridSizeEvent_ControlDown. Expected _wxGridSizeEvent_p.");
12238 wxPy_BEGIN_ALLOW_THREADS
;
12239 _result
= (bool )wxGridSizeEvent_ControlDown(_arg0
);
12241 wxPy_END_ALLOW_THREADS
;
12242 } _resultobj
= Py_BuildValue("i",_result
);
12246 #define wxGridSizeEvent_MetaDown(_swigobj) (_swigobj->MetaDown())
12247 static PyObject
*_wrap_wxGridSizeEvent_MetaDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12248 PyObject
* _resultobj
;
12250 wxGridSizeEvent
* _arg0
;
12251 PyObject
* _argo0
= 0;
12252 char *_kwnames
[] = { "self", NULL
};
12255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridSizeEvent_MetaDown",_kwnames
,&_argo0
))
12258 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12259 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridSizeEvent_p")) {
12260 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridSizeEvent_MetaDown. Expected _wxGridSizeEvent_p.");
12265 wxPy_BEGIN_ALLOW_THREADS
;
12266 _result
= (bool )wxGridSizeEvent_MetaDown(_arg0
);
12268 wxPy_END_ALLOW_THREADS
;
12269 } _resultobj
= Py_BuildValue("i",_result
);
12273 #define wxGridSizeEvent_ShiftDown(_swigobj) (_swigobj->ShiftDown())
12274 static PyObject
*_wrap_wxGridSizeEvent_ShiftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12275 PyObject
* _resultobj
;
12277 wxGridSizeEvent
* _arg0
;
12278 PyObject
* _argo0
= 0;
12279 char *_kwnames
[] = { "self", NULL
};
12282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridSizeEvent_ShiftDown",_kwnames
,&_argo0
))
12285 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12286 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridSizeEvent_p")) {
12287 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridSizeEvent_ShiftDown. Expected _wxGridSizeEvent_p.");
12292 wxPy_BEGIN_ALLOW_THREADS
;
12293 _result
= (bool )wxGridSizeEvent_ShiftDown(_arg0
);
12295 wxPy_END_ALLOW_THREADS
;
12296 } _resultobj
= Py_BuildValue("i",_result
);
12300 #define wxGridSizeEvent_AltDown(_swigobj) (_swigobj->AltDown())
12301 static PyObject
*_wrap_wxGridSizeEvent_AltDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12302 PyObject
* _resultobj
;
12304 wxGridSizeEvent
* _arg0
;
12305 PyObject
* _argo0
= 0;
12306 char *_kwnames
[] = { "self", NULL
};
12309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridSizeEvent_AltDown",_kwnames
,&_argo0
))
12312 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12313 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridSizeEvent_p")) {
12314 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridSizeEvent_AltDown. Expected _wxGridSizeEvent_p.");
12319 wxPy_BEGIN_ALLOW_THREADS
;
12320 _result
= (bool )wxGridSizeEvent_AltDown(_arg0
);
12322 wxPy_END_ALLOW_THREADS
;
12323 } _resultobj
= Py_BuildValue("i",_result
);
12327 static void *SwigwxGridRangeSelectEventTowxNotifyEvent(void *ptr
) {
12328 wxGridRangeSelectEvent
*src
;
12329 wxNotifyEvent
*dest
;
12330 src
= (wxGridRangeSelectEvent
*) ptr
;
12331 dest
= (wxNotifyEvent
*) src
;
12332 return (void *) dest
;
12335 static void *SwigwxGridRangeSelectEventTowxCommandEvent(void *ptr
) {
12336 wxGridRangeSelectEvent
*src
;
12337 wxCommandEvent
*dest
;
12338 src
= (wxGridRangeSelectEvent
*) ptr
;
12339 dest
= (wxCommandEvent
*) src
;
12340 return (void *) dest
;
12343 static void *SwigwxGridRangeSelectEventTowxEvent(void *ptr
) {
12344 wxGridRangeSelectEvent
*src
;
12346 src
= (wxGridRangeSelectEvent
*) ptr
;
12347 dest
= (wxEvent
*) src
;
12348 return (void *) dest
;
12351 #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))
12352 static PyObject
*_wrap_new_wxGridRangeSelectEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12353 PyObject
* _resultobj
;
12354 wxGridRangeSelectEvent
* _result
;
12358 wxGridCellCoords
* _arg3
;
12359 wxGridCellCoords
* _arg4
;
12360 bool _arg5
= (bool ) TRUE
;
12361 bool _arg6
= (bool ) FALSE
;
12362 bool _arg7
= (bool ) FALSE
;
12363 bool _arg8
= (bool ) FALSE
;
12364 bool _arg9
= (bool ) FALSE
;
12365 PyObject
* _argo2
= 0;
12366 wxGridCellCoords temp
;
12367 PyObject
* _obj3
= 0;
12368 wxGridCellCoords temp0
;
12369 PyObject
* _obj4
= 0;
12370 int tempbool5
= (int) TRUE
;
12371 int tempbool6
= (int) FALSE
;
12372 int tempbool7
= (int) FALSE
;
12373 int tempbool8
= (int) FALSE
;
12374 int tempbool9
= (int) FALSE
;
12375 char *_kwnames
[] = { "id","type","obj","topLeft","bottomRight","sel","control","shift","alt","meta", NULL
};
12379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"iiOOO|iiiii:new_wxGridRangeSelectEvent",_kwnames
,&_arg0
,&_arg1
,&_argo2
,&_obj3
,&_obj4
,&tempbool5
,&tempbool6
,&tempbool7
,&tempbool8
,&tempbool9
))
12382 if (_argo2
== Py_None
) { _arg2
= NULL
; }
12383 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGrid_p")) {
12384 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxGridRangeSelectEvent. Expected _wxGrid_p.");
12390 if (! wxGridCellCoords_helper(_obj3
, &_arg3
))
12395 if (! wxGridCellCoords_helper(_obj4
, &_arg4
))
12398 _arg5
= (bool ) tempbool5
;
12399 _arg6
= (bool ) tempbool6
;
12400 _arg7
= (bool ) tempbool7
;
12401 _arg8
= (bool ) tempbool8
;
12402 _arg9
= (bool ) tempbool9
;
12404 wxPy_BEGIN_ALLOW_THREADS
;
12405 _result
= (wxGridRangeSelectEvent
*)new_wxGridRangeSelectEvent(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,_arg9
);
12407 wxPy_END_ALLOW_THREADS
;
12409 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridRangeSelectEvent_p");
12410 _resultobj
= Py_BuildValue("s",_ptemp
);
12412 Py_INCREF(Py_None
);
12413 _resultobj
= Py_None
;
12418 #define wxGridRangeSelectEvent_GetTopLeftCoords(_swigobj) (_swigobj->GetTopLeftCoords())
12419 static PyObject
*_wrap_wxGridRangeSelectEvent_GetTopLeftCoords(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12420 PyObject
* _resultobj
;
12421 wxGridCellCoords
* _result
;
12422 wxGridRangeSelectEvent
* _arg0
;
12423 PyObject
* _argo0
= 0;
12424 char *_kwnames
[] = { "self", NULL
};
12428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridRangeSelectEvent_GetTopLeftCoords",_kwnames
,&_argo0
))
12431 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12432 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridRangeSelectEvent_p")) {
12433 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridRangeSelectEvent_GetTopLeftCoords. Expected _wxGridRangeSelectEvent_p.");
12438 wxPy_BEGIN_ALLOW_THREADS
;
12439 _result
= new wxGridCellCoords (wxGridRangeSelectEvent_GetTopLeftCoords(_arg0
));
12441 wxPy_END_ALLOW_THREADS
;
12442 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxGridCellCoords_p");
12443 _resultobj
= Py_BuildValue("s",_ptemp
);
12447 #define wxGridRangeSelectEvent_GetBottomRightCoords(_swigobj) (_swigobj->GetBottomRightCoords())
12448 static PyObject
*_wrap_wxGridRangeSelectEvent_GetBottomRightCoords(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12449 PyObject
* _resultobj
;
12450 wxGridCellCoords
* _result
;
12451 wxGridRangeSelectEvent
* _arg0
;
12452 PyObject
* _argo0
= 0;
12453 char *_kwnames
[] = { "self", NULL
};
12457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridRangeSelectEvent_GetBottomRightCoords",_kwnames
,&_argo0
))
12460 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12461 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridRangeSelectEvent_p")) {
12462 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridRangeSelectEvent_GetBottomRightCoords. Expected _wxGridRangeSelectEvent_p.");
12467 wxPy_BEGIN_ALLOW_THREADS
;
12468 _result
= new wxGridCellCoords (wxGridRangeSelectEvent_GetBottomRightCoords(_arg0
));
12470 wxPy_END_ALLOW_THREADS
;
12471 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxGridCellCoords_p");
12472 _resultobj
= Py_BuildValue("s",_ptemp
);
12476 #define wxGridRangeSelectEvent_GetTopRow(_swigobj) (_swigobj->GetTopRow())
12477 static PyObject
*_wrap_wxGridRangeSelectEvent_GetTopRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12478 PyObject
* _resultobj
;
12480 wxGridRangeSelectEvent
* _arg0
;
12481 PyObject
* _argo0
= 0;
12482 char *_kwnames
[] = { "self", NULL
};
12485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridRangeSelectEvent_GetTopRow",_kwnames
,&_argo0
))
12488 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12489 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridRangeSelectEvent_p")) {
12490 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridRangeSelectEvent_GetTopRow. Expected _wxGridRangeSelectEvent_p.");
12495 wxPy_BEGIN_ALLOW_THREADS
;
12496 _result
= (int )wxGridRangeSelectEvent_GetTopRow(_arg0
);
12498 wxPy_END_ALLOW_THREADS
;
12499 } _resultobj
= Py_BuildValue("i",_result
);
12503 #define wxGridRangeSelectEvent_GetBottomRow(_swigobj) (_swigobj->GetBottomRow())
12504 static PyObject
*_wrap_wxGridRangeSelectEvent_GetBottomRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12505 PyObject
* _resultobj
;
12507 wxGridRangeSelectEvent
* _arg0
;
12508 PyObject
* _argo0
= 0;
12509 char *_kwnames
[] = { "self", NULL
};
12512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridRangeSelectEvent_GetBottomRow",_kwnames
,&_argo0
))
12515 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12516 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridRangeSelectEvent_p")) {
12517 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridRangeSelectEvent_GetBottomRow. Expected _wxGridRangeSelectEvent_p.");
12522 wxPy_BEGIN_ALLOW_THREADS
;
12523 _result
= (int )wxGridRangeSelectEvent_GetBottomRow(_arg0
);
12525 wxPy_END_ALLOW_THREADS
;
12526 } _resultobj
= Py_BuildValue("i",_result
);
12530 #define wxGridRangeSelectEvent_GetLeftCol(_swigobj) (_swigobj->GetLeftCol())
12531 static PyObject
*_wrap_wxGridRangeSelectEvent_GetLeftCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12532 PyObject
* _resultobj
;
12534 wxGridRangeSelectEvent
* _arg0
;
12535 PyObject
* _argo0
= 0;
12536 char *_kwnames
[] = { "self", NULL
};
12539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridRangeSelectEvent_GetLeftCol",_kwnames
,&_argo0
))
12542 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12543 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridRangeSelectEvent_p")) {
12544 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridRangeSelectEvent_GetLeftCol. Expected _wxGridRangeSelectEvent_p.");
12549 wxPy_BEGIN_ALLOW_THREADS
;
12550 _result
= (int )wxGridRangeSelectEvent_GetLeftCol(_arg0
);
12552 wxPy_END_ALLOW_THREADS
;
12553 } _resultobj
= Py_BuildValue("i",_result
);
12557 #define wxGridRangeSelectEvent_GetRightCol(_swigobj) (_swigobj->GetRightCol())
12558 static PyObject
*_wrap_wxGridRangeSelectEvent_GetRightCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12559 PyObject
* _resultobj
;
12561 wxGridRangeSelectEvent
* _arg0
;
12562 PyObject
* _argo0
= 0;
12563 char *_kwnames
[] = { "self", NULL
};
12566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridRangeSelectEvent_GetRightCol",_kwnames
,&_argo0
))
12569 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12570 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridRangeSelectEvent_p")) {
12571 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridRangeSelectEvent_GetRightCol. Expected _wxGridRangeSelectEvent_p.");
12576 wxPy_BEGIN_ALLOW_THREADS
;
12577 _result
= (int )wxGridRangeSelectEvent_GetRightCol(_arg0
);
12579 wxPy_END_ALLOW_THREADS
;
12580 } _resultobj
= Py_BuildValue("i",_result
);
12584 #define wxGridRangeSelectEvent_Selecting(_swigobj) (_swigobj->Selecting())
12585 static PyObject
*_wrap_wxGridRangeSelectEvent_Selecting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12586 PyObject
* _resultobj
;
12588 wxGridRangeSelectEvent
* _arg0
;
12589 PyObject
* _argo0
= 0;
12590 char *_kwnames
[] = { "self", NULL
};
12593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridRangeSelectEvent_Selecting",_kwnames
,&_argo0
))
12596 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12597 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridRangeSelectEvent_p")) {
12598 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridRangeSelectEvent_Selecting. Expected _wxGridRangeSelectEvent_p.");
12603 wxPy_BEGIN_ALLOW_THREADS
;
12604 _result
= (bool )wxGridRangeSelectEvent_Selecting(_arg0
);
12606 wxPy_END_ALLOW_THREADS
;
12607 } _resultobj
= Py_BuildValue("i",_result
);
12611 #define wxGridRangeSelectEvent_ControlDown(_swigobj) (_swigobj->ControlDown())
12612 static PyObject
*_wrap_wxGridRangeSelectEvent_ControlDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12613 PyObject
* _resultobj
;
12615 wxGridRangeSelectEvent
* _arg0
;
12616 PyObject
* _argo0
= 0;
12617 char *_kwnames
[] = { "self", NULL
};
12620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridRangeSelectEvent_ControlDown",_kwnames
,&_argo0
))
12623 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12624 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridRangeSelectEvent_p")) {
12625 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridRangeSelectEvent_ControlDown. Expected _wxGridRangeSelectEvent_p.");
12630 wxPy_BEGIN_ALLOW_THREADS
;
12631 _result
= (bool )wxGridRangeSelectEvent_ControlDown(_arg0
);
12633 wxPy_END_ALLOW_THREADS
;
12634 } _resultobj
= Py_BuildValue("i",_result
);
12638 #define wxGridRangeSelectEvent_MetaDown(_swigobj) (_swigobj->MetaDown())
12639 static PyObject
*_wrap_wxGridRangeSelectEvent_MetaDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12640 PyObject
* _resultobj
;
12642 wxGridRangeSelectEvent
* _arg0
;
12643 PyObject
* _argo0
= 0;
12644 char *_kwnames
[] = { "self", NULL
};
12647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridRangeSelectEvent_MetaDown",_kwnames
,&_argo0
))
12650 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12651 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridRangeSelectEvent_p")) {
12652 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridRangeSelectEvent_MetaDown. Expected _wxGridRangeSelectEvent_p.");
12657 wxPy_BEGIN_ALLOW_THREADS
;
12658 _result
= (bool )wxGridRangeSelectEvent_MetaDown(_arg0
);
12660 wxPy_END_ALLOW_THREADS
;
12661 } _resultobj
= Py_BuildValue("i",_result
);
12665 #define wxGridRangeSelectEvent_ShiftDown(_swigobj) (_swigobj->ShiftDown())
12666 static PyObject
*_wrap_wxGridRangeSelectEvent_ShiftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12667 PyObject
* _resultobj
;
12669 wxGridRangeSelectEvent
* _arg0
;
12670 PyObject
* _argo0
= 0;
12671 char *_kwnames
[] = { "self", NULL
};
12674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridRangeSelectEvent_ShiftDown",_kwnames
,&_argo0
))
12677 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12678 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridRangeSelectEvent_p")) {
12679 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridRangeSelectEvent_ShiftDown. Expected _wxGridRangeSelectEvent_p.");
12684 wxPy_BEGIN_ALLOW_THREADS
;
12685 _result
= (bool )wxGridRangeSelectEvent_ShiftDown(_arg0
);
12687 wxPy_END_ALLOW_THREADS
;
12688 } _resultobj
= Py_BuildValue("i",_result
);
12692 #define wxGridRangeSelectEvent_AltDown(_swigobj) (_swigobj->AltDown())
12693 static PyObject
*_wrap_wxGridRangeSelectEvent_AltDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12694 PyObject
* _resultobj
;
12696 wxGridRangeSelectEvent
* _arg0
;
12697 PyObject
* _argo0
= 0;
12698 char *_kwnames
[] = { "self", NULL
};
12701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridRangeSelectEvent_AltDown",_kwnames
,&_argo0
))
12704 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12705 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridRangeSelectEvent_p")) {
12706 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridRangeSelectEvent_AltDown. Expected _wxGridRangeSelectEvent_p.");
12711 wxPy_BEGIN_ALLOW_THREADS
;
12712 _result
= (bool )wxGridRangeSelectEvent_AltDown(_arg0
);
12714 wxPy_END_ALLOW_THREADS
;
12715 } _resultobj
= Py_BuildValue("i",_result
);
12719 static PyMethodDef gridcMethods
[] = {
12720 { "wxGridRangeSelectEvent_AltDown", (PyCFunction
) _wrap_wxGridRangeSelectEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
},
12721 { "wxGridRangeSelectEvent_ShiftDown", (PyCFunction
) _wrap_wxGridRangeSelectEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
},
12722 { "wxGridRangeSelectEvent_MetaDown", (PyCFunction
) _wrap_wxGridRangeSelectEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
},
12723 { "wxGridRangeSelectEvent_ControlDown", (PyCFunction
) _wrap_wxGridRangeSelectEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
},
12724 { "wxGridRangeSelectEvent_Selecting", (PyCFunction
) _wrap_wxGridRangeSelectEvent_Selecting
, METH_VARARGS
| METH_KEYWORDS
},
12725 { "wxGridRangeSelectEvent_GetRightCol", (PyCFunction
) _wrap_wxGridRangeSelectEvent_GetRightCol
, METH_VARARGS
| METH_KEYWORDS
},
12726 { "wxGridRangeSelectEvent_GetLeftCol", (PyCFunction
) _wrap_wxGridRangeSelectEvent_GetLeftCol
, METH_VARARGS
| METH_KEYWORDS
},
12727 { "wxGridRangeSelectEvent_GetBottomRow", (PyCFunction
) _wrap_wxGridRangeSelectEvent_GetBottomRow
, METH_VARARGS
| METH_KEYWORDS
},
12728 { "wxGridRangeSelectEvent_GetTopRow", (PyCFunction
) _wrap_wxGridRangeSelectEvent_GetTopRow
, METH_VARARGS
| METH_KEYWORDS
},
12729 { "wxGridRangeSelectEvent_GetBottomRightCoords", (PyCFunction
) _wrap_wxGridRangeSelectEvent_GetBottomRightCoords
, METH_VARARGS
| METH_KEYWORDS
},
12730 { "wxGridRangeSelectEvent_GetTopLeftCoords", (PyCFunction
) _wrap_wxGridRangeSelectEvent_GetTopLeftCoords
, METH_VARARGS
| METH_KEYWORDS
},
12731 { "new_wxGridRangeSelectEvent", (PyCFunction
) _wrap_new_wxGridRangeSelectEvent
, METH_VARARGS
| METH_KEYWORDS
},
12732 { "wxGridSizeEvent_AltDown", (PyCFunction
) _wrap_wxGridSizeEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
},
12733 { "wxGridSizeEvent_ShiftDown", (PyCFunction
) _wrap_wxGridSizeEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
},
12734 { "wxGridSizeEvent_MetaDown", (PyCFunction
) _wrap_wxGridSizeEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
},
12735 { "wxGridSizeEvent_ControlDown", (PyCFunction
) _wrap_wxGridSizeEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
},
12736 { "wxGridSizeEvent_GetPosition", (PyCFunction
) _wrap_wxGridSizeEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
12737 { "wxGridSizeEvent_GetRowOrCol", (PyCFunction
) _wrap_wxGridSizeEvent_GetRowOrCol
, METH_VARARGS
| METH_KEYWORDS
},
12738 { "new_wxGridSizeEvent", (PyCFunction
) _wrap_new_wxGridSizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
12739 { "wxGridEvent_AltDown", (PyCFunction
) _wrap_wxGridEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
},
12740 { "wxGridEvent_ShiftDown", (PyCFunction
) _wrap_wxGridEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
},
12741 { "wxGridEvent_MetaDown", (PyCFunction
) _wrap_wxGridEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
},
12742 { "wxGridEvent_ControlDown", (PyCFunction
) _wrap_wxGridEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
},
12743 { "wxGridEvent_Selecting", (PyCFunction
) _wrap_wxGridEvent_Selecting
, METH_VARARGS
| METH_KEYWORDS
},
12744 { "wxGridEvent_GetPosition", (PyCFunction
) _wrap_wxGridEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
12745 { "wxGridEvent_GetCol", (PyCFunction
) _wrap_wxGridEvent_GetCol
, METH_VARARGS
| METH_KEYWORDS
},
12746 { "wxGridEvent_GetRow", (PyCFunction
) _wrap_wxGridEvent_GetRow
, METH_VARARGS
| METH_KEYWORDS
},
12747 { "new_wxGridEvent", (PyCFunction
) _wrap_new_wxGridEvent
, METH_VARARGS
| METH_KEYWORDS
},
12748 { "wxGrid_SetMargins", (PyCFunction
) _wrap_wxGrid_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
12749 { "wxGrid_GetDefaultRendererForType", (PyCFunction
) _wrap_wxGrid_GetDefaultRendererForType
, METH_VARARGS
| METH_KEYWORDS
},
12750 { "wxGrid_GetDefaultEditorForType", (PyCFunction
) _wrap_wxGrid_GetDefaultEditorForType
, METH_VARARGS
| METH_KEYWORDS
},
12751 { "wxGrid_GetDefaultRendererForCell", (PyCFunction
) _wrap_wxGrid_GetDefaultRendererForCell
, METH_VARARGS
| METH_KEYWORDS
},
12752 { "wxGrid_GetDefaultEditorForCell", (PyCFunction
) _wrap_wxGrid_GetDefaultEditorForCell
, METH_VARARGS
| METH_KEYWORDS
},
12753 { "wxGrid_RegisterDataType", (PyCFunction
) _wrap_wxGrid_RegisterDataType
, METH_VARARGS
| METH_KEYWORDS
},
12754 { "wxGrid_SetSelectionForeground", (PyCFunction
) _wrap_wxGrid_SetSelectionForeground
, METH_VARARGS
| METH_KEYWORDS
},
12755 { "wxGrid_SetSelectionBackground", (PyCFunction
) _wrap_wxGrid_SetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
},
12756 { "wxGrid_GetSelectionForeground", (PyCFunction
) _wrap_wxGrid_GetSelectionForeground
, METH_VARARGS
| METH_KEYWORDS
},
12757 { "wxGrid_GetSelectionBackground", (PyCFunction
) _wrap_wxGrid_GetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
},
12758 { "wxGrid_BlockToDeviceRect", (PyCFunction
) _wrap_wxGrid_BlockToDeviceRect
, METH_VARARGS
| METH_KEYWORDS
},
12759 { "wxGrid_IsInSelection", (PyCFunction
) _wrap_wxGrid_IsInSelection
, METH_VARARGS
| METH_KEYWORDS
},
12760 { "wxGrid_ClearSelection", (PyCFunction
) _wrap_wxGrid_ClearSelection
, METH_VARARGS
| METH_KEYWORDS
},
12761 { "wxGrid_IsSelection", (PyCFunction
) _wrap_wxGrid_IsSelection
, METH_VARARGS
| METH_KEYWORDS
},
12762 { "wxGrid_SelectAll", (PyCFunction
) _wrap_wxGrid_SelectAll
, METH_VARARGS
| METH_KEYWORDS
},
12763 { "wxGrid_SelectBlock", (PyCFunction
) _wrap_wxGrid_SelectBlock
, METH_VARARGS
| METH_KEYWORDS
},
12764 { "wxGrid_SelectCol", (PyCFunction
) _wrap_wxGrid_SelectCol
, METH_VARARGS
| METH_KEYWORDS
},
12765 { "wxGrid_SelectRow", (PyCFunction
) _wrap_wxGrid_SelectRow
, METH_VARARGS
| METH_KEYWORDS
},
12766 { "wxGrid_SetReadOnly", (PyCFunction
) _wrap_wxGrid_SetReadOnly
, METH_VARARGS
| METH_KEYWORDS
},
12767 { "wxGrid_IsReadOnly", (PyCFunction
) _wrap_wxGrid_IsReadOnly
, METH_VARARGS
| METH_KEYWORDS
},
12768 { "wxGrid_SetCellValue", (PyCFunction
) _wrap_wxGrid_SetCellValue
, METH_VARARGS
| METH_KEYWORDS
},
12769 { "wxGrid_GetCellValue", (PyCFunction
) _wrap_wxGrid_GetCellValue
, METH_VARARGS
| METH_KEYWORDS
},
12770 { "wxGrid_GetCellEditor", (PyCFunction
) _wrap_wxGrid_GetCellEditor
, METH_VARARGS
| METH_KEYWORDS
},
12771 { "wxGrid_GetDefaultEditor", (PyCFunction
) _wrap_wxGrid_GetDefaultEditor
, METH_VARARGS
| METH_KEYWORDS
},
12772 { "wxGrid_SetCellEditor", (PyCFunction
) _wrap_wxGrid_SetCellEditor
, METH_VARARGS
| METH_KEYWORDS
},
12773 { "wxGrid_SetDefaultEditor", (PyCFunction
) _wrap_wxGrid_SetDefaultEditor
, METH_VARARGS
| METH_KEYWORDS
},
12774 { "wxGrid_GetCellRenderer", (PyCFunction
) _wrap_wxGrid_GetCellRenderer
, METH_VARARGS
| METH_KEYWORDS
},
12775 { "wxGrid_GetDefaultRenderer", (PyCFunction
) _wrap_wxGrid_GetDefaultRenderer
, METH_VARARGS
| METH_KEYWORDS
},
12776 { "wxGrid_SetCellRenderer", (PyCFunction
) _wrap_wxGrid_SetCellRenderer
, METH_VARARGS
| METH_KEYWORDS
},
12777 { "wxGrid_SetDefaultRenderer", (PyCFunction
) _wrap_wxGrid_SetDefaultRenderer
, METH_VARARGS
| METH_KEYWORDS
},
12778 { "wxGrid_SetCellAlignment", (PyCFunction
) _wrap_wxGrid_SetCellAlignment
, METH_VARARGS
| METH_KEYWORDS
},
12779 { "wxGrid_SetDefaultCellAlignment", (PyCFunction
) _wrap_wxGrid_SetDefaultCellAlignment
, METH_VARARGS
| METH_KEYWORDS
},
12780 { "wxGrid_SetCellFont", (PyCFunction
) _wrap_wxGrid_SetCellFont
, METH_VARARGS
| METH_KEYWORDS
},
12781 { "wxGrid_SetDefaultCellFont", (PyCFunction
) _wrap_wxGrid_SetDefaultCellFont
, METH_VARARGS
| METH_KEYWORDS
},
12782 { "wxGrid_SetCellTextColour", (PyCFunction
) _wrap_wxGrid_SetCellTextColour
, METH_VARARGS
| METH_KEYWORDS
},
12783 { "wxGrid_SetDefaultCellTextColour", (PyCFunction
) _wrap_wxGrid_SetDefaultCellTextColour
, METH_VARARGS
| METH_KEYWORDS
},
12784 { "wxGrid_SetCellBackgroundColour", (PyCFunction
) _wrap_wxGrid_SetCellBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
12785 { "wxGrid_SetDefaultCellBackgroundColour", (PyCFunction
) _wrap_wxGrid_SetDefaultCellBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
12786 { "wxGrid_SetRowMinimalHeight", (PyCFunction
) _wrap_wxGrid_SetRowMinimalHeight
, METH_VARARGS
| METH_KEYWORDS
},
12787 { "wxGrid_SetColMinimalWidth", (PyCFunction
) _wrap_wxGrid_SetColMinimalWidth
, METH_VARARGS
| METH_KEYWORDS
},
12788 { "wxGrid_AutoSize", (PyCFunction
) _wrap_wxGrid_AutoSize
, METH_VARARGS
| METH_KEYWORDS
},
12789 { "wxGrid_AutoSizeRows", (PyCFunction
) _wrap_wxGrid_AutoSizeRows
, METH_VARARGS
| METH_KEYWORDS
},
12790 { "wxGrid_AutoSizeColumns", (PyCFunction
) _wrap_wxGrid_AutoSizeColumns
, METH_VARARGS
| METH_KEYWORDS
},
12791 { "wxGrid_AutoSizeRow", (PyCFunction
) _wrap_wxGrid_AutoSizeRow
, METH_VARARGS
| METH_KEYWORDS
},
12792 { "wxGrid_AutoSizeColumn", (PyCFunction
) _wrap_wxGrid_AutoSizeColumn
, METH_VARARGS
| METH_KEYWORDS
},
12793 { "wxGrid_SetColSize", (PyCFunction
) _wrap_wxGrid_SetColSize
, METH_VARARGS
| METH_KEYWORDS
},
12794 { "wxGrid_SetDefaultColSize", (PyCFunction
) _wrap_wxGrid_SetDefaultColSize
, METH_VARARGS
| METH_KEYWORDS
},
12795 { "wxGrid_SetRowSize", (PyCFunction
) _wrap_wxGrid_SetRowSize
, METH_VARARGS
| METH_KEYWORDS
},
12796 { "wxGrid_SetDefaultRowSize", (PyCFunction
) _wrap_wxGrid_SetDefaultRowSize
, METH_VARARGS
| METH_KEYWORDS
},
12797 { "wxGrid_GetCellAlignment", (PyCFunction
) _wrap_wxGrid_GetCellAlignment
, METH_VARARGS
| METH_KEYWORDS
},
12798 { "wxGrid_GetDefaultCellAlignment", (PyCFunction
) _wrap_wxGrid_GetDefaultCellAlignment
, METH_VARARGS
| METH_KEYWORDS
},
12799 { "wxGrid_GetCellFont", (PyCFunction
) _wrap_wxGrid_GetCellFont
, METH_VARARGS
| METH_KEYWORDS
},
12800 { "wxGrid_GetDefaultCellFont", (PyCFunction
) _wrap_wxGrid_GetDefaultCellFont
, METH_VARARGS
| METH_KEYWORDS
},
12801 { "wxGrid_GetCellTextColour", (PyCFunction
) _wrap_wxGrid_GetCellTextColour
, METH_VARARGS
| METH_KEYWORDS
},
12802 { "wxGrid_GetDefaultCellTextColour", (PyCFunction
) _wrap_wxGrid_GetDefaultCellTextColour
, METH_VARARGS
| METH_KEYWORDS
},
12803 { "wxGrid_GetCellBackgroundColour", (PyCFunction
) _wrap_wxGrid_GetCellBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
12804 { "wxGrid_GetDefaultCellBackgroundColour", (PyCFunction
) _wrap_wxGrid_GetDefaultCellBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
12805 { "wxGrid_GetColSize", (PyCFunction
) _wrap_wxGrid_GetColSize
, METH_VARARGS
| METH_KEYWORDS
},
12806 { "wxGrid_GetDefaultColSize", (PyCFunction
) _wrap_wxGrid_GetDefaultColSize
, METH_VARARGS
| METH_KEYWORDS
},
12807 { "wxGrid_GetRowSize", (PyCFunction
) _wrap_wxGrid_GetRowSize
, METH_VARARGS
| METH_KEYWORDS
},
12808 { "wxGrid_GetDefaultRowSize", (PyCFunction
) _wrap_wxGrid_GetDefaultRowSize
, METH_VARARGS
| METH_KEYWORDS
},
12809 { "wxGrid_GridLinesEnabled", (PyCFunction
) _wrap_wxGrid_GridLinesEnabled
, METH_VARARGS
| METH_KEYWORDS
},
12810 { "wxGrid_EnableGridLines", (PyCFunction
) _wrap_wxGrid_EnableGridLines
, METH_VARARGS
| METH_KEYWORDS
},
12811 { "wxGrid_SetColFormatCustom", (PyCFunction
) _wrap_wxGrid_SetColFormatCustom
, METH_VARARGS
| METH_KEYWORDS
},
12812 { "wxGrid_SetColFormatFloat", (PyCFunction
) _wrap_wxGrid_SetColFormatFloat
, METH_VARARGS
| METH_KEYWORDS
},
12813 { "wxGrid_SetColFormatNumber", (PyCFunction
) _wrap_wxGrid_SetColFormatNumber
, METH_VARARGS
| METH_KEYWORDS
},
12814 { "wxGrid_SetColFormatBool", (PyCFunction
) _wrap_wxGrid_SetColFormatBool
, METH_VARARGS
| METH_KEYWORDS
},
12815 { "wxGrid_SetColAttr", (PyCFunction
) _wrap_wxGrid_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
},
12816 { "wxGrid_SetRowAttr", (PyCFunction
) _wrap_wxGrid_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
},
12817 { "wxGrid_CanDragGridSize", (PyCFunction
) _wrap_wxGrid_CanDragGridSize
, METH_VARARGS
| METH_KEYWORDS
},
12818 { "wxGrid_DisableDragGridSize", (PyCFunction
) _wrap_wxGrid_DisableDragGridSize
, METH_VARARGS
| METH_KEYWORDS
},
12819 { "wxGrid_EnableDragGridSize", (PyCFunction
) _wrap_wxGrid_EnableDragGridSize
, METH_VARARGS
| METH_KEYWORDS
},
12820 { "wxGrid_CanDragColSize", (PyCFunction
) _wrap_wxGrid_CanDragColSize
, METH_VARARGS
| METH_KEYWORDS
},
12821 { "wxGrid_DisableDragColSize", (PyCFunction
) _wrap_wxGrid_DisableDragColSize
, METH_VARARGS
| METH_KEYWORDS
},
12822 { "wxGrid_EnableDragColSize", (PyCFunction
) _wrap_wxGrid_EnableDragColSize
, METH_VARARGS
| METH_KEYWORDS
},
12823 { "wxGrid_CanDragRowSize", (PyCFunction
) _wrap_wxGrid_CanDragRowSize
, METH_VARARGS
| METH_KEYWORDS
},
12824 { "wxGrid_DisableDragRowSize", (PyCFunction
) _wrap_wxGrid_DisableDragRowSize
, METH_VARARGS
| METH_KEYWORDS
},
12825 { "wxGrid_EnableDragRowSize", (PyCFunction
) _wrap_wxGrid_EnableDragRowSize
, METH_VARARGS
| METH_KEYWORDS
},
12826 { "wxGrid_SetCellHighlightColour", (PyCFunction
) _wrap_wxGrid_SetCellHighlightColour
, METH_VARARGS
| METH_KEYWORDS
},
12827 { "wxGrid_SetGridLineColour", (PyCFunction
) _wrap_wxGrid_SetGridLineColour
, METH_VARARGS
| METH_KEYWORDS
},
12828 { "wxGrid_SetColLabelValue", (PyCFunction
) _wrap_wxGrid_SetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
12829 { "wxGrid_SetRowLabelValue", (PyCFunction
) _wrap_wxGrid_SetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
12830 { "wxGrid_SetColLabelAlignment", (PyCFunction
) _wrap_wxGrid_SetColLabelAlignment
, METH_VARARGS
| METH_KEYWORDS
},
12831 { "wxGrid_SetRowLabelAlignment", (PyCFunction
) _wrap_wxGrid_SetRowLabelAlignment
, METH_VARARGS
| METH_KEYWORDS
},
12832 { "wxGrid_SetLabelFont", (PyCFunction
) _wrap_wxGrid_SetLabelFont
, METH_VARARGS
| METH_KEYWORDS
},
12833 { "wxGrid_SetLabelTextColour", (PyCFunction
) _wrap_wxGrid_SetLabelTextColour
, METH_VARARGS
| METH_KEYWORDS
},
12834 { "wxGrid_SetLabelBackgroundColour", (PyCFunction
) _wrap_wxGrid_SetLabelBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
12835 { "wxGrid_SetColLabelSize", (PyCFunction
) _wrap_wxGrid_SetColLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
12836 { "wxGrid_SetRowLabelSize", (PyCFunction
) _wrap_wxGrid_SetRowLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
12837 { "wxGrid_GetCellHighlightColour", (PyCFunction
) _wrap_wxGrid_GetCellHighlightColour
, METH_VARARGS
| METH_KEYWORDS
},
12838 { "wxGrid_GetGridLineColour", (PyCFunction
) _wrap_wxGrid_GetGridLineColour
, METH_VARARGS
| METH_KEYWORDS
},
12839 { "wxGrid_GetColLabelValue", (PyCFunction
) _wrap_wxGrid_GetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
12840 { "wxGrid_GetRowLabelValue", (PyCFunction
) _wrap_wxGrid_GetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
12841 { "wxGrid_GetColLabelAlignment", (PyCFunction
) _wrap_wxGrid_GetColLabelAlignment
, METH_VARARGS
| METH_KEYWORDS
},
12842 { "wxGrid_GetRowLabelAlignment", (PyCFunction
) _wrap_wxGrid_GetRowLabelAlignment
, METH_VARARGS
| METH_KEYWORDS
},
12843 { "wxGrid_GetLabelFont", (PyCFunction
) _wrap_wxGrid_GetLabelFont
, METH_VARARGS
| METH_KEYWORDS
},
12844 { "wxGrid_GetLabelTextColour", (PyCFunction
) _wrap_wxGrid_GetLabelTextColour
, METH_VARARGS
| METH_KEYWORDS
},
12845 { "wxGrid_GetLabelBackgroundColour", (PyCFunction
) _wrap_wxGrid_GetLabelBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
12846 { "wxGrid_GetColLabelSize", (PyCFunction
) _wrap_wxGrid_GetColLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
12847 { "wxGrid_GetDefaultColLabelSize", (PyCFunction
) _wrap_wxGrid_GetDefaultColLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
12848 { "wxGrid_GetRowLabelSize", (PyCFunction
) _wrap_wxGrid_GetRowLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
12849 { "wxGrid_GetDefaultRowLabelSize", (PyCFunction
) _wrap_wxGrid_GetDefaultRowLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
12850 { "wxGrid_MoveCursorRightBlock", (PyCFunction
) _wrap_wxGrid_MoveCursorRightBlock
, METH_VARARGS
| METH_KEYWORDS
},
12851 { "wxGrid_MoveCursorLeftBlock", (PyCFunction
) _wrap_wxGrid_MoveCursorLeftBlock
, METH_VARARGS
| METH_KEYWORDS
},
12852 { "wxGrid_MoveCursorDownBlock", (PyCFunction
) _wrap_wxGrid_MoveCursorDownBlock
, METH_VARARGS
| METH_KEYWORDS
},
12853 { "wxGrid_MoveCursorUpBlock", (PyCFunction
) _wrap_wxGrid_MoveCursorUpBlock
, METH_VARARGS
| METH_KEYWORDS
},
12854 { "wxGrid_MovePageUp", (PyCFunction
) _wrap_wxGrid_MovePageUp
, METH_VARARGS
| METH_KEYWORDS
},
12855 { "wxGrid_MovePageDown", (PyCFunction
) _wrap_wxGrid_MovePageDown
, METH_VARARGS
| METH_KEYWORDS
},
12856 { "wxGrid_MoveCursorRight", (PyCFunction
) _wrap_wxGrid_MoveCursorRight
, METH_VARARGS
| METH_KEYWORDS
},
12857 { "wxGrid_MoveCursorLeft", (PyCFunction
) _wrap_wxGrid_MoveCursorLeft
, METH_VARARGS
| METH_KEYWORDS
},
12858 { "wxGrid_MoveCursorDown", (PyCFunction
) _wrap_wxGrid_MoveCursorDown
, METH_VARARGS
| METH_KEYWORDS
},
12859 { "wxGrid_MoveCursorUp", (PyCFunction
) _wrap_wxGrid_MoveCursorUp
, METH_VARARGS
| METH_KEYWORDS
},
12860 { "wxGrid_SetGridCursor", (PyCFunction
) _wrap_wxGrid_SetGridCursor
, METH_VARARGS
| METH_KEYWORDS
},
12861 { "wxGrid_MakeCellVisible", (PyCFunction
) _wrap_wxGrid_MakeCellVisible
, METH_VARARGS
| METH_KEYWORDS
},
12862 { "wxGrid_IsVisible", (PyCFunction
) _wrap_wxGrid_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
12863 { "wxGrid_GetGridCursorCol", (PyCFunction
) _wrap_wxGrid_GetGridCursorCol
, METH_VARARGS
| METH_KEYWORDS
},
12864 { "wxGrid_GetGridCursorRow", (PyCFunction
) _wrap_wxGrid_GetGridCursorRow
, METH_VARARGS
| METH_KEYWORDS
},
12865 { "wxGrid_CellToRect", (PyCFunction
) _wrap_wxGrid_CellToRect
, METH_VARARGS
| METH_KEYWORDS
},
12866 { "wxGrid_XToEdgeOfCol", (PyCFunction
) _wrap_wxGrid_XToEdgeOfCol
, METH_VARARGS
| METH_KEYWORDS
},
12867 { "wxGrid_YToEdgeOfRow", (PyCFunction
) _wrap_wxGrid_YToEdgeOfRow
, METH_VARARGS
| METH_KEYWORDS
},
12868 { "wxGrid_XToCol", (PyCFunction
) _wrap_wxGrid_XToCol
, METH_VARARGS
| METH_KEYWORDS
},
12869 { "wxGrid_YToRow", (PyCFunction
) _wrap_wxGrid_YToRow
, METH_VARARGS
| METH_KEYWORDS
},
12870 { "wxGrid_XYToCell", (PyCFunction
) _wrap_wxGrid_XYToCell
, METH_VARARGS
| METH_KEYWORDS
},
12871 { "wxGrid_SaveEditControlValue", (PyCFunction
) _wrap_wxGrid_SaveEditControlValue
, METH_VARARGS
| METH_KEYWORDS
},
12872 { "wxGrid_HideCellEditControl", (PyCFunction
) _wrap_wxGrid_HideCellEditControl
, METH_VARARGS
| METH_KEYWORDS
},
12873 { "wxGrid_ShowCellEditControl", (PyCFunction
) _wrap_wxGrid_ShowCellEditControl
, METH_VARARGS
| METH_KEYWORDS
},
12874 { "wxGrid_IsCurrentCellReadOnly", (PyCFunction
) _wrap_wxGrid_IsCurrentCellReadOnly
, METH_VARARGS
| METH_KEYWORDS
},
12875 { "wxGrid_IsCellEditControlShown", (PyCFunction
) _wrap_wxGrid_IsCellEditControlShown
, METH_VARARGS
| METH_KEYWORDS
},
12876 { "wxGrid_IsCellEditControlEnabled", (PyCFunction
) _wrap_wxGrid_IsCellEditControlEnabled
, METH_VARARGS
| METH_KEYWORDS
},
12877 { "wxGrid_CanEnableCellControl", (PyCFunction
) _wrap_wxGrid_CanEnableCellControl
, METH_VARARGS
| METH_KEYWORDS
},
12878 { "wxGrid_DisableCellEditControl", (PyCFunction
) _wrap_wxGrid_DisableCellEditControl
, METH_VARARGS
| METH_KEYWORDS
},
12879 { "wxGrid_EnableCellEditControl", (PyCFunction
) _wrap_wxGrid_EnableCellEditControl
, METH_VARARGS
| METH_KEYWORDS
},
12880 { "wxGrid_EnableEditing", (PyCFunction
) _wrap_wxGrid_EnableEditing
, METH_VARARGS
| METH_KEYWORDS
},
12881 { "wxGrid_IsEditable", (PyCFunction
) _wrap_wxGrid_IsEditable
, METH_VARARGS
| METH_KEYWORDS
},
12882 { "wxGrid_GetBatchCount", (PyCFunction
) _wrap_wxGrid_GetBatchCount
, METH_VARARGS
| METH_KEYWORDS
},
12883 { "wxGrid_EndBatch", (PyCFunction
) _wrap_wxGrid_EndBatch
, METH_VARARGS
| METH_KEYWORDS
},
12884 { "wxGrid_BeginBatch", (PyCFunction
) _wrap_wxGrid_BeginBatch
, METH_VARARGS
| METH_KEYWORDS
},
12885 { "wxGrid_GetTextBoxSize", (PyCFunction
) _wrap_wxGrid_GetTextBoxSize
, METH_VARARGS
| METH_KEYWORDS
},
12886 { "wxGrid_StringToLines", (PyCFunction
) _wrap_wxGrid_StringToLines
, METH_VARARGS
| METH_KEYWORDS
},
12887 { "wxGrid_DrawTextRectangle", (PyCFunction
) _wrap_wxGrid_DrawTextRectangle
, METH_VARARGS
| METH_KEYWORDS
},
12888 { "wxGrid_DrawCellHighlight", (PyCFunction
) _wrap_wxGrid_DrawCellHighlight
, METH_VARARGS
| METH_KEYWORDS
},
12889 { "wxGrid_DeleteCols", (PyCFunction
) _wrap_wxGrid_DeleteCols
, METH_VARARGS
| METH_KEYWORDS
},
12890 { "wxGrid_AppendCols", (PyCFunction
) _wrap_wxGrid_AppendCols
, METH_VARARGS
| METH_KEYWORDS
},
12891 { "wxGrid_InsertCols", (PyCFunction
) _wrap_wxGrid_InsertCols
, METH_VARARGS
| METH_KEYWORDS
},
12892 { "wxGrid_DeleteRows", (PyCFunction
) _wrap_wxGrid_DeleteRows
, METH_VARARGS
| METH_KEYWORDS
},
12893 { "wxGrid_AppendRows", (PyCFunction
) _wrap_wxGrid_AppendRows
, METH_VARARGS
| METH_KEYWORDS
},
12894 { "wxGrid_InsertRows", (PyCFunction
) _wrap_wxGrid_InsertRows
, METH_VARARGS
| METH_KEYWORDS
},
12895 { "wxGrid_ClearGrid", (PyCFunction
) _wrap_wxGrid_ClearGrid
, METH_VARARGS
| METH_KEYWORDS
},
12896 { "wxGrid_SetTable", (PyCFunction
) _wrap_wxGrid_SetTable
, METH_VARARGS
| METH_KEYWORDS
},
12897 { "wxGrid_GetTable", (PyCFunction
) _wrap_wxGrid_GetTable
, METH_VARARGS
| METH_KEYWORDS
},
12898 { "wxGrid_ProcessTableMessage", (PyCFunction
) _wrap_wxGrid_ProcessTableMessage
, METH_VARARGS
| METH_KEYWORDS
},
12899 { "wxGrid_GetNumberCols", (PyCFunction
) _wrap_wxGrid_GetNumberCols
, METH_VARARGS
| METH_KEYWORDS
},
12900 { "wxGrid_GetNumberRows", (PyCFunction
) _wrap_wxGrid_GetNumberRows
, METH_VARARGS
| METH_KEYWORDS
},
12901 { "wxGrid_SetSelectionMode", (PyCFunction
) _wrap_wxGrid_SetSelectionMode
, METH_VARARGS
| METH_KEYWORDS
},
12902 { "wxGrid_CreateGrid", (PyCFunction
) _wrap_wxGrid_CreateGrid
, METH_VARARGS
| METH_KEYWORDS
},
12903 { "new_wxGrid", (PyCFunction
) _wrap_new_wxGrid
, METH_VARARGS
| METH_KEYWORDS
},
12904 { "wxGridCellCoords___cmp__", (PyCFunction
) _wrap_wxGridCellCoords___cmp__
, METH_VARARGS
| METH_KEYWORDS
},
12905 { "wxGridCellCoords_asTuple", (PyCFunction
) _wrap_wxGridCellCoords_asTuple
, METH_VARARGS
| METH_KEYWORDS
},
12906 { "wxGridCellCoords_Set", (PyCFunction
) _wrap_wxGridCellCoords_Set
, METH_VARARGS
| METH_KEYWORDS
},
12907 { "wxGridCellCoords_SetCol", (PyCFunction
) _wrap_wxGridCellCoords_SetCol
, METH_VARARGS
| METH_KEYWORDS
},
12908 { "wxGridCellCoords_GetCol", (PyCFunction
) _wrap_wxGridCellCoords_GetCol
, METH_VARARGS
| METH_KEYWORDS
},
12909 { "wxGridCellCoords_SetRow", (PyCFunction
) _wrap_wxGridCellCoords_SetRow
, METH_VARARGS
| METH_KEYWORDS
},
12910 { "wxGridCellCoords_GetRow", (PyCFunction
) _wrap_wxGridCellCoords_GetRow
, METH_VARARGS
| METH_KEYWORDS
},
12911 { "delete_wxGridCellCoords", (PyCFunction
) _wrap_delete_wxGridCellCoords
, METH_VARARGS
| METH_KEYWORDS
},
12912 { "new_wxGridCellCoords", (PyCFunction
) _wrap_new_wxGridCellCoords
, METH_VARARGS
| METH_KEYWORDS
},
12913 { "wxGridTableMessage_GetCommandInt2", (PyCFunction
) _wrap_wxGridTableMessage_GetCommandInt2
, METH_VARARGS
| METH_KEYWORDS
},
12914 { "wxGridTableMessage_SetCommandInt2", (PyCFunction
) _wrap_wxGridTableMessage_SetCommandInt2
, METH_VARARGS
| METH_KEYWORDS
},
12915 { "wxGridTableMessage_GetCommandInt", (PyCFunction
) _wrap_wxGridTableMessage_GetCommandInt
, METH_VARARGS
| METH_KEYWORDS
},
12916 { "wxGridTableMessage_SetCommandInt", (PyCFunction
) _wrap_wxGridTableMessage_SetCommandInt
, METH_VARARGS
| METH_KEYWORDS
},
12917 { "wxGridTableMessage_GetId", (PyCFunction
) _wrap_wxGridTableMessage_GetId
, METH_VARARGS
| METH_KEYWORDS
},
12918 { "wxGridTableMessage_SetId", (PyCFunction
) _wrap_wxGridTableMessage_SetId
, METH_VARARGS
| METH_KEYWORDS
},
12919 { "wxGridTableMessage_GetTableObject", (PyCFunction
) _wrap_wxGridTableMessage_GetTableObject
, METH_VARARGS
| METH_KEYWORDS
},
12920 { "wxGridTableMessage_SetTableObject", (PyCFunction
) _wrap_wxGridTableMessage_SetTableObject
, METH_VARARGS
| METH_KEYWORDS
},
12921 { "delete_wxGridTableMessage", (PyCFunction
) _wrap_delete_wxGridTableMessage
, METH_VARARGS
| METH_KEYWORDS
},
12922 { "new_wxGridTableMessage", (PyCFunction
) _wrap_new_wxGridTableMessage
, METH_VARARGS
| METH_KEYWORDS
},
12923 { "new_wxGridStringTable", (PyCFunction
) _wrap_new_wxGridStringTable
, METH_VARARGS
| METH_KEYWORDS
},
12924 { "wxPyGridTableBase_base_SetColAttr", (PyCFunction
) _wrap_wxPyGridTableBase_base_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
},
12925 { "wxPyGridTableBase_base_SetRowAttr", (PyCFunction
) _wrap_wxPyGridTableBase_base_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
},
12926 { "wxPyGridTableBase_base_SetAttr", (PyCFunction
) _wrap_wxPyGridTableBase_base_SetAttr
, METH_VARARGS
| METH_KEYWORDS
},
12927 { "wxPyGridTableBase_base_GetAttr", (PyCFunction
) _wrap_wxPyGridTableBase_base_GetAttr
, METH_VARARGS
| METH_KEYWORDS
},
12928 { "wxPyGridTableBase_base_CanHaveAttributes", (PyCFunction
) _wrap_wxPyGridTableBase_base_CanHaveAttributes
, METH_VARARGS
| METH_KEYWORDS
},
12929 { "wxPyGridTableBase_base_SetColLabelValue", (PyCFunction
) _wrap_wxPyGridTableBase_base_SetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
12930 { "wxPyGridTableBase_base_SetRowLabelValue", (PyCFunction
) _wrap_wxPyGridTableBase_base_SetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
12931 { "wxPyGridTableBase_base_GetColLabelValue", (PyCFunction
) _wrap_wxPyGridTableBase_base_GetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
12932 { "wxPyGridTableBase_base_GetRowLabelValue", (PyCFunction
) _wrap_wxPyGridTableBase_base_GetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
12933 { "wxPyGridTableBase_base_DeleteCols", (PyCFunction
) _wrap_wxPyGridTableBase_base_DeleteCols
, METH_VARARGS
| METH_KEYWORDS
},
12934 { "wxPyGridTableBase_base_AppendCols", (PyCFunction
) _wrap_wxPyGridTableBase_base_AppendCols
, METH_VARARGS
| METH_KEYWORDS
},
12935 { "wxPyGridTableBase_base_InsertCols", (PyCFunction
) _wrap_wxPyGridTableBase_base_InsertCols
, METH_VARARGS
| METH_KEYWORDS
},
12936 { "wxPyGridTableBase_base_DeleteRows", (PyCFunction
) _wrap_wxPyGridTableBase_base_DeleteRows
, METH_VARARGS
| METH_KEYWORDS
},
12937 { "wxPyGridTableBase_base_AppendRows", (PyCFunction
) _wrap_wxPyGridTableBase_base_AppendRows
, METH_VARARGS
| METH_KEYWORDS
},
12938 { "wxPyGridTableBase_base_InsertRows", (PyCFunction
) _wrap_wxPyGridTableBase_base_InsertRows
, METH_VARARGS
| METH_KEYWORDS
},
12939 { "wxPyGridTableBase_base_Clear", (PyCFunction
) _wrap_wxPyGridTableBase_base_Clear
, METH_VARARGS
| METH_KEYWORDS
},
12940 { "wxPyGridTableBase_base_CanSetValueAs", (PyCFunction
) _wrap_wxPyGridTableBase_base_CanSetValueAs
, METH_VARARGS
| METH_KEYWORDS
},
12941 { "wxPyGridTableBase_base_CanGetValueAs", (PyCFunction
) _wrap_wxPyGridTableBase_base_CanGetValueAs
, METH_VARARGS
| METH_KEYWORDS
},
12942 { "wxPyGridTableBase_base_GetTypeName", (PyCFunction
) _wrap_wxPyGridTableBase_base_GetTypeName
, METH_VARARGS
| METH_KEYWORDS
},
12943 { "wxPyGridTableBase_Destroy", (PyCFunction
) _wrap_wxPyGridTableBase_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
12944 { "wxPyGridTableBase__setSelf", (PyCFunction
) _wrap_wxPyGridTableBase__setSelf
, METH_VARARGS
| METH_KEYWORDS
},
12945 { "new_wxPyGridTableBase", (PyCFunction
) _wrap_new_wxPyGridTableBase
, METH_VARARGS
| METH_KEYWORDS
},
12946 { "wxGridTableBase_SetColAttr", (PyCFunction
) _wrap_wxGridTableBase_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
},
12947 { "wxGridTableBase_SetRowAttr", (PyCFunction
) _wrap_wxGridTableBase_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
},
12948 { "wxGridTableBase_SetAttr", (PyCFunction
) _wrap_wxGridTableBase_SetAttr
, METH_VARARGS
| METH_KEYWORDS
},
12949 { "wxGridTableBase_GetAttr", (PyCFunction
) _wrap_wxGridTableBase_GetAttr
, METH_VARARGS
| METH_KEYWORDS
},
12950 { "wxGridTableBase_CanHaveAttributes", (PyCFunction
) _wrap_wxGridTableBase_CanHaveAttributes
, METH_VARARGS
| METH_KEYWORDS
},
12951 { "wxGridTableBase_SetColLabelValue", (PyCFunction
) _wrap_wxGridTableBase_SetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
12952 { "wxGridTableBase_SetRowLabelValue", (PyCFunction
) _wrap_wxGridTableBase_SetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
12953 { "wxGridTableBase_GetColLabelValue", (PyCFunction
) _wrap_wxGridTableBase_GetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
12954 { "wxGridTableBase_GetRowLabelValue", (PyCFunction
) _wrap_wxGridTableBase_GetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
12955 { "wxGridTableBase_DeleteCols", (PyCFunction
) _wrap_wxGridTableBase_DeleteCols
, METH_VARARGS
| METH_KEYWORDS
},
12956 { "wxGridTableBase_AppendCols", (PyCFunction
) _wrap_wxGridTableBase_AppendCols
, METH_VARARGS
| METH_KEYWORDS
},
12957 { "wxGridTableBase_InsertCols", (PyCFunction
) _wrap_wxGridTableBase_InsertCols
, METH_VARARGS
| METH_KEYWORDS
},
12958 { "wxGridTableBase_DeleteRows", (PyCFunction
) _wrap_wxGridTableBase_DeleteRows
, METH_VARARGS
| METH_KEYWORDS
},
12959 { "wxGridTableBase_AppendRows", (PyCFunction
) _wrap_wxGridTableBase_AppendRows
, METH_VARARGS
| METH_KEYWORDS
},
12960 { "wxGridTableBase_InsertRows", (PyCFunction
) _wrap_wxGridTableBase_InsertRows
, METH_VARARGS
| METH_KEYWORDS
},
12961 { "wxGridTableBase_Clear", (PyCFunction
) _wrap_wxGridTableBase_Clear
, METH_VARARGS
| METH_KEYWORDS
},
12962 { "wxGridTableBase_SetValueAsBool", (PyCFunction
) _wrap_wxGridTableBase_SetValueAsBool
, METH_VARARGS
| METH_KEYWORDS
},
12963 { "wxGridTableBase_SetValueAsDouble", (PyCFunction
) _wrap_wxGridTableBase_SetValueAsDouble
, METH_VARARGS
| METH_KEYWORDS
},
12964 { "wxGridTableBase_SetValueAsLong", (PyCFunction
) _wrap_wxGridTableBase_SetValueAsLong
, METH_VARARGS
| METH_KEYWORDS
},
12965 { "wxGridTableBase_GetValueAsBool", (PyCFunction
) _wrap_wxGridTableBase_GetValueAsBool
, METH_VARARGS
| METH_KEYWORDS
},
12966 { "wxGridTableBase_GetValueAsDouble", (PyCFunction
) _wrap_wxGridTableBase_GetValueAsDouble
, METH_VARARGS
| METH_KEYWORDS
},
12967 { "wxGridTableBase_GetValueAsLong", (PyCFunction
) _wrap_wxGridTableBase_GetValueAsLong
, METH_VARARGS
| METH_KEYWORDS
},
12968 { "wxGridTableBase_CanSetValueAs", (PyCFunction
) _wrap_wxGridTableBase_CanSetValueAs
, METH_VARARGS
| METH_KEYWORDS
},
12969 { "wxGridTableBase_CanGetValueAs", (PyCFunction
) _wrap_wxGridTableBase_CanGetValueAs
, METH_VARARGS
| METH_KEYWORDS
},
12970 { "wxGridTableBase_GetTypeName", (PyCFunction
) _wrap_wxGridTableBase_GetTypeName
, METH_VARARGS
| METH_KEYWORDS
},
12971 { "wxGridTableBase_SetValue", (PyCFunction
) _wrap_wxGridTableBase_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
12972 { "wxGridTableBase_GetValue", (PyCFunction
) _wrap_wxGridTableBase_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
12973 { "wxGridTableBase_IsEmptyCell", (PyCFunction
) _wrap_wxGridTableBase_IsEmptyCell
, METH_VARARGS
| METH_KEYWORDS
},
12974 { "wxGridTableBase_GetNumberCols", (PyCFunction
) _wrap_wxGridTableBase_GetNumberCols
, METH_VARARGS
| METH_KEYWORDS
},
12975 { "wxGridTableBase_GetNumberRows", (PyCFunction
) _wrap_wxGridTableBase_GetNumberRows
, METH_VARARGS
| METH_KEYWORDS
},
12976 { "wxGridTableBase_GetView", (PyCFunction
) _wrap_wxGridTableBase_GetView
, METH_VARARGS
| METH_KEYWORDS
},
12977 { "wxGridTableBase_SetView", (PyCFunction
) _wrap_wxGridTableBase_SetView
, METH_VARARGS
| METH_KEYWORDS
},
12978 { "wxGridTableBase_GetAttrProvider", (PyCFunction
) _wrap_wxGridTableBase_GetAttrProvider
, METH_VARARGS
| METH_KEYWORDS
},
12979 { "wxGridTableBase_SetAttrProvider", (PyCFunction
) _wrap_wxGridTableBase_SetAttrProvider
, METH_VARARGS
| METH_KEYWORDS
},
12980 { "wxPyGridCellAttrProvider_base_SetColAttr", (PyCFunction
) _wrap_wxPyGridCellAttrProvider_base_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
},
12981 { "wxPyGridCellAttrProvider_base_SetRowAttr", (PyCFunction
) _wrap_wxPyGridCellAttrProvider_base_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
},
12982 { "wxPyGridCellAttrProvider_base_SetAttr", (PyCFunction
) _wrap_wxPyGridCellAttrProvider_base_SetAttr
, METH_VARARGS
| METH_KEYWORDS
},
12983 { "wxPyGridCellAttrProvider_base_GetAttr", (PyCFunction
) _wrap_wxPyGridCellAttrProvider_base_GetAttr
, METH_VARARGS
| METH_KEYWORDS
},
12984 { "wxPyGridCellAttrProvider__setSelf", (PyCFunction
) _wrap_wxPyGridCellAttrProvider__setSelf
, METH_VARARGS
| METH_KEYWORDS
},
12985 { "new_wxPyGridCellAttrProvider", (PyCFunction
) _wrap_new_wxPyGridCellAttrProvider
, METH_VARARGS
| METH_KEYWORDS
},
12986 { "wxGridCellAttrProvider_UpdateAttrCols", (PyCFunction
) _wrap_wxGridCellAttrProvider_UpdateAttrCols
, METH_VARARGS
| METH_KEYWORDS
},
12987 { "wxGridCellAttrProvider_UpdateAttrRows", (PyCFunction
) _wrap_wxGridCellAttrProvider_UpdateAttrRows
, METH_VARARGS
| METH_KEYWORDS
},
12988 { "wxGridCellAttrProvider_SetColAttr", (PyCFunction
) _wrap_wxGridCellAttrProvider_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
},
12989 { "wxGridCellAttrProvider_SetRowAttr", (PyCFunction
) _wrap_wxGridCellAttrProvider_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
},
12990 { "wxGridCellAttrProvider_SetAttr", (PyCFunction
) _wrap_wxGridCellAttrProvider_SetAttr
, METH_VARARGS
| METH_KEYWORDS
},
12991 { "wxGridCellAttrProvider_GetAttr", (PyCFunction
) _wrap_wxGridCellAttrProvider_GetAttr
, METH_VARARGS
| METH_KEYWORDS
},
12992 { "new_wxGridCellAttrProvider", (PyCFunction
) _wrap_new_wxGridCellAttrProvider
, METH_VARARGS
| METH_KEYWORDS
},
12993 { "wxGridCellAttr_SetDefAttr", (PyCFunction
) _wrap_wxGridCellAttr_SetDefAttr
, METH_VARARGS
| METH_KEYWORDS
},
12994 { "wxGridCellAttr_IsReadOnly", (PyCFunction
) _wrap_wxGridCellAttr_IsReadOnly
, METH_VARARGS
| METH_KEYWORDS
},
12995 { "wxGridCellAttr_GetEditor", (PyCFunction
) _wrap_wxGridCellAttr_GetEditor
, METH_VARARGS
| METH_KEYWORDS
},
12996 { "wxGridCellAttr_GetRenderer", (PyCFunction
) _wrap_wxGridCellAttr_GetRenderer
, METH_VARARGS
| METH_KEYWORDS
},
12997 { "wxGridCellAttr_GetAlignment", (PyCFunction
) _wrap_wxGridCellAttr_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
12998 { "wxGridCellAttr_GetFont", (PyCFunction
) _wrap_wxGridCellAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
12999 { "wxGridCellAttr_GetBackgroundColour", (PyCFunction
) _wrap_wxGridCellAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
13000 { "wxGridCellAttr_GetTextColour", (PyCFunction
) _wrap_wxGridCellAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
13001 { "wxGridCellAttr_HasEditor", (PyCFunction
) _wrap_wxGridCellAttr_HasEditor
, METH_VARARGS
| METH_KEYWORDS
},
13002 { "wxGridCellAttr_HasRenderer", (PyCFunction
) _wrap_wxGridCellAttr_HasRenderer
, METH_VARARGS
| METH_KEYWORDS
},
13003 { "wxGridCellAttr_HasAlignment", (PyCFunction
) _wrap_wxGridCellAttr_HasAlignment
, METH_VARARGS
| METH_KEYWORDS
},
13004 { "wxGridCellAttr_HasFont", (PyCFunction
) _wrap_wxGridCellAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
13005 { "wxGridCellAttr_HasBackgroundColour", (PyCFunction
) _wrap_wxGridCellAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
13006 { "wxGridCellAttr_HasTextColour", (PyCFunction
) _wrap_wxGridCellAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
13007 { "wxGridCellAttr_SetEditor", (PyCFunction
) _wrap_wxGridCellAttr_SetEditor
, METH_VARARGS
| METH_KEYWORDS
},
13008 { "wxGridCellAttr_SetRenderer", (PyCFunction
) _wrap_wxGridCellAttr_SetRenderer
, METH_VARARGS
| METH_KEYWORDS
},
13009 { "wxGridCellAttr_SetReadOnly", (PyCFunction
) _wrap_wxGridCellAttr_SetReadOnly
, METH_VARARGS
| METH_KEYWORDS
},
13010 { "wxGridCellAttr_SetAlignment", (PyCFunction
) _wrap_wxGridCellAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
13011 { "wxGridCellAttr_SetFont", (PyCFunction
) _wrap_wxGridCellAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
13012 { "wxGridCellAttr_SetBackgroundColour", (PyCFunction
) _wrap_wxGridCellAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
13013 { "wxGridCellAttr_SetTextColour", (PyCFunction
) _wrap_wxGridCellAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
13014 { "wxGridCellAttr_DecRef", (PyCFunction
) _wrap_wxGridCellAttr_DecRef
, METH_VARARGS
| METH_KEYWORDS
},
13015 { "wxGridCellAttr_IncRef", (PyCFunction
) _wrap_wxGridCellAttr_IncRef
, METH_VARARGS
| METH_KEYWORDS
},
13016 { "wxGridCellAttr_Clone", (PyCFunction
) _wrap_wxGridCellAttr_Clone
, METH_VARARGS
| METH_KEYWORDS
},
13017 { "new_wxGridCellAttr", (PyCFunction
) _wrap_new_wxGridCellAttr
, METH_VARARGS
| METH_KEYWORDS
},
13018 { "new_wxGridCellChoiceEditor", (PyCFunction
) _wrap_new_wxGridCellChoiceEditor
, METH_VARARGS
| METH_KEYWORDS
},
13019 { "new_wxGridCellBoolEditor", (PyCFunction
) _wrap_new_wxGridCellBoolEditor
, METH_VARARGS
| METH_KEYWORDS
},
13020 { "new_wxGridCellFloatEditor", (PyCFunction
) _wrap_new_wxGridCellFloatEditor
, METH_VARARGS
| METH_KEYWORDS
},
13021 { "new_wxGridCellNumberEditor", (PyCFunction
) _wrap_new_wxGridCellNumberEditor
, METH_VARARGS
| METH_KEYWORDS
},
13022 { "new_wxGridCellTextEditor", (PyCFunction
) _wrap_new_wxGridCellTextEditor
, METH_VARARGS
| METH_KEYWORDS
},
13023 { "wxPyGridCellEditor_base_SetParameters", (PyCFunction
) _wrap_wxPyGridCellEditor_base_SetParameters
, METH_VARARGS
| METH_KEYWORDS
},
13024 { "wxPyGridCellEditor_base_Destroy", (PyCFunction
) _wrap_wxPyGridCellEditor_base_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
13025 { "wxPyGridCellEditor_base_HandleReturn", (PyCFunction
) _wrap_wxPyGridCellEditor_base_HandleReturn
, METH_VARARGS
| METH_KEYWORDS
},
13026 { "wxPyGridCellEditor_base_StartingClick", (PyCFunction
) _wrap_wxPyGridCellEditor_base_StartingClick
, METH_VARARGS
| METH_KEYWORDS
},
13027 { "wxPyGridCellEditor_base_StartingKey", (PyCFunction
) _wrap_wxPyGridCellEditor_base_StartingKey
, METH_VARARGS
| METH_KEYWORDS
},
13028 { "wxPyGridCellEditor_base_IsAcceptedKey", (PyCFunction
) _wrap_wxPyGridCellEditor_base_IsAcceptedKey
, METH_VARARGS
| METH_KEYWORDS
},
13029 { "wxPyGridCellEditor_base_PaintBackground", (PyCFunction
) _wrap_wxPyGridCellEditor_base_PaintBackground
, METH_VARARGS
| METH_KEYWORDS
},
13030 { "wxPyGridCellEditor_base_Show", (PyCFunction
) _wrap_wxPyGridCellEditor_base_Show
, METH_VARARGS
| METH_KEYWORDS
},
13031 { "wxPyGridCellEditor_base_SetSize", (PyCFunction
) _wrap_wxPyGridCellEditor_base_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
13032 { "wxPyGridCellEditor__setSelf", (PyCFunction
) _wrap_wxPyGridCellEditor__setSelf
, METH_VARARGS
| METH_KEYWORDS
},
13033 { "new_wxPyGridCellEditor", (PyCFunction
) _wrap_new_wxPyGridCellEditor
, METH_VARARGS
| METH_KEYWORDS
},
13034 { "wxGridCellEditor_Destroy", (PyCFunction
) _wrap_wxGridCellEditor_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
13035 { "wxGridCellEditor_HandleReturn", (PyCFunction
) _wrap_wxGridCellEditor_HandleReturn
, METH_VARARGS
| METH_KEYWORDS
},
13036 { "wxGridCellEditor_StartingClick", (PyCFunction
) _wrap_wxGridCellEditor_StartingClick
, METH_VARARGS
| METH_KEYWORDS
},
13037 { "wxGridCellEditor_StartingKey", (PyCFunction
) _wrap_wxGridCellEditor_StartingKey
, METH_VARARGS
| METH_KEYWORDS
},
13038 { "wxGridCellEditor_IsAcceptedKey", (PyCFunction
) _wrap_wxGridCellEditor_IsAcceptedKey
, METH_VARARGS
| METH_KEYWORDS
},
13039 { "wxGridCellEditor_PaintBackground", (PyCFunction
) _wrap_wxGridCellEditor_PaintBackground
, METH_VARARGS
| METH_KEYWORDS
},
13040 { "wxGridCellEditor_Show", (PyCFunction
) _wrap_wxGridCellEditor_Show
, METH_VARARGS
| METH_KEYWORDS
},
13041 { "wxGridCellEditor_SetSize", (PyCFunction
) _wrap_wxGridCellEditor_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
13042 { "wxGridCellEditor_Clone", (PyCFunction
) _wrap_wxGridCellEditor_Clone
, METH_VARARGS
| METH_KEYWORDS
},
13043 { "wxGridCellEditor_Reset", (PyCFunction
) _wrap_wxGridCellEditor_Reset
, METH_VARARGS
| METH_KEYWORDS
},
13044 { "wxGridCellEditor_EndEdit", (PyCFunction
) _wrap_wxGridCellEditor_EndEdit
, METH_VARARGS
| METH_KEYWORDS
},
13045 { "wxGridCellEditor_BeginEdit", (PyCFunction
) _wrap_wxGridCellEditor_BeginEdit
, METH_VARARGS
| METH_KEYWORDS
},
13046 { "wxGridCellEditor_Create", (PyCFunction
) _wrap_wxGridCellEditor_Create
, METH_VARARGS
| METH_KEYWORDS
},
13047 { "wxGridCellEditor_DecRef", (PyCFunction
) _wrap_wxGridCellEditor_DecRef
, METH_VARARGS
| METH_KEYWORDS
},
13048 { "wxGridCellEditor_IncRef", (PyCFunction
) _wrap_wxGridCellEditor_IncRef
, METH_VARARGS
| METH_KEYWORDS
},
13049 { "wxGridCellEditor_SetParameters", (PyCFunction
) _wrap_wxGridCellEditor_SetParameters
, METH_VARARGS
| METH_KEYWORDS
},
13050 { "wxGridCellEditor_SetControl", (PyCFunction
) _wrap_wxGridCellEditor_SetControl
, METH_VARARGS
| METH_KEYWORDS
},
13051 { "wxGridCellEditor_GetControl", (PyCFunction
) _wrap_wxGridCellEditor_GetControl
, METH_VARARGS
| METH_KEYWORDS
},
13052 { "wxGridCellEditor_IsCreated", (PyCFunction
) _wrap_wxGridCellEditor_IsCreated
, METH_VARARGS
| METH_KEYWORDS
},
13053 { "new_wxGridCellBoolRenderer", (PyCFunction
) _wrap_new_wxGridCellBoolRenderer
, METH_VARARGS
| METH_KEYWORDS
},
13054 { "wxGridCellFloatRenderer_SetPrecision", (PyCFunction
) _wrap_wxGridCellFloatRenderer_SetPrecision
, METH_VARARGS
| METH_KEYWORDS
},
13055 { "wxGridCellFloatRenderer_GetPrecision", (PyCFunction
) _wrap_wxGridCellFloatRenderer_GetPrecision
, METH_VARARGS
| METH_KEYWORDS
},
13056 { "wxGridCellFloatRenderer_SetWidth", (PyCFunction
) _wrap_wxGridCellFloatRenderer_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
13057 { "wxGridCellFloatRenderer_GetWidth", (PyCFunction
) _wrap_wxGridCellFloatRenderer_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
13058 { "new_wxGridCellFloatRenderer", (PyCFunction
) _wrap_new_wxGridCellFloatRenderer
, METH_VARARGS
| METH_KEYWORDS
},
13059 { "new_wxGridCellNumberRenderer", (PyCFunction
) _wrap_new_wxGridCellNumberRenderer
, METH_VARARGS
| METH_KEYWORDS
},
13060 { "new_wxGridCellStringRenderer", (PyCFunction
) _wrap_new_wxGridCellStringRenderer
, METH_VARARGS
| METH_KEYWORDS
},
13061 { "wxPyGridCellRenderer_base_SetParameters", (PyCFunction
) _wrap_wxPyGridCellRenderer_base_SetParameters
, METH_VARARGS
| METH_KEYWORDS
},
13062 { "wxPyGridCellRenderer__setSelf", (PyCFunction
) _wrap_wxPyGridCellRenderer__setSelf
, METH_VARARGS
| METH_KEYWORDS
},
13063 { "new_wxPyGridCellRenderer", (PyCFunction
) _wrap_new_wxPyGridCellRenderer
, METH_VARARGS
| METH_KEYWORDS
},
13064 { "wxGridCellRenderer_Clone", (PyCFunction
) _wrap_wxGridCellRenderer_Clone
, METH_VARARGS
| METH_KEYWORDS
},
13065 { "wxGridCellRenderer_GetBestSize", (PyCFunction
) _wrap_wxGridCellRenderer_GetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
13066 { "wxGridCellRenderer_Draw", (PyCFunction
) _wrap_wxGridCellRenderer_Draw
, METH_VARARGS
| METH_KEYWORDS
},
13067 { "wxGridCellRenderer_DecRef", (PyCFunction
) _wrap_wxGridCellRenderer_DecRef
, METH_VARARGS
| METH_KEYWORDS
},
13068 { "wxGridCellRenderer_IncRef", (PyCFunction
) _wrap_wxGridCellRenderer_IncRef
, METH_VARARGS
| METH_KEYWORDS
},
13069 { "wxGridCellRenderer_SetParameters", (PyCFunction
) _wrap_wxGridCellRenderer_SetParameters
, METH_VARARGS
| METH_KEYWORDS
},
13076 * This table is used by the pointer type-checker
13078 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
13079 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
13080 { "_wxEvent","_class_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxEvent
},
13081 { "_wxEvent","_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxEvent
},
13082 { "_wxEvent","_class_wxGridSizeEvent",SwigwxGridSizeEventTowxEvent
},
13083 { "_wxEvent","_wxGridSizeEvent",SwigwxGridSizeEventTowxEvent
},
13084 { "_wxEvent","_class_wxGridEvent",SwigwxGridEventTowxEvent
},
13085 { "_wxEvent","_wxGridEvent",SwigwxGridEventTowxEvent
},
13086 { "_wxEvent","_class_wxEvent",0},
13087 { "_class_wxActivateEvent","_wxActivateEvent",0},
13088 { "_signed_long","_long",0},
13089 { "_wxMenuEvent","_class_wxMenuEvent",0},
13090 { "_class_wxGridCellRenderer","_class_wxGridCellBoolRenderer",SwigwxGridCellBoolRendererTowxGridCellRenderer
},
13091 { "_class_wxGridCellRenderer","_wxGridCellBoolRenderer",SwigwxGridCellBoolRendererTowxGridCellRenderer
},
13092 { "_class_wxGridCellRenderer","_class_wxGridCellFloatRenderer",SwigwxGridCellFloatRendererTowxGridCellRenderer
},
13093 { "_class_wxGridCellRenderer","_wxGridCellFloatRenderer",SwigwxGridCellFloatRendererTowxGridCellRenderer
},
13094 { "_class_wxGridCellRenderer","_class_wxGridCellNumberRenderer",SwigwxGridCellNumberRendererTowxGridCellRenderer
},
13095 { "_class_wxGridCellRenderer","_wxGridCellNumberRenderer",SwigwxGridCellNumberRendererTowxGridCellRenderer
},
13096 { "_class_wxGridCellRenderer","_class_wxGridCellStringRenderer",SwigwxGridCellStringRendererTowxGridCellRenderer
},
13097 { "_class_wxGridCellRenderer","_wxGridCellStringRenderer",SwigwxGridCellStringRendererTowxGridCellRenderer
},
13098 { "_class_wxGridCellRenderer","_class_wxPyGridCellRenderer",SwigwxPyGridCellRendererTowxGridCellRenderer
},
13099 { "_class_wxGridCellRenderer","_wxPyGridCellRenderer",SwigwxPyGridCellRendererTowxGridCellRenderer
},
13100 { "_class_wxGridCellRenderer","_wxGridCellRenderer",0},
13101 { "_wxPyBitmapDataObject","_class_wxPyBitmapDataObject",0},
13102 { "_wxGridCellChoiceEditor","_class_wxGridCellChoiceEditor",0},
13103 { "_wxGridSizeEvent","_class_wxGridSizeEvent",0},
13104 { "_wxBitmapDataObject","_class_wxBitmapDataObject",0},
13105 { "_class_wxPyCommandEvent","_wxPyCommandEvent",0},
13106 { "_wxPrintQuality","_WXGRIDSELECTIONMODES",0},
13107 { "_wxPrintQuality","_wxCoord",0},
13108 { "_wxPrintQuality","_int",0},
13109 { "_wxPrintQuality","_signed_int",0},
13110 { "_wxPrintQuality","_unsigned_int",0},
13111 { "_wxPrintQuality","_wxWindowID",0},
13112 { "_wxPrintQuality","_uint",0},
13113 { "_wxPrintQuality","_EBool",0},
13114 { "_wxPrintQuality","_size_t",0},
13115 { "_wxPrintQuality","_time_t",0},
13116 { "_class_wxCustomDataObject","_wxCustomDataObject",0},
13117 { "_wxSpinCtrl","_class_wxSpinCtrl",0},
13118 { "_class_wxRegionIterator","_wxRegionIterator",0},
13119 { "_class_wxPyTextDropTarget","_wxPyTextDropTarget",0},
13120 { "_class_wxMenuBar","_wxMenuBar",0},
13121 { "_class_wxPyGridCellEditor","_wxPyGridCellEditor",0},
13122 { "_class_wxEvtHandler","_class_wxGrid",SwigwxGridTowxEvtHandler
},
13123 { "_class_wxEvtHandler","_wxGrid",SwigwxGridTowxEvtHandler
},
13124 { "_class_wxEvtHandler","_wxEvtHandler",0},
13125 { "_wxPaintEvent","_class_wxPaintEvent",0},
13126 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
13127 { "_wxCursor","_class_wxCursor",0},
13128 { "_wxNotifyEvent","_class_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxNotifyEvent
},
13129 { "_wxNotifyEvent","_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxNotifyEvent
},
13130 { "_wxNotifyEvent","_class_wxGridSizeEvent",SwigwxGridSizeEventTowxNotifyEvent
},
13131 { "_wxNotifyEvent","_wxGridSizeEvent",SwigwxGridSizeEventTowxNotifyEvent
},
13132 { "_wxNotifyEvent","_class_wxGridEvent",SwigwxGridEventTowxNotifyEvent
},
13133 { "_wxNotifyEvent","_wxGridEvent",SwigwxGridEventTowxNotifyEvent
},
13134 { "_wxNotifyEvent","_class_wxNotifyEvent",0},
13135 { "_wxMask","_class_wxMask",0},
13136 { "_wxGridCellNumberEditor","_class_wxGridCellNumberEditor",0},
13137 { "_wxGrid","_class_wxGrid",0},
13138 { "_wxPen","_class_wxPen",0},
13139 { "_wxUpdateUIEvent","_class_wxUpdateUIEvent",0},
13140 { "_byte","_unsigned_char",0},
13141 { "_wxDataObject","_class_wxDataObject",0},
13142 { "_wxStaticBox","_class_wxStaticBox",0},
13143 { "_wxPyDataObjectSimple","_class_wxPyDataObjectSimple",0},
13144 { "_wxPyDropSource","_class_wxPyDropSource",0},
13145 { "_wxChoice","_class_wxChoice",0},
13146 { "_wxSlider","_class_wxSlider",0},
13147 { "_wxGridTableMessage","_class_wxGridTableMessage",0},
13148 { "_long","_unsigned_long",0},
13149 { "_long","_signed_long",0},
13150 { "_wxImageList","_class_wxImageList",0},
13151 { "_wxDataObjectSimple","_class_wxDataObjectSimple",0},
13152 { "_wxDropFilesEvent","_class_wxDropFilesEvent",0},
13153 { "_wxBitmapButton","_class_wxBitmapButton",0},
13154 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
13155 { "_class_wxClipboard","_wxClipboard",0},
13156 { "_class_wxGauge","_wxGauge",0},
13157 { "_wxGridCellCoords","_class_wxGridCellCoords",0},
13158 { "_wxGridCellNumberRenderer","_class_wxGridCellNumberRenderer",0},
13159 { "_wxDC","_class_wxDC",0},
13160 { "_class_wxGridSizeEvent","_wxGridSizeEvent",0},
13161 { "_class_wxBitmapDataObject","_wxBitmapDataObject",0},
13162 { "_class_wxGridCellBoolEditor","_wxGridCellBoolEditor",0},
13163 { "_wxSpinEvent","_class_wxSpinEvent",0},
13164 { "_size_t","_WXGRIDSELECTIONMODES",0},
13165 { "_size_t","_wxCoord",0},
13166 { "_size_t","_wxPrintQuality",0},
13167 { "_size_t","_time_t",0},
13168 { "_size_t","_unsigned_int",0},
13169 { "_size_t","_int",0},
13170 { "_size_t","_wxWindowID",0},
13171 { "_size_t","_uint",0},
13172 { "_class_wxRealPoint","_wxRealPoint",0},
13173 { "_wxNavigationKeyEvent","_class_wxNavigationKeyEvent",0},
13174 { "_class_wxGridRangeSelectEvent","_wxGridRangeSelectEvent",0},
13175 { "_wxWindowCreateEvent","_class_wxWindowCreateEvent",0},
13176 { "_class_wxMenuItem","_wxMenuItem",0},
13177 { "_class_wxPaintEvent","_wxPaintEvent",0},
13178 { "_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0},
13179 { "_class_wxPostScriptDC","_wxPostScriptDC",0},
13180 { "_wxPanel","_class_wxGrid",SwigwxGridTowxPanel
},
13181 { "_wxPanel","_wxGrid",SwigwxGridTowxPanel
},
13182 { "_wxPanel","_class_wxPanel",0},
13183 { "_wxInitDialogEvent","_class_wxInitDialogEvent",0},
13184 { "_wxCheckBox","_class_wxCheckBox",0},
13185 { "_wxPyEvent","_class_wxPyEvent",0},
13186 { "_wxTextCtrl","_class_wxTextCtrl",0},
13187 { "_class_wxMask","_wxMask",0},
13188 { "_wxTextDataObject","_class_wxTextDataObject",0},
13189 { "_class_wxKeyEvent","_wxKeyEvent",0},
13190 { "_class_wxGrid","_wxGrid",0},
13191 { "_wxColour","_class_wxColour",0},
13192 { "_class_wxDialog","_wxDialog",0},
13193 { "_class_wxFileDataObject","_wxFileDataObject",0},
13194 { "_wxIdleEvent","_class_wxIdleEvent",0},
13195 { "_class_wxUpdateUIEvent","_wxUpdateUIEvent",0},
13196 { "_class_wxDataObject","_wxDataObject",0},
13197 { "_wxStaticLine","_class_wxStaticLine",0},
13198 { "_wxBrush","_class_wxBrush",0},
13199 { "_class_wxGridTableMessage","_wxGridTableMessage",0},
13200 { "_wxDataFormat","_class_wxDataFormat",0},
13201 { "_class_wxDataObjectSimple","_wxDataObjectSimple",0},
13202 { "_class_wxGridCellAttr","_wxGridCellAttr",0},
13203 { "_wxShowEvent","_class_wxShowEvent",0},
13204 { "_uint","_WXGRIDSELECTIONMODES",0},
13205 { "_uint","_wxCoord",0},
13206 { "_uint","_wxPrintQuality",0},
13207 { "_uint","_time_t",0},
13208 { "_uint","_size_t",0},
13209 { "_uint","_unsigned_int",0},
13210 { "_uint","_int",0},
13211 { "_uint","_wxWindowID",0},
13212 { "_wxChar","_char",0},
13213 { "_wxPyValidator","_class_wxPyValidator",0},
13214 { "_class_wxEvent","_class_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxEvent
},
13215 { "_class_wxEvent","_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxEvent
},
13216 { "_class_wxEvent","_class_wxGridSizeEvent",SwigwxGridSizeEventTowxEvent
},
13217 { "_class_wxEvent","_wxGridSizeEvent",SwigwxGridSizeEventTowxEvent
},
13218 { "_class_wxEvent","_class_wxGridEvent",SwigwxGridEventTowxEvent
},
13219 { "_class_wxEvent","_wxGridEvent",SwigwxGridEventTowxEvent
},
13220 { "_class_wxEvent","_wxEvent",0},
13221 { "_wxCheckListBox","_class_wxCheckListBox",0},
13222 { "_class_wxGridCellNumberRenderer","_wxGridCellNumberRenderer",0},
13223 { "_wxGridEvent","_class_wxGridEvent",0},
13224 { "_wxRect","_class_wxRect",0},
13225 { "_wxCommandEvent","_class_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxCommandEvent
},
13226 { "_wxCommandEvent","_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxCommandEvent
},
13227 { "_wxCommandEvent","_class_wxGridSizeEvent",SwigwxGridSizeEventTowxCommandEvent
},
13228 { "_wxCommandEvent","_wxGridSizeEvent",SwigwxGridSizeEventTowxCommandEvent
},
13229 { "_wxCommandEvent","_class_wxGridEvent",SwigwxGridEventTowxCommandEvent
},
13230 { "_wxCommandEvent","_wxGridEvent",SwigwxGridEventTowxCommandEvent
},
13231 { "_wxCommandEvent","_class_wxCommandEvent",0},
13232 { "_class_wxGridCellChoiceEditor","_wxGridCellChoiceEditor",0},
13233 { "_wxSizeEvent","_class_wxSizeEvent",0},
13234 { "_wxPoint","_class_wxPoint",0},
13235 { "_class_wxButton","_wxButton",0},
13236 { "_wxRadioBox","_class_wxRadioBox",0},
13237 { "_class_wxSpinCtrl","_wxSpinCtrl",0},
13238 { "_char","_wxChar",0},
13239 { "_wxBitmap","_class_wxBitmap",0},
13240 { "_wxGridCellStringRenderer","_class_wxGridCellFloatRenderer",SwigwxGridCellFloatRendererTowxGridCellStringRenderer
},
13241 { "_wxGridCellStringRenderer","_wxGridCellFloatRenderer",SwigwxGridCellFloatRendererTowxGridCellStringRenderer
},
13242 { "_wxGridCellStringRenderer","_class_wxGridCellNumberRenderer",SwigwxGridCellNumberRendererTowxGridCellStringRenderer
},
13243 { "_wxGridCellStringRenderer","_wxGridCellNumberRenderer",SwigwxGridCellNumberRendererTowxGridCellStringRenderer
},
13244 { "_wxGridCellStringRenderer","_class_wxGridCellStringRenderer",0},
13245 { "_wxPyGridTableBase","_class_wxPyGridTableBase",0},
13246 { "_wxWindowDC","_class_wxWindowDC",0},
13247 { "_wxTimerEvent","_class_wxTimerEvent",0},
13248 { "_wxScrollBar","_class_wxScrollBar",0},
13249 { "_wxSpinButton","_class_wxSpinButton",0},
13250 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
13251 { "_class_wxNotifyEvent","_class_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxNotifyEvent
},
13252 { "_class_wxNotifyEvent","_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxNotifyEvent
},
13253 { "_class_wxNotifyEvent","_class_wxGridSizeEvent",SwigwxGridSizeEventTowxNotifyEvent
},
13254 { "_class_wxNotifyEvent","_wxGridSizeEvent",SwigwxGridSizeEventTowxNotifyEvent
},
13255 { "_class_wxNotifyEvent","_class_wxGridEvent",SwigwxGridEventTowxNotifyEvent
},
13256 { "_class_wxNotifyEvent","_wxGridEvent",SwigwxGridEventTowxNotifyEvent
},
13257 { "_class_wxNotifyEvent","_wxNotifyEvent",0},
13258 { "_class_wxValidator","_wxValidator",0},
13259 { "_class_wxPyEvent","_wxPyEvent",0},
13260 { "_class_wxIconizeEvent","_wxIconizeEvent",0},
13261 { "_class_wxStaticBitmap","_wxStaticBitmap",0},
13262 { "_class_wxGridCellNumberEditor","_wxGridCellNumberEditor",0},
13263 { "_wxDropTarget","_class_wxDropTarget",0},
13264 { "_class_wxStaticLine","_wxStaticLine",0},
13265 { "_wxPyGridCellAttrProvider","_class_wxPyGridCellAttrProvider",0},
13266 { "_wxScrollEvent","_class_wxScrollEvent",0},
13267 { "_wxGridTableBase","_class_wxGridStringTable",SwigwxGridStringTableTowxGridTableBase
},
13268 { "_wxGridTableBase","_wxGridStringTable",SwigwxGridStringTableTowxGridTableBase
},
13269 { "_wxGridTableBase","_class_wxPyGridTableBase",SwigwxPyGridTableBaseTowxGridTableBase
},
13270 { "_wxGridTableBase","_wxPyGridTableBase",SwigwxPyGridTableBaseTowxGridTableBase
},
13271 { "_wxGridTableBase","_class_wxGridTableBase",0},
13272 { "_wxGridStringTable","_class_wxGridStringTable",0},
13273 { "_EBool","_WXGRIDSELECTIONMODES",0},
13274 { "_EBool","_wxCoord",0},
13275 { "_EBool","_wxPrintQuality",0},
13276 { "_EBool","_signed_int",0},
13277 { "_EBool","_int",0},
13278 { "_EBool","_wxWindowID",0},
13279 { "_class_wxRegion","_wxRegion",0},
13280 { "_class_wxDataFormat","_wxDataFormat",0},
13281 { "_class_wxDropFilesEvent","_wxDropFilesEvent",0},
13282 { "_wxWindowDestroyEvent","_class_wxWindowDestroyEvent",0},
13283 { "_wxStaticText","_class_wxStaticText",0},
13284 { "_wxFont","_class_wxFont",0},
13285 { "_class_wxPyDropTarget","_wxPyDropTarget",0},
13286 { "_wxCloseEvent","_class_wxCloseEvent",0},
13287 { "_class_wxPyGridCellRenderer","_wxPyGridCellRenderer",0},
13288 { "_class_wxGridCellCoords","_wxGridCellCoords",0},
13289 { "_class_wxGridCellTextEditor","_class_wxGridCellFloatEditor",SwigwxGridCellFloatEditorTowxGridCellTextEditor
},
13290 { "_class_wxGridCellTextEditor","_wxGridCellFloatEditor",SwigwxGridCellFloatEditorTowxGridCellTextEditor
},
13291 { "_class_wxGridCellTextEditor","_class_wxGridCellNumberEditor",SwigwxGridCellNumberEditorTowxGridCellTextEditor
},
13292 { "_class_wxGridCellTextEditor","_wxGridCellNumberEditor",SwigwxGridCellNumberEditorTowxGridCellTextEditor
},
13293 { "_class_wxGridCellTextEditor","_wxGridCellTextEditor",0},
13294 { "_unsigned_long","_long",0},
13295 { "_class_wxRect","_wxRect",0},
13296 { "_class_wxDC","_wxDC",0},
13297 { "_wxScrollWinEvent","_class_wxScrollWinEvent",0},
13298 { "_WXGRIDSELECTIONMODES","_int",0},
13299 { "_WXGRIDSELECTIONMODES","_signed_int",0},
13300 { "_WXGRIDSELECTIONMODES","_unsigned_int",0},
13301 { "_WXGRIDSELECTIONMODES","_wxWindowID",0},
13302 { "_WXGRIDSELECTIONMODES","_uint",0},
13303 { "_WXGRIDSELECTIONMODES","_EBool",0},
13304 { "_WXGRIDSELECTIONMODES","_size_t",0},
13305 { "_WXGRIDSELECTIONMODES","_time_t",0},
13306 { "_WXGRIDSELECTIONMODES","_wxPrintQuality",0},
13307 { "_WXGRIDSELECTIONMODES","_wxCoord",0},
13308 { "_wxQueryNewPaletteEvent","_class_wxQueryNewPaletteEvent",0},
13309 { "_class_wxWindowCreateEvent","_wxWindowCreateEvent",0},
13310 { "_class_wxGridCellStringRenderer","_class_wxGridCellFloatRenderer",SwigwxGridCellFloatRendererTowxGridCellStringRenderer
},
13311 { "_class_wxGridCellStringRenderer","_wxGridCellFloatRenderer",SwigwxGridCellFloatRendererTowxGridCellStringRenderer
},
13312 { "_class_wxGridCellStringRenderer","_class_wxGridCellNumberRenderer",SwigwxGridCellNumberRendererTowxGridCellStringRenderer
},
13313 { "_class_wxGridCellStringRenderer","_wxGridCellNumberRenderer",SwigwxGridCellNumberRendererTowxGridCellStringRenderer
},
13314 { "_class_wxGridCellStringRenderer","_wxGridCellStringRenderer",0},
13315 { "_class_wxGridCellFloatRenderer","_wxGridCellFloatRenderer",0},
13316 { "_wxFocusEvent","_class_wxFocusEvent",0},
13317 { "_wxMaximizeEvent","_class_wxMaximizeEvent",0},
13318 { "_class_wxTimerEvent","_wxTimerEvent",0},
13319 { "_class_wxSpinButton","_wxSpinButton",0},
13320 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
13321 { "_class_wxPanel","_class_wxGrid",SwigwxGridTowxPanel
},
13322 { "_class_wxPanel","_wxGrid",SwigwxGridTowxPanel
},
13323 { "_class_wxPanel","_wxPanel",0},
13324 { "_class_wxCheckBox","_wxCheckBox",0},
13325 { "_wxComboBox","_class_wxComboBox",0},
13326 { "_wxRadioButton","_class_wxRadioButton",0},
13327 { "_signed_int","_WXGRIDSELECTIONMODES",0},
13328 { "_signed_int","_wxCoord",0},
13329 { "_signed_int","_wxPrintQuality",0},
13330 { "_signed_int","_EBool",0},
13331 { "_signed_int","_wxWindowID",0},
13332 { "_signed_int","_int",0},
13333 { "_class_wxTextCtrl","_wxTextCtrl",0},
13334 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
13335 { "_class_wxTextDataObject","_wxTextDataObject",0},
13336 { "_wxMenu","_class_wxMenu",0},
13337 { "_class_wxMoveEvent","_wxMoveEvent",0},
13338 { "_wxListBox","_class_wxListBox",0},
13339 { "_wxGridCellEditor","_class_wxGridCellChoiceEditor",SwigwxGridCellChoiceEditorTowxGridCellEditor
},
13340 { "_wxGridCellEditor","_wxGridCellChoiceEditor",SwigwxGridCellChoiceEditorTowxGridCellEditor
},
13341 { "_wxGridCellEditor","_class_wxGridCellBoolEditor",SwigwxGridCellBoolEditorTowxGridCellEditor
},
13342 { "_wxGridCellEditor","_wxGridCellBoolEditor",SwigwxGridCellBoolEditorTowxGridCellEditor
},
13343 { "_wxGridCellEditor","_class_wxGridCellFloatEditor",SwigwxGridCellFloatEditorTowxGridCellEditor
},
13344 { "_wxGridCellEditor","_wxGridCellFloatEditor",SwigwxGridCellFloatEditorTowxGridCellEditor
},
13345 { "_wxGridCellEditor","_class_wxGridCellNumberEditor",SwigwxGridCellNumberEditorTowxGridCellEditor
},
13346 { "_wxGridCellEditor","_wxGridCellNumberEditor",SwigwxGridCellNumberEditorTowxGridCellEditor
},
13347 { "_wxGridCellEditor","_class_wxGridCellTextEditor",SwigwxGridCellTextEditorTowxGridCellEditor
},
13348 { "_wxGridCellEditor","_wxGridCellTextEditor",SwigwxGridCellTextEditorTowxGridCellEditor
},
13349 { "_wxGridCellEditor","_class_wxPyGridCellEditor",SwigwxPyGridCellEditorTowxGridCellEditor
},
13350 { "_wxGridCellEditor","_wxPyGridCellEditor",SwigwxPyGridCellEditorTowxGridCellEditor
},
13351 { "_wxGridCellEditor","_class_wxGridCellEditor",0},
13352 { "_wxScreenDC","_class_wxScreenDC",0},
13353 { "_WXTYPE","_short",0},
13354 { "_WXTYPE","_signed_short",0},
13355 { "_WXTYPE","_unsigned_short",0},
13356 { "_wxGridCellAttrProvider","_class_wxPyGridCellAttrProvider",SwigwxPyGridCellAttrProviderTowxGridCellAttrProvider
},
13357 { "_wxGridCellAttrProvider","_wxPyGridCellAttrProvider",SwigwxPyGridCellAttrProviderTowxGridCellAttrProvider
},
13358 { "_wxGridCellAttrProvider","_class_wxGridCellAttrProvider",0},
13359 { "_class_wxDropTarget","_wxDropTarget",0},
13360 { "_wxGridCellFloatEditor","_class_wxGridCellFloatEditor",0},
13361 { "_class_wxPyGridCellAttrProvider","_wxPyGridCellAttrProvider",0},
13362 { "_class_wxBrush","_wxBrush",0},
13363 { "_class_wxGridTableBase","_class_wxGridStringTable",SwigwxGridStringTableTowxGridTableBase
},
13364 { "_class_wxGridTableBase","_wxGridStringTable",SwigwxGridStringTableTowxGridTableBase
},
13365 { "_class_wxGridTableBase","_class_wxPyGridTableBase",SwigwxPyGridTableBaseTowxGridTableBase
},
13366 { "_class_wxGridTableBase","_wxPyGridTableBase",SwigwxPyGridTableBaseTowxGridTableBase
},
13367 { "_class_wxGridTableBase","_wxGridTableBase",0},
13368 { "_unsigned_short","_WXTYPE",0},
13369 { "_unsigned_short","_short",0},
13370 { "_class_wxWindow","_class_wxGrid",SwigwxGridTowxWindow
},
13371 { "_class_wxWindow","_wxGrid",SwigwxGridTowxWindow
},
13372 { "_class_wxWindow","_wxWindow",0},
13373 { "_class_wxStaticText","_wxStaticText",0},
13374 { "_class_wxFont","_wxFont",0},
13375 { "_wxClipboard","_class_wxClipboard",0},
13376 { "_class_wxPyValidator","_wxPyValidator",0},
13377 { "_class_wxCloseEvent","_wxCloseEvent",0},
13378 { "_wxBusyInfo","_class_wxBusyInfo",0},
13379 { "_class_wxMenuEvent","_wxMenuEvent",0},
13380 { "_wxPaletteChangedEvent","_class_wxPaletteChangedEvent",0},
13381 { "_class_wxPyBitmapDataObject","_wxPyBitmapDataObject",0},
13382 { "_wxClientDC","_class_wxClientDC",0},
13383 { "_wxMouseEvent","_class_wxMouseEvent",0},
13384 { "_wxGridCellBoolEditor","_class_wxGridCellBoolEditor",0},
13385 { "_class_wxPoint","_wxPoint",0},
13386 { "_wxRealPoint","_class_wxRealPoint",0},
13387 { "_class_wxRadioBox","_wxRadioBox",0},
13388 { "_signed_short","_WXTYPE",0},
13389 { "_signed_short","_short",0},
13390 { "_wxMemoryDC","_class_wxMemoryDC",0},
13391 { "_wxPyTextDataObject","_class_wxPyTextDataObject",0},
13392 { "_wxPaintDC","_class_wxPaintDC",0},
13393 { "_class_wxWindowDC","_wxWindowDC",0},
13394 { "_class_wxFocusEvent","_wxFocusEvent",0},
13395 { "_class_wxMaximizeEvent","_wxMaximizeEvent",0},
13396 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
13397 { "_class_wxCursor","_wxCursor",0},
13398 { "_wxPostScriptDC","_class_wxPostScriptDC",0},
13399 { "_wxPyFileDropTarget","_class_wxPyFileDropTarget",0},
13400 { "_wxScrolledWindow","_class_wxGrid",SwigwxGridTowxScrolledWindow
},
13401 { "_wxScrolledWindow","_wxGrid",SwigwxGridTowxScrolledWindow
},
13402 { "_wxScrolledWindow","_class_wxScrolledWindow",0},
13403 { "_unsigned_char","_byte",0},
13404 { "_class_wxMenu","_wxMenu",0},
13405 { "_wxControl","_class_wxControl",0},
13406 { "_class_wxListBox","_wxListBox",0},
13407 { "_unsigned_int","_WXGRIDSELECTIONMODES",0},
13408 { "_unsigned_int","_wxCoord",0},
13409 { "_unsigned_int","_wxPrintQuality",0},
13410 { "_unsigned_int","_time_t",0},
13411 { "_unsigned_int","_size_t",0},
13412 { "_unsigned_int","_uint",0},
13413 { "_unsigned_int","_wxWindowID",0},
13414 { "_unsigned_int","_int",0},
13415 { "_wxIcon","_class_wxIcon",0},
13416 { "_wxDialog","_class_wxDialog",0},
13417 { "_class_wxPen","_wxPen",0},
13418 { "_wxGridCellBoolRenderer","_class_wxGridCellBoolRenderer",0},
13419 { "_short","_WXTYPE",0},
13420 { "_short","_unsigned_short",0},
13421 { "_short","_signed_short",0},
13422 { "_class_wxStaticBox","_wxStaticBox",0},
13423 { "_class_wxGridCellFloatEditor","_wxGridCellFloatEditor",0},
13424 { "_class_wxPyDataObjectSimple","_wxPyDataObjectSimple",0},
13425 { "_class_wxPyDropSource","_wxPyDropSource",0},
13426 { "_class_wxScrollEvent","_wxScrollEvent",0},
13427 { "_wxJoystickEvent","_class_wxJoystickEvent",0},
13428 { "_class_wxChoice","_wxChoice",0},
13429 { "_class_wxSlider","_wxSlider",0},
13430 { "_class_wxImageList","_wxImageList",0},
13431 { "_class_wxBitmapButton","_wxBitmapButton",0},
13432 { "_wxGridCellAttr","_class_wxGridCellAttr",0},
13433 { "_class_wxPaletteChangedEvent","_wxPaletteChangedEvent",0},
13434 { "_wxWindowID","_WXGRIDSELECTIONMODES",0},
13435 { "_wxWindowID","_wxCoord",0},
13436 { "_wxWindowID","_wxPrintQuality",0},
13437 { "_wxWindowID","_time_t",0},
13438 { "_wxWindowID","_size_t",0},
13439 { "_wxWindowID","_EBool",0},
13440 { "_wxWindowID","_uint",0},
13441 { "_wxWindowID","_int",0},
13442 { "_wxWindowID","_signed_int",0},
13443 { "_wxWindowID","_unsigned_int",0},
13444 { "_class_wxScrollWinEvent","_wxScrollWinEvent",0},
13445 { "_int","_WXGRIDSELECTIONMODES",0},
13446 { "_int","_wxCoord",0},
13447 { "_int","_wxPrintQuality",0},
13448 { "_int","_time_t",0},
13449 { "_int","_size_t",0},
13450 { "_int","_EBool",0},
13451 { "_int","_uint",0},
13452 { "_int","_wxWindowID",0},
13453 { "_int","_unsigned_int",0},
13454 { "_int","_signed_int",0},
13455 { "_class_wxMouseEvent","_wxMouseEvent",0},
13456 { "_wxPyCommandEvent","_class_wxPyCommandEvent",0},
13457 { "_class_wxSpinEvent","_wxSpinEvent",0},
13458 { "_class_wxQueryNewPaletteEvent","_wxQueryNewPaletteEvent",0},
13459 { "_time_t","_WXGRIDSELECTIONMODES",0},
13460 { "_time_t","_wxCoord",0},
13461 { "_time_t","_wxPrintQuality",0},
13462 { "_time_t","_unsigned_int",0},
13463 { "_time_t","_int",0},
13464 { "_time_t","_wxWindowID",0},
13465 { "_time_t","_uint",0},
13466 { "_time_t","_size_t",0},
13467 { "_class_wxNavigationKeyEvent","_wxNavigationKeyEvent",0},
13468 { "_wxButton","_class_wxButton",0},
13469 { "_wxSize","_class_wxSize",0},
13470 { "_wxRegionIterator","_class_wxRegionIterator",0},
13471 { "_class_wxPyTextDataObject","_wxPyTextDataObject",0},
13472 { "_class_wxPaintDC","_wxPaintDC",0},
13473 { "_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0},
13474 { "_class_wxPyFileDropTarget","_wxPyFileDropTarget",0},
13475 { "_class_wxInitDialogEvent","_wxInitDialogEvent",0},
13476 { "_class_wxComboBox","_wxComboBox",0},
13477 { "_class_wxRadioButton","_wxRadioButton",0},
13478 { "_wxValidator","_class_wxValidator",0},
13479 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
13480 { "_wxIconizeEvent","_class_wxIconizeEvent",0},
13481 { "_class_wxControl","_wxControl",0},
13482 { "_wxStaticBitmap","_class_wxStaticBitmap",0},
13483 { "_class_wxGridCellEditor","_class_wxGridCellChoiceEditor",SwigwxGridCellChoiceEditorTowxGridCellEditor
},
13484 { "_class_wxGridCellEditor","_wxGridCellChoiceEditor",SwigwxGridCellChoiceEditorTowxGridCellEditor
},
13485 { "_class_wxGridCellEditor","_class_wxGridCellBoolEditor",SwigwxGridCellBoolEditorTowxGridCellEditor
},
13486 { "_class_wxGridCellEditor","_wxGridCellBoolEditor",SwigwxGridCellBoolEditorTowxGridCellEditor
},
13487 { "_class_wxGridCellEditor","_class_wxGridCellFloatEditor",SwigwxGridCellFloatEditorTowxGridCellEditor
},
13488 { "_class_wxGridCellEditor","_wxGridCellFloatEditor",SwigwxGridCellFloatEditorTowxGridCellEditor
},
13489 { "_class_wxGridCellEditor","_class_wxGridCellNumberEditor",SwigwxGridCellNumberEditorTowxGridCellEditor
},
13490 { "_class_wxGridCellEditor","_wxGridCellNumberEditor",SwigwxGridCellNumberEditorTowxGridCellEditor
},
13491 { "_class_wxGridCellEditor","_class_wxGridCellTextEditor",SwigwxGridCellTextEditorTowxGridCellEditor
},
13492 { "_class_wxGridCellEditor","_wxGridCellTextEditor",SwigwxGridCellTextEditorTowxGridCellEditor
},
13493 { "_class_wxGridCellEditor","_class_wxPyGridCellEditor",SwigwxPyGridCellEditorTowxGridCellEditor
},
13494 { "_class_wxGridCellEditor","_wxPyGridCellEditor",SwigwxPyGridCellEditorTowxGridCellEditor
},
13495 { "_class_wxGridCellEditor","_wxGridCellEditor",0},
13496 { "_class_wxIcon","_wxIcon",0},
13497 { "_class_wxColour","_wxColour",0},
13498 { "_class_wxScreenDC","_wxScreenDC",0},
13499 { "_wxPalette","_class_wxPalette",0},
13500 { "_class_wxIdleEvent","_wxIdleEvent",0},
13501 { "_class_wxGridCellAttrProvider","_class_wxPyGridCellAttrProvider",SwigwxPyGridCellAttrProviderTowxGridCellAttrProvider
},
13502 { "_class_wxGridCellAttrProvider","_wxPyGridCellAttrProvider",SwigwxPyGridCellAttrProviderTowxGridCellAttrProvider
},
13503 { "_class_wxGridCellAttrProvider","_wxGridCellAttrProvider",0},
13504 { "_wxCoord","_WXGRIDSELECTIONMODES",0},
13505 { "_wxCoord","_int",0},
13506 { "_wxCoord","_signed_int",0},
13507 { "_wxCoord","_unsigned_int",0},
13508 { "_wxCoord","_wxWindowID",0},
13509 { "_wxCoord","_uint",0},
13510 { "_wxCoord","_EBool",0},
13511 { "_wxCoord","_size_t",0},
13512 { "_wxCoord","_time_t",0},
13513 { "_wxCoord","_wxPrintQuality",0},
13514 { "_wxEraseEvent","_class_wxEraseEvent",0},
13515 { "_wxDataObjectComposite","_class_wxDataObjectComposite",0},
13516 { "_class_wxJoystickEvent","_wxJoystickEvent",0},
13517 { "_wxRegion","_class_wxRegion",0},
13518 { "_class_wxShowEvent","_wxShowEvent",0},
13519 { "_wxPyDropTarget","_class_wxPyDropTarget",0},
13520 { "_wxActivateEvent","_class_wxActivateEvent",0},
13521 { "_wxGauge","_class_wxGauge",0},
13522 { "_class_wxCheckListBox","_wxCheckListBox",0},
13523 { "_wxPyGridCellRenderer","_class_wxPyGridCellRenderer",0},
13524 { "_class_wxBusyInfo","_wxBusyInfo",0},
13525 { "_wxGridCellRenderer","_class_wxGridCellBoolRenderer",SwigwxGridCellBoolRendererTowxGridCellRenderer
},
13526 { "_wxGridCellRenderer","_wxGridCellBoolRenderer",SwigwxGridCellBoolRendererTowxGridCellRenderer
},
13527 { "_wxGridCellRenderer","_class_wxGridCellFloatRenderer",SwigwxGridCellFloatRendererTowxGridCellRenderer
},
13528 { "_wxGridCellRenderer","_wxGridCellFloatRenderer",SwigwxGridCellFloatRendererTowxGridCellRenderer
},
13529 { "_wxGridCellRenderer","_class_wxGridCellNumberRenderer",SwigwxGridCellNumberRendererTowxGridCellRenderer
},
13530 { "_wxGridCellRenderer","_wxGridCellNumberRenderer",SwigwxGridCellNumberRendererTowxGridCellRenderer
},
13531 { "_wxGridCellRenderer","_class_wxGridCellStringRenderer",SwigwxGridCellStringRendererTowxGridCellRenderer
},
13532 { "_wxGridCellRenderer","_wxGridCellStringRenderer",SwigwxGridCellStringRendererTowxGridCellRenderer
},
13533 { "_wxGridCellRenderer","_class_wxPyGridCellRenderer",SwigwxPyGridCellRendererTowxGridCellRenderer
},
13534 { "_wxGridCellRenderer","_wxPyGridCellRenderer",SwigwxPyGridCellRendererTowxGridCellRenderer
},
13535 { "_wxGridCellRenderer","_class_wxGridCellRenderer",0},
13536 { "_wxGridCellTextEditor","_class_wxGridCellFloatEditor",SwigwxGridCellFloatEditorTowxGridCellTextEditor
},
13537 { "_wxGridCellTextEditor","_wxGridCellFloatEditor",SwigwxGridCellFloatEditorTowxGridCellTextEditor
},
13538 { "_wxGridCellTextEditor","_class_wxGridCellNumberEditor",SwigwxGridCellNumberEditorTowxGridCellTextEditor
},
13539 { "_wxGridCellTextEditor","_wxGridCellNumberEditor",SwigwxGridCellNumberEditorTowxGridCellTextEditor
},
13540 { "_wxGridCellTextEditor","_class_wxGridCellTextEditor",0},
13541 { "_class_wxGridEvent","_wxGridEvent",0},
13542 { "_class_wxCommandEvent","_class_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxCommandEvent
},
13543 { "_class_wxCommandEvent","_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxCommandEvent
},
13544 { "_class_wxCommandEvent","_class_wxGridSizeEvent",SwigwxGridSizeEventTowxCommandEvent
},
13545 { "_class_wxCommandEvent","_wxGridSizeEvent",SwigwxGridSizeEventTowxCommandEvent
},
13546 { "_class_wxCommandEvent","_class_wxGridEvent",SwigwxGridEventTowxCommandEvent
},
13547 { "_class_wxCommandEvent","_wxGridEvent",SwigwxGridEventTowxCommandEvent
},
13548 { "_class_wxCommandEvent","_wxCommandEvent",0},
13549 { "_class_wxClientDC","_wxClientDC",0},
13550 { "_class_wxSizeEvent","_wxSizeEvent",0},
13551 { "_wxCustomDataObject","_class_wxCustomDataObject",0},
13552 { "_wxGridRangeSelectEvent","_class_wxGridRangeSelectEvent",0},
13553 { "_class_wxSize","_wxSize",0},
13554 { "_class_wxBitmap","_wxBitmap",0},
13555 { "_class_wxMemoryDC","_wxMemoryDC",0},
13556 { "_wxPyTextDropTarget","_class_wxPyTextDropTarget",0},
13557 { "_wxMenuBar","_class_wxMenuBar",0},
13558 { "_wxGridCellFloatRenderer","_class_wxGridCellFloatRenderer",0},
13559 { "_wxPyGridCellEditor","_class_wxPyGridCellEditor",0},
13560 { "_class_wxPyGridTableBase","_wxPyGridTableBase",0},
13561 { "_wxEvtHandler","_class_wxGrid",SwigwxGridTowxEvtHandler
},
13562 { "_wxEvtHandler","_wxGrid",SwigwxGridTowxEvtHandler
},
13563 { "_wxEvtHandler","_class_wxEvtHandler",0},
13564 { "_wxMenuItem","_class_wxMenuItem",0},
13565 { "_class_wxScrollBar","_wxScrollBar",0},
13566 { "_class_wxScrolledWindow","_class_wxGrid",SwigwxGridTowxScrolledWindow
},
13567 { "_class_wxScrolledWindow","_wxGrid",SwigwxGridTowxScrolledWindow
},
13568 { "_class_wxScrolledWindow","_wxScrolledWindow",0},
13569 { "_wxKeyEvent","_class_wxKeyEvent",0},
13570 { "_wxMoveEvent","_class_wxMoveEvent",0},
13571 { "_class_wxPalette","_wxPalette",0},
13572 { "_wxFileDataObject","_class_wxFileDataObject",0},
13573 { "_class_wxGridCellBoolRenderer","_wxGridCellBoolRenderer",0},
13574 { "_class_wxEraseEvent","_wxEraseEvent",0},
13575 { "_class_wxDataObjectComposite","_wxDataObjectComposite",0},
13576 { "_class_wxGridStringTable","_wxGridStringTable",0},
13577 { "_wxWindow","_class_wxGrid",SwigwxGridTowxWindow
},
13578 { "_wxWindow","_wxGrid",SwigwxGridTowxWindow
},
13579 { "_wxWindow","_class_wxWindow",0},
13580 { "_class_wxWindowDestroyEvent","_wxWindowDestroyEvent",0},
13583 static PyObject
*SWIG_globals
;
13587 SWIGEXPORT(void) initgridc() {
13589 SWIG_globals
= SWIG_newvarlink();
13590 m
= Py_InitModule("gridc", gridcMethods
);
13591 d
= PyModule_GetDict(m
);
13592 PyDict_SetItemString(d
,"wxGRID_VALUE_STRING", PyString_FromString("string"));
13593 PyDict_SetItemString(d
,"wxGRID_VALUE_BOOL", PyString_FromString("bool"));
13594 PyDict_SetItemString(d
,"wxGRID_VALUE_NUMBER", PyString_FromString("long"));
13595 PyDict_SetItemString(d
,"wxGRID_VALUE_FLOAT", PyString_FromString("double"));
13596 PyDict_SetItemString(d
,"wxGRID_VALUE_CHOICE", PyString_FromString("choice"));
13597 PyDict_SetItemString(d
,"wxGRID_VALUE_TEXT", PyString_FromString("string"));
13598 PyDict_SetItemString(d
,"wxGRID_VALUE_LONG", PyString_FromString("long"));
13599 PyDict_SetItemString(d
,"cvar", SWIG_globals
);
13600 SWIG_addvarlink(SWIG_globals
,"wxGridNoCellCoords",_wrap_wxGridNoCellCoords_get
, _wrap_wxGridNoCellCoords_set
);
13601 SWIG_addvarlink(SWIG_globals
,"wxGridNoCellRect",_wrap_wxGridNoCellRect_get
, _wrap_wxGridNoCellRect_set
);
13602 PyDict_SetItemString(d
,"wxGRIDTABLE_REQUEST_VIEW_GET_VALUES", PyInt_FromLong((long) wxGRIDTABLE_REQUEST_VIEW_GET_VALUES
));
13603 PyDict_SetItemString(d
,"wxGRIDTABLE_REQUEST_VIEW_SEND_VALUES", PyInt_FromLong((long) wxGRIDTABLE_REQUEST_VIEW_SEND_VALUES
));
13604 PyDict_SetItemString(d
,"wxGRIDTABLE_NOTIFY_ROWS_INSERTED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_ROWS_INSERTED
));
13605 PyDict_SetItemString(d
,"wxGRIDTABLE_NOTIFY_ROWS_APPENDED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_ROWS_APPENDED
));
13606 PyDict_SetItemString(d
,"wxGRIDTABLE_NOTIFY_ROWS_DELETED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_ROWS_DELETED
));
13607 PyDict_SetItemString(d
,"wxGRIDTABLE_NOTIFY_COLS_INSERTED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_COLS_INSERTED
));
13608 PyDict_SetItemString(d
,"wxGRIDTABLE_NOTIFY_COLS_APPENDED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_COLS_APPENDED
));
13609 PyDict_SetItemString(d
,"wxGRIDTABLE_NOTIFY_COLS_DELETED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_COLS_DELETED
));
13610 PyDict_SetItemString(d
,"wxEVT_GRID_CELL_LEFT_CLICK", PyInt_FromLong((long) wxEVT_GRID_CELL_LEFT_CLICK
));
13611 PyDict_SetItemString(d
,"wxEVT_GRID_CELL_RIGHT_CLICK", PyInt_FromLong((long) wxEVT_GRID_CELL_RIGHT_CLICK
));
13612 PyDict_SetItemString(d
,"wxEVT_GRID_CELL_LEFT_DCLICK", PyInt_FromLong((long) wxEVT_GRID_CELL_LEFT_DCLICK
));
13613 PyDict_SetItemString(d
,"wxEVT_GRID_CELL_RIGHT_DCLICK", PyInt_FromLong((long) wxEVT_GRID_CELL_RIGHT_DCLICK
));
13614 PyDict_SetItemString(d
,"wxEVT_GRID_LABEL_LEFT_CLICK", PyInt_FromLong((long) wxEVT_GRID_LABEL_LEFT_CLICK
));
13615 PyDict_SetItemString(d
,"wxEVT_GRID_LABEL_RIGHT_CLICK", PyInt_FromLong((long) wxEVT_GRID_LABEL_RIGHT_CLICK
));
13616 PyDict_SetItemString(d
,"wxEVT_GRID_LABEL_LEFT_DCLICK", PyInt_FromLong((long) wxEVT_GRID_LABEL_LEFT_DCLICK
));
13617 PyDict_SetItemString(d
,"wxEVT_GRID_LABEL_RIGHT_DCLICK", PyInt_FromLong((long) wxEVT_GRID_LABEL_RIGHT_DCLICK
));
13618 PyDict_SetItemString(d
,"wxEVT_GRID_ROW_SIZE", PyInt_FromLong((long) wxEVT_GRID_ROW_SIZE
));
13619 PyDict_SetItemString(d
,"wxEVT_GRID_COL_SIZE", PyInt_FromLong((long) wxEVT_GRID_COL_SIZE
));
13620 PyDict_SetItemString(d
,"wxEVT_GRID_RANGE_SELECT", PyInt_FromLong((long) wxEVT_GRID_RANGE_SELECT
));
13621 PyDict_SetItemString(d
,"wxEVT_GRID_CELL_CHANGE", PyInt_FromLong((long) wxEVT_GRID_CELL_CHANGE
));
13622 PyDict_SetItemString(d
,"wxEVT_GRID_SELECT_CELL", PyInt_FromLong((long) wxEVT_GRID_SELECT_CELL
));
13623 PyDict_SetItemString(d
,"wxEVT_GRID_EDITOR_SHOWN", PyInt_FromLong((long) wxEVT_GRID_EDITOR_SHOWN
));
13624 PyDict_SetItemString(d
,"wxEVT_GRID_EDITOR_HIDDEN", PyInt_FromLong((long) wxEVT_GRID_EDITOR_HIDDEN
));
13626 wxClassInfo::CleanUpClasses();
13627 wxClassInfo::InitializeClasses();
13628 PyDict_SetItemString(d
,"wxGrid_wxGridSelectCells", PyInt_FromLong((long) wxGrid::wxGridSelectCells
));
13629 PyDict_SetItemString(d
,"wxGrid_wxGridSelectRows", PyInt_FromLong((long) wxGrid::wxGridSelectRows
));
13630 PyDict_SetItemString(d
,"wxGrid_wxGridSelectColumns", PyInt_FromLong((long) wxGrid::wxGridSelectColumns
));
13633 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
13634 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);