2 * FILE : gtk/windows2.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 810)
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 initwindows2c
54 #define SWIG_name "windows2c"
58 #include <wx/notebook.h>
59 #include <wx/splitter.h>
61 #include <wx/msw/taskbar.h>
64 static PyObject
* l_output_helper(PyObject
* target
, PyObject
* o
) {
69 } else if (target
== Py_None
) {
73 if (!PyList_Check(target
)) {
75 target
= PyList_New(0);
76 PyList_Append(target
, o2
);
79 PyList_Append(target
,o
);
85 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
91 } else if (target
== Py_None
) {
95 if (!PyTuple_Check(target
)) {
97 target
= PyTuple_New(1);
98 PyTuple_SetItem(target
, 0, o2
);
101 PyTuple_SetItem(o3
, 0, o
);
104 target
= PySequence_Concat(o2
, o3
);
111 static char* wxStringErrorMsg
= "string type is required for parameter";
115 #define new_wxGridCell() (new wxGridCell())
116 static PyObject
*_wrap_new_wxGridCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
117 PyObject
* _resultobj
;
118 wxGridCell
* _result
;
119 char *_kwnames
[] = { NULL
};
123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxGridCell",_kwnames
))
126 wxPy_BEGIN_ALLOW_THREADS
;
127 _result
= (wxGridCell
*)new_wxGridCell();
129 wxPy_END_ALLOW_THREADS
;
131 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCell_p");
132 _resultobj
= Py_BuildValue("s",_ptemp
);
135 _resultobj
= Py_None
;
140 #define delete_wxGridCell(_swigobj) (delete _swigobj)
141 static PyObject
*_wrap_delete_wxGridCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
142 PyObject
* _resultobj
;
144 PyObject
* _argo0
= 0;
145 char *_kwnames
[] = { "self", NULL
};
148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxGridCell",_kwnames
,&_argo0
))
151 if (_argo0
== Py_None
) { _arg0
= NULL
; }
152 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCell_p")) {
153 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxGridCell. Expected _wxGridCell_p.");
158 wxPy_BEGIN_ALLOW_THREADS
;
159 delete_wxGridCell(_arg0
);
161 wxPy_END_ALLOW_THREADS
;
162 } Py_INCREF(Py_None
);
163 _resultobj
= Py_None
;
167 #define wxGridCell_GetTextValue(_swigobj) (_swigobj->GetTextValue())
168 static PyObject
*_wrap_wxGridCell_GetTextValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
169 PyObject
* _resultobj
;
172 PyObject
* _argo0
= 0;
173 char *_kwnames
[] = { "self", NULL
};
176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCell_GetTextValue",_kwnames
,&_argo0
))
179 if (_argo0
== Py_None
) { _arg0
= NULL
; }
180 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCell_p")) {
181 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCell_GetTextValue. Expected _wxGridCell_p.");
186 wxPy_BEGIN_ALLOW_THREADS
;
187 wxString
& _result_ref
= wxGridCell_GetTextValue(_arg0
);
188 _result
= (wxString
*) &_result_ref
;
190 wxPy_END_ALLOW_THREADS
;
192 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
197 #define wxGridCell_SetTextValue(_swigobj,_swigarg0) (_swigobj->SetTextValue(_swigarg0))
198 static PyObject
*_wrap_wxGridCell_SetTextValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
199 PyObject
* _resultobj
;
202 PyObject
* _argo0
= 0;
203 PyObject
* _obj1
= 0;
204 char *_kwnames
[] = { "self","str", NULL
};
207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCell_SetTextValue",_kwnames
,&_argo0
,&_obj1
))
210 if (_argo0
== Py_None
) { _arg0
= NULL
; }
211 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCell_p")) {
212 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCell_SetTextValue. Expected _wxGridCell_p.");
217 if (!PyString_Check(_obj1
)) {
218 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
221 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
224 wxPy_BEGIN_ALLOW_THREADS
;
225 wxGridCell_SetTextValue(_arg0
,*_arg1
);
227 wxPy_END_ALLOW_THREADS
;
228 } Py_INCREF(Py_None
);
229 _resultobj
= Py_None
;
237 #define wxGridCell_GetFont(_swigobj) (_swigobj->GetFont())
238 static PyObject
*_wrap_wxGridCell_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
239 PyObject
* _resultobj
;
242 PyObject
* _argo0
= 0;
243 char *_kwnames
[] = { "self", NULL
};
247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCell_GetFont",_kwnames
,&_argo0
))
250 if (_argo0
== Py_None
) { _arg0
= NULL
; }
251 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCell_p")) {
252 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCell_GetFont. Expected _wxGridCell_p.");
257 wxPy_BEGIN_ALLOW_THREADS
;
258 wxFont
& _result_ref
= wxGridCell_GetFont(_arg0
);
259 _result
= (wxFont
*) &_result_ref
;
261 wxPy_END_ALLOW_THREADS
;
263 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
264 _resultobj
= Py_BuildValue("s",_ptemp
);
267 _resultobj
= Py_None
;
272 #define wxGridCell_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
273 static PyObject
*_wrap_wxGridCell_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
274 PyObject
* _resultobj
;
277 PyObject
* _argo0
= 0;
278 PyObject
* _argo1
= 0;
279 char *_kwnames
[] = { "self","f", NULL
};
282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCell_SetFont",_kwnames
,&_argo0
,&_argo1
))
285 if (_argo0
== Py_None
) { _arg0
= NULL
; }
286 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCell_p")) {
287 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCell_SetFont. Expected _wxGridCell_p.");
292 if (_argo1
== Py_None
) { _arg1
= NULL
; }
293 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
294 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCell_SetFont. Expected _wxFont_p.");
299 wxPy_BEGIN_ALLOW_THREADS
;
300 wxGridCell_SetFont(_arg0
,*_arg1
);
302 wxPy_END_ALLOW_THREADS
;
303 } Py_INCREF(Py_None
);
304 _resultobj
= Py_None
;
308 #define wxGridCell_GetTextColour(_swigobj) (_swigobj->GetTextColour())
309 static PyObject
*_wrap_wxGridCell_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
310 PyObject
* _resultobj
;
313 PyObject
* _argo0
= 0;
314 char *_kwnames
[] = { "self", NULL
};
318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCell_GetTextColour",_kwnames
,&_argo0
))
321 if (_argo0
== Py_None
) { _arg0
= NULL
; }
322 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCell_p")) {
323 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCell_GetTextColour. Expected _wxGridCell_p.");
328 wxPy_BEGIN_ALLOW_THREADS
;
329 wxColour
& _result_ref
= wxGridCell_GetTextColour(_arg0
);
330 _result
= (wxColour
*) &_result_ref
;
332 wxPy_END_ALLOW_THREADS
;
334 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
335 _resultobj
= Py_BuildValue("s",_ptemp
);
338 _resultobj
= Py_None
;
343 #define wxGridCell_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
344 static PyObject
*_wrap_wxGridCell_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
345 PyObject
* _resultobj
;
348 PyObject
* _argo0
= 0;
349 PyObject
* _argo1
= 0;
350 char *_kwnames
[] = { "self","colour", NULL
};
353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCell_SetTextColour",_kwnames
,&_argo0
,&_argo1
))
356 if (_argo0
== Py_None
) { _arg0
= NULL
; }
357 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCell_p")) {
358 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCell_SetTextColour. Expected _wxGridCell_p.");
363 if (_argo1
== Py_None
) { _arg1
= NULL
; }
364 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxColour_p")) {
365 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCell_SetTextColour. Expected _wxColour_p.");
370 wxPy_BEGIN_ALLOW_THREADS
;
371 wxGridCell_SetTextColour(_arg0
,*_arg1
);
373 wxPy_END_ALLOW_THREADS
;
374 } Py_INCREF(Py_None
);
375 _resultobj
= Py_None
;
379 #define wxGridCell_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
380 static PyObject
*_wrap_wxGridCell_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
381 PyObject
* _resultobj
;
384 PyObject
* _argo0
= 0;
385 char *_kwnames
[] = { "self", NULL
};
389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCell_GetBackgroundColour",_kwnames
,&_argo0
))
392 if (_argo0
== Py_None
) { _arg0
= NULL
; }
393 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCell_p")) {
394 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCell_GetBackgroundColour. Expected _wxGridCell_p.");
399 wxPy_BEGIN_ALLOW_THREADS
;
400 wxColour
& _result_ref
= wxGridCell_GetBackgroundColour(_arg0
);
401 _result
= (wxColour
*) &_result_ref
;
403 wxPy_END_ALLOW_THREADS
;
405 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
406 _resultobj
= Py_BuildValue("s",_ptemp
);
409 _resultobj
= Py_None
;
414 #define wxGridCell_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
415 static PyObject
*_wrap_wxGridCell_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
416 PyObject
* _resultobj
;
419 PyObject
* _argo0
= 0;
420 PyObject
* _argo1
= 0;
421 char *_kwnames
[] = { "self","colour", NULL
};
424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCell_SetBackgroundColour",_kwnames
,&_argo0
,&_argo1
))
427 if (_argo0
== Py_None
) { _arg0
= NULL
; }
428 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCell_p")) {
429 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCell_SetBackgroundColour. Expected _wxGridCell_p.");
434 if (_argo1
== Py_None
) { _arg1
= NULL
; }
435 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxColour_p")) {
436 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCell_SetBackgroundColour. Expected _wxColour_p.");
441 wxPy_BEGIN_ALLOW_THREADS
;
442 wxGridCell_SetBackgroundColour(_arg0
,*_arg1
);
444 wxPy_END_ALLOW_THREADS
;
445 } Py_INCREF(Py_None
);
446 _resultobj
= Py_None
;
450 #define wxGridCell_GetBackgroundBrush(_swigobj) (_swigobj->GetBackgroundBrush())
451 static PyObject
*_wrap_wxGridCell_GetBackgroundBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
452 PyObject
* _resultobj
;
455 PyObject
* _argo0
= 0;
456 char *_kwnames
[] = { "self", NULL
};
460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCell_GetBackgroundBrush",_kwnames
,&_argo0
))
463 if (_argo0
== Py_None
) { _arg0
= NULL
; }
464 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCell_p")) {
465 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCell_GetBackgroundBrush. Expected _wxGridCell_p.");
470 wxPy_BEGIN_ALLOW_THREADS
;
471 wxBrush
& _result_ref
= wxGridCell_GetBackgroundBrush(_arg0
);
472 _result
= (wxBrush
*) &_result_ref
;
474 wxPy_END_ALLOW_THREADS
;
476 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBrush_p");
477 _resultobj
= Py_BuildValue("s",_ptemp
);
480 _resultobj
= Py_None
;
485 #define wxGridCell_GetAlignment(_swigobj) (_swigobj->GetAlignment())
486 static PyObject
*_wrap_wxGridCell_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
487 PyObject
* _resultobj
;
490 PyObject
* _argo0
= 0;
491 char *_kwnames
[] = { "self", NULL
};
494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCell_GetAlignment",_kwnames
,&_argo0
))
497 if (_argo0
== Py_None
) { _arg0
= NULL
; }
498 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCell_p")) {
499 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCell_GetAlignment. Expected _wxGridCell_p.");
504 wxPy_BEGIN_ALLOW_THREADS
;
505 _result
= (int )wxGridCell_GetAlignment(_arg0
);
507 wxPy_END_ALLOW_THREADS
;
508 } _resultobj
= Py_BuildValue("i",_result
);
512 #define wxGridCell_SetAlignment(_swigobj,_swigarg0) (_swigobj->SetAlignment(_swigarg0))
513 static PyObject
*_wrap_wxGridCell_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
514 PyObject
* _resultobj
;
517 PyObject
* _argo0
= 0;
518 char *_kwnames
[] = { "self","align", NULL
};
521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridCell_SetAlignment",_kwnames
,&_argo0
,&_arg1
))
524 if (_argo0
== Py_None
) { _arg0
= NULL
; }
525 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCell_p")) {
526 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCell_SetAlignment. Expected _wxGridCell_p.");
531 wxPy_BEGIN_ALLOW_THREADS
;
532 wxGridCell_SetAlignment(_arg0
,_arg1
);
534 wxPy_END_ALLOW_THREADS
;
535 } Py_INCREF(Py_None
);
536 _resultobj
= Py_None
;
540 #define wxGridCell_GetCellBitmap(_swigobj) (_swigobj->GetCellBitmap())
541 static PyObject
*_wrap_wxGridCell_GetCellBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
542 PyObject
* _resultobj
;
545 PyObject
* _argo0
= 0;
546 char *_kwnames
[] = { "self", NULL
};
550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCell_GetCellBitmap",_kwnames
,&_argo0
))
553 if (_argo0
== Py_None
) { _arg0
= NULL
; }
554 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCell_p")) {
555 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCell_GetCellBitmap. Expected _wxGridCell_p.");
560 wxPy_BEGIN_ALLOW_THREADS
;
561 _result
= (wxBitmap
*)wxGridCell_GetCellBitmap(_arg0
);
563 wxPy_END_ALLOW_THREADS
;
565 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
566 _resultobj
= Py_BuildValue("s",_ptemp
);
569 _resultobj
= Py_None
;
574 #define wxGridCell_SetCellBitmap(_swigobj,_swigarg0) (_swigobj->SetCellBitmap(_swigarg0))
575 static PyObject
*_wrap_wxGridCell_SetCellBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
576 PyObject
* _resultobj
;
579 PyObject
* _argo0
= 0;
580 PyObject
* _argo1
= 0;
581 char *_kwnames
[] = { "self","bitmap", NULL
};
584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCell_SetCellBitmap",_kwnames
,&_argo0
,&_argo1
))
587 if (_argo0
== Py_None
) { _arg0
= NULL
; }
588 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCell_p")) {
589 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCell_SetCellBitmap. Expected _wxGridCell_p.");
594 if (_argo1
== Py_None
) { _arg1
= NULL
; }
595 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
596 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCell_SetCellBitmap. Expected _wxBitmap_p.");
601 wxPy_BEGIN_ALLOW_THREADS
;
602 wxGridCell_SetCellBitmap(_arg0
,_arg1
);
604 wxPy_END_ALLOW_THREADS
;
605 } Py_INCREF(Py_None
);
606 _resultobj
= Py_None
;
610 static void *SwigwxGridTowxPanel(void *ptr
) {
613 src
= (wxGrid
*) ptr
;
614 dest
= (wxPanel
*) src
;
615 return (void *) dest
;
618 static void *SwigwxGridTowxWindow(void *ptr
) {
621 src
= (wxGrid
*) ptr
;
622 dest
= (wxWindow
*) src
;
623 return (void *) dest
;
626 static void *SwigwxGridTowxEvtHandler(void *ptr
) {
629 src
= (wxGrid
*) ptr
;
630 dest
= (wxEvtHandler
*) src
;
631 return (void *) dest
;
634 #define new_wxGrid(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxGrid(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
635 static PyObject
*_wrap_new_wxGrid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
636 PyObject
* _resultobj
;
640 wxPoint
* _arg2
= (wxPoint
*) &wxPyDefaultPosition
;
641 wxSize
* _arg3
= (wxSize
*) &wxPyDefaultSize
;
642 long _arg4
= (long ) 0;
643 char * _arg5
= (char *) "grid";
644 PyObject
* _argo0
= 0;
646 PyObject
* _obj2
= 0;
648 PyObject
* _obj3
= 0;
649 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOls:new_wxGrid",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
656 if (_argo0
== Py_None
) { _arg0
= NULL
; }
657 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
658 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxGrid. Expected _wxWindow_p.");
665 if (! wxPoint_helper(_obj2
, &_arg2
))
671 if (! wxSize_helper(_obj3
, &_arg3
))
675 wxPy_BEGIN_ALLOW_THREADS
;
676 _result
= (wxGrid
*)new_wxGrid(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
678 wxPy_END_ALLOW_THREADS
;
680 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGrid_p");
681 _resultobj
= Py_BuildValue("s",_ptemp
);
684 _resultobj
= Py_None
;
689 #define wxGrid_AdjustScrollbars(_swigobj) (_swigobj->AdjustScrollbars())
690 static PyObject
*_wrap_wxGrid_AdjustScrollbars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
691 PyObject
* _resultobj
;
693 PyObject
* _argo0
= 0;
694 char *_kwnames
[] = { "self", NULL
};
697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_AdjustScrollbars",_kwnames
,&_argo0
))
700 if (_argo0
== Py_None
) { _arg0
= NULL
; }
701 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
702 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_AdjustScrollbars. Expected _wxGrid_p.");
707 wxPy_BEGIN_ALLOW_THREADS
;
708 wxGrid_AdjustScrollbars(_arg0
);
710 wxPy_END_ALLOW_THREADS
;
711 } Py_INCREF(Py_None
);
712 _resultobj
= Py_None
;
716 #define wxGrid_AppendCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->AppendCols(_swigarg0,_swigarg1))
717 static PyObject
*_wrap_wxGrid_AppendCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
718 PyObject
* _resultobj
;
721 int _arg1
= (int ) 1;
722 int _arg2
= (int ) TRUE
;
723 PyObject
* _argo0
= 0;
724 char *_kwnames
[] = { "self","n","updateLabels", NULL
};
727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxGrid_AppendCols",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
730 if (_argo0
== Py_None
) { _arg0
= NULL
; }
731 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
732 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_AppendCols. Expected _wxGrid_p.");
737 wxPy_BEGIN_ALLOW_THREADS
;
738 _result
= (bool )wxGrid_AppendCols(_arg0
,_arg1
,_arg2
);
740 wxPy_END_ALLOW_THREADS
;
741 } _resultobj
= Py_BuildValue("i",_result
);
745 #define wxGrid_AppendRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->AppendRows(_swigarg0,_swigarg1))
746 static PyObject
*_wrap_wxGrid_AppendRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
747 PyObject
* _resultobj
;
750 int _arg1
= (int ) 1;
751 int _arg2
= (int ) TRUE
;
752 PyObject
* _argo0
= 0;
753 char *_kwnames
[] = { "self","n","updateLabels", NULL
};
756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxGrid_AppendRows",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
759 if (_argo0
== Py_None
) { _arg0
= NULL
; }
760 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
761 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_AppendRows. Expected _wxGrid_p.");
766 wxPy_BEGIN_ALLOW_THREADS
;
767 _result
= (bool )wxGrid_AppendRows(_arg0
,_arg1
,_arg2
);
769 wxPy_END_ALLOW_THREADS
;
770 } _resultobj
= Py_BuildValue("i",_result
);
774 #define wxGrid_BeginBatch(_swigobj) (_swigobj->BeginBatch())
775 static PyObject
*_wrap_wxGrid_BeginBatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
776 PyObject
* _resultobj
;
778 PyObject
* _argo0
= 0;
779 char *_kwnames
[] = { "self", NULL
};
782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_BeginBatch",_kwnames
,&_argo0
))
785 if (_argo0
== Py_None
) { _arg0
= NULL
; }
786 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
787 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_BeginBatch. Expected _wxGrid_p.");
792 wxPy_BEGIN_ALLOW_THREADS
;
793 wxGrid_BeginBatch(_arg0
);
795 wxPy_END_ALLOW_THREADS
;
796 } Py_INCREF(Py_None
);
797 _resultobj
= Py_None
;
801 #define wxGrid_CellHitTest(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->CellHitTest(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
802 static PyObject
*_wrap_wxGrid_CellHitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
803 PyObject
* _resultobj
;
812 PyObject
* _argo0
= 0;
813 char *_kwnames
[] = { "self","x","y", NULL
};
822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_CellHitTest",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
825 if (_argo0
== Py_None
) { _arg0
= NULL
; }
826 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
827 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_CellHitTest. Expected _wxGrid_p.");
832 wxPy_BEGIN_ALLOW_THREADS
;
833 _result
= (bool )wxGrid_CellHitTest(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
835 wxPy_END_ALLOW_THREADS
;
836 } _resultobj
= Py_BuildValue("i",_result
);
839 o
= PyInt_FromLong((long) (*_arg3
));
840 _resultobj
= t_output_helper(_resultobj
, o
);
844 o
= PyInt_FromLong((long) (*_arg4
));
845 _resultobj
= t_output_helper(_resultobj
, o
);
850 static bool wxGrid_CreateGrid(wxGrid
*self
,int rows
,int cols
,short defaultWidth
,short defaultHeight
) {
851 return self
->CreateGrid(rows
, cols
, NULL
, NULL
,
852 defaultWidth
, defaultHeight
);
854 static PyObject
*_wrap_wxGrid_CreateGrid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
855 PyObject
* _resultobj
;
860 short _arg3
= (short ) wxGRID_DEFAULT_CELL_WIDTH
;
861 short _arg4
= (short ) wxGRID_DEFAULT_CELL_HEIGHT
;
862 PyObject
* _argo0
= 0;
863 char *_kwnames
[] = { "self","rows","cols","defaultWidth","defaultHeight", NULL
};
866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|hh:wxGrid_CreateGrid",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
869 if (_argo0
== Py_None
) { _arg0
= NULL
; }
870 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
871 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_CreateGrid. Expected _wxGrid_p.");
876 wxPy_BEGIN_ALLOW_THREADS
;
877 _result
= (bool )wxGrid_CreateGrid(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
879 wxPy_END_ALLOW_THREADS
;
880 } _resultobj
= Py_BuildValue("i",_result
);
884 #define wxGrid_CurrentCellVisible(_swigobj) (_swigobj->CurrentCellVisible())
885 static PyObject
*_wrap_wxGrid_CurrentCellVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
886 PyObject
* _resultobj
;
889 PyObject
* _argo0
= 0;
890 char *_kwnames
[] = { "self", NULL
};
893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_CurrentCellVisible",_kwnames
,&_argo0
))
896 if (_argo0
== Py_None
) { _arg0
= NULL
; }
897 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
898 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_CurrentCellVisible. Expected _wxGrid_p.");
903 wxPy_BEGIN_ALLOW_THREADS
;
904 _result
= (bool )wxGrid_CurrentCellVisible(_arg0
);
906 wxPy_END_ALLOW_THREADS
;
907 } _resultobj
= Py_BuildValue("i",_result
);
911 #define wxGrid_DeleteCols(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DeleteCols(_swigarg0,_swigarg1,_swigarg2))
912 static PyObject
*_wrap_wxGrid_DeleteCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
913 PyObject
* _resultobj
;
916 int _arg1
= (int ) 0;
917 int _arg2
= (int ) 1;
918 bool _arg3
= (bool ) TRUE
;
919 PyObject
* _argo0
= 0;
920 int tempbool3
= (int) TRUE
;
921 char *_kwnames
[] = { "self","pos","n","updateLabels", NULL
};
924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iii:wxGrid_DeleteCols",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
927 if (_argo0
== Py_None
) { _arg0
= NULL
; }
928 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
929 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_DeleteCols. Expected _wxGrid_p.");
933 _arg3
= (bool ) tempbool3
;
935 wxPy_BEGIN_ALLOW_THREADS
;
936 _result
= (bool )wxGrid_DeleteCols(_arg0
,_arg1
,_arg2
,_arg3
);
938 wxPy_END_ALLOW_THREADS
;
939 } _resultobj
= Py_BuildValue("i",_result
);
943 #define wxGrid_DeleteRows(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DeleteRows(_swigarg0,_swigarg1,_swigarg2))
944 static PyObject
*_wrap_wxGrid_DeleteRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
945 PyObject
* _resultobj
;
948 int _arg1
= (int ) 0;
949 int _arg2
= (int ) 1;
950 bool _arg3
= (bool ) TRUE
;
951 PyObject
* _argo0
= 0;
952 int tempbool3
= (int) TRUE
;
953 char *_kwnames
[] = { "self","pos","n","updateLabels", NULL
};
956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iii:wxGrid_DeleteRows",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
959 if (_argo0
== Py_None
) { _arg0
= NULL
; }
960 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
961 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_DeleteRows. Expected _wxGrid_p.");
965 _arg3
= (bool ) tempbool3
;
967 wxPy_BEGIN_ALLOW_THREADS
;
968 _result
= (bool )wxGrid_DeleteRows(_arg0
,_arg1
,_arg2
,_arg3
);
970 wxPy_END_ALLOW_THREADS
;
971 } _resultobj
= Py_BuildValue("i",_result
);
975 #define wxGrid_EndBatch(_swigobj) (_swigobj->EndBatch())
976 static PyObject
*_wrap_wxGrid_EndBatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
977 PyObject
* _resultobj
;
979 PyObject
* _argo0
= 0;
980 char *_kwnames
[] = { "self", NULL
};
983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_EndBatch",_kwnames
,&_argo0
))
986 if (_argo0
== Py_None
) { _arg0
= NULL
; }
987 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
988 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_EndBatch. Expected _wxGrid_p.");
993 wxPy_BEGIN_ALLOW_THREADS
;
994 wxGrid_EndBatch(_arg0
);
996 wxPy_END_ALLOW_THREADS
;
997 } Py_INCREF(Py_None
);
998 _resultobj
= Py_None
;
1002 #define wxGrid_GetBatchCount(_swigobj) (_swigobj->GetBatchCount())
1003 static PyObject
*_wrap_wxGrid_GetBatchCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1004 PyObject
* _resultobj
;
1007 PyObject
* _argo0
= 0;
1008 char *_kwnames
[] = { "self", NULL
};
1011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetBatchCount",_kwnames
,&_argo0
))
1014 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1015 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
1016 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetBatchCount. Expected _wxGrid_p.");
1021 wxPy_BEGIN_ALLOW_THREADS
;
1022 _result
= (int )wxGrid_GetBatchCount(_arg0
);
1024 wxPy_END_ALLOW_THREADS
;
1025 } _resultobj
= Py_BuildValue("i",_result
);
1029 #define wxGrid_GetCell(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCell(_swigarg0,_swigarg1))
1030 static PyObject
*_wrap_wxGrid_GetCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1031 PyObject
* _resultobj
;
1032 wxGridCell
* _result
;
1036 PyObject
* _argo0
= 0;
1037 char *_kwnames
[] = { "self","row","col", NULL
};
1041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_GetCell",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
1044 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1045 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
1046 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCell. Expected _wxGrid_p.");
1051 wxPy_BEGIN_ALLOW_THREADS
;
1052 _result
= (wxGridCell
*)wxGrid_GetCell(_arg0
,_arg1
,_arg2
);
1054 wxPy_END_ALLOW_THREADS
;
1056 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCell_p");
1057 _resultobj
= Py_BuildValue("s",_ptemp
);
1060 _resultobj
= Py_None
;
1065 #define wxGrid_GetCellAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellAlignment(_swigarg0,_swigarg1))
1066 static PyObject
*_wrap_wxGrid_GetCellAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1067 PyObject
* _resultobj
;
1072 PyObject
* _argo0
= 0;
1073 char *_kwnames
[] = { "self","row","col", NULL
};
1076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_GetCellAlignment",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
1079 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1080 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
1081 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellAlignment. Expected _wxGrid_p.");
1086 wxPy_BEGIN_ALLOW_THREADS
;
1087 _result
= (int )wxGrid_GetCellAlignment(_arg0
,_arg1
,_arg2
);
1089 wxPy_END_ALLOW_THREADS
;
1090 } _resultobj
= Py_BuildValue("i",_result
);
1094 #define wxGrid_GetDefCellAlignment(_swigobj) (_swigobj->GetCellAlignment())
1095 static PyObject
*_wrap_wxGrid_GetDefCellAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1096 PyObject
* _resultobj
;
1099 PyObject
* _argo0
= 0;
1100 char *_kwnames
[] = { "self", NULL
};
1103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetDefCellAlignment",_kwnames
,&_argo0
))
1106 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1107 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
1108 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefCellAlignment. Expected _wxGrid_p.");
1113 wxPy_BEGIN_ALLOW_THREADS
;
1114 _result
= (int )wxGrid_GetDefCellAlignment(_arg0
);
1116 wxPy_END_ALLOW_THREADS
;
1117 } _resultobj
= Py_BuildValue("i",_result
);
1121 #define wxGrid_GetCellBackgroundColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellBackgroundColour(_swigarg0,_swigarg1))
1122 static PyObject
*_wrap_wxGrid_GetCellBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1123 PyObject
* _resultobj
;
1128 PyObject
* _argo0
= 0;
1129 char *_kwnames
[] = { "self","row","col", NULL
};
1133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_GetCellBackgroundColour",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
1136 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1137 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
1138 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellBackgroundColour. Expected _wxGrid_p.");
1143 wxPy_BEGIN_ALLOW_THREADS
;
1144 wxColour
& _result_ref
= wxGrid_GetCellBackgroundColour(_arg0
,_arg1
,_arg2
);
1145 _result
= (wxColour
*) &_result_ref
;
1147 wxPy_END_ALLOW_THREADS
;
1149 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
1150 _resultobj
= Py_BuildValue("s",_ptemp
);
1153 _resultobj
= Py_None
;
1158 #define wxGrid_GetDefCellBackgroundColour(_swigobj) (_swigobj->GetCellBackgroundColour())
1159 static PyObject
*_wrap_wxGrid_GetDefCellBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1160 PyObject
* _resultobj
;
1163 PyObject
* _argo0
= 0;
1164 char *_kwnames
[] = { "self", NULL
};
1168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetDefCellBackgroundColour",_kwnames
,&_argo0
))
1171 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1172 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
1173 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefCellBackgroundColour. Expected _wxGrid_p.");
1178 wxPy_BEGIN_ALLOW_THREADS
;
1179 wxColour
& _result_ref
= wxGrid_GetDefCellBackgroundColour(_arg0
);
1180 _result
= (wxColour
*) &_result_ref
;
1182 wxPy_END_ALLOW_THREADS
;
1184 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
1185 _resultobj
= Py_BuildValue("s",_ptemp
);
1188 _resultobj
= Py_None
;
1193 static PyObject
* wxGrid_GetCells(wxGrid
*self
) {
1195 PyObject
* rows
= PyList_New(0);
1196 for (row
=0; row
< self
->GetRows(); row
++) {
1197 PyObject
* rowList
= PyList_New(0);
1198 for (col
=0; col
< self
->GetCols(); col
++) {
1199 wxGridCell
* cell
= self
->GetCell(row
, col
);
1201 bool doSave
= wxPyRestoreThread();
1202 PyObject
* pyCell
= wxPyConstructObject(cell
, "wxGridCell");
1203 wxPySaveThread(doSave
);
1205 if (PyList_Append(rowList
, pyCell
) == -1)
1208 if (PyList_Append(rows
, rowList
) == -1)
1213 static PyObject
*_wrap_wxGrid_GetCells(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1214 PyObject
* _resultobj
;
1217 PyObject
* _argo0
= 0;
1218 char *_kwnames
[] = { "self", NULL
};
1221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetCells",_kwnames
,&_argo0
))
1224 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1225 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
1226 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCells. Expected _wxGrid_p.");
1231 wxPy_BEGIN_ALLOW_THREADS
;
1232 _result
= (PyObject
*)wxGrid_GetCells(_arg0
);
1234 wxPy_END_ALLOW_THREADS
;
1236 _resultobj
= _result
;
1241 #define wxGrid_GetCellTextColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellTextColour(_swigarg0,_swigarg1))
1242 static PyObject
*_wrap_wxGrid_GetCellTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1243 PyObject
* _resultobj
;
1248 PyObject
* _argo0
= 0;
1249 char *_kwnames
[] = { "self","row","col", NULL
};
1253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_GetCellTextColour",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
1256 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1257 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
1258 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellTextColour. Expected _wxGrid_p.");
1263 wxPy_BEGIN_ALLOW_THREADS
;
1264 wxColour
& _result_ref
= wxGrid_GetCellTextColour(_arg0
,_arg1
,_arg2
);
1265 _result
= (wxColour
*) &_result_ref
;
1267 wxPy_END_ALLOW_THREADS
;
1269 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
1270 _resultobj
= Py_BuildValue("s",_ptemp
);
1273 _resultobj
= Py_None
;
1278 #define wxGrid_GetDefCellTextColour(_swigobj) (_swigobj->GetCellTextColour())
1279 static PyObject
*_wrap_wxGrid_GetDefCellTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1280 PyObject
* _resultobj
;
1283 PyObject
* _argo0
= 0;
1284 char *_kwnames
[] = { "self", NULL
};
1288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetDefCellTextColour",_kwnames
,&_argo0
))
1291 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1292 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
1293 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefCellTextColour. Expected _wxGrid_p.");
1298 wxPy_BEGIN_ALLOW_THREADS
;
1299 wxColour
& _result_ref
= wxGrid_GetDefCellTextColour(_arg0
);
1300 _result
= (wxColour
*) &_result_ref
;
1302 wxPy_END_ALLOW_THREADS
;
1304 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
1305 _resultobj
= Py_BuildValue("s",_ptemp
);
1308 _resultobj
= Py_None
;
1313 #define wxGrid_GetCellTextFont(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellTextFont(_swigarg0,_swigarg1))
1314 static PyObject
*_wrap_wxGrid_GetCellTextFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1315 PyObject
* _resultobj
;
1320 PyObject
* _argo0
= 0;
1321 char *_kwnames
[] = { "self","row","col", NULL
};
1325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_GetCellTextFont",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
1328 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1329 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
1330 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellTextFont. Expected _wxGrid_p.");
1335 wxPy_BEGIN_ALLOW_THREADS
;
1336 wxFont
& _result_ref
= wxGrid_GetCellTextFont(_arg0
,_arg1
,_arg2
);
1337 _result
= (wxFont
*) &_result_ref
;
1339 wxPy_END_ALLOW_THREADS
;
1341 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
1342 _resultobj
= Py_BuildValue("s",_ptemp
);
1345 _resultobj
= Py_None
;
1350 #define wxGrid_GetDefCellTextFont(_swigobj) (_swigobj->GetCellTextFont())
1351 static PyObject
*_wrap_wxGrid_GetDefCellTextFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1352 PyObject
* _resultobj
;
1355 PyObject
* _argo0
= 0;
1356 char *_kwnames
[] = { "self", NULL
};
1360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetDefCellTextFont",_kwnames
,&_argo0
))
1363 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1364 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
1365 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefCellTextFont. Expected _wxGrid_p.");
1370 wxPy_BEGIN_ALLOW_THREADS
;
1371 wxFont
& _result_ref
= wxGrid_GetDefCellTextFont(_arg0
);
1372 _result
= (wxFont
*) &_result_ref
;
1374 wxPy_END_ALLOW_THREADS
;
1376 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
1377 _resultobj
= Py_BuildValue("s",_ptemp
);
1380 _resultobj
= Py_None
;
1385 #define wxGrid_GetCellValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellValue(_swigarg0,_swigarg1))
1386 static PyObject
*_wrap_wxGrid_GetCellValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1387 PyObject
* _resultobj
;
1392 PyObject
* _argo0
= 0;
1393 char *_kwnames
[] = { "self","row","col", NULL
};
1396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_GetCellValue",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
1399 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1400 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
1401 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellValue. Expected _wxGrid_p.");
1406 wxPy_BEGIN_ALLOW_THREADS
;
1407 wxString
& _result_ref
= wxGrid_GetCellValue(_arg0
,_arg1
,_arg2
);
1408 _result
= (wxString
*) &_result_ref
;
1410 wxPy_END_ALLOW_THREADS
;
1412 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1417 #define wxGrid_GetCols(_swigobj) (_swigobj->GetCols())
1418 static PyObject
*_wrap_wxGrid_GetCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1419 PyObject
* _resultobj
;
1422 PyObject
* _argo0
= 0;
1423 char *_kwnames
[] = { "self", NULL
};
1426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetCols",_kwnames
,&_argo0
))
1429 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1430 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
1431 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCols. Expected _wxGrid_p.");
1436 wxPy_BEGIN_ALLOW_THREADS
;
1437 _result
= (int )wxGrid_GetCols(_arg0
);
1439 wxPy_END_ALLOW_THREADS
;
1440 } _resultobj
= Py_BuildValue("i",_result
);
1444 #define wxGrid_GetColumnWidth(_swigobj,_swigarg0) (_swigobj->GetColumnWidth(_swigarg0))
1445 static PyObject
*_wrap_wxGrid_GetColumnWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1446 PyObject
* _resultobj
;
1450 PyObject
* _argo0
= 0;
1451 char *_kwnames
[] = { "self","col", NULL
};
1454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_GetColumnWidth",_kwnames
,&_argo0
,&_arg1
))
1457 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1458 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
1459 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetColumnWidth. Expected _wxGrid_p.");
1464 wxPy_BEGIN_ALLOW_THREADS
;
1465 _result
= (int )wxGrid_GetColumnWidth(_arg0
,_arg1
);
1467 wxPy_END_ALLOW_THREADS
;
1468 } _resultobj
= Py_BuildValue("i",_result
);
1472 #define wxGrid_GetCurrentRect(_swigobj) (_swigobj->GetCurrentRect())
1473 static PyObject
*_wrap_wxGrid_GetCurrentRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1474 PyObject
* _resultobj
;
1477 PyObject
* _argo0
= 0;
1478 char *_kwnames
[] = { "self", NULL
};
1482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetCurrentRect",_kwnames
,&_argo0
))
1485 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1486 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
1487 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCurrentRect. Expected _wxGrid_p.");
1492 wxPy_BEGIN_ALLOW_THREADS
;
1493 _result
= new wxRect (wxGrid_GetCurrentRect(_arg0
));
1495 wxPy_END_ALLOW_THREADS
;
1496 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
1497 _resultobj
= Py_BuildValue("s",_ptemp
);
1501 #define wxGrid_GetCursorColumn(_swigobj) (_swigobj->GetCursorColumn())
1502 static PyObject
*_wrap_wxGrid_GetCursorColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1503 PyObject
* _resultobj
;
1506 PyObject
* _argo0
= 0;
1507 char *_kwnames
[] = { "self", NULL
};
1510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetCursorColumn",_kwnames
,&_argo0
))
1513 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1514 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
1515 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCursorColumn. Expected _wxGrid_p.");
1520 wxPy_BEGIN_ALLOW_THREADS
;
1521 _result
= (int )wxGrid_GetCursorColumn(_arg0
);
1523 wxPy_END_ALLOW_THREADS
;
1524 } _resultobj
= Py_BuildValue("i",_result
);
1528 #define wxGrid_GetCursorRow(_swigobj) (_swigobj->GetCursorRow())
1529 static PyObject
*_wrap_wxGrid_GetCursorRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1530 PyObject
* _resultobj
;
1533 PyObject
* _argo0
= 0;
1534 char *_kwnames
[] = { "self", NULL
};
1537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetCursorRow",_kwnames
,&_argo0
))
1540 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1541 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
1542 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCursorRow. Expected _wxGrid_p.");
1547 wxPy_BEGIN_ALLOW_THREADS
;
1548 _result
= (int )wxGrid_GetCursorRow(_arg0
);
1550 wxPy_END_ALLOW_THREADS
;
1551 } _resultobj
= Py_BuildValue("i",_result
);
1555 #define wxGrid_GetEditable(_swigobj) (_swigobj->GetEditable())
1556 static PyObject
*_wrap_wxGrid_GetEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1557 PyObject
* _resultobj
;
1560 PyObject
* _argo0
= 0;
1561 char *_kwnames
[] = { "self", NULL
};
1564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetEditable",_kwnames
,&_argo0
))
1567 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1568 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
1569 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetEditable. Expected _wxGrid_p.");
1574 wxPy_BEGIN_ALLOW_THREADS
;
1575 _result
= (bool )wxGrid_GetEditable(_arg0
);
1577 wxPy_END_ALLOW_THREADS
;
1578 } _resultobj
= Py_BuildValue("i",_result
);
1582 #define wxGrid_GetHorizScrollBar(_swigobj) (_swigobj->GetHorizScrollBar())
1583 static PyObject
*_wrap_wxGrid_GetHorizScrollBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1584 PyObject
* _resultobj
;
1585 wxScrollBar
* _result
;
1587 PyObject
* _argo0
= 0;
1588 char *_kwnames
[] = { "self", NULL
};
1592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetHorizScrollBar",_kwnames
,&_argo0
))
1595 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1596 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
1597 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetHorizScrollBar. Expected _wxGrid_p.");
1602 wxPy_BEGIN_ALLOW_THREADS
;
1603 _result
= (wxScrollBar
*)wxGrid_GetHorizScrollBar(_arg0
);
1605 wxPy_END_ALLOW_THREADS
;
1607 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScrollBar_p");
1608 _resultobj
= Py_BuildValue("s",_ptemp
);
1611 _resultobj
= Py_None
;
1616 #define wxGrid_GetLabelAlignment(_swigobj,_swigarg0) (_swigobj->GetLabelAlignment(_swigarg0))
1617 static PyObject
*_wrap_wxGrid_GetLabelAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1618 PyObject
* _resultobj
;
1622 PyObject
* _argo0
= 0;
1623 char *_kwnames
[] = { "self","orientation", NULL
};
1626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_GetLabelAlignment",_kwnames
,&_argo0
,&_arg1
))
1629 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1630 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
1631 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetLabelAlignment. Expected _wxGrid_p.");
1636 wxPy_BEGIN_ALLOW_THREADS
;
1637 _result
= (int )wxGrid_GetLabelAlignment(_arg0
,_arg1
);
1639 wxPy_END_ALLOW_THREADS
;
1640 } _resultobj
= Py_BuildValue("i",_result
);
1644 #define wxGrid_GetLabelBackgroundColour(_swigobj) (_swigobj->GetLabelBackgroundColour())
1645 static PyObject
*_wrap_wxGrid_GetLabelBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1646 PyObject
* _resultobj
;
1649 PyObject
* _argo0
= 0;
1650 char *_kwnames
[] = { "self", NULL
};
1654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetLabelBackgroundColour",_kwnames
,&_argo0
))
1657 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1658 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
1659 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetLabelBackgroundColour. Expected _wxGrid_p.");
1664 wxPy_BEGIN_ALLOW_THREADS
;
1665 wxColour
& _result_ref
= wxGrid_GetLabelBackgroundColour(_arg0
);
1666 _result
= (wxColour
*) &_result_ref
;
1668 wxPy_END_ALLOW_THREADS
;
1670 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
1671 _resultobj
= Py_BuildValue("s",_ptemp
);
1674 _resultobj
= Py_None
;
1679 #define wxGrid_GetLabelSize(_swigobj,_swigarg0) (_swigobj->GetLabelSize(_swigarg0))
1680 static PyObject
*_wrap_wxGrid_GetLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1681 PyObject
* _resultobj
;
1685 PyObject
* _argo0
= 0;
1686 char *_kwnames
[] = { "self","orientation", NULL
};
1689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_GetLabelSize",_kwnames
,&_argo0
,&_arg1
))
1692 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1693 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
1694 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetLabelSize. Expected _wxGrid_p.");
1699 wxPy_BEGIN_ALLOW_THREADS
;
1700 _result
= (int )wxGrid_GetLabelSize(_arg0
,_arg1
);
1702 wxPy_END_ALLOW_THREADS
;
1703 } _resultobj
= Py_BuildValue("i",_result
);
1707 #define wxGrid_GetLabelTextColour(_swigobj) (_swigobj->GetLabelTextColour())
1708 static PyObject
*_wrap_wxGrid_GetLabelTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1709 PyObject
* _resultobj
;
1712 PyObject
* _argo0
= 0;
1713 char *_kwnames
[] = { "self", NULL
};
1717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetLabelTextColour",_kwnames
,&_argo0
))
1720 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1721 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
1722 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetLabelTextColour. Expected _wxGrid_p.");
1727 wxPy_BEGIN_ALLOW_THREADS
;
1728 wxColour
& _result_ref
= wxGrid_GetLabelTextColour(_arg0
);
1729 _result
= (wxColour
*) &_result_ref
;
1731 wxPy_END_ALLOW_THREADS
;
1733 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
1734 _resultobj
= Py_BuildValue("s",_ptemp
);
1737 _resultobj
= Py_None
;
1742 #define wxGrid_GetLabelTextFont(_swigobj) (_swigobj->GetLabelTextFont())
1743 static PyObject
*_wrap_wxGrid_GetLabelTextFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1744 PyObject
* _resultobj
;
1747 PyObject
* _argo0
= 0;
1748 char *_kwnames
[] = { "self", NULL
};
1752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetLabelTextFont",_kwnames
,&_argo0
))
1755 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1756 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
1757 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetLabelTextFont. Expected _wxGrid_p.");
1762 wxPy_BEGIN_ALLOW_THREADS
;
1763 wxFont
& _result_ref
= wxGrid_GetLabelTextFont(_arg0
);
1764 _result
= (wxFont
*) &_result_ref
;
1766 wxPy_END_ALLOW_THREADS
;
1768 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
1769 _resultobj
= Py_BuildValue("s",_ptemp
);
1772 _resultobj
= Py_None
;
1777 #define wxGrid_GetLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetLabelValue(_swigarg0,_swigarg1))
1778 static PyObject
*_wrap_wxGrid_GetLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1779 PyObject
* _resultobj
;
1784 PyObject
* _argo0
= 0;
1785 char *_kwnames
[] = { "self","orientation","pos", NULL
};
1788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_GetLabelValue",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
1791 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1792 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
1793 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetLabelValue. Expected _wxGrid_p.");
1798 wxPy_BEGIN_ALLOW_THREADS
;
1799 wxString
& _result_ref
= wxGrid_GetLabelValue(_arg0
,_arg1
,_arg2
);
1800 _result
= (wxString
*) &_result_ref
;
1802 wxPy_END_ALLOW_THREADS
;
1804 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1809 #define wxGrid_GetRowHeight(_swigobj,_swigarg0) (_swigobj->GetRowHeight(_swigarg0))
1810 static PyObject
*_wrap_wxGrid_GetRowHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1811 PyObject
* _resultobj
;
1815 PyObject
* _argo0
= 0;
1816 char *_kwnames
[] = { "self","row", NULL
};
1819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_GetRowHeight",_kwnames
,&_argo0
,&_arg1
))
1822 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1823 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
1824 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetRowHeight. Expected _wxGrid_p.");
1829 wxPy_BEGIN_ALLOW_THREADS
;
1830 _result
= (int )wxGrid_GetRowHeight(_arg0
,_arg1
);
1832 wxPy_END_ALLOW_THREADS
;
1833 } _resultobj
= Py_BuildValue("i",_result
);
1837 #define wxGrid_GetRows(_swigobj) (_swigobj->GetRows())
1838 static PyObject
*_wrap_wxGrid_GetRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1839 PyObject
* _resultobj
;
1842 PyObject
* _argo0
= 0;
1843 char *_kwnames
[] = { "self", NULL
};
1846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetRows",_kwnames
,&_argo0
))
1849 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1850 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
1851 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetRows. Expected _wxGrid_p.");
1856 wxPy_BEGIN_ALLOW_THREADS
;
1857 _result
= (int )wxGrid_GetRows(_arg0
);
1859 wxPy_END_ALLOW_THREADS
;
1860 } _resultobj
= Py_BuildValue("i",_result
);
1864 #define wxGrid_GetScrollPosX(_swigobj) (_swigobj->GetScrollPosX())
1865 static PyObject
*_wrap_wxGrid_GetScrollPosX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1866 PyObject
* _resultobj
;
1869 PyObject
* _argo0
= 0;
1870 char *_kwnames
[] = { "self", NULL
};
1873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetScrollPosX",_kwnames
,&_argo0
))
1876 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1877 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
1878 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetScrollPosX. Expected _wxGrid_p.");
1883 wxPy_BEGIN_ALLOW_THREADS
;
1884 _result
= (int )wxGrid_GetScrollPosX(_arg0
);
1886 wxPy_END_ALLOW_THREADS
;
1887 } _resultobj
= Py_BuildValue("i",_result
);
1891 #define wxGrid_GetScrollPosY(_swigobj) (_swigobj->GetScrollPosY())
1892 static PyObject
*_wrap_wxGrid_GetScrollPosY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1893 PyObject
* _resultobj
;
1896 PyObject
* _argo0
= 0;
1897 char *_kwnames
[] = { "self", NULL
};
1900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetScrollPosY",_kwnames
,&_argo0
))
1903 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1904 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
1905 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetScrollPosY. Expected _wxGrid_p.");
1910 wxPy_BEGIN_ALLOW_THREADS
;
1911 _result
= (int )wxGrid_GetScrollPosY(_arg0
);
1913 wxPy_END_ALLOW_THREADS
;
1914 } _resultobj
= Py_BuildValue("i",_result
);
1918 #define wxGrid_GetTextItem(_swigobj) (_swigobj->GetTextItem())
1919 static PyObject
*_wrap_wxGrid_GetTextItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1920 PyObject
* _resultobj
;
1921 wxTextCtrl
* _result
;
1923 PyObject
* _argo0
= 0;
1924 char *_kwnames
[] = { "self", NULL
};
1928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetTextItem",_kwnames
,&_argo0
))
1931 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1932 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
1933 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetTextItem. Expected _wxGrid_p.");
1938 wxPy_BEGIN_ALLOW_THREADS
;
1939 _result
= (wxTextCtrl
*)wxGrid_GetTextItem(_arg0
);
1941 wxPy_END_ALLOW_THREADS
;
1943 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTextCtrl_p");
1944 _resultobj
= Py_BuildValue("s",_ptemp
);
1947 _resultobj
= Py_None
;
1952 #define wxGrid_GetVertScrollBar(_swigobj) (_swigobj->GetVertScrollBar())
1953 static PyObject
*_wrap_wxGrid_GetVertScrollBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1954 PyObject
* _resultobj
;
1955 wxScrollBar
* _result
;
1957 PyObject
* _argo0
= 0;
1958 char *_kwnames
[] = { "self", NULL
};
1962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetVertScrollBar",_kwnames
,&_argo0
))
1965 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1966 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
1967 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetVertScrollBar. Expected _wxGrid_p.");
1972 wxPy_BEGIN_ALLOW_THREADS
;
1973 _result
= (wxScrollBar
*)wxGrid_GetVertScrollBar(_arg0
);
1975 wxPy_END_ALLOW_THREADS
;
1977 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScrollBar_p");
1978 _resultobj
= Py_BuildValue("s",_ptemp
);
1981 _resultobj
= Py_None
;
1986 #define wxGrid_InsertCols(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertCols(_swigarg0,_swigarg1,_swigarg2))
1987 static PyObject
*_wrap_wxGrid_InsertCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1988 PyObject
* _resultobj
;
1991 int _arg1
= (int ) 0;
1992 int _arg2
= (int ) 1;
1993 bool _arg3
= (bool ) TRUE
;
1994 PyObject
* _argo0
= 0;
1995 int tempbool3
= (int) TRUE
;
1996 char *_kwnames
[] = { "self","pos","n","updateLabels", NULL
};
1999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iii:wxGrid_InsertCols",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
2002 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2003 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
2004 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_InsertCols. Expected _wxGrid_p.");
2008 _arg3
= (bool ) tempbool3
;
2010 wxPy_BEGIN_ALLOW_THREADS
;
2011 _result
= (bool )wxGrid_InsertCols(_arg0
,_arg1
,_arg2
,_arg3
);
2013 wxPy_END_ALLOW_THREADS
;
2014 } _resultobj
= Py_BuildValue("i",_result
);
2018 #define wxGrid_InsertRows(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertRows(_swigarg0,_swigarg1,_swigarg2))
2019 static PyObject
*_wrap_wxGrid_InsertRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2020 PyObject
* _resultobj
;
2023 int _arg1
= (int ) 0;
2024 int _arg2
= (int ) 1;
2025 bool _arg3
= (bool ) TRUE
;
2026 PyObject
* _argo0
= 0;
2027 int tempbool3
= (int) TRUE
;
2028 char *_kwnames
[] = { "self","pos","n","updateLabels", NULL
};
2031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iii:wxGrid_InsertRows",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
2034 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2035 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
2036 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_InsertRows. Expected _wxGrid_p.");
2040 _arg3
= (bool ) tempbool3
;
2042 wxPy_BEGIN_ALLOW_THREADS
;
2043 _result
= (bool )wxGrid_InsertRows(_arg0
,_arg1
,_arg2
,_arg3
);
2045 wxPy_END_ALLOW_THREADS
;
2046 } _resultobj
= Py_BuildValue("i",_result
);
2050 #define wxGrid_OnActivate(_swigobj,_swigarg0) (_swigobj->OnActivate(_swigarg0))
2051 static PyObject
*_wrap_wxGrid_OnActivate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2052 PyObject
* _resultobj
;
2055 PyObject
* _argo0
= 0;
2057 char *_kwnames
[] = { "self","active", NULL
};
2060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_OnActivate",_kwnames
,&_argo0
,&tempbool1
))
2063 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2064 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
2065 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_OnActivate. Expected _wxGrid_p.");
2069 _arg1
= (bool ) tempbool1
;
2071 wxPy_BEGIN_ALLOW_THREADS
;
2072 wxGrid_OnActivate(_arg0
,_arg1
);
2074 wxPy_END_ALLOW_THREADS
;
2075 } Py_INCREF(Py_None
);
2076 _resultobj
= Py_None
;
2080 #define wxGrid_SetCellAlignment(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellAlignment(_swigarg0,_swigarg1,_swigarg2))
2081 static PyObject
*_wrap_wxGrid_SetCellAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2082 PyObject
* _resultobj
;
2087 PyObject
* _argo0
= 0;
2088 char *_kwnames
[] = { "self","alignment","row","col", NULL
};
2091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiii:wxGrid_SetCellAlignment",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
2094 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2095 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
2096 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellAlignment. Expected _wxGrid_p.");
2101 wxPy_BEGIN_ALLOW_THREADS
;
2102 wxGrid_SetCellAlignment(_arg0
,_arg1
,_arg2
,_arg3
);
2104 wxPy_END_ALLOW_THREADS
;
2105 } Py_INCREF(Py_None
);
2106 _resultobj
= Py_None
;
2110 #define wxGrid_SetDefCellAlignment(_swigobj,_swigarg0) (_swigobj->SetCellAlignment(_swigarg0))
2111 static PyObject
*_wrap_wxGrid_SetDefCellAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2112 PyObject
* _resultobj
;
2115 PyObject
* _argo0
= 0;
2116 char *_kwnames
[] = { "self","alignment", NULL
};
2119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_SetDefCellAlignment",_kwnames
,&_argo0
,&_arg1
))
2122 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2123 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
2124 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetDefCellAlignment. Expected _wxGrid_p.");
2129 wxPy_BEGIN_ALLOW_THREADS
;
2130 wxGrid_SetDefCellAlignment(_arg0
,_arg1
);
2132 wxPy_END_ALLOW_THREADS
;
2133 } Py_INCREF(Py_None
);
2134 _resultobj
= Py_None
;
2138 #define wxGrid_SetCellBackgroundColour(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellBackgroundColour(_swigarg0,_swigarg1,_swigarg2))
2139 static PyObject
*_wrap_wxGrid_SetCellBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2140 PyObject
* _resultobj
;
2145 PyObject
* _argo0
= 0;
2146 PyObject
* _argo1
= 0;
2147 char *_kwnames
[] = { "self","colour","row","col", NULL
};
2150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxGrid_SetCellBackgroundColour",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
2153 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2154 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
2155 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellBackgroundColour. Expected _wxGrid_p.");
2160 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2161 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxColour_p")) {
2162 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_SetCellBackgroundColour. Expected _wxColour_p.");
2167 wxPy_BEGIN_ALLOW_THREADS
;
2168 wxGrid_SetCellBackgroundColour(_arg0
,*_arg1
,_arg2
,_arg3
);
2170 wxPy_END_ALLOW_THREADS
;
2171 } Py_INCREF(Py_None
);
2172 _resultobj
= Py_None
;
2176 #define wxGrid_SetDefCellBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetCellBackgroundColour(_swigarg0))
2177 static PyObject
*_wrap_wxGrid_SetDefCellBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2178 PyObject
* _resultobj
;
2181 PyObject
* _argo0
= 0;
2182 PyObject
* _argo1
= 0;
2183 char *_kwnames
[] = { "self","colour", NULL
};
2186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetDefCellBackgroundColour",_kwnames
,&_argo0
,&_argo1
))
2189 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2190 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
2191 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetDefCellBackgroundColour. Expected _wxGrid_p.");
2196 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2197 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxColour_p")) {
2198 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_SetDefCellBackgroundColour. Expected _wxColour_p.");
2203 wxPy_BEGIN_ALLOW_THREADS
;
2204 wxGrid_SetDefCellBackgroundColour(_arg0
,*_arg1
);
2206 wxPy_END_ALLOW_THREADS
;
2207 } Py_INCREF(Py_None
);
2208 _resultobj
= Py_None
;
2212 #define wxGrid_SetCellTextColour(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellTextColour(_swigarg0,_swigarg1,_swigarg2))
2213 static PyObject
*_wrap_wxGrid_SetCellTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2214 PyObject
* _resultobj
;
2219 PyObject
* _argo0
= 0;
2220 PyObject
* _argo1
= 0;
2221 char *_kwnames
[] = { "self","colour","row","col", NULL
};
2224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxGrid_SetCellTextColour",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
2227 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2228 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
2229 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellTextColour. Expected _wxGrid_p.");
2234 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2235 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxColour_p")) {
2236 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_SetCellTextColour. Expected _wxColour_p.");
2241 wxPy_BEGIN_ALLOW_THREADS
;
2242 wxGrid_SetCellTextColour(_arg0
,*_arg1
,_arg2
,_arg3
);
2244 wxPy_END_ALLOW_THREADS
;
2245 } Py_INCREF(Py_None
);
2246 _resultobj
= Py_None
;
2250 #define wxGrid_SetDefCellTextColour(_swigobj,_swigarg0) (_swigobj->SetCellTextColour(_swigarg0))
2251 static PyObject
*_wrap_wxGrid_SetDefCellTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2252 PyObject
* _resultobj
;
2255 PyObject
* _argo0
= 0;
2256 PyObject
* _argo1
= 0;
2257 char *_kwnames
[] = { "self","colour", NULL
};
2260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetDefCellTextColour",_kwnames
,&_argo0
,&_argo1
))
2263 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2264 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
2265 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetDefCellTextColour. Expected _wxGrid_p.");
2270 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2271 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxColour_p")) {
2272 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_SetDefCellTextColour. Expected _wxColour_p.");
2277 wxPy_BEGIN_ALLOW_THREADS
;
2278 wxGrid_SetDefCellTextColour(_arg0
,*_arg1
);
2280 wxPy_END_ALLOW_THREADS
;
2281 } Py_INCREF(Py_None
);
2282 _resultobj
= Py_None
;
2286 #define wxGrid_SetCellTextFont(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellTextFont(_swigarg0,_swigarg1,_swigarg2))
2287 static PyObject
*_wrap_wxGrid_SetCellTextFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2288 PyObject
* _resultobj
;
2293 PyObject
* _argo0
= 0;
2294 PyObject
* _argo1
= 0;
2295 char *_kwnames
[] = { "self","font","row","col", NULL
};
2298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxGrid_SetCellTextFont",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
2301 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2302 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
2303 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellTextFont. Expected _wxGrid_p.");
2308 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2309 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
2310 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_SetCellTextFont. Expected _wxFont_p.");
2315 wxPy_BEGIN_ALLOW_THREADS
;
2316 wxGrid_SetCellTextFont(_arg0
,*_arg1
,_arg2
,_arg3
);
2318 wxPy_END_ALLOW_THREADS
;
2319 } Py_INCREF(Py_None
);
2320 _resultobj
= Py_None
;
2324 #define wxGrid_SetDefCellTextFont(_swigobj,_swigarg0) (_swigobj->SetCellTextFont(_swigarg0))
2325 static PyObject
*_wrap_wxGrid_SetDefCellTextFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2326 PyObject
* _resultobj
;
2329 PyObject
* _argo0
= 0;
2330 PyObject
* _argo1
= 0;
2331 char *_kwnames
[] = { "self","font", NULL
};
2334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetDefCellTextFont",_kwnames
,&_argo0
,&_argo1
))
2337 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2338 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
2339 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetDefCellTextFont. Expected _wxGrid_p.");
2344 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2345 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
2346 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_SetDefCellTextFont. Expected _wxFont_p.");
2351 wxPy_BEGIN_ALLOW_THREADS
;
2352 wxGrid_SetDefCellTextFont(_arg0
,*_arg1
);
2354 wxPy_END_ALLOW_THREADS
;
2355 } Py_INCREF(Py_None
);
2356 _resultobj
= Py_None
;
2360 #define wxGrid_SetCellValue(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellValue(_swigarg0,_swigarg1,_swigarg2))
2361 static PyObject
*_wrap_wxGrid_SetCellValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2362 PyObject
* _resultobj
;
2367 PyObject
* _argo0
= 0;
2368 PyObject
* _obj1
= 0;
2369 char *_kwnames
[] = { "self","val","row","col", NULL
};
2372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxGrid_SetCellValue",_kwnames
,&_argo0
,&_obj1
,&_arg2
,&_arg3
))
2375 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2376 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
2377 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellValue. Expected _wxGrid_p.");
2382 if (!PyString_Check(_obj1
)) {
2383 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2386 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
2389 wxPy_BEGIN_ALLOW_THREADS
;
2390 wxGrid_SetCellValue(_arg0
,*_arg1
,_arg2
,_arg3
);
2392 wxPy_END_ALLOW_THREADS
;
2393 } Py_INCREF(Py_None
);
2394 _resultobj
= Py_None
;
2402 #define wxGrid_SetColumnWidth(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColumnWidth(_swigarg0,_swigarg1))
2403 static PyObject
*_wrap_wxGrid_SetColumnWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2404 PyObject
* _resultobj
;
2408 PyObject
* _argo0
= 0;
2409 char *_kwnames
[] = { "self","col","width", NULL
};
2412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_SetColumnWidth",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2415 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2416 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
2417 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetColumnWidth. Expected _wxGrid_p.");
2422 wxPy_BEGIN_ALLOW_THREADS
;
2423 wxGrid_SetColumnWidth(_arg0
,_arg1
,_arg2
);
2425 wxPy_END_ALLOW_THREADS
;
2426 } Py_INCREF(Py_None
);
2427 _resultobj
= Py_None
;
2431 #define wxGrid_SetDividerPen(_swigobj,_swigarg0) (_swigobj->SetDividerPen(_swigarg0))
2432 static PyObject
*_wrap_wxGrid_SetDividerPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2433 PyObject
* _resultobj
;
2436 PyObject
* _argo0
= 0;
2437 PyObject
* _argo1
= 0;
2438 char *_kwnames
[] = { "self","pen", NULL
};
2441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetDividerPen",_kwnames
,&_argo0
,&_argo1
))
2444 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2445 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
2446 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetDividerPen. Expected _wxGrid_p.");
2451 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2452 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPen_p")) {
2453 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_SetDividerPen. Expected _wxPen_p.");
2458 wxPy_BEGIN_ALLOW_THREADS
;
2459 wxGrid_SetDividerPen(_arg0
,*_arg1
);
2461 wxPy_END_ALLOW_THREADS
;
2462 } Py_INCREF(Py_None
);
2463 _resultobj
= Py_None
;
2467 #define wxGrid_SetEditable(_swigobj,_swigarg0) (_swigobj->SetEditable(_swigarg0))
2468 static PyObject
*_wrap_wxGrid_SetEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2469 PyObject
* _resultobj
;
2472 PyObject
* _argo0
= 0;
2474 char *_kwnames
[] = { "self","editable", NULL
};
2477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_SetEditable",_kwnames
,&_argo0
,&tempbool1
))
2480 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2481 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
2482 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetEditable. Expected _wxGrid_p.");
2486 _arg1
= (bool ) tempbool1
;
2488 wxPy_BEGIN_ALLOW_THREADS
;
2489 wxGrid_SetEditable(_arg0
,_arg1
);
2491 wxPy_END_ALLOW_THREADS
;
2492 } Py_INCREF(Py_None
);
2493 _resultobj
= Py_None
;
2497 #define wxGrid_SetGridCursor(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetGridCursor(_swigarg0,_swigarg1))
2498 static PyObject
*_wrap_wxGrid_SetGridCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2499 PyObject
* _resultobj
;
2503 PyObject
* _argo0
= 0;
2504 char *_kwnames
[] = { "self","row","col", NULL
};
2507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_SetGridCursor",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2510 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2511 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
2512 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetGridCursor. Expected _wxGrid_p.");
2517 wxPy_BEGIN_ALLOW_THREADS
;
2518 wxGrid_SetGridCursor(_arg0
,_arg1
,_arg2
);
2520 wxPy_END_ALLOW_THREADS
;
2521 } Py_INCREF(Py_None
);
2522 _resultobj
= Py_None
;
2526 #define wxGrid_SetLabelAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabelAlignment(_swigarg0,_swigarg1))
2527 static PyObject
*_wrap_wxGrid_SetLabelAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2528 PyObject
* _resultobj
;
2532 PyObject
* _argo0
= 0;
2533 char *_kwnames
[] = { "self","orientation","alignment", NULL
};
2536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_SetLabelAlignment",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2539 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2540 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
2541 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetLabelAlignment. Expected _wxGrid_p.");
2546 wxPy_BEGIN_ALLOW_THREADS
;
2547 wxGrid_SetLabelAlignment(_arg0
,_arg1
,_arg2
);
2549 wxPy_END_ALLOW_THREADS
;
2550 } Py_INCREF(Py_None
);
2551 _resultobj
= Py_None
;
2555 #define wxGrid_SetLabelBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetLabelBackgroundColour(_swigarg0))
2556 static PyObject
*_wrap_wxGrid_SetLabelBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2557 PyObject
* _resultobj
;
2560 PyObject
* _argo0
= 0;
2561 PyObject
* _argo1
= 0;
2562 char *_kwnames
[] = { "self","value", NULL
};
2565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetLabelBackgroundColour",_kwnames
,&_argo0
,&_argo1
))
2568 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2569 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
2570 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetLabelBackgroundColour. Expected _wxGrid_p.");
2575 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2576 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxColour_p")) {
2577 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_SetLabelBackgroundColour. Expected _wxColour_p.");
2582 wxPy_BEGIN_ALLOW_THREADS
;
2583 wxGrid_SetLabelBackgroundColour(_arg0
,*_arg1
);
2585 wxPy_END_ALLOW_THREADS
;
2586 } Py_INCREF(Py_None
);
2587 _resultobj
= Py_None
;
2591 #define wxGrid_SetLabelSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabelSize(_swigarg0,_swigarg1))
2592 static PyObject
*_wrap_wxGrid_SetLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2593 PyObject
* _resultobj
;
2597 PyObject
* _argo0
= 0;
2598 char *_kwnames
[] = { "self","orientation","size", NULL
};
2601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_SetLabelSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2604 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2605 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
2606 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetLabelSize. Expected _wxGrid_p.");
2611 wxPy_BEGIN_ALLOW_THREADS
;
2612 wxGrid_SetLabelSize(_arg0
,_arg1
,_arg2
);
2614 wxPy_END_ALLOW_THREADS
;
2615 } Py_INCREF(Py_None
);
2616 _resultobj
= Py_None
;
2620 #define wxGrid_SetLabelTextColour(_swigobj,_swigarg0) (_swigobj->SetLabelTextColour(_swigarg0))
2621 static PyObject
*_wrap_wxGrid_SetLabelTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2622 PyObject
* _resultobj
;
2625 PyObject
* _argo0
= 0;
2626 PyObject
* _argo1
= 0;
2627 char *_kwnames
[] = { "self","value", NULL
};
2630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetLabelTextColour",_kwnames
,&_argo0
,&_argo1
))
2633 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2634 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
2635 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetLabelTextColour. Expected _wxGrid_p.");
2640 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2641 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxColour_p")) {
2642 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_SetLabelTextColour. Expected _wxColour_p.");
2647 wxPy_BEGIN_ALLOW_THREADS
;
2648 wxGrid_SetLabelTextColour(_arg0
,*_arg1
);
2650 wxPy_END_ALLOW_THREADS
;
2651 } Py_INCREF(Py_None
);
2652 _resultobj
= Py_None
;
2656 #define wxGrid_SetLabelTextFont(_swigobj,_swigarg0) (_swigobj->SetLabelTextFont(_swigarg0))
2657 static PyObject
*_wrap_wxGrid_SetLabelTextFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2658 PyObject
* _resultobj
;
2661 PyObject
* _argo0
= 0;
2662 PyObject
* _argo1
= 0;
2663 char *_kwnames
[] = { "self","font", NULL
};
2666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetLabelTextFont",_kwnames
,&_argo0
,&_argo1
))
2669 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2670 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
2671 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetLabelTextFont. Expected _wxGrid_p.");
2676 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2677 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
2678 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_SetLabelTextFont. Expected _wxFont_p.");
2683 wxPy_BEGIN_ALLOW_THREADS
;
2684 wxGrid_SetLabelTextFont(_arg0
,*_arg1
);
2686 wxPy_END_ALLOW_THREADS
;
2687 } Py_INCREF(Py_None
);
2688 _resultobj
= Py_None
;
2692 #define wxGrid_SetLabelValue(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetLabelValue(_swigarg0,_swigarg1,_swigarg2))
2693 static PyObject
*_wrap_wxGrid_SetLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2694 PyObject
* _resultobj
;
2699 PyObject
* _argo0
= 0;
2700 PyObject
* _obj2
= 0;
2701 char *_kwnames
[] = { "self","orientation","value","pos", NULL
};
2704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOi:wxGrid_SetLabelValue",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_arg3
))
2707 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2708 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
2709 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetLabelValue. Expected _wxGrid_p.");
2714 if (!PyString_Check(_obj2
)) {
2715 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2718 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
2721 wxPy_BEGIN_ALLOW_THREADS
;
2722 wxGrid_SetLabelValue(_arg0
,_arg1
,*_arg2
,_arg3
);
2724 wxPy_END_ALLOW_THREADS
;
2725 } Py_INCREF(Py_None
);
2726 _resultobj
= Py_None
;
2734 #define wxGrid_SetRowHeight(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowHeight(_swigarg0,_swigarg1))
2735 static PyObject
*_wrap_wxGrid_SetRowHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2736 PyObject
* _resultobj
;
2740 PyObject
* _argo0
= 0;
2741 char *_kwnames
[] = { "self","row","height", NULL
};
2744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_SetRowHeight",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2747 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2748 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
2749 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetRowHeight. Expected _wxGrid_p.");
2754 wxPy_BEGIN_ALLOW_THREADS
;
2755 wxGrid_SetRowHeight(_arg0
,_arg1
,_arg2
);
2757 wxPy_END_ALLOW_THREADS
;
2758 } Py_INCREF(Py_None
);
2759 _resultobj
= Py_None
;
2763 #define wxGrid_UpdateDimensions(_swigobj) (_swigobj->UpdateDimensions())
2764 static PyObject
*_wrap_wxGrid_UpdateDimensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2765 PyObject
* _resultobj
;
2767 PyObject
* _argo0
= 0;
2768 char *_kwnames
[] = { "self", NULL
};
2771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_UpdateDimensions",_kwnames
,&_argo0
))
2774 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2775 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
2776 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_UpdateDimensions. Expected _wxGrid_p.");
2781 wxPy_BEGIN_ALLOW_THREADS
;
2782 wxGrid_UpdateDimensions(_arg0
);
2784 wxPy_END_ALLOW_THREADS
;
2785 } Py_INCREF(Py_None
);
2786 _resultobj
= Py_None
;
2790 #define wxGrid_GetEditInPlace(_swigobj) (_swigobj->GetEditInPlace())
2791 static PyObject
*_wrap_wxGrid_GetEditInPlace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2792 PyObject
* _resultobj
;
2795 PyObject
* _argo0
= 0;
2796 char *_kwnames
[] = { "self", NULL
};
2799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetEditInPlace",_kwnames
,&_argo0
))
2802 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2803 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
2804 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetEditInPlace. Expected _wxGrid_p.");
2809 wxPy_BEGIN_ALLOW_THREADS
;
2810 _result
= (bool )wxGrid_GetEditInPlace(_arg0
);
2812 wxPy_END_ALLOW_THREADS
;
2813 } _resultobj
= Py_BuildValue("i",_result
);
2817 #define wxGrid_SetEditInPlace(_swigobj,_swigarg0) (_swigobj->SetEditInPlace(_swigarg0))
2818 static PyObject
*_wrap_wxGrid_SetEditInPlace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2819 PyObject
* _resultobj
;
2821 int _arg1
= (int ) TRUE
;
2822 PyObject
* _argo0
= 0;
2823 char *_kwnames
[] = { "self","edit", NULL
};
2826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxGrid_SetEditInPlace",_kwnames
,&_argo0
,&_arg1
))
2829 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2830 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
2831 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetEditInPlace. Expected _wxGrid_p.");
2836 wxPy_BEGIN_ALLOW_THREADS
;
2837 wxGrid_SetEditInPlace(_arg0
,_arg1
);
2839 wxPy_END_ALLOW_THREADS
;
2840 } Py_INCREF(Py_None
);
2841 _resultobj
= Py_None
;
2845 static void *SwigwxGridEventTowxEvent(void *ptr
) {
2848 src
= (wxGridEvent
*) ptr
;
2849 dest
= (wxEvent
*) src
;
2850 return (void *) dest
;
2853 #define wxGridEvent_m_row_set(_swigobj,_swigval) (_swigobj->m_row = _swigval,_swigval)
2854 static PyObject
*_wrap_wxGridEvent_m_row_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2855 PyObject
* _resultobj
;
2857 wxGridEvent
* _arg0
;
2859 PyObject
* _argo0
= 0;
2860 char *_kwnames
[] = { "self","m_row", NULL
};
2863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridEvent_m_row_set",_kwnames
,&_argo0
,&_arg1
))
2866 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2867 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
2868 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_m_row_set. Expected _wxGridEvent_p.");
2873 wxPy_BEGIN_ALLOW_THREADS
;
2874 _result
= (int )wxGridEvent_m_row_set(_arg0
,_arg1
);
2876 wxPy_END_ALLOW_THREADS
;
2877 } _resultobj
= Py_BuildValue("i",_result
);
2881 #define wxGridEvent_m_row_get(_swigobj) ((int ) _swigobj->m_row)
2882 static PyObject
*_wrap_wxGridEvent_m_row_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2883 PyObject
* _resultobj
;
2885 wxGridEvent
* _arg0
;
2886 PyObject
* _argo0
= 0;
2887 char *_kwnames
[] = { "self", NULL
};
2890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_m_row_get",_kwnames
,&_argo0
))
2893 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2894 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
2895 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_m_row_get. Expected _wxGridEvent_p.");
2900 wxPy_BEGIN_ALLOW_THREADS
;
2901 _result
= (int )wxGridEvent_m_row_get(_arg0
);
2903 wxPy_END_ALLOW_THREADS
;
2904 } _resultobj
= Py_BuildValue("i",_result
);
2908 #define wxGridEvent_m_col_set(_swigobj,_swigval) (_swigobj->m_col = _swigval,_swigval)
2909 static PyObject
*_wrap_wxGridEvent_m_col_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2910 PyObject
* _resultobj
;
2912 wxGridEvent
* _arg0
;
2914 PyObject
* _argo0
= 0;
2915 char *_kwnames
[] = { "self","m_col", NULL
};
2918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridEvent_m_col_set",_kwnames
,&_argo0
,&_arg1
))
2921 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2922 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
2923 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_m_col_set. Expected _wxGridEvent_p.");
2928 wxPy_BEGIN_ALLOW_THREADS
;
2929 _result
= (int )wxGridEvent_m_col_set(_arg0
,_arg1
);
2931 wxPy_END_ALLOW_THREADS
;
2932 } _resultobj
= Py_BuildValue("i",_result
);
2936 #define wxGridEvent_m_col_get(_swigobj) ((int ) _swigobj->m_col)
2937 static PyObject
*_wrap_wxGridEvent_m_col_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2938 PyObject
* _resultobj
;
2940 wxGridEvent
* _arg0
;
2941 PyObject
* _argo0
= 0;
2942 char *_kwnames
[] = { "self", NULL
};
2945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_m_col_get",_kwnames
,&_argo0
))
2948 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2949 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
2950 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_m_col_get. Expected _wxGridEvent_p.");
2955 wxPy_BEGIN_ALLOW_THREADS
;
2956 _result
= (int )wxGridEvent_m_col_get(_arg0
);
2958 wxPy_END_ALLOW_THREADS
;
2959 } _resultobj
= Py_BuildValue("i",_result
);
2963 #define wxGridEvent_m_x_set(_swigobj,_swigval) (_swigobj->m_x = _swigval,_swigval)
2964 static PyObject
*_wrap_wxGridEvent_m_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2965 PyObject
* _resultobj
;
2967 wxGridEvent
* _arg0
;
2969 PyObject
* _argo0
= 0;
2970 char *_kwnames
[] = { "self","m_x", NULL
};
2973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridEvent_m_x_set",_kwnames
,&_argo0
,&_arg1
))
2976 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2977 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
2978 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_m_x_set. Expected _wxGridEvent_p.");
2983 wxPy_BEGIN_ALLOW_THREADS
;
2984 _result
= (int )wxGridEvent_m_x_set(_arg0
,_arg1
);
2986 wxPy_END_ALLOW_THREADS
;
2987 } _resultobj
= Py_BuildValue("i",_result
);
2991 #define wxGridEvent_m_x_get(_swigobj) ((int ) _swigobj->m_x)
2992 static PyObject
*_wrap_wxGridEvent_m_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2993 PyObject
* _resultobj
;
2995 wxGridEvent
* _arg0
;
2996 PyObject
* _argo0
= 0;
2997 char *_kwnames
[] = { "self", NULL
};
3000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_m_x_get",_kwnames
,&_argo0
))
3003 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3004 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
3005 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_m_x_get. Expected _wxGridEvent_p.");
3010 wxPy_BEGIN_ALLOW_THREADS
;
3011 _result
= (int )wxGridEvent_m_x_get(_arg0
);
3013 wxPy_END_ALLOW_THREADS
;
3014 } _resultobj
= Py_BuildValue("i",_result
);
3018 #define wxGridEvent_m_y_set(_swigobj,_swigval) (_swigobj->m_y = _swigval,_swigval)
3019 static PyObject
*_wrap_wxGridEvent_m_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3020 PyObject
* _resultobj
;
3022 wxGridEvent
* _arg0
;
3024 PyObject
* _argo0
= 0;
3025 char *_kwnames
[] = { "self","m_y", NULL
};
3028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridEvent_m_y_set",_kwnames
,&_argo0
,&_arg1
))
3031 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3032 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
3033 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_m_y_set. Expected _wxGridEvent_p.");
3038 wxPy_BEGIN_ALLOW_THREADS
;
3039 _result
= (int )wxGridEvent_m_y_set(_arg0
,_arg1
);
3041 wxPy_END_ALLOW_THREADS
;
3042 } _resultobj
= Py_BuildValue("i",_result
);
3046 #define wxGridEvent_m_y_get(_swigobj) ((int ) _swigobj->m_y)
3047 static PyObject
*_wrap_wxGridEvent_m_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3048 PyObject
* _resultobj
;
3050 wxGridEvent
* _arg0
;
3051 PyObject
* _argo0
= 0;
3052 char *_kwnames
[] = { "self", NULL
};
3055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_m_y_get",_kwnames
,&_argo0
))
3058 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3059 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
3060 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_m_y_get. Expected _wxGridEvent_p.");
3065 wxPy_BEGIN_ALLOW_THREADS
;
3066 _result
= (int )wxGridEvent_m_y_get(_arg0
);
3068 wxPy_END_ALLOW_THREADS
;
3069 } _resultobj
= Py_BuildValue("i",_result
);
3073 #define wxGridEvent_m_control_set(_swigobj,_swigval) (_swigobj->m_control = _swigval,_swigval)
3074 static PyObject
*_wrap_wxGridEvent_m_control_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3075 PyObject
* _resultobj
;
3077 wxGridEvent
* _arg0
;
3079 PyObject
* _argo0
= 0;
3081 char *_kwnames
[] = { "self","m_control", NULL
};
3084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridEvent_m_control_set",_kwnames
,&_argo0
,&tempbool1
))
3087 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3088 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
3089 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_m_control_set. Expected _wxGridEvent_p.");
3093 _arg1
= (bool ) tempbool1
;
3095 wxPy_BEGIN_ALLOW_THREADS
;
3096 _result
= (bool )wxGridEvent_m_control_set(_arg0
,_arg1
);
3098 wxPy_END_ALLOW_THREADS
;
3099 } _resultobj
= Py_BuildValue("i",_result
);
3103 #define wxGridEvent_m_control_get(_swigobj) ((bool ) _swigobj->m_control)
3104 static PyObject
*_wrap_wxGridEvent_m_control_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3105 PyObject
* _resultobj
;
3107 wxGridEvent
* _arg0
;
3108 PyObject
* _argo0
= 0;
3109 char *_kwnames
[] = { "self", NULL
};
3112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_m_control_get",_kwnames
,&_argo0
))
3115 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3116 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
3117 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_m_control_get. Expected _wxGridEvent_p.");
3122 wxPy_BEGIN_ALLOW_THREADS
;
3123 _result
= (bool )wxGridEvent_m_control_get(_arg0
);
3125 wxPy_END_ALLOW_THREADS
;
3126 } _resultobj
= Py_BuildValue("i",_result
);
3130 #define wxGridEvent_m_shift_set(_swigobj,_swigval) (_swigobj->m_shift = _swigval,_swigval)
3131 static PyObject
*_wrap_wxGridEvent_m_shift_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3132 PyObject
* _resultobj
;
3134 wxGridEvent
* _arg0
;
3136 PyObject
* _argo0
= 0;
3138 char *_kwnames
[] = { "self","m_shift", NULL
};
3141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridEvent_m_shift_set",_kwnames
,&_argo0
,&tempbool1
))
3144 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3145 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
3146 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_m_shift_set. Expected _wxGridEvent_p.");
3150 _arg1
= (bool ) tempbool1
;
3152 wxPy_BEGIN_ALLOW_THREADS
;
3153 _result
= (bool )wxGridEvent_m_shift_set(_arg0
,_arg1
);
3155 wxPy_END_ALLOW_THREADS
;
3156 } _resultobj
= Py_BuildValue("i",_result
);
3160 #define wxGridEvent_m_shift_get(_swigobj) ((bool ) _swigobj->m_shift)
3161 static PyObject
*_wrap_wxGridEvent_m_shift_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3162 PyObject
* _resultobj
;
3164 wxGridEvent
* _arg0
;
3165 PyObject
* _argo0
= 0;
3166 char *_kwnames
[] = { "self", NULL
};
3169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_m_shift_get",_kwnames
,&_argo0
))
3172 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3173 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
3174 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_m_shift_get. Expected _wxGridEvent_p.");
3179 wxPy_BEGIN_ALLOW_THREADS
;
3180 _result
= (bool )wxGridEvent_m_shift_get(_arg0
);
3182 wxPy_END_ALLOW_THREADS
;
3183 } _resultobj
= Py_BuildValue("i",_result
);
3187 #define wxGridEvent_m_cell_set(_swigobj,_swigval) (_swigobj->m_cell = _swigval,_swigval)
3188 static PyObject
*_wrap_wxGridEvent_m_cell_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3189 PyObject
* _resultobj
;
3190 wxGridCell
* _result
;
3191 wxGridEvent
* _arg0
;
3193 PyObject
* _argo0
= 0;
3194 PyObject
* _argo1
= 0;
3195 char *_kwnames
[] = { "self","m_cell", NULL
};
3199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridEvent_m_cell_set",_kwnames
,&_argo0
,&_argo1
))
3202 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3203 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
3204 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_m_cell_set. Expected _wxGridEvent_p.");
3209 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3210 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCell_p")) {
3211 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridEvent_m_cell_set. Expected _wxGridCell_p.");
3216 wxPy_BEGIN_ALLOW_THREADS
;
3217 _result
= (wxGridCell
*)wxGridEvent_m_cell_set(_arg0
,_arg1
);
3219 wxPy_END_ALLOW_THREADS
;
3221 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCell_p");
3222 _resultobj
= Py_BuildValue("s",_ptemp
);
3225 _resultobj
= Py_None
;
3230 #define wxGridEvent_m_cell_get(_swigobj) ((wxGridCell *) _swigobj->m_cell)
3231 static PyObject
*_wrap_wxGridEvent_m_cell_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3232 PyObject
* _resultobj
;
3233 wxGridCell
* _result
;
3234 wxGridEvent
* _arg0
;
3235 PyObject
* _argo0
= 0;
3236 char *_kwnames
[] = { "self", NULL
};
3240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_m_cell_get",_kwnames
,&_argo0
))
3243 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3244 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
3245 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_m_cell_get. Expected _wxGridEvent_p.");
3250 wxPy_BEGIN_ALLOW_THREADS
;
3251 _result
= (wxGridCell
*)wxGridEvent_m_cell_get(_arg0
);
3253 wxPy_END_ALLOW_THREADS
;
3255 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCell_p");
3256 _resultobj
= Py_BuildValue("s",_ptemp
);
3259 _resultobj
= Py_None
;
3264 #define wxGridEvent_GetRow(_swigobj) (_swigobj->GetRow())
3265 static PyObject
*_wrap_wxGridEvent_GetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3266 PyObject
* _resultobj
;
3268 wxGridEvent
* _arg0
;
3269 PyObject
* _argo0
= 0;
3270 char *_kwnames
[] = { "self", NULL
};
3273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_GetRow",_kwnames
,&_argo0
))
3276 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3277 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
3278 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_GetRow. Expected _wxGridEvent_p.");
3283 wxPy_BEGIN_ALLOW_THREADS
;
3284 _result
= (int )wxGridEvent_GetRow(_arg0
);
3286 wxPy_END_ALLOW_THREADS
;
3287 } _resultobj
= Py_BuildValue("i",_result
);
3291 #define wxGridEvent_GetCol(_swigobj) (_swigobj->GetCol())
3292 static PyObject
*_wrap_wxGridEvent_GetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3293 PyObject
* _resultobj
;
3295 wxGridEvent
* _arg0
;
3296 PyObject
* _argo0
= 0;
3297 char *_kwnames
[] = { "self", NULL
};
3300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_GetCol",_kwnames
,&_argo0
))
3303 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3304 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
3305 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_GetCol. Expected _wxGridEvent_p.");
3310 wxPy_BEGIN_ALLOW_THREADS
;
3311 _result
= (int )wxGridEvent_GetCol(_arg0
);
3313 wxPy_END_ALLOW_THREADS
;
3314 } _resultobj
= Py_BuildValue("i",_result
);
3318 #define wxGridEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
3319 static PyObject
*_wrap_wxGridEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3320 PyObject
* _resultobj
;
3322 wxGridEvent
* _arg0
;
3323 PyObject
* _argo0
= 0;
3324 char *_kwnames
[] = { "self", NULL
};
3328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_GetPosition",_kwnames
,&_argo0
))
3331 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3332 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
3333 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_GetPosition. Expected _wxGridEvent_p.");
3338 wxPy_BEGIN_ALLOW_THREADS
;
3339 _result
= new wxPoint (wxGridEvent_GetPosition(_arg0
));
3341 wxPy_END_ALLOW_THREADS
;
3342 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
3343 _resultobj
= Py_BuildValue("s",_ptemp
);
3347 #define wxGridEvent_ControlDown(_swigobj) (_swigobj->ControlDown())
3348 static PyObject
*_wrap_wxGridEvent_ControlDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3349 PyObject
* _resultobj
;
3351 wxGridEvent
* _arg0
;
3352 PyObject
* _argo0
= 0;
3353 char *_kwnames
[] = { "self", NULL
};
3356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_ControlDown",_kwnames
,&_argo0
))
3359 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3360 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
3361 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_ControlDown. Expected _wxGridEvent_p.");
3366 wxPy_BEGIN_ALLOW_THREADS
;
3367 _result
= (bool )wxGridEvent_ControlDown(_arg0
);
3369 wxPy_END_ALLOW_THREADS
;
3370 } _resultobj
= Py_BuildValue("i",_result
);
3374 #define wxGridEvent_ShiftDown(_swigobj) (_swigobj->ShiftDown())
3375 static PyObject
*_wrap_wxGridEvent_ShiftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3376 PyObject
* _resultobj
;
3378 wxGridEvent
* _arg0
;
3379 PyObject
* _argo0
= 0;
3380 char *_kwnames
[] = { "self", NULL
};
3383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_ShiftDown",_kwnames
,&_argo0
))
3386 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3387 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
3388 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_ShiftDown. Expected _wxGridEvent_p.");
3393 wxPy_BEGIN_ALLOW_THREADS
;
3394 _result
= (bool )wxGridEvent_ShiftDown(_arg0
);
3396 wxPy_END_ALLOW_THREADS
;
3397 } _resultobj
= Py_BuildValue("i",_result
);
3401 #define wxGridEvent_GetCell(_swigobj) (_swigobj->GetCell())
3402 static PyObject
*_wrap_wxGridEvent_GetCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3403 PyObject
* _resultobj
;
3404 wxGridCell
* _result
;
3405 wxGridEvent
* _arg0
;
3406 PyObject
* _argo0
= 0;
3407 char *_kwnames
[] = { "self", NULL
};
3411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_GetCell",_kwnames
,&_argo0
))
3414 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3415 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
3416 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_GetCell. Expected _wxGridEvent_p.");
3421 wxPy_BEGIN_ALLOW_THREADS
;
3422 _result
= (wxGridCell
*)wxGridEvent_GetCell(_arg0
);
3424 wxPy_END_ALLOW_THREADS
;
3426 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCell_p");
3427 _resultobj
= Py_BuildValue("s",_ptemp
);
3430 _resultobj
= Py_None
;
3435 static void *SwigwxNotebookEventTowxNotifyEvent(void *ptr
) {
3436 wxNotebookEvent
*src
;
3437 wxNotifyEvent
*dest
;
3438 src
= (wxNotebookEvent
*) ptr
;
3439 dest
= (wxNotifyEvent
*) src
;
3440 return (void *) dest
;
3443 static void *SwigwxNotebookEventTowxCommandEvent(void *ptr
) {
3444 wxNotebookEvent
*src
;
3445 wxCommandEvent
*dest
;
3446 src
= (wxNotebookEvent
*) ptr
;
3447 dest
= (wxCommandEvent
*) src
;
3448 return (void *) dest
;
3451 static void *SwigwxNotebookEventTowxEvent(void *ptr
) {
3452 wxNotebookEvent
*src
;
3454 src
= (wxNotebookEvent
*) ptr
;
3455 dest
= (wxEvent
*) src
;
3456 return (void *) dest
;
3459 #define wxNotebookEvent_GetSelection(_swigobj) (_swigobj->GetSelection())
3460 static PyObject
*_wrap_wxNotebookEvent_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3461 PyObject
* _resultobj
;
3463 wxNotebookEvent
* _arg0
;
3464 PyObject
* _argo0
= 0;
3465 char *_kwnames
[] = { "self", NULL
};
3468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebookEvent_GetSelection",_kwnames
,&_argo0
))
3471 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3472 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebookEvent_p")) {
3473 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebookEvent_GetSelection. Expected _wxNotebookEvent_p.");
3478 wxPy_BEGIN_ALLOW_THREADS
;
3479 _result
= (int )wxNotebookEvent_GetSelection(_arg0
);
3481 wxPy_END_ALLOW_THREADS
;
3482 } _resultobj
= Py_BuildValue("i",_result
);
3486 #define wxNotebookEvent_GetOldSelection(_swigobj) (_swigobj->GetOldSelection())
3487 static PyObject
*_wrap_wxNotebookEvent_GetOldSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3488 PyObject
* _resultobj
;
3490 wxNotebookEvent
* _arg0
;
3491 PyObject
* _argo0
= 0;
3492 char *_kwnames
[] = { "self", NULL
};
3495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebookEvent_GetOldSelection",_kwnames
,&_argo0
))
3498 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3499 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebookEvent_p")) {
3500 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebookEvent_GetOldSelection. Expected _wxNotebookEvent_p.");
3505 wxPy_BEGIN_ALLOW_THREADS
;
3506 _result
= (int )wxNotebookEvent_GetOldSelection(_arg0
);
3508 wxPy_END_ALLOW_THREADS
;
3509 } _resultobj
= Py_BuildValue("i",_result
);
3513 #define wxNotebookEvent_SetOldSelection(_swigobj,_swigarg0) (_swigobj->SetOldSelection(_swigarg0))
3514 static PyObject
*_wrap_wxNotebookEvent_SetOldSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3515 PyObject
* _resultobj
;
3516 wxNotebookEvent
* _arg0
;
3518 PyObject
* _argo0
= 0;
3519 char *_kwnames
[] = { "self","page", NULL
};
3522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNotebookEvent_SetOldSelection",_kwnames
,&_argo0
,&_arg1
))
3525 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3526 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebookEvent_p")) {
3527 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebookEvent_SetOldSelection. Expected _wxNotebookEvent_p.");
3532 wxPy_BEGIN_ALLOW_THREADS
;
3533 wxNotebookEvent_SetOldSelection(_arg0
,_arg1
);
3535 wxPy_END_ALLOW_THREADS
;
3536 } Py_INCREF(Py_None
);
3537 _resultobj
= Py_None
;
3541 #define wxNotebookEvent_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
3542 static PyObject
*_wrap_wxNotebookEvent_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3543 PyObject
* _resultobj
;
3544 wxNotebookEvent
* _arg0
;
3546 PyObject
* _argo0
= 0;
3547 char *_kwnames
[] = { "self","page", NULL
};
3550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNotebookEvent_SetSelection",_kwnames
,&_argo0
,&_arg1
))
3553 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3554 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebookEvent_p")) {
3555 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebookEvent_SetSelection. Expected _wxNotebookEvent_p.");
3560 wxPy_BEGIN_ALLOW_THREADS
;
3561 wxNotebookEvent_SetSelection(_arg0
,_arg1
);
3563 wxPy_END_ALLOW_THREADS
;
3564 } Py_INCREF(Py_None
);
3565 _resultobj
= Py_None
;
3569 static void *SwigwxNotebookTowxControl(void *ptr
) {
3572 src
= (wxNotebook
*) ptr
;
3573 dest
= (wxControl
*) src
;
3574 return (void *) dest
;
3577 static void *SwigwxNotebookTowxWindow(void *ptr
) {
3580 src
= (wxNotebook
*) ptr
;
3581 dest
= (wxWindow
*) src
;
3582 return (void *) dest
;
3585 static void *SwigwxNotebookTowxEvtHandler(void *ptr
) {
3588 src
= (wxNotebook
*) ptr
;
3589 dest
= (wxEvtHandler
*) src
;
3590 return (void *) dest
;
3593 #define new_wxNotebook(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxNotebook(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
3594 static PyObject
*_wrap_new_wxNotebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3595 PyObject
* _resultobj
;
3596 wxNotebook
* _result
;
3599 wxPoint
* _arg2
= (wxPoint
*) &wxPyDefaultPosition
;
3600 wxSize
* _arg3
= (wxSize
*) &wxPyDefaultSize
;
3601 long _arg4
= (long ) 0;
3602 char * _arg5
= (char *) "notebook";
3603 PyObject
* _argo0
= 0;
3605 PyObject
* _obj2
= 0;
3607 PyObject
* _obj3
= 0;
3608 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
3612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOls:new_wxNotebook",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
3615 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3616 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3617 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxNotebook. Expected _wxWindow_p.");
3624 if (! wxPoint_helper(_obj2
, &_arg2
))
3630 if (! wxSize_helper(_obj3
, &_arg3
))
3634 wxPy_BEGIN_ALLOW_THREADS
;
3635 _result
= (wxNotebook
*)new_wxNotebook(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
3637 wxPy_END_ALLOW_THREADS
;
3639 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxNotebook_p");
3640 _resultobj
= Py_BuildValue("s",_ptemp
);
3643 _resultobj
= Py_None
;
3648 #define wxNotebook_GetPageCount(_swigobj) (_swigobj->GetPageCount())
3649 static PyObject
*_wrap_wxNotebook_GetPageCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3650 PyObject
* _resultobj
;
3653 PyObject
* _argo0
= 0;
3654 char *_kwnames
[] = { "self", NULL
};
3657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebook_GetPageCount",_kwnames
,&_argo0
))
3660 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3661 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
3662 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_GetPageCount. Expected _wxNotebook_p.");
3667 wxPy_BEGIN_ALLOW_THREADS
;
3668 _result
= (int )wxNotebook_GetPageCount(_arg0
);
3670 wxPy_END_ALLOW_THREADS
;
3671 } _resultobj
= Py_BuildValue("i",_result
);
3675 #define wxNotebook_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
3676 static PyObject
*_wrap_wxNotebook_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3677 PyObject
* _resultobj
;
3681 PyObject
* _argo0
= 0;
3682 char *_kwnames
[] = { "self","nPage", NULL
};
3685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNotebook_SetSelection",_kwnames
,&_argo0
,&_arg1
))
3688 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3689 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
3690 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_SetSelection. Expected _wxNotebook_p.");
3695 wxPy_BEGIN_ALLOW_THREADS
;
3696 _result
= (int )wxNotebook_SetSelection(_arg0
,_arg1
);
3698 wxPy_END_ALLOW_THREADS
;
3699 } _resultobj
= Py_BuildValue("i",_result
);
3703 #define wxNotebook_AdvanceSelection(_swigobj,_swigarg0) (_swigobj->AdvanceSelection(_swigarg0))
3704 static PyObject
*_wrap_wxNotebook_AdvanceSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3705 PyObject
* _resultobj
;
3707 bool _arg1
= (bool ) TRUE
;
3708 PyObject
* _argo0
= 0;
3709 int tempbool1
= (int) TRUE
;
3710 char *_kwnames
[] = { "self","bForward", NULL
};
3713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxNotebook_AdvanceSelection",_kwnames
,&_argo0
,&tempbool1
))
3716 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3717 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
3718 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_AdvanceSelection. Expected _wxNotebook_p.");
3722 _arg1
= (bool ) tempbool1
;
3724 wxPy_BEGIN_ALLOW_THREADS
;
3725 wxNotebook_AdvanceSelection(_arg0
,_arg1
);
3727 wxPy_END_ALLOW_THREADS
;
3728 } Py_INCREF(Py_None
);
3729 _resultobj
= Py_None
;
3733 #define wxNotebook_GetSelection(_swigobj) (_swigobj->GetSelection())
3734 static PyObject
*_wrap_wxNotebook_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3735 PyObject
* _resultobj
;
3738 PyObject
* _argo0
= 0;
3739 char *_kwnames
[] = { "self", NULL
};
3742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebook_GetSelection",_kwnames
,&_argo0
))
3745 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3746 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
3747 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_GetSelection. Expected _wxNotebook_p.");
3752 wxPy_BEGIN_ALLOW_THREADS
;
3753 _result
= (int )wxNotebook_GetSelection(_arg0
);
3755 wxPy_END_ALLOW_THREADS
;
3756 } _resultobj
= Py_BuildValue("i",_result
);
3760 #define wxNotebook_SetPageText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetPageText(_swigarg0,_swigarg1))
3761 static PyObject
*_wrap_wxNotebook_SetPageText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3762 PyObject
* _resultobj
;
3767 PyObject
* _argo0
= 0;
3768 PyObject
* _obj2
= 0;
3769 char *_kwnames
[] = { "self","nPage","strText", NULL
};
3772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxNotebook_SetPageText",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
3775 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3776 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
3777 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_SetPageText. Expected _wxNotebook_p.");
3782 if (!PyString_Check(_obj2
)) {
3783 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3786 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
3789 wxPy_BEGIN_ALLOW_THREADS
;
3790 _result
= (bool )wxNotebook_SetPageText(_arg0
,_arg1
,*_arg2
);
3792 wxPy_END_ALLOW_THREADS
;
3793 } _resultobj
= Py_BuildValue("i",_result
);
3801 #define wxNotebook_GetPageText(_swigobj,_swigarg0) (_swigobj->GetPageText(_swigarg0))
3802 static PyObject
*_wrap_wxNotebook_GetPageText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3803 PyObject
* _resultobj
;
3807 PyObject
* _argo0
= 0;
3808 char *_kwnames
[] = { "self","nPage", NULL
};
3811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNotebook_GetPageText",_kwnames
,&_argo0
,&_arg1
))
3814 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3815 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
3816 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_GetPageText. Expected _wxNotebook_p.");
3821 wxPy_BEGIN_ALLOW_THREADS
;
3822 _result
= new wxString (wxNotebook_GetPageText(_arg0
,_arg1
));
3824 wxPy_END_ALLOW_THREADS
;
3826 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3834 #define wxNotebook_SetImageList(_swigobj,_swigarg0) (_swigobj->SetImageList(_swigarg0))
3835 static PyObject
*_wrap_wxNotebook_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3836 PyObject
* _resultobj
;
3838 wxImageList
* _arg1
;
3839 PyObject
* _argo0
= 0;
3840 PyObject
* _argo1
= 0;
3841 char *_kwnames
[] = { "self","imageList", NULL
};
3844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxNotebook_SetImageList",_kwnames
,&_argo0
,&_argo1
))
3847 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3848 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
3849 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_SetImageList. Expected _wxNotebook_p.");
3854 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3855 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImageList_p")) {
3856 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxNotebook_SetImageList. Expected _wxImageList_p.");
3861 wxPy_BEGIN_ALLOW_THREADS
;
3862 wxNotebook_SetImageList(_arg0
,_arg1
);
3864 wxPy_END_ALLOW_THREADS
;
3865 } Py_INCREF(Py_None
);
3866 _resultobj
= Py_None
;
3870 #define wxNotebook_GetImageList(_swigobj) (_swigobj->GetImageList())
3871 static PyObject
*_wrap_wxNotebook_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3872 PyObject
* _resultobj
;
3873 wxImageList
* _result
;
3875 PyObject
* _argo0
= 0;
3876 char *_kwnames
[] = { "self", NULL
};
3880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebook_GetImageList",_kwnames
,&_argo0
))
3883 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3884 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
3885 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_GetImageList. Expected _wxNotebook_p.");
3890 wxPy_BEGIN_ALLOW_THREADS
;
3891 _result
= (wxImageList
*)wxNotebook_GetImageList(_arg0
);
3893 wxPy_END_ALLOW_THREADS
;
3895 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxImageList_p");
3896 _resultobj
= Py_BuildValue("s",_ptemp
);
3899 _resultobj
= Py_None
;
3904 #define wxNotebook_GetPageImage(_swigobj,_swigarg0) (_swigobj->GetPageImage(_swigarg0))
3905 static PyObject
*_wrap_wxNotebook_GetPageImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3906 PyObject
* _resultobj
;
3910 PyObject
* _argo0
= 0;
3911 char *_kwnames
[] = { "self","nPage", NULL
};
3914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNotebook_GetPageImage",_kwnames
,&_argo0
,&_arg1
))
3917 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3918 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
3919 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_GetPageImage. Expected _wxNotebook_p.");
3924 wxPy_BEGIN_ALLOW_THREADS
;
3925 _result
= (int )wxNotebook_GetPageImage(_arg0
,_arg1
);
3927 wxPy_END_ALLOW_THREADS
;
3928 } _resultobj
= Py_BuildValue("i",_result
);
3932 #define wxNotebook_SetPageImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetPageImage(_swigarg0,_swigarg1))
3933 static PyObject
*_wrap_wxNotebook_SetPageImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3934 PyObject
* _resultobj
;
3939 PyObject
* _argo0
= 0;
3940 char *_kwnames
[] = { "self","nPage","nImage", NULL
};
3943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxNotebook_SetPageImage",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3946 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3947 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
3948 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_SetPageImage. Expected _wxNotebook_p.");
3953 wxPy_BEGIN_ALLOW_THREADS
;
3954 _result
= (bool )wxNotebook_SetPageImage(_arg0
,_arg1
,_arg2
);
3956 wxPy_END_ALLOW_THREADS
;
3957 } _resultobj
= Py_BuildValue("i",_result
);
3961 #define wxNotebook_GetRowCount(_swigobj) (_swigobj->GetRowCount())
3962 static PyObject
*_wrap_wxNotebook_GetRowCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3963 PyObject
* _resultobj
;
3966 PyObject
* _argo0
= 0;
3967 char *_kwnames
[] = { "self", NULL
};
3970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebook_GetRowCount",_kwnames
,&_argo0
))
3973 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3974 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
3975 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_GetRowCount. Expected _wxNotebook_p.");
3980 wxPy_BEGIN_ALLOW_THREADS
;
3981 _result
= (int )wxNotebook_GetRowCount(_arg0
);
3983 wxPy_END_ALLOW_THREADS
;
3984 } _resultobj
= Py_BuildValue("i",_result
);
3988 #define wxNotebook_DeletePage(_swigobj,_swigarg0) (_swigobj->DeletePage(_swigarg0))
3989 static PyObject
*_wrap_wxNotebook_DeletePage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3990 PyObject
* _resultobj
;
3994 PyObject
* _argo0
= 0;
3995 char *_kwnames
[] = { "self","nPage", NULL
};
3998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNotebook_DeletePage",_kwnames
,&_argo0
,&_arg1
))
4001 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4002 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
4003 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_DeletePage. Expected _wxNotebook_p.");
4008 wxPy_BEGIN_ALLOW_THREADS
;
4009 _result
= (bool )wxNotebook_DeletePage(_arg0
,_arg1
);
4011 wxPy_END_ALLOW_THREADS
;
4012 } _resultobj
= Py_BuildValue("i",_result
);
4016 #define wxNotebook_RemovePage(_swigobj,_swigarg0) (_swigobj->RemovePage(_swigarg0))
4017 static PyObject
*_wrap_wxNotebook_RemovePage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4018 PyObject
* _resultobj
;
4022 PyObject
* _argo0
= 0;
4023 char *_kwnames
[] = { "self","nPage", NULL
};
4026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNotebook_RemovePage",_kwnames
,&_argo0
,&_arg1
))
4029 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4030 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
4031 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_RemovePage. Expected _wxNotebook_p.");
4036 wxPy_BEGIN_ALLOW_THREADS
;
4037 _result
= (bool )wxNotebook_RemovePage(_arg0
,_arg1
);
4039 wxPy_END_ALLOW_THREADS
;
4040 } _resultobj
= Py_BuildValue("i",_result
);
4044 #define wxNotebook_DeleteAllPages(_swigobj) (_swigobj->DeleteAllPages())
4045 static PyObject
*_wrap_wxNotebook_DeleteAllPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4046 PyObject
* _resultobj
;
4049 PyObject
* _argo0
= 0;
4050 char *_kwnames
[] = { "self", NULL
};
4053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebook_DeleteAllPages",_kwnames
,&_argo0
))
4056 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4057 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
4058 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_DeleteAllPages. Expected _wxNotebook_p.");
4063 wxPy_BEGIN_ALLOW_THREADS
;
4064 _result
= (bool )wxNotebook_DeleteAllPages(_arg0
);
4066 wxPy_END_ALLOW_THREADS
;
4067 } _resultobj
= Py_BuildValue("i",_result
);
4071 #define wxNotebook_AddPage(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->AddPage(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4072 static PyObject
*_wrap_wxNotebook_AddPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4073 PyObject
* _resultobj
;
4078 int _arg3
= (int ) FALSE
;
4079 int _arg4
= (int ) -1;
4080 PyObject
* _argo0
= 0;
4081 PyObject
* _argo1
= 0;
4082 PyObject
* _obj2
= 0;
4083 char *_kwnames
[] = { "self","pPage","strText","bSelect","imageId", NULL
};
4086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|ii:wxNotebook_AddPage",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_arg3
,&_arg4
))
4089 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4090 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
4091 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_AddPage. Expected _wxNotebook_p.");
4096 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4097 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4098 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxNotebook_AddPage. Expected _wxWindow_p.");
4103 if (!PyString_Check(_obj2
)) {
4104 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4107 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
4110 wxPy_BEGIN_ALLOW_THREADS
;
4111 _result
= (bool )wxNotebook_AddPage(_arg0
,_arg1
,*_arg2
,_arg3
,_arg4
);
4113 wxPy_END_ALLOW_THREADS
;
4114 } _resultobj
= Py_BuildValue("i",_result
);
4122 #define wxNotebook_GetPage(_swigobj,_swigarg0) (_swigobj->GetPage(_swigarg0))
4123 static PyObject
*_wrap_wxNotebook_GetPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4124 PyObject
* _resultobj
;
4128 PyObject
* _argo0
= 0;
4129 char *_kwnames
[] = { "self","nPage", NULL
};
4133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNotebook_GetPage",_kwnames
,&_argo0
,&_arg1
))
4136 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4137 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
4138 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_GetPage. Expected _wxNotebook_p.");
4143 wxPy_BEGIN_ALLOW_THREADS
;
4144 _result
= (wxWindow
*)wxNotebook_GetPage(_arg0
,_arg1
);
4146 wxPy_END_ALLOW_THREADS
;
4148 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
4149 _resultobj
= Py_BuildValue("s",_ptemp
);
4152 _resultobj
= Py_None
;
4157 static void wxNotebook_ResizeChildren(wxNotebook
*self
) {
4158 wxSizeEvent
evt(self
->GetClientSize());
4159 self
->GetEventHandler()->ProcessEvent(evt
);
4161 static PyObject
*_wrap_wxNotebook_ResizeChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4162 PyObject
* _resultobj
;
4164 PyObject
* _argo0
= 0;
4165 char *_kwnames
[] = { "self", NULL
};
4168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebook_ResizeChildren",_kwnames
,&_argo0
))
4171 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4172 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
4173 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_ResizeChildren. Expected _wxNotebook_p.");
4178 wxPy_BEGIN_ALLOW_THREADS
;
4179 wxNotebook_ResizeChildren(_arg0
);
4181 wxPy_END_ALLOW_THREADS
;
4182 } Py_INCREF(Py_None
);
4183 _resultobj
= Py_None
;
4187 static void *SwigwxSplitterEventTowxCommandEvent(void *ptr
) {
4188 wxSplitterEvent
*src
;
4189 wxCommandEvent
*dest
;
4190 src
= (wxSplitterEvent
*) ptr
;
4191 dest
= (wxCommandEvent
*) src
;
4192 return (void *) dest
;
4195 static void *SwigwxSplitterEventTowxEvent(void *ptr
) {
4196 wxSplitterEvent
*src
;
4198 src
= (wxSplitterEvent
*) ptr
;
4199 dest
= (wxEvent
*) src
;
4200 return (void *) dest
;
4203 #define wxSplitterEvent_GetSashPosition(_swigobj) (_swigobj->GetSashPosition())
4204 static PyObject
*_wrap_wxSplitterEvent_GetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4205 PyObject
* _resultobj
;
4207 wxSplitterEvent
* _arg0
;
4208 PyObject
* _argo0
= 0;
4209 char *_kwnames
[] = { "self", NULL
};
4212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterEvent_GetSashPosition",_kwnames
,&_argo0
))
4215 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4216 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterEvent_p")) {
4217 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterEvent_GetSashPosition. Expected _wxSplitterEvent_p.");
4222 wxPy_BEGIN_ALLOW_THREADS
;
4223 _result
= (int )wxSplitterEvent_GetSashPosition(_arg0
);
4225 wxPy_END_ALLOW_THREADS
;
4226 } _resultobj
= Py_BuildValue("i",_result
);
4230 #define wxSplitterEvent_GetX(_swigobj) (_swigobj->GetX())
4231 static PyObject
*_wrap_wxSplitterEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4232 PyObject
* _resultobj
;
4234 wxSplitterEvent
* _arg0
;
4235 PyObject
* _argo0
= 0;
4236 char *_kwnames
[] = { "self", NULL
};
4239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterEvent_GetX",_kwnames
,&_argo0
))
4242 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4243 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterEvent_p")) {
4244 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterEvent_GetX. Expected _wxSplitterEvent_p.");
4249 wxPy_BEGIN_ALLOW_THREADS
;
4250 _result
= (int )wxSplitterEvent_GetX(_arg0
);
4252 wxPy_END_ALLOW_THREADS
;
4253 } _resultobj
= Py_BuildValue("i",_result
);
4257 #define wxSplitterEvent_GetY(_swigobj) (_swigobj->GetY())
4258 static PyObject
*_wrap_wxSplitterEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4259 PyObject
* _resultobj
;
4261 wxSplitterEvent
* _arg0
;
4262 PyObject
* _argo0
= 0;
4263 char *_kwnames
[] = { "self", NULL
};
4266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterEvent_GetY",_kwnames
,&_argo0
))
4269 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4270 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterEvent_p")) {
4271 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterEvent_GetY. Expected _wxSplitterEvent_p.");
4276 wxPy_BEGIN_ALLOW_THREADS
;
4277 _result
= (int )wxSplitterEvent_GetY(_arg0
);
4279 wxPy_END_ALLOW_THREADS
;
4280 } _resultobj
= Py_BuildValue("i",_result
);
4284 #define wxSplitterEvent_GetWindowBeingRemoved(_swigobj) (_swigobj->GetWindowBeingRemoved())
4285 static PyObject
*_wrap_wxSplitterEvent_GetWindowBeingRemoved(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4286 PyObject
* _resultobj
;
4288 wxSplitterEvent
* _arg0
;
4289 PyObject
* _argo0
= 0;
4290 char *_kwnames
[] = { "self", NULL
};
4294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterEvent_GetWindowBeingRemoved",_kwnames
,&_argo0
))
4297 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4298 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterEvent_p")) {
4299 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterEvent_GetWindowBeingRemoved. Expected _wxSplitterEvent_p.");
4304 wxPy_BEGIN_ALLOW_THREADS
;
4305 _result
= (wxWindow
*)wxSplitterEvent_GetWindowBeingRemoved(_arg0
);
4307 wxPy_END_ALLOW_THREADS
;
4309 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
4310 _resultobj
= Py_BuildValue("s",_ptemp
);
4313 _resultobj
= Py_None
;
4318 #define wxSplitterEvent_SetSashPosition(_swigobj,_swigarg0) (_swigobj->SetSashPosition(_swigarg0))
4319 static PyObject
*_wrap_wxSplitterEvent_SetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4320 PyObject
* _resultobj
;
4321 wxSplitterEvent
* _arg0
;
4323 PyObject
* _argo0
= 0;
4324 char *_kwnames
[] = { "self","pos", NULL
};
4327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSplitterEvent_SetSashPosition",_kwnames
,&_argo0
,&_arg1
))
4330 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4331 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterEvent_p")) {
4332 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterEvent_SetSashPosition. Expected _wxSplitterEvent_p.");
4337 wxPy_BEGIN_ALLOW_THREADS
;
4338 wxSplitterEvent_SetSashPosition(_arg0
,_arg1
);
4340 wxPy_END_ALLOW_THREADS
;
4341 } Py_INCREF(Py_None
);
4342 _resultobj
= Py_None
;
4346 static void *SwigwxSplitterWindowTowxWindow(void *ptr
) {
4347 wxSplitterWindow
*src
;
4349 src
= (wxSplitterWindow
*) ptr
;
4350 dest
= (wxWindow
*) src
;
4351 return (void *) dest
;
4354 static void *SwigwxSplitterWindowTowxEvtHandler(void *ptr
) {
4355 wxSplitterWindow
*src
;
4357 src
= (wxSplitterWindow
*) ptr
;
4358 dest
= (wxEvtHandler
*) src
;
4359 return (void *) dest
;
4362 #define new_wxSplitterWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxSplitterWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4363 static PyObject
*_wrap_new_wxSplitterWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4364 PyObject
* _resultobj
;
4365 wxSplitterWindow
* _result
;
4368 wxPoint
* _arg2
= (wxPoint
*) &wxPyDefaultPosition
;
4369 wxSize
* _arg3
= (wxSize
*) &wxPyDefaultSize
;
4370 long _arg4
= (long ) wxSP_3D
|wxCLIP_CHILDREN
;
4371 char * _arg5
= (char *) "splitterWindow";
4372 PyObject
* _argo0
= 0;
4374 PyObject
* _obj2
= 0;
4376 PyObject
* _obj3
= 0;
4377 char *_kwnames
[] = { "parent","id","point","size","style","name", NULL
};
4381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOls:new_wxSplitterWindow",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
4384 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4385 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4386 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxSplitterWindow. Expected _wxWindow_p.");
4393 if (! wxPoint_helper(_obj2
, &_arg2
))
4399 if (! wxSize_helper(_obj3
, &_arg3
))
4403 wxPy_BEGIN_ALLOW_THREADS
;
4404 _result
= (wxSplitterWindow
*)new_wxSplitterWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
4406 wxPy_END_ALLOW_THREADS
;
4408 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSplitterWindow_p");
4409 _resultobj
= Py_BuildValue("s",_ptemp
);
4412 _resultobj
= Py_None
;
4417 #define wxSplitterWindow_GetBorderSize(_swigobj) (_swigobj->GetBorderSize())
4418 static PyObject
*_wrap_wxSplitterWindow_GetBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4419 PyObject
* _resultobj
;
4421 wxSplitterWindow
* _arg0
;
4422 PyObject
* _argo0
= 0;
4423 char *_kwnames
[] = { "self", NULL
};
4426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_GetBorderSize",_kwnames
,&_argo0
))
4429 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4430 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
4431 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetBorderSize. Expected _wxSplitterWindow_p.");
4436 wxPy_BEGIN_ALLOW_THREADS
;
4437 _result
= (int )wxSplitterWindow_GetBorderSize(_arg0
);
4439 wxPy_END_ALLOW_THREADS
;
4440 } _resultobj
= Py_BuildValue("i",_result
);
4444 #define wxSplitterWindow_GetMinimumPaneSize(_swigobj) (_swigobj->GetMinimumPaneSize())
4445 static PyObject
*_wrap_wxSplitterWindow_GetMinimumPaneSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4446 PyObject
* _resultobj
;
4448 wxSplitterWindow
* _arg0
;
4449 PyObject
* _argo0
= 0;
4450 char *_kwnames
[] = { "self", NULL
};
4453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_GetMinimumPaneSize",_kwnames
,&_argo0
))
4456 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4457 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
4458 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetMinimumPaneSize. Expected _wxSplitterWindow_p.");
4463 wxPy_BEGIN_ALLOW_THREADS
;
4464 _result
= (int )wxSplitterWindow_GetMinimumPaneSize(_arg0
);
4466 wxPy_END_ALLOW_THREADS
;
4467 } _resultobj
= Py_BuildValue("i",_result
);
4471 #define wxSplitterWindow_GetSashPosition(_swigobj) (_swigobj->GetSashPosition())
4472 static PyObject
*_wrap_wxSplitterWindow_GetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4473 PyObject
* _resultobj
;
4475 wxSplitterWindow
* _arg0
;
4476 PyObject
* _argo0
= 0;
4477 char *_kwnames
[] = { "self", NULL
};
4480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_GetSashPosition",_kwnames
,&_argo0
))
4483 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4484 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
4485 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetSashPosition. Expected _wxSplitterWindow_p.");
4490 wxPy_BEGIN_ALLOW_THREADS
;
4491 _result
= (int )wxSplitterWindow_GetSashPosition(_arg0
);
4493 wxPy_END_ALLOW_THREADS
;
4494 } _resultobj
= Py_BuildValue("i",_result
);
4498 #define wxSplitterWindow_GetSashSize(_swigobj) (_swigobj->GetSashSize())
4499 static PyObject
*_wrap_wxSplitterWindow_GetSashSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4500 PyObject
* _resultobj
;
4502 wxSplitterWindow
* _arg0
;
4503 PyObject
* _argo0
= 0;
4504 char *_kwnames
[] = { "self", NULL
};
4507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_GetSashSize",_kwnames
,&_argo0
))
4510 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4511 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
4512 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetSashSize. Expected _wxSplitterWindow_p.");
4517 wxPy_BEGIN_ALLOW_THREADS
;
4518 _result
= (int )wxSplitterWindow_GetSashSize(_arg0
);
4520 wxPy_END_ALLOW_THREADS
;
4521 } _resultobj
= Py_BuildValue("i",_result
);
4525 #define wxSplitterWindow_GetSplitMode(_swigobj) (_swigobj->GetSplitMode())
4526 static PyObject
*_wrap_wxSplitterWindow_GetSplitMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4527 PyObject
* _resultobj
;
4529 wxSplitterWindow
* _arg0
;
4530 PyObject
* _argo0
= 0;
4531 char *_kwnames
[] = { "self", NULL
};
4534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_GetSplitMode",_kwnames
,&_argo0
))
4537 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4538 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
4539 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetSplitMode. Expected _wxSplitterWindow_p.");
4544 wxPy_BEGIN_ALLOW_THREADS
;
4545 _result
= (int )wxSplitterWindow_GetSplitMode(_arg0
);
4547 wxPy_END_ALLOW_THREADS
;
4548 } _resultobj
= Py_BuildValue("i",_result
);
4552 #define wxSplitterWindow_GetWindow1(_swigobj) (_swigobj->GetWindow1())
4553 static PyObject
*_wrap_wxSplitterWindow_GetWindow1(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4554 PyObject
* _resultobj
;
4556 wxSplitterWindow
* _arg0
;
4557 PyObject
* _argo0
= 0;
4558 char *_kwnames
[] = { "self", NULL
};
4562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_GetWindow1",_kwnames
,&_argo0
))
4565 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4566 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
4567 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetWindow1. Expected _wxSplitterWindow_p.");
4572 wxPy_BEGIN_ALLOW_THREADS
;
4573 _result
= (wxWindow
*)wxSplitterWindow_GetWindow1(_arg0
);
4575 wxPy_END_ALLOW_THREADS
;
4577 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
4578 _resultobj
= Py_BuildValue("s",_ptemp
);
4581 _resultobj
= Py_None
;
4586 #define wxSplitterWindow_GetWindow2(_swigobj) (_swigobj->GetWindow2())
4587 static PyObject
*_wrap_wxSplitterWindow_GetWindow2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4588 PyObject
* _resultobj
;
4590 wxSplitterWindow
* _arg0
;
4591 PyObject
* _argo0
= 0;
4592 char *_kwnames
[] = { "self", NULL
};
4596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_GetWindow2",_kwnames
,&_argo0
))
4599 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4600 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
4601 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetWindow2. Expected _wxSplitterWindow_p.");
4606 wxPy_BEGIN_ALLOW_THREADS
;
4607 _result
= (wxWindow
*)wxSplitterWindow_GetWindow2(_arg0
);
4609 wxPy_END_ALLOW_THREADS
;
4611 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
4612 _resultobj
= Py_BuildValue("s",_ptemp
);
4615 _resultobj
= Py_None
;
4620 #define wxSplitterWindow_Initialize(_swigobj,_swigarg0) (_swigobj->Initialize(_swigarg0))
4621 static PyObject
*_wrap_wxSplitterWindow_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4622 PyObject
* _resultobj
;
4623 wxSplitterWindow
* _arg0
;
4625 PyObject
* _argo0
= 0;
4626 PyObject
* _argo1
= 0;
4627 char *_kwnames
[] = { "self","window", NULL
};
4630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxSplitterWindow_Initialize",_kwnames
,&_argo0
,&_argo1
))
4633 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4634 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
4635 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_Initialize. Expected _wxSplitterWindow_p.");
4640 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4641 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4642 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSplitterWindow_Initialize. Expected _wxWindow_p.");
4647 wxPy_BEGIN_ALLOW_THREADS
;
4648 wxSplitterWindow_Initialize(_arg0
,_arg1
);
4650 wxPy_END_ALLOW_THREADS
;
4651 } Py_INCREF(Py_None
);
4652 _resultobj
= Py_None
;
4656 #define wxSplitterWindow_IsSplit(_swigobj) (_swigobj->IsSplit())
4657 static PyObject
*_wrap_wxSplitterWindow_IsSplit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4658 PyObject
* _resultobj
;
4660 wxSplitterWindow
* _arg0
;
4661 PyObject
* _argo0
= 0;
4662 char *_kwnames
[] = { "self", NULL
};
4665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_IsSplit",_kwnames
,&_argo0
))
4668 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4669 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
4670 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_IsSplit. Expected _wxSplitterWindow_p.");
4675 wxPy_BEGIN_ALLOW_THREADS
;
4676 _result
= (bool )wxSplitterWindow_IsSplit(_arg0
);
4678 wxPy_END_ALLOW_THREADS
;
4679 } _resultobj
= Py_BuildValue("i",_result
);
4683 #define wxSplitterWindow_ReplaceWindow(_swigobj,_swigarg0,_swigarg1) (_swigobj->ReplaceWindow(_swigarg0,_swigarg1))
4684 static PyObject
*_wrap_wxSplitterWindow_ReplaceWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4685 PyObject
* _resultobj
;
4687 wxSplitterWindow
* _arg0
;
4690 PyObject
* _argo0
= 0;
4691 PyObject
* _argo1
= 0;
4692 PyObject
* _argo2
= 0;
4693 char *_kwnames
[] = { "self","winOld","winNew", NULL
};
4696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxSplitterWindow_ReplaceWindow",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
4699 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4700 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
4701 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_ReplaceWindow. Expected _wxSplitterWindow_p.");
4706 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4707 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4708 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSplitterWindow_ReplaceWindow. Expected _wxWindow_p.");
4713 if (_argo2
== Py_None
) { _arg2
= NULL
; }
4714 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
4715 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxSplitterWindow_ReplaceWindow. Expected _wxWindow_p.");
4720 wxPy_BEGIN_ALLOW_THREADS
;
4721 _result
= (bool )wxSplitterWindow_ReplaceWindow(_arg0
,_arg1
,_arg2
);
4723 wxPy_END_ALLOW_THREADS
;
4724 } _resultobj
= Py_BuildValue("i",_result
);
4728 #define wxSplitterWindow_SetBorderSize(_swigobj,_swigarg0) (_swigobj->SetBorderSize(_swigarg0))
4729 static PyObject
*_wrap_wxSplitterWindow_SetBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4730 PyObject
* _resultobj
;
4731 wxSplitterWindow
* _arg0
;
4733 PyObject
* _argo0
= 0;
4734 char *_kwnames
[] = { "self","width", NULL
};
4737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSplitterWindow_SetBorderSize",_kwnames
,&_argo0
,&_arg1
))
4740 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4741 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
4742 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SetBorderSize. Expected _wxSplitterWindow_p.");
4747 wxPy_BEGIN_ALLOW_THREADS
;
4748 wxSplitterWindow_SetBorderSize(_arg0
,_arg1
);
4750 wxPy_END_ALLOW_THREADS
;
4751 } Py_INCREF(Py_None
);
4752 _resultobj
= Py_None
;
4756 #define wxSplitterWindow_SetSashPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSashPosition(_swigarg0,_swigarg1))
4757 static PyObject
*_wrap_wxSplitterWindow_SetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4758 PyObject
* _resultobj
;
4759 wxSplitterWindow
* _arg0
;
4761 int _arg2
= (int ) TRUE
;
4762 PyObject
* _argo0
= 0;
4763 char *_kwnames
[] = { "self","position","redraw", NULL
};
4766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxSplitterWindow_SetSashPosition",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4769 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4770 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
4771 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SetSashPosition. Expected _wxSplitterWindow_p.");
4776 wxPy_BEGIN_ALLOW_THREADS
;
4777 wxSplitterWindow_SetSashPosition(_arg0
,_arg1
,_arg2
);
4779 wxPy_END_ALLOW_THREADS
;
4780 } Py_INCREF(Py_None
);
4781 _resultobj
= Py_None
;
4785 #define wxSplitterWindow_SetSashSize(_swigobj,_swigarg0) (_swigobj->SetSashSize(_swigarg0))
4786 static PyObject
*_wrap_wxSplitterWindow_SetSashSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4787 PyObject
* _resultobj
;
4788 wxSplitterWindow
* _arg0
;
4790 PyObject
* _argo0
= 0;
4791 char *_kwnames
[] = { "self","width", NULL
};
4794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSplitterWindow_SetSashSize",_kwnames
,&_argo0
,&_arg1
))
4797 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4798 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
4799 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SetSashSize. Expected _wxSplitterWindow_p.");
4804 wxPy_BEGIN_ALLOW_THREADS
;
4805 wxSplitterWindow_SetSashSize(_arg0
,_arg1
);
4807 wxPy_END_ALLOW_THREADS
;
4808 } Py_INCREF(Py_None
);
4809 _resultobj
= Py_None
;
4813 #define wxSplitterWindow_SetMinimumPaneSize(_swigobj,_swigarg0) (_swigobj->SetMinimumPaneSize(_swigarg0))
4814 static PyObject
*_wrap_wxSplitterWindow_SetMinimumPaneSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4815 PyObject
* _resultobj
;
4816 wxSplitterWindow
* _arg0
;
4818 PyObject
* _argo0
= 0;
4819 char *_kwnames
[] = { "self","paneSize", NULL
};
4822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSplitterWindow_SetMinimumPaneSize",_kwnames
,&_argo0
,&_arg1
))
4825 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4826 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
4827 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SetMinimumPaneSize. Expected _wxSplitterWindow_p.");
4832 wxPy_BEGIN_ALLOW_THREADS
;
4833 wxSplitterWindow_SetMinimumPaneSize(_arg0
,_arg1
);
4835 wxPy_END_ALLOW_THREADS
;
4836 } Py_INCREF(Py_None
);
4837 _resultobj
= Py_None
;
4841 #define wxSplitterWindow_SetSplitMode(_swigobj,_swigarg0) (_swigobj->SetSplitMode(_swigarg0))
4842 static PyObject
*_wrap_wxSplitterWindow_SetSplitMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4843 PyObject
* _resultobj
;
4844 wxSplitterWindow
* _arg0
;
4846 PyObject
* _argo0
= 0;
4847 char *_kwnames
[] = { "self","mode", NULL
};
4850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSplitterWindow_SetSplitMode",_kwnames
,&_argo0
,&_arg1
))
4853 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4854 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
4855 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SetSplitMode. Expected _wxSplitterWindow_p.");
4860 wxPy_BEGIN_ALLOW_THREADS
;
4861 wxSplitterWindow_SetSplitMode(_arg0
,_arg1
);
4863 wxPy_END_ALLOW_THREADS
;
4864 } Py_INCREF(Py_None
);
4865 _resultobj
= Py_None
;
4869 #define wxSplitterWindow_SplitHorizontally(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SplitHorizontally(_swigarg0,_swigarg1,_swigarg2))
4870 static PyObject
*_wrap_wxSplitterWindow_SplitHorizontally(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4871 PyObject
* _resultobj
;
4873 wxSplitterWindow
* _arg0
;
4876 int _arg3
= (int ) 0;
4877 PyObject
* _argo0
= 0;
4878 PyObject
* _argo1
= 0;
4879 PyObject
* _argo2
= 0;
4880 char *_kwnames
[] = { "self","window1","window2","sashPosition", NULL
};
4883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|i:wxSplitterWindow_SplitHorizontally",_kwnames
,&_argo0
,&_argo1
,&_argo2
,&_arg3
))
4886 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4887 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
4888 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SplitHorizontally. Expected _wxSplitterWindow_p.");
4893 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4894 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4895 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSplitterWindow_SplitHorizontally. Expected _wxWindow_p.");
4900 if (_argo2
== Py_None
) { _arg2
= NULL
; }
4901 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
4902 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxSplitterWindow_SplitHorizontally. Expected _wxWindow_p.");
4907 wxPy_BEGIN_ALLOW_THREADS
;
4908 _result
= (bool )wxSplitterWindow_SplitHorizontally(_arg0
,_arg1
,_arg2
,_arg3
);
4910 wxPy_END_ALLOW_THREADS
;
4911 } _resultobj
= Py_BuildValue("i",_result
);
4915 #define wxSplitterWindow_SplitVertically(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SplitVertically(_swigarg0,_swigarg1,_swigarg2))
4916 static PyObject
*_wrap_wxSplitterWindow_SplitVertically(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4917 PyObject
* _resultobj
;
4919 wxSplitterWindow
* _arg0
;
4922 int _arg3
= (int ) 0;
4923 PyObject
* _argo0
= 0;
4924 PyObject
* _argo1
= 0;
4925 PyObject
* _argo2
= 0;
4926 char *_kwnames
[] = { "self","window1","window2","sashPosition", NULL
};
4929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|i:wxSplitterWindow_SplitVertically",_kwnames
,&_argo0
,&_argo1
,&_argo2
,&_arg3
))
4932 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4933 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
4934 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SplitVertically. Expected _wxSplitterWindow_p.");
4939 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4940 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4941 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSplitterWindow_SplitVertically. Expected _wxWindow_p.");
4946 if (_argo2
== Py_None
) { _arg2
= NULL
; }
4947 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
4948 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxSplitterWindow_SplitVertically. Expected _wxWindow_p.");
4953 wxPy_BEGIN_ALLOW_THREADS
;
4954 _result
= (bool )wxSplitterWindow_SplitVertically(_arg0
,_arg1
,_arg2
,_arg3
);
4956 wxPy_END_ALLOW_THREADS
;
4957 } _resultobj
= Py_BuildValue("i",_result
);
4961 #define wxSplitterWindow_Unsplit(_swigobj,_swigarg0) (_swigobj->Unsplit(_swigarg0))
4962 static PyObject
*_wrap_wxSplitterWindow_Unsplit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4963 PyObject
* _resultobj
;
4965 wxSplitterWindow
* _arg0
;
4966 wxWindow
* _arg1
= (wxWindow
*) NULL
;
4967 PyObject
* _argo0
= 0;
4968 PyObject
* _argo1
= 0;
4969 char *_kwnames
[] = { "self","toRemove", NULL
};
4972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxSplitterWindow_Unsplit",_kwnames
,&_argo0
,&_argo1
))
4975 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4976 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
4977 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_Unsplit. Expected _wxSplitterWindow_p.");
4982 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4983 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4984 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSplitterWindow_Unsplit. Expected _wxWindow_p.");
4989 wxPy_BEGIN_ALLOW_THREADS
;
4990 _result
= (bool )wxSplitterWindow_Unsplit(_arg0
,_arg1
);
4992 wxPy_END_ALLOW_THREADS
;
4993 } _resultobj
= Py_BuildValue("i",_result
);
4997 static PyMethodDef windows2cMethods
[] = {
4998 { "wxSplitterWindow_Unsplit", (PyCFunction
) _wrap_wxSplitterWindow_Unsplit
, METH_VARARGS
| METH_KEYWORDS
},
4999 { "wxSplitterWindow_SplitVertically", (PyCFunction
) _wrap_wxSplitterWindow_SplitVertically
, METH_VARARGS
| METH_KEYWORDS
},
5000 { "wxSplitterWindow_SplitHorizontally", (PyCFunction
) _wrap_wxSplitterWindow_SplitHorizontally
, METH_VARARGS
| METH_KEYWORDS
},
5001 { "wxSplitterWindow_SetSplitMode", (PyCFunction
) _wrap_wxSplitterWindow_SetSplitMode
, METH_VARARGS
| METH_KEYWORDS
},
5002 { "wxSplitterWindow_SetMinimumPaneSize", (PyCFunction
) _wrap_wxSplitterWindow_SetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
},
5003 { "wxSplitterWindow_SetSashSize", (PyCFunction
) _wrap_wxSplitterWindow_SetSashSize
, METH_VARARGS
| METH_KEYWORDS
},
5004 { "wxSplitterWindow_SetSashPosition", (PyCFunction
) _wrap_wxSplitterWindow_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
5005 { "wxSplitterWindow_SetBorderSize", (PyCFunction
) _wrap_wxSplitterWindow_SetBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
5006 { "wxSplitterWindow_ReplaceWindow", (PyCFunction
) _wrap_wxSplitterWindow_ReplaceWindow
, METH_VARARGS
| METH_KEYWORDS
},
5007 { "wxSplitterWindow_IsSplit", (PyCFunction
) _wrap_wxSplitterWindow_IsSplit
, METH_VARARGS
| METH_KEYWORDS
},
5008 { "wxSplitterWindow_Initialize", (PyCFunction
) _wrap_wxSplitterWindow_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
5009 { "wxSplitterWindow_GetWindow2", (PyCFunction
) _wrap_wxSplitterWindow_GetWindow2
, METH_VARARGS
| METH_KEYWORDS
},
5010 { "wxSplitterWindow_GetWindow1", (PyCFunction
) _wrap_wxSplitterWindow_GetWindow1
, METH_VARARGS
| METH_KEYWORDS
},
5011 { "wxSplitterWindow_GetSplitMode", (PyCFunction
) _wrap_wxSplitterWindow_GetSplitMode
, METH_VARARGS
| METH_KEYWORDS
},
5012 { "wxSplitterWindow_GetSashSize", (PyCFunction
) _wrap_wxSplitterWindow_GetSashSize
, METH_VARARGS
| METH_KEYWORDS
},
5013 { "wxSplitterWindow_GetSashPosition", (PyCFunction
) _wrap_wxSplitterWindow_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
5014 { "wxSplitterWindow_GetMinimumPaneSize", (PyCFunction
) _wrap_wxSplitterWindow_GetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
},
5015 { "wxSplitterWindow_GetBorderSize", (PyCFunction
) _wrap_wxSplitterWindow_GetBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
5016 { "new_wxSplitterWindow", (PyCFunction
) _wrap_new_wxSplitterWindow
, METH_VARARGS
| METH_KEYWORDS
},
5017 { "wxSplitterEvent_SetSashPosition", (PyCFunction
) _wrap_wxSplitterEvent_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
5018 { "wxSplitterEvent_GetWindowBeingRemoved", (PyCFunction
) _wrap_wxSplitterEvent_GetWindowBeingRemoved
, METH_VARARGS
| METH_KEYWORDS
},
5019 { "wxSplitterEvent_GetY", (PyCFunction
) _wrap_wxSplitterEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
5020 { "wxSplitterEvent_GetX", (PyCFunction
) _wrap_wxSplitterEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
5021 { "wxSplitterEvent_GetSashPosition", (PyCFunction
) _wrap_wxSplitterEvent_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
5022 { "wxNotebook_ResizeChildren", (PyCFunction
) _wrap_wxNotebook_ResizeChildren
, METH_VARARGS
| METH_KEYWORDS
},
5023 { "wxNotebook_GetPage", (PyCFunction
) _wrap_wxNotebook_GetPage
, METH_VARARGS
| METH_KEYWORDS
},
5024 { "wxNotebook_AddPage", (PyCFunction
) _wrap_wxNotebook_AddPage
, METH_VARARGS
| METH_KEYWORDS
},
5025 { "wxNotebook_DeleteAllPages", (PyCFunction
) _wrap_wxNotebook_DeleteAllPages
, METH_VARARGS
| METH_KEYWORDS
},
5026 { "wxNotebook_RemovePage", (PyCFunction
) _wrap_wxNotebook_RemovePage
, METH_VARARGS
| METH_KEYWORDS
},
5027 { "wxNotebook_DeletePage", (PyCFunction
) _wrap_wxNotebook_DeletePage
, METH_VARARGS
| METH_KEYWORDS
},
5028 { "wxNotebook_GetRowCount", (PyCFunction
) _wrap_wxNotebook_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
},
5029 { "wxNotebook_SetPageImage", (PyCFunction
) _wrap_wxNotebook_SetPageImage
, METH_VARARGS
| METH_KEYWORDS
},
5030 { "wxNotebook_GetPageImage", (PyCFunction
) _wrap_wxNotebook_GetPageImage
, METH_VARARGS
| METH_KEYWORDS
},
5031 { "wxNotebook_GetImageList", (PyCFunction
) _wrap_wxNotebook_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
5032 { "wxNotebook_SetImageList", (PyCFunction
) _wrap_wxNotebook_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
5033 { "wxNotebook_GetPageText", (PyCFunction
) _wrap_wxNotebook_GetPageText
, METH_VARARGS
| METH_KEYWORDS
},
5034 { "wxNotebook_SetPageText", (PyCFunction
) _wrap_wxNotebook_SetPageText
, METH_VARARGS
| METH_KEYWORDS
},
5035 { "wxNotebook_GetSelection", (PyCFunction
) _wrap_wxNotebook_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
5036 { "wxNotebook_AdvanceSelection", (PyCFunction
) _wrap_wxNotebook_AdvanceSelection
, METH_VARARGS
| METH_KEYWORDS
},
5037 { "wxNotebook_SetSelection", (PyCFunction
) _wrap_wxNotebook_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
5038 { "wxNotebook_GetPageCount", (PyCFunction
) _wrap_wxNotebook_GetPageCount
, METH_VARARGS
| METH_KEYWORDS
},
5039 { "new_wxNotebook", (PyCFunction
) _wrap_new_wxNotebook
, METH_VARARGS
| METH_KEYWORDS
},
5040 { "wxNotebookEvent_SetSelection", (PyCFunction
) _wrap_wxNotebookEvent_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
5041 { "wxNotebookEvent_SetOldSelection", (PyCFunction
) _wrap_wxNotebookEvent_SetOldSelection
, METH_VARARGS
| METH_KEYWORDS
},
5042 { "wxNotebookEvent_GetOldSelection", (PyCFunction
) _wrap_wxNotebookEvent_GetOldSelection
, METH_VARARGS
| METH_KEYWORDS
},
5043 { "wxNotebookEvent_GetSelection", (PyCFunction
) _wrap_wxNotebookEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
5044 { "wxGridEvent_GetCell", (PyCFunction
) _wrap_wxGridEvent_GetCell
, METH_VARARGS
| METH_KEYWORDS
},
5045 { "wxGridEvent_ShiftDown", (PyCFunction
) _wrap_wxGridEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
},
5046 { "wxGridEvent_ControlDown", (PyCFunction
) _wrap_wxGridEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
},
5047 { "wxGridEvent_GetPosition", (PyCFunction
) _wrap_wxGridEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
5048 { "wxGridEvent_GetCol", (PyCFunction
) _wrap_wxGridEvent_GetCol
, METH_VARARGS
| METH_KEYWORDS
},
5049 { "wxGridEvent_GetRow", (PyCFunction
) _wrap_wxGridEvent_GetRow
, METH_VARARGS
| METH_KEYWORDS
},
5050 { "wxGridEvent_m_cell_get", (PyCFunction
) _wrap_wxGridEvent_m_cell_get
, METH_VARARGS
| METH_KEYWORDS
},
5051 { "wxGridEvent_m_cell_set", (PyCFunction
) _wrap_wxGridEvent_m_cell_set
, METH_VARARGS
| METH_KEYWORDS
},
5052 { "wxGridEvent_m_shift_get", (PyCFunction
) _wrap_wxGridEvent_m_shift_get
, METH_VARARGS
| METH_KEYWORDS
},
5053 { "wxGridEvent_m_shift_set", (PyCFunction
) _wrap_wxGridEvent_m_shift_set
, METH_VARARGS
| METH_KEYWORDS
},
5054 { "wxGridEvent_m_control_get", (PyCFunction
) _wrap_wxGridEvent_m_control_get
, METH_VARARGS
| METH_KEYWORDS
},
5055 { "wxGridEvent_m_control_set", (PyCFunction
) _wrap_wxGridEvent_m_control_set
, METH_VARARGS
| METH_KEYWORDS
},
5056 { "wxGridEvent_m_y_get", (PyCFunction
) _wrap_wxGridEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
},
5057 { "wxGridEvent_m_y_set", (PyCFunction
) _wrap_wxGridEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
},
5058 { "wxGridEvent_m_x_get", (PyCFunction
) _wrap_wxGridEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
},
5059 { "wxGridEvent_m_x_set", (PyCFunction
) _wrap_wxGridEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
},
5060 { "wxGridEvent_m_col_get", (PyCFunction
) _wrap_wxGridEvent_m_col_get
, METH_VARARGS
| METH_KEYWORDS
},
5061 { "wxGridEvent_m_col_set", (PyCFunction
) _wrap_wxGridEvent_m_col_set
, METH_VARARGS
| METH_KEYWORDS
},
5062 { "wxGridEvent_m_row_get", (PyCFunction
) _wrap_wxGridEvent_m_row_get
, METH_VARARGS
| METH_KEYWORDS
},
5063 { "wxGridEvent_m_row_set", (PyCFunction
) _wrap_wxGridEvent_m_row_set
, METH_VARARGS
| METH_KEYWORDS
},
5064 { "wxGrid_SetEditInPlace", (PyCFunction
) _wrap_wxGrid_SetEditInPlace
, METH_VARARGS
| METH_KEYWORDS
},
5065 { "wxGrid_GetEditInPlace", (PyCFunction
) _wrap_wxGrid_GetEditInPlace
, METH_VARARGS
| METH_KEYWORDS
},
5066 { "wxGrid_UpdateDimensions", (PyCFunction
) _wrap_wxGrid_UpdateDimensions
, METH_VARARGS
| METH_KEYWORDS
},
5067 { "wxGrid_SetRowHeight", (PyCFunction
) _wrap_wxGrid_SetRowHeight
, METH_VARARGS
| METH_KEYWORDS
},
5068 { "wxGrid_SetLabelValue", (PyCFunction
) _wrap_wxGrid_SetLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
5069 { "wxGrid_SetLabelTextFont", (PyCFunction
) _wrap_wxGrid_SetLabelTextFont
, METH_VARARGS
| METH_KEYWORDS
},
5070 { "wxGrid_SetLabelTextColour", (PyCFunction
) _wrap_wxGrid_SetLabelTextColour
, METH_VARARGS
| METH_KEYWORDS
},
5071 { "wxGrid_SetLabelSize", (PyCFunction
) _wrap_wxGrid_SetLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
5072 { "wxGrid_SetLabelBackgroundColour", (PyCFunction
) _wrap_wxGrid_SetLabelBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
5073 { "wxGrid_SetLabelAlignment", (PyCFunction
) _wrap_wxGrid_SetLabelAlignment
, METH_VARARGS
| METH_KEYWORDS
},
5074 { "wxGrid_SetGridCursor", (PyCFunction
) _wrap_wxGrid_SetGridCursor
, METH_VARARGS
| METH_KEYWORDS
},
5075 { "wxGrid_SetEditable", (PyCFunction
) _wrap_wxGrid_SetEditable
, METH_VARARGS
| METH_KEYWORDS
},
5076 { "wxGrid_SetDividerPen", (PyCFunction
) _wrap_wxGrid_SetDividerPen
, METH_VARARGS
| METH_KEYWORDS
},
5077 { "wxGrid_SetColumnWidth", (PyCFunction
) _wrap_wxGrid_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
},
5078 { "wxGrid_SetCellValue", (PyCFunction
) _wrap_wxGrid_SetCellValue
, METH_VARARGS
| METH_KEYWORDS
},
5079 { "wxGrid_SetDefCellTextFont", (PyCFunction
) _wrap_wxGrid_SetDefCellTextFont
, METH_VARARGS
| METH_KEYWORDS
},
5080 { "wxGrid_SetCellTextFont", (PyCFunction
) _wrap_wxGrid_SetCellTextFont
, METH_VARARGS
| METH_KEYWORDS
},
5081 { "wxGrid_SetDefCellTextColour", (PyCFunction
) _wrap_wxGrid_SetDefCellTextColour
, METH_VARARGS
| METH_KEYWORDS
},
5082 { "wxGrid_SetCellTextColour", (PyCFunction
) _wrap_wxGrid_SetCellTextColour
, METH_VARARGS
| METH_KEYWORDS
},
5083 { "wxGrid_SetDefCellBackgroundColour", (PyCFunction
) _wrap_wxGrid_SetDefCellBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
5084 { "wxGrid_SetCellBackgroundColour", (PyCFunction
) _wrap_wxGrid_SetCellBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
5085 { "wxGrid_SetDefCellAlignment", (PyCFunction
) _wrap_wxGrid_SetDefCellAlignment
, METH_VARARGS
| METH_KEYWORDS
},
5086 { "wxGrid_SetCellAlignment", (PyCFunction
) _wrap_wxGrid_SetCellAlignment
, METH_VARARGS
| METH_KEYWORDS
},
5087 { "wxGrid_OnActivate", (PyCFunction
) _wrap_wxGrid_OnActivate
, METH_VARARGS
| METH_KEYWORDS
},
5088 { "wxGrid_InsertRows", (PyCFunction
) _wrap_wxGrid_InsertRows
, METH_VARARGS
| METH_KEYWORDS
},
5089 { "wxGrid_InsertCols", (PyCFunction
) _wrap_wxGrid_InsertCols
, METH_VARARGS
| METH_KEYWORDS
},
5090 { "wxGrid_GetVertScrollBar", (PyCFunction
) _wrap_wxGrid_GetVertScrollBar
, METH_VARARGS
| METH_KEYWORDS
},
5091 { "wxGrid_GetTextItem", (PyCFunction
) _wrap_wxGrid_GetTextItem
, METH_VARARGS
| METH_KEYWORDS
},
5092 { "wxGrid_GetScrollPosY", (PyCFunction
) _wrap_wxGrid_GetScrollPosY
, METH_VARARGS
| METH_KEYWORDS
},
5093 { "wxGrid_GetScrollPosX", (PyCFunction
) _wrap_wxGrid_GetScrollPosX
, METH_VARARGS
| METH_KEYWORDS
},
5094 { "wxGrid_GetRows", (PyCFunction
) _wrap_wxGrid_GetRows
, METH_VARARGS
| METH_KEYWORDS
},
5095 { "wxGrid_GetRowHeight", (PyCFunction
) _wrap_wxGrid_GetRowHeight
, METH_VARARGS
| METH_KEYWORDS
},
5096 { "wxGrid_GetLabelValue", (PyCFunction
) _wrap_wxGrid_GetLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
5097 { "wxGrid_GetLabelTextFont", (PyCFunction
) _wrap_wxGrid_GetLabelTextFont
, METH_VARARGS
| METH_KEYWORDS
},
5098 { "wxGrid_GetLabelTextColour", (PyCFunction
) _wrap_wxGrid_GetLabelTextColour
, METH_VARARGS
| METH_KEYWORDS
},
5099 { "wxGrid_GetLabelSize", (PyCFunction
) _wrap_wxGrid_GetLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
5100 { "wxGrid_GetLabelBackgroundColour", (PyCFunction
) _wrap_wxGrid_GetLabelBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
5101 { "wxGrid_GetLabelAlignment", (PyCFunction
) _wrap_wxGrid_GetLabelAlignment
, METH_VARARGS
| METH_KEYWORDS
},
5102 { "wxGrid_GetHorizScrollBar", (PyCFunction
) _wrap_wxGrid_GetHorizScrollBar
, METH_VARARGS
| METH_KEYWORDS
},
5103 { "wxGrid_GetEditable", (PyCFunction
) _wrap_wxGrid_GetEditable
, METH_VARARGS
| METH_KEYWORDS
},
5104 { "wxGrid_GetCursorRow", (PyCFunction
) _wrap_wxGrid_GetCursorRow
, METH_VARARGS
| METH_KEYWORDS
},
5105 { "wxGrid_GetCursorColumn", (PyCFunction
) _wrap_wxGrid_GetCursorColumn
, METH_VARARGS
| METH_KEYWORDS
},
5106 { "wxGrid_GetCurrentRect", (PyCFunction
) _wrap_wxGrid_GetCurrentRect
, METH_VARARGS
| METH_KEYWORDS
},
5107 { "wxGrid_GetColumnWidth", (PyCFunction
) _wrap_wxGrid_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
},
5108 { "wxGrid_GetCols", (PyCFunction
) _wrap_wxGrid_GetCols
, METH_VARARGS
| METH_KEYWORDS
},
5109 { "wxGrid_GetCellValue", (PyCFunction
) _wrap_wxGrid_GetCellValue
, METH_VARARGS
| METH_KEYWORDS
},
5110 { "wxGrid_GetDefCellTextFont", (PyCFunction
) _wrap_wxGrid_GetDefCellTextFont
, METH_VARARGS
| METH_KEYWORDS
},
5111 { "wxGrid_GetCellTextFont", (PyCFunction
) _wrap_wxGrid_GetCellTextFont
, METH_VARARGS
| METH_KEYWORDS
},
5112 { "wxGrid_GetDefCellTextColour", (PyCFunction
) _wrap_wxGrid_GetDefCellTextColour
, METH_VARARGS
| METH_KEYWORDS
},
5113 { "wxGrid_GetCellTextColour", (PyCFunction
) _wrap_wxGrid_GetCellTextColour
, METH_VARARGS
| METH_KEYWORDS
},
5114 { "wxGrid_GetCells", (PyCFunction
) _wrap_wxGrid_GetCells
, METH_VARARGS
| METH_KEYWORDS
},
5115 { "wxGrid_GetDefCellBackgroundColour", (PyCFunction
) _wrap_wxGrid_GetDefCellBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
5116 { "wxGrid_GetCellBackgroundColour", (PyCFunction
) _wrap_wxGrid_GetCellBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
5117 { "wxGrid_GetDefCellAlignment", (PyCFunction
) _wrap_wxGrid_GetDefCellAlignment
, METH_VARARGS
| METH_KEYWORDS
},
5118 { "wxGrid_GetCellAlignment", (PyCFunction
) _wrap_wxGrid_GetCellAlignment
, METH_VARARGS
| METH_KEYWORDS
},
5119 { "wxGrid_GetCell", (PyCFunction
) _wrap_wxGrid_GetCell
, METH_VARARGS
| METH_KEYWORDS
},
5120 { "wxGrid_GetBatchCount", (PyCFunction
) _wrap_wxGrid_GetBatchCount
, METH_VARARGS
| METH_KEYWORDS
},
5121 { "wxGrid_EndBatch", (PyCFunction
) _wrap_wxGrid_EndBatch
, METH_VARARGS
| METH_KEYWORDS
},
5122 { "wxGrid_DeleteRows", (PyCFunction
) _wrap_wxGrid_DeleteRows
, METH_VARARGS
| METH_KEYWORDS
},
5123 { "wxGrid_DeleteCols", (PyCFunction
) _wrap_wxGrid_DeleteCols
, METH_VARARGS
| METH_KEYWORDS
},
5124 { "wxGrid_CurrentCellVisible", (PyCFunction
) _wrap_wxGrid_CurrentCellVisible
, METH_VARARGS
| METH_KEYWORDS
},
5125 { "wxGrid_CreateGrid", (PyCFunction
) _wrap_wxGrid_CreateGrid
, METH_VARARGS
| METH_KEYWORDS
},
5126 { "wxGrid_CellHitTest", (PyCFunction
) _wrap_wxGrid_CellHitTest
, METH_VARARGS
| METH_KEYWORDS
},
5127 { "wxGrid_BeginBatch", (PyCFunction
) _wrap_wxGrid_BeginBatch
, METH_VARARGS
| METH_KEYWORDS
},
5128 { "wxGrid_AppendRows", (PyCFunction
) _wrap_wxGrid_AppendRows
, METH_VARARGS
| METH_KEYWORDS
},
5129 { "wxGrid_AppendCols", (PyCFunction
) _wrap_wxGrid_AppendCols
, METH_VARARGS
| METH_KEYWORDS
},
5130 { "wxGrid_AdjustScrollbars", (PyCFunction
) _wrap_wxGrid_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
5131 { "new_wxGrid", (PyCFunction
) _wrap_new_wxGrid
, METH_VARARGS
| METH_KEYWORDS
},
5132 { "wxGridCell_SetCellBitmap", (PyCFunction
) _wrap_wxGridCell_SetCellBitmap
, METH_VARARGS
| METH_KEYWORDS
},
5133 { "wxGridCell_GetCellBitmap", (PyCFunction
) _wrap_wxGridCell_GetCellBitmap
, METH_VARARGS
| METH_KEYWORDS
},
5134 { "wxGridCell_SetAlignment", (PyCFunction
) _wrap_wxGridCell_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
5135 { "wxGridCell_GetAlignment", (PyCFunction
) _wrap_wxGridCell_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
5136 { "wxGridCell_GetBackgroundBrush", (PyCFunction
) _wrap_wxGridCell_GetBackgroundBrush
, METH_VARARGS
| METH_KEYWORDS
},
5137 { "wxGridCell_SetBackgroundColour", (PyCFunction
) _wrap_wxGridCell_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
5138 { "wxGridCell_GetBackgroundColour", (PyCFunction
) _wrap_wxGridCell_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
5139 { "wxGridCell_SetTextColour", (PyCFunction
) _wrap_wxGridCell_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
5140 { "wxGridCell_GetTextColour", (PyCFunction
) _wrap_wxGridCell_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
5141 { "wxGridCell_SetFont", (PyCFunction
) _wrap_wxGridCell_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
5142 { "wxGridCell_GetFont", (PyCFunction
) _wrap_wxGridCell_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
5143 { "wxGridCell_SetTextValue", (PyCFunction
) _wrap_wxGridCell_SetTextValue
, METH_VARARGS
| METH_KEYWORDS
},
5144 { "wxGridCell_GetTextValue", (PyCFunction
) _wrap_wxGridCell_GetTextValue
, METH_VARARGS
| METH_KEYWORDS
},
5145 { "delete_wxGridCell", (PyCFunction
) _wrap_delete_wxGridCell
, METH_VARARGS
| METH_KEYWORDS
},
5146 { "new_wxGridCell", (PyCFunction
) _wrap_new_wxGridCell
, METH_VARARGS
| METH_KEYWORDS
},
5153 * This table is used by the pointer type-checker
5155 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
5156 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
5157 { "_wxEvent","_class_wxSplitterEvent",SwigwxSplitterEventTowxEvent
},
5158 { "_wxEvent","_wxSplitterEvent",SwigwxSplitterEventTowxEvent
},
5159 { "_wxEvent","_class_wxNotebookEvent",SwigwxNotebookEventTowxEvent
},
5160 { "_wxEvent","_wxNotebookEvent",SwigwxNotebookEventTowxEvent
},
5161 { "_wxEvent","_class_wxGridEvent",SwigwxGridEventTowxEvent
},
5162 { "_wxEvent","_wxGridEvent",SwigwxGridEventTowxEvent
},
5163 { "_wxEvent","_class_wxEvent",0},
5164 { "_class_wxActivateEvent","_wxActivateEvent",0},
5165 { "_signed_long","_long",0},
5166 { "_wxMenuEvent","_class_wxMenuEvent",0},
5167 { "_wxPyBitmapDataObject","_class_wxPyBitmapDataObject",0},
5168 { "_wxBitmapDataObject","_class_wxBitmapDataObject",0},
5169 { "_class_wxPyCommandEvent","_wxPyCommandEvent",0},
5170 { "_wxPrintQuality","_wxCoord",0},
5171 { "_wxPrintQuality","_int",0},
5172 { "_wxPrintQuality","_signed_int",0},
5173 { "_wxPrintQuality","_unsigned_int",0},
5174 { "_wxPrintQuality","_wxWindowID",0},
5175 { "_wxPrintQuality","_uint",0},
5176 { "_wxPrintQuality","_EBool",0},
5177 { "_wxPrintQuality","_size_t",0},
5178 { "_class_wxCustomDataObject","_wxCustomDataObject",0},
5179 { "_class_wxRegionIterator","_wxRegionIterator",0},
5180 { "_class_wxPyTextDropTarget","_wxPyTextDropTarget",0},
5181 { "_class_wxMenuBar","_wxMenuBar",0},
5182 { "_class_wxEvtHandler","_class_wxSplitterWindow",SwigwxSplitterWindowTowxEvtHandler
},
5183 { "_class_wxEvtHandler","_wxSplitterWindow",SwigwxSplitterWindowTowxEvtHandler
},
5184 { "_class_wxEvtHandler","_class_wxNotebook",SwigwxNotebookTowxEvtHandler
},
5185 { "_class_wxEvtHandler","_wxNotebook",SwigwxNotebookTowxEvtHandler
},
5186 { "_class_wxEvtHandler","_class_wxGrid",SwigwxGridTowxEvtHandler
},
5187 { "_class_wxEvtHandler","_wxGrid",SwigwxGridTowxEvtHandler
},
5188 { "_class_wxEvtHandler","_wxEvtHandler",0},
5189 { "_wxPaintEvent","_class_wxPaintEvent",0},
5190 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
5191 { "_wxCursor","_class_wxCursor",0},
5192 { "_wxNotifyEvent","_class_wxNotebookEvent",SwigwxNotebookEventTowxNotifyEvent
},
5193 { "_wxNotifyEvent","_wxNotebookEvent",SwigwxNotebookEventTowxNotifyEvent
},
5194 { "_wxNotifyEvent","_class_wxNotifyEvent",0},
5195 { "_wxMask","_class_wxMask",0},
5196 { "_wxGrid","_class_wxGrid",0},
5197 { "_wxPen","_class_wxPen",0},
5198 { "_wxUpdateUIEvent","_class_wxUpdateUIEvent",0},
5199 { "_byte","_unsigned_char",0},
5200 { "_wxDataObject","_class_wxDataObject",0},
5201 { "_wxStaticBox","_class_wxStaticBox",0},
5202 { "_wxPyDataObjectSimple","_class_wxPyDataObjectSimple",0},
5203 { "_wxPyDropSource","_class_wxPyDropSource",0},
5204 { "_wxChoice","_class_wxChoice",0},
5205 { "_wxSlider","_class_wxSlider",0},
5206 { "_wxNotebookEvent","_class_wxNotebookEvent",0},
5207 { "_long","_unsigned_long",0},
5208 { "_long","_signed_long",0},
5209 { "_wxImageList","_class_wxImageList",0},
5210 { "_wxDataObjectSimple","_class_wxDataObjectSimple",0},
5211 { "_wxDropFilesEvent","_class_wxDropFilesEvent",0},
5212 { "_wxBitmapButton","_class_wxBitmapButton",0},
5213 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
5214 { "_class_wxClipboard","_wxClipboard",0},
5215 { "_class_wxGauge","_wxGauge",0},
5216 { "_wxDC","_class_wxDC",0},
5217 { "_class_wxBitmapDataObject","_wxBitmapDataObject",0},
5218 { "_wxSpinEvent","_class_wxSpinEvent",0},
5219 { "_size_t","_wxCoord",0},
5220 { "_size_t","_wxPrintQuality",0},
5221 { "_size_t","_unsigned_int",0},
5222 { "_size_t","_int",0},
5223 { "_size_t","_wxWindowID",0},
5224 { "_size_t","_uint",0},
5225 { "_class_wxRealPoint","_wxRealPoint",0},
5226 { "_wxNavigationKeyEvent","_class_wxNavigationKeyEvent",0},
5227 { "_wxWindowCreateEvent","_class_wxWindowCreateEvent",0},
5228 { "_class_wxMenuItem","_wxMenuItem",0},
5229 { "_class_wxPaintEvent","_wxPaintEvent",0},
5230 { "_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0},
5231 { "_class_wxPostScriptDC","_wxPostScriptDC",0},
5232 { "_wxPanel","_class_wxGrid",SwigwxGridTowxPanel
},
5233 { "_wxPanel","_wxGrid",SwigwxGridTowxPanel
},
5234 { "_wxPanel","_class_wxPanel",0},
5235 { "_wxInitDialogEvent","_class_wxInitDialogEvent",0},
5236 { "_wxCheckBox","_class_wxCheckBox",0},
5237 { "_wxPyEvent","_class_wxPyEvent",0},
5238 { "_wxTextCtrl","_class_wxTextCtrl",0},
5239 { "_class_wxMask","_wxMask",0},
5240 { "_wxTextDataObject","_class_wxTextDataObject",0},
5241 { "_class_wxKeyEvent","_wxKeyEvent",0},
5242 { "_class_wxGrid","_wxGrid",0},
5243 { "_wxColour","_class_wxColour",0},
5244 { "_class_wxDialog","_wxDialog",0},
5245 { "_class_wxFileDataObject","_wxFileDataObject",0},
5246 { "_wxIdleEvent","_class_wxIdleEvent",0},
5247 { "_class_wxUpdateUIEvent","_wxUpdateUIEvent",0},
5248 { "_class_wxDataObject","_wxDataObject",0},
5249 { "_wxStaticLine","_class_wxStaticLine",0},
5250 { "_wxBrush","_class_wxBrush",0},
5251 { "_class_wxNotebookEvent","_wxNotebookEvent",0},
5252 { "_wxDataFormat","_class_wxDataFormat",0},
5253 { "_class_wxDataObjectSimple","_wxDataObjectSimple",0},
5254 { "_wxShowEvent","_class_wxShowEvent",0},
5255 { "_uint","_wxCoord",0},
5256 { "_uint","_wxPrintQuality",0},
5257 { "_uint","_size_t",0},
5258 { "_uint","_unsigned_int",0},
5259 { "_uint","_int",0},
5260 { "_uint","_wxWindowID",0},
5261 { "_wxPyValidator","_class_wxPyValidator",0},
5262 { "_class_wxEvent","_class_wxSplitterEvent",SwigwxSplitterEventTowxEvent
},
5263 { "_class_wxEvent","_wxSplitterEvent",SwigwxSplitterEventTowxEvent
},
5264 { "_class_wxEvent","_class_wxNotebookEvent",SwigwxNotebookEventTowxEvent
},
5265 { "_class_wxEvent","_wxNotebookEvent",SwigwxNotebookEventTowxEvent
},
5266 { "_class_wxEvent","_class_wxGridEvent",SwigwxGridEventTowxEvent
},
5267 { "_class_wxEvent","_wxGridEvent",SwigwxGridEventTowxEvent
},
5268 { "_class_wxEvent","_wxEvent",0},
5269 { "_wxCheckListBox","_class_wxCheckListBox",0},
5270 { "_wxSplitterEvent","_class_wxSplitterEvent",0},
5271 { "_wxGridEvent","_class_wxGridEvent",0},
5272 { "_wxRect","_class_wxRect",0},
5273 { "_wxCommandEvent","_class_wxSplitterEvent",SwigwxSplitterEventTowxCommandEvent
},
5274 { "_wxCommandEvent","_wxSplitterEvent",SwigwxSplitterEventTowxCommandEvent
},
5275 { "_wxCommandEvent","_class_wxNotebookEvent",SwigwxNotebookEventTowxCommandEvent
},
5276 { "_wxCommandEvent","_wxNotebookEvent",SwigwxNotebookEventTowxCommandEvent
},
5277 { "_wxCommandEvent","_class_wxCommandEvent",0},
5278 { "_wxSizeEvent","_class_wxSizeEvent",0},
5279 { "_wxPoint","_class_wxPoint",0},
5280 { "_class_wxButton","_wxButton",0},
5281 { "_wxRadioBox","_class_wxRadioBox",0},
5282 { "_wxBitmap","_class_wxBitmap",0},
5283 { "_char","_wxDash",0},
5284 { "_wxPyTimer","_class_wxPyTimer",0},
5285 { "_wxWindowDC","_class_wxWindowDC",0},
5286 { "_wxScrollBar","_class_wxScrollBar",0},
5287 { "_wxSpinButton","_class_wxSpinButton",0},
5288 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
5289 { "_class_wxNotifyEvent","_class_wxNotebookEvent",SwigwxNotebookEventTowxNotifyEvent
},
5290 { "_class_wxNotifyEvent","_wxNotebookEvent",SwigwxNotebookEventTowxNotifyEvent
},
5291 { "_class_wxNotifyEvent","_wxNotifyEvent",0},
5292 { "_class_wxValidator","_wxValidator",0},
5293 { "_class_wxPyEvent","_wxPyEvent",0},
5294 { "_class_wxIconizeEvent","_wxIconizeEvent",0},
5295 { "_class_wxStaticBitmap","_wxStaticBitmap",0},
5296 { "_wxDropTarget","_class_wxDropTarget",0},
5297 { "_class_wxStaticLine","_wxStaticLine",0},
5298 { "_wxScrollEvent","_class_wxScrollEvent",0},
5299 { "_EBool","_wxCoord",0},
5300 { "_EBool","_wxPrintQuality",0},
5301 { "_EBool","_signed_int",0},
5302 { "_EBool","_int",0},
5303 { "_EBool","_wxWindowID",0},
5304 { "_class_wxRegion","_wxRegion",0},
5305 { "_class_wxDataFormat","_wxDataFormat",0},
5306 { "_class_wxDropFilesEvent","_wxDropFilesEvent",0},
5307 { "_wxWindowDestroyEvent","_class_wxWindowDestroyEvent",0},
5308 { "_wxStaticText","_class_wxStaticText",0},
5309 { "_wxFont","_class_wxFont",0},
5310 { "_class_wxPyDropTarget","_wxPyDropTarget",0},
5311 { "_wxCloseEvent","_class_wxCloseEvent",0},
5312 { "_class_wxSplitterEvent","_wxSplitterEvent",0},
5313 { "_wxNotebook","_class_wxNotebook",0},
5314 { "_unsigned_long","_long",0},
5315 { "_class_wxRect","_wxRect",0},
5316 { "_class_wxDC","_wxDC",0},
5317 { "_wxScrollWinEvent","_class_wxScrollWinEvent",0},
5318 { "_wxQueryNewPaletteEvent","_class_wxQueryNewPaletteEvent",0},
5319 { "_class_wxWindowCreateEvent","_wxWindowCreateEvent",0},
5320 { "_class_wxPyTimer","_wxPyTimer",0},
5321 { "_wxFocusEvent","_class_wxFocusEvent",0},
5322 { "_wxMaximizeEvent","_class_wxMaximizeEvent",0},
5323 { "_class_wxSpinButton","_wxSpinButton",0},
5324 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
5325 { "_class_wxPanel","_class_wxGrid",SwigwxGridTowxPanel
},
5326 { "_class_wxPanel","_wxGrid",SwigwxGridTowxPanel
},
5327 { "_class_wxPanel","_wxPanel",0},
5328 { "_class_wxCheckBox","_wxCheckBox",0},
5329 { "_wxComboBox","_class_wxComboBox",0},
5330 { "_wxRadioButton","_class_wxRadioButton",0},
5331 { "_signed_int","_wxCoord",0},
5332 { "_signed_int","_wxPrintQuality",0},
5333 { "_signed_int","_EBool",0},
5334 { "_signed_int","_wxWindowID",0},
5335 { "_signed_int","_int",0},
5336 { "_class_wxTextCtrl","_wxTextCtrl",0},
5337 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
5338 { "_class_wxTextDataObject","_wxTextDataObject",0},
5339 { "_wxMenu","_class_wxMenu",0},
5340 { "_class_wxMoveEvent","_wxMoveEvent",0},
5341 { "_wxListBox","_class_wxListBox",0},
5342 { "_wxScreenDC","_class_wxScreenDC",0},
5343 { "_WXTYPE","_short",0},
5344 { "_WXTYPE","_signed_short",0},
5345 { "_WXTYPE","_unsigned_short",0},
5346 { "_class_wxDropTarget","_wxDropTarget",0},
5347 { "_class_wxBrush","_wxBrush",0},
5348 { "_unsigned_short","_WXTYPE",0},
5349 { "_unsigned_short","_short",0},
5350 { "_class_wxWindow","_class_wxSplitterWindow",SwigwxSplitterWindowTowxWindow
},
5351 { "_class_wxWindow","_wxSplitterWindow",SwigwxSplitterWindowTowxWindow
},
5352 { "_class_wxWindow","_class_wxNotebook",SwigwxNotebookTowxWindow
},
5353 { "_class_wxWindow","_wxNotebook",SwigwxNotebookTowxWindow
},
5354 { "_class_wxWindow","_class_wxGrid",SwigwxGridTowxWindow
},
5355 { "_class_wxWindow","_wxGrid",SwigwxGridTowxWindow
},
5356 { "_class_wxWindow","_wxWindow",0},
5357 { "_wxSplitterWindow","_class_wxSplitterWindow",0},
5358 { "_class_wxStaticText","_wxStaticText",0},
5359 { "_class_wxFont","_wxFont",0},
5360 { "_wxClipboard","_class_wxClipboard",0},
5361 { "_class_wxPyValidator","_wxPyValidator",0},
5362 { "_class_wxCloseEvent","_wxCloseEvent",0},
5363 { "_wxBusyInfo","_class_wxBusyInfo",0},
5364 { "_class_wxMenuEvent","_wxMenuEvent",0},
5365 { "_wxPaletteChangedEvent","_class_wxPaletteChangedEvent",0},
5366 { "_class_wxPyBitmapDataObject","_wxPyBitmapDataObject",0},
5367 { "_wxClientDC","_class_wxClientDC",0},
5368 { "_wxMouseEvent","_class_wxMouseEvent",0},
5369 { "_class_wxPoint","_wxPoint",0},
5370 { "_wxRealPoint","_class_wxRealPoint",0},
5371 { "_class_wxRadioBox","_wxRadioBox",0},
5372 { "_wxGridCell","_class_wxGridCell",0},
5373 { "_signed_short","_WXTYPE",0},
5374 { "_signed_short","_short",0},
5375 { "_wxMemoryDC","_class_wxMemoryDC",0},
5376 { "_wxPyTextDataObject","_class_wxPyTextDataObject",0},
5377 { "_wxPaintDC","_class_wxPaintDC",0},
5378 { "_class_wxWindowDC","_wxWindowDC",0},
5379 { "_class_wxFocusEvent","_wxFocusEvent",0},
5380 { "_class_wxMaximizeEvent","_wxMaximizeEvent",0},
5381 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
5382 { "_class_wxCursor","_wxCursor",0},
5383 { "_wxPostScriptDC","_class_wxPostScriptDC",0},
5384 { "_wxPyFileDropTarget","_class_wxPyFileDropTarget",0},
5385 { "_wxScrolledWindow","_class_wxScrolledWindow",0},
5386 { "_unsigned_char","_byte",0},
5387 { "_class_wxMenu","_wxMenu",0},
5388 { "_wxControl","_class_wxNotebook",SwigwxNotebookTowxControl
},
5389 { "_wxControl","_wxNotebook",SwigwxNotebookTowxControl
},
5390 { "_wxControl","_class_wxControl",0},
5391 { "_class_wxListBox","_wxListBox",0},
5392 { "_unsigned_int","_wxCoord",0},
5393 { "_unsigned_int","_wxPrintQuality",0},
5394 { "_unsigned_int","_size_t",0},
5395 { "_unsigned_int","_uint",0},
5396 { "_unsigned_int","_wxWindowID",0},
5397 { "_unsigned_int","_int",0},
5398 { "_wxIcon","_class_wxIcon",0},
5399 { "_wxDialog","_class_wxDialog",0},
5400 { "_class_wxPen","_wxPen",0},
5401 { "_short","_WXTYPE",0},
5402 { "_short","_unsigned_short",0},
5403 { "_short","_signed_short",0},
5404 { "_class_wxStaticBox","_wxStaticBox",0},
5405 { "_class_wxPyDataObjectSimple","_wxPyDataObjectSimple",0},
5406 { "_class_wxPyDropSource","_wxPyDropSource",0},
5407 { "_class_wxScrollEvent","_wxScrollEvent",0},
5408 { "_wxJoystickEvent","_class_wxJoystickEvent",0},
5409 { "_class_wxChoice","_wxChoice",0},
5410 { "_class_wxSlider","_wxSlider",0},
5411 { "_class_wxImageList","_wxImageList",0},
5412 { "_class_wxBitmapButton","_wxBitmapButton",0},
5413 { "_class_wxPaletteChangedEvent","_wxPaletteChangedEvent",0},
5414 { "_class_wxNotebook","_wxNotebook",0},
5415 { "_wxWindowID","_wxCoord",0},
5416 { "_wxWindowID","_wxPrintQuality",0},
5417 { "_wxWindowID","_size_t",0},
5418 { "_wxWindowID","_EBool",0},
5419 { "_wxWindowID","_uint",0},
5420 { "_wxWindowID","_int",0},
5421 { "_wxWindowID","_signed_int",0},
5422 { "_wxWindowID","_unsigned_int",0},
5423 { "_class_wxScrollWinEvent","_wxScrollWinEvent",0},
5424 { "_int","_wxCoord",0},
5425 { "_int","_wxPrintQuality",0},
5426 { "_int","_size_t",0},
5427 { "_int","_EBool",0},
5428 { "_int","_uint",0},
5429 { "_int","_wxWindowID",0},
5430 { "_int","_unsigned_int",0},
5431 { "_int","_signed_int",0},
5432 { "_class_wxMouseEvent","_wxMouseEvent",0},
5433 { "_wxPyCommandEvent","_class_wxPyCommandEvent",0},
5434 { "_class_wxSpinEvent","_wxSpinEvent",0},
5435 { "_class_wxQueryNewPaletteEvent","_wxQueryNewPaletteEvent",0},
5436 { "_class_wxNavigationKeyEvent","_wxNavigationKeyEvent",0},
5437 { "_wxButton","_class_wxButton",0},
5438 { "_wxSize","_class_wxSize",0},
5439 { "_wxRegionIterator","_class_wxRegionIterator",0},
5440 { "_class_wxPyTextDataObject","_wxPyTextDataObject",0},
5441 { "_class_wxPaintDC","_wxPaintDC",0},
5442 { "_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0},
5443 { "_class_wxPyFileDropTarget","_wxPyFileDropTarget",0},
5444 { "_class_wxInitDialogEvent","_wxInitDialogEvent",0},
5445 { "_class_wxComboBox","_wxComboBox",0},
5446 { "_class_wxRadioButton","_wxRadioButton",0},
5447 { "_wxValidator","_class_wxValidator",0},
5448 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
5449 { "_wxIconizeEvent","_class_wxIconizeEvent",0},
5450 { "_class_wxControl","_class_wxNotebook",SwigwxNotebookTowxControl
},
5451 { "_class_wxControl","_wxNotebook",SwigwxNotebookTowxControl
},
5452 { "_class_wxControl","_wxControl",0},
5453 { "_wxStaticBitmap","_class_wxStaticBitmap",0},
5454 { "_class_wxIcon","_wxIcon",0},
5455 { "_class_wxColour","_wxColour",0},
5456 { "_class_wxScreenDC","_wxScreenDC",0},
5457 { "_wxPalette","_class_wxPalette",0},
5458 { "_class_wxIdleEvent","_wxIdleEvent",0},
5459 { "_wxCoord","_int",0},
5460 { "_wxCoord","_signed_int",0},
5461 { "_wxCoord","_unsigned_int",0},
5462 { "_wxCoord","_wxWindowID",0},
5463 { "_wxCoord","_uint",0},
5464 { "_wxCoord","_EBool",0},
5465 { "_wxCoord","_size_t",0},
5466 { "_wxCoord","_wxPrintQuality",0},
5467 { "_wxEraseEvent","_class_wxEraseEvent",0},
5468 { "_wxDataObjectComposite","_class_wxDataObjectComposite",0},
5469 { "_class_wxJoystickEvent","_wxJoystickEvent",0},
5470 { "_wxRegion","_class_wxRegion",0},
5471 { "_class_wxSplitterWindow","_wxSplitterWindow",0},
5472 { "_class_wxShowEvent","_wxShowEvent",0},
5473 { "_wxPyDropTarget","_class_wxPyDropTarget",0},
5474 { "_wxActivateEvent","_class_wxActivateEvent",0},
5475 { "_wxGauge","_class_wxGauge",0},
5476 { "_class_wxCheckListBox","_wxCheckListBox",0},
5477 { "_class_wxBusyInfo","_wxBusyInfo",0},
5478 { "_class_wxGridEvent","_wxGridEvent",0},
5479 { "_class_wxCommandEvent","_class_wxSplitterEvent",SwigwxSplitterEventTowxCommandEvent
},
5480 { "_class_wxCommandEvent","_wxSplitterEvent",SwigwxSplitterEventTowxCommandEvent
},
5481 { "_class_wxCommandEvent","_class_wxNotebookEvent",SwigwxNotebookEventTowxCommandEvent
},
5482 { "_class_wxCommandEvent","_wxNotebookEvent",SwigwxNotebookEventTowxCommandEvent
},
5483 { "_class_wxCommandEvent","_wxCommandEvent",0},
5484 { "_class_wxClientDC","_wxClientDC",0},
5485 { "_class_wxSizeEvent","_wxSizeEvent",0},
5486 { "_wxCustomDataObject","_class_wxCustomDataObject",0},
5487 { "_class_wxGridCell","_wxGridCell",0},
5488 { "_class_wxSize","_wxSize",0},
5489 { "_class_wxBitmap","_wxBitmap",0},
5490 { "_class_wxMemoryDC","_wxMemoryDC",0},
5491 { "_wxPyTextDropTarget","_class_wxPyTextDropTarget",0},
5492 { "_wxMenuBar","_class_wxMenuBar",0},
5493 { "_wxEvtHandler","_class_wxSplitterWindow",SwigwxSplitterWindowTowxEvtHandler
},
5494 { "_wxEvtHandler","_wxSplitterWindow",SwigwxSplitterWindowTowxEvtHandler
},
5495 { "_wxEvtHandler","_class_wxNotebook",SwigwxNotebookTowxEvtHandler
},
5496 { "_wxEvtHandler","_wxNotebook",SwigwxNotebookTowxEvtHandler
},
5497 { "_wxEvtHandler","_class_wxGrid",SwigwxGridTowxEvtHandler
},
5498 { "_wxEvtHandler","_wxGrid",SwigwxGridTowxEvtHandler
},
5499 { "_wxEvtHandler","_class_wxEvtHandler",0},
5500 { "_wxMenuItem","_class_wxMenuItem",0},
5501 { "_class_wxScrollBar","_wxScrollBar",0},
5502 { "_wxDash","_char",0},
5503 { "_class_wxScrolledWindow","_wxScrolledWindow",0},
5504 { "_wxKeyEvent","_class_wxKeyEvent",0},
5505 { "_wxMoveEvent","_class_wxMoveEvent",0},
5506 { "_class_wxPalette","_wxPalette",0},
5507 { "_wxFileDataObject","_class_wxFileDataObject",0},
5508 { "_class_wxEraseEvent","_wxEraseEvent",0},
5509 { "_class_wxDataObjectComposite","_wxDataObjectComposite",0},
5510 { "_wxWindow","_class_wxSplitterWindow",SwigwxSplitterWindowTowxWindow
},
5511 { "_wxWindow","_wxSplitterWindow",SwigwxSplitterWindowTowxWindow
},
5512 { "_wxWindow","_class_wxNotebook",SwigwxNotebookTowxWindow
},
5513 { "_wxWindow","_wxNotebook",SwigwxNotebookTowxWindow
},
5514 { "_wxWindow","_class_wxGrid",SwigwxGridTowxWindow
},
5515 { "_wxWindow","_wxGrid",SwigwxGridTowxWindow
},
5516 { "_wxWindow","_class_wxWindow",0},
5517 { "_class_wxWindowDestroyEvent","_wxWindowDestroyEvent",0},
5520 static PyObject
*SWIG_globals
;
5524 SWIGEXPORT(void) initwindows2c() {
5526 SWIG_globals
= SWIG_newvarlink();
5527 m
= Py_InitModule("windows2c", windows2cMethods
);
5528 d
= PyModule_GetDict(m
);
5529 PyDict_SetItemString(d
,"wxGRID_TEXT_CTRL", PyInt_FromLong((long) wxGRID_TEXT_CTRL
));
5530 PyDict_SetItemString(d
,"wxGRID_HSCROLL", PyInt_FromLong((long) wxGRID_HSCROLL
));
5531 PyDict_SetItemString(d
,"wxGRID_VSCROLL", PyInt_FromLong((long) wxGRID_VSCROLL
));
5532 PyDict_SetItemString(d
,"wxEVT_GRID_SELECT_CELL", PyInt_FromLong((long) wxEVT_GRID_SELECT_CELL
));
5533 PyDict_SetItemString(d
,"wxEVT_GRID_CREATE_CELL", PyInt_FromLong((long) wxEVT_GRID_CREATE_CELL
));
5534 PyDict_SetItemString(d
,"wxEVT_GRID_CHANGE_LABELS", PyInt_FromLong((long) wxEVT_GRID_CHANGE_LABELS
));
5535 PyDict_SetItemString(d
,"wxEVT_GRID_CHANGE_SEL_LABEL", PyInt_FromLong((long) wxEVT_GRID_CHANGE_SEL_LABEL
));
5536 PyDict_SetItemString(d
,"wxEVT_GRID_CELL_CHANGE", PyInt_FromLong((long) wxEVT_GRID_CELL_CHANGE
));
5537 PyDict_SetItemString(d
,"wxEVT_GRID_CELL_LCLICK", PyInt_FromLong((long) wxEVT_GRID_CELL_LCLICK
));
5538 PyDict_SetItemString(d
,"wxEVT_GRID_CELL_RCLICK", PyInt_FromLong((long) wxEVT_GRID_CELL_RCLICK
));
5539 PyDict_SetItemString(d
,"wxEVT_GRID_LABEL_LCLICK", PyInt_FromLong((long) wxEVT_GRID_LABEL_LCLICK
));
5540 PyDict_SetItemString(d
,"wxEVT_GRID_LABEL_RCLICK", PyInt_FromLong((long) wxEVT_GRID_LABEL_RCLICK
));
5543 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
5544 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);