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_FromString(WXSTRINGCAST (*_result
));
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 bool _arg2
= (bool ) TRUE
;
723 PyObject
* _argo0
= 0;
724 int tempbool2
= (int) TRUE
;
725 char *_kwnames
[] = { "self","n","updateLabels", NULL
};
728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxGrid_AppendCols",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
731 if (_argo0
== Py_None
) { _arg0
= NULL
; }
732 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
733 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_AppendCols. Expected _wxGrid_p.");
737 _arg2
= (bool ) tempbool2
;
739 wxPy_BEGIN_ALLOW_THREADS
;
740 _result
= (bool )wxGrid_AppendCols(_arg0
,_arg1
,_arg2
);
742 wxPy_END_ALLOW_THREADS
;
743 } _resultobj
= Py_BuildValue("i",_result
);
747 #define wxGrid_AppendRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->AppendRows(_swigarg0,_swigarg1))
748 static PyObject
*_wrap_wxGrid_AppendRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
749 PyObject
* _resultobj
;
752 int _arg1
= (int ) 1;
753 bool _arg2
= (bool ) TRUE
;
754 PyObject
* _argo0
= 0;
755 int tempbool2
= (int) TRUE
;
756 char *_kwnames
[] = { "self","n","updateLabels", NULL
};
759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxGrid_AppendRows",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
762 if (_argo0
== Py_None
) { _arg0
= NULL
; }
763 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
764 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_AppendRows. Expected _wxGrid_p.");
768 _arg2
= (bool ) tempbool2
;
770 wxPy_BEGIN_ALLOW_THREADS
;
771 _result
= (bool )wxGrid_AppendRows(_arg0
,_arg1
,_arg2
);
773 wxPy_END_ALLOW_THREADS
;
774 } _resultobj
= Py_BuildValue("i",_result
);
778 #define wxGrid_BeginBatch(_swigobj) (_swigobj->BeginBatch())
779 static PyObject
*_wrap_wxGrid_BeginBatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
780 PyObject
* _resultobj
;
782 PyObject
* _argo0
= 0;
783 char *_kwnames
[] = { "self", NULL
};
786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_BeginBatch",_kwnames
,&_argo0
))
789 if (_argo0
== Py_None
) { _arg0
= NULL
; }
790 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
791 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_BeginBatch. Expected _wxGrid_p.");
796 wxPy_BEGIN_ALLOW_THREADS
;
797 wxGrid_BeginBatch(_arg0
);
799 wxPy_END_ALLOW_THREADS
;
800 } Py_INCREF(Py_None
);
801 _resultobj
= Py_None
;
805 #define wxGrid_CellHitTest(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->CellHitTest(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
806 static PyObject
*_wrap_wxGrid_CellHitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
807 PyObject
* _resultobj
;
816 PyObject
* _argo0
= 0;
817 char *_kwnames
[] = { "self","x","y", NULL
};
826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_CellHitTest",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
829 if (_argo0
== Py_None
) { _arg0
= NULL
; }
830 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
831 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_CellHitTest. Expected _wxGrid_p.");
836 wxPy_BEGIN_ALLOW_THREADS
;
837 _result
= (bool )wxGrid_CellHitTest(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
839 wxPy_END_ALLOW_THREADS
;
840 } _resultobj
= Py_BuildValue("i",_result
);
843 o
= PyInt_FromLong((long) (*_arg3
));
844 _resultobj
= t_output_helper(_resultobj
, o
);
848 o
= PyInt_FromLong((long) (*_arg4
));
849 _resultobj
= t_output_helper(_resultobj
, o
);
854 static bool wxGrid_CreateGrid(wxGrid
*self
,int rows
,int cols
,short defaultWidth
,short defaultHeight
) {
855 return self
->CreateGrid(rows
, cols
, NULL
, NULL
,
856 defaultWidth
, defaultHeight
);
858 static PyObject
*_wrap_wxGrid_CreateGrid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
859 PyObject
* _resultobj
;
864 short _arg3
= (short ) wxGRID_DEFAULT_CELL_WIDTH
;
865 short _arg4
= (short ) wxGRID_DEFAULT_CELL_HEIGHT
;
866 PyObject
* _argo0
= 0;
867 char *_kwnames
[] = { "self","rows","cols","defaultWidth","defaultHeight", NULL
};
870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|hh:wxGrid_CreateGrid",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
873 if (_argo0
== Py_None
) { _arg0
= NULL
; }
874 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
875 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_CreateGrid. Expected _wxGrid_p.");
880 wxPy_BEGIN_ALLOW_THREADS
;
881 _result
= (bool )wxGrid_CreateGrid(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
883 wxPy_END_ALLOW_THREADS
;
884 } _resultobj
= Py_BuildValue("i",_result
);
888 #define wxGrid_CurrentCellVisible(_swigobj) (_swigobj->CurrentCellVisible())
889 static PyObject
*_wrap_wxGrid_CurrentCellVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
890 PyObject
* _resultobj
;
893 PyObject
* _argo0
= 0;
894 char *_kwnames
[] = { "self", NULL
};
897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_CurrentCellVisible",_kwnames
,&_argo0
))
900 if (_argo0
== Py_None
) { _arg0
= NULL
; }
901 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
902 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_CurrentCellVisible. Expected _wxGrid_p.");
907 wxPy_BEGIN_ALLOW_THREADS
;
908 _result
= (bool )wxGrid_CurrentCellVisible(_arg0
);
910 wxPy_END_ALLOW_THREADS
;
911 } _resultobj
= Py_BuildValue("i",_result
);
915 #define wxGrid_DeleteCols(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DeleteCols(_swigarg0,_swigarg1,_swigarg2))
916 static PyObject
*_wrap_wxGrid_DeleteCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
917 PyObject
* _resultobj
;
920 int _arg1
= (int ) 0;
921 int _arg2
= (int ) 1;
922 bool _arg3
= (bool ) TRUE
;
923 PyObject
* _argo0
= 0;
924 int tempbool3
= (int) TRUE
;
925 char *_kwnames
[] = { "self","pos","n","updateLabels", NULL
};
928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iii:wxGrid_DeleteCols",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
931 if (_argo0
== Py_None
) { _arg0
= NULL
; }
932 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
933 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_DeleteCols. Expected _wxGrid_p.");
937 _arg3
= (bool ) tempbool3
;
939 wxPy_BEGIN_ALLOW_THREADS
;
940 _result
= (bool )wxGrid_DeleteCols(_arg0
,_arg1
,_arg2
,_arg3
);
942 wxPy_END_ALLOW_THREADS
;
943 } _resultobj
= Py_BuildValue("i",_result
);
947 #define wxGrid_DeleteRows(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DeleteRows(_swigarg0,_swigarg1,_swigarg2))
948 static PyObject
*_wrap_wxGrid_DeleteRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
949 PyObject
* _resultobj
;
952 int _arg1
= (int ) 0;
953 int _arg2
= (int ) 1;
954 bool _arg3
= (bool ) TRUE
;
955 PyObject
* _argo0
= 0;
956 int tempbool3
= (int) TRUE
;
957 char *_kwnames
[] = { "self","pos","n","updateLabels", NULL
};
960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iii:wxGrid_DeleteRows",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
963 if (_argo0
== Py_None
) { _arg0
= NULL
; }
964 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
965 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_DeleteRows. Expected _wxGrid_p.");
969 _arg3
= (bool ) tempbool3
;
971 wxPy_BEGIN_ALLOW_THREADS
;
972 _result
= (bool )wxGrid_DeleteRows(_arg0
,_arg1
,_arg2
,_arg3
);
974 wxPy_END_ALLOW_THREADS
;
975 } _resultobj
= Py_BuildValue("i",_result
);
979 #define wxGrid_EndBatch(_swigobj) (_swigobj->EndBatch())
980 static PyObject
*_wrap_wxGrid_EndBatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
981 PyObject
* _resultobj
;
983 PyObject
* _argo0
= 0;
984 char *_kwnames
[] = { "self", NULL
};
987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_EndBatch",_kwnames
,&_argo0
))
990 if (_argo0
== Py_None
) { _arg0
= NULL
; }
991 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
992 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_EndBatch. Expected _wxGrid_p.");
997 wxPy_BEGIN_ALLOW_THREADS
;
998 wxGrid_EndBatch(_arg0
);
1000 wxPy_END_ALLOW_THREADS
;
1001 } Py_INCREF(Py_None
);
1002 _resultobj
= Py_None
;
1006 #define wxGrid_GetBatchCount(_swigobj) (_swigobj->GetBatchCount())
1007 static PyObject
*_wrap_wxGrid_GetBatchCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1008 PyObject
* _resultobj
;
1011 PyObject
* _argo0
= 0;
1012 char *_kwnames
[] = { "self", NULL
};
1015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetBatchCount",_kwnames
,&_argo0
))
1018 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1019 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
1020 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetBatchCount. Expected _wxGrid_p.");
1025 wxPy_BEGIN_ALLOW_THREADS
;
1026 _result
= (int )wxGrid_GetBatchCount(_arg0
);
1028 wxPy_END_ALLOW_THREADS
;
1029 } _resultobj
= Py_BuildValue("i",_result
);
1033 #define wxGrid_GetCell(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCell(_swigarg0,_swigarg1))
1034 static PyObject
*_wrap_wxGrid_GetCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1035 PyObject
* _resultobj
;
1036 wxGridCell
* _result
;
1040 PyObject
* _argo0
= 0;
1041 char *_kwnames
[] = { "self","row","col", NULL
};
1045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_GetCell",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
1048 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1049 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
1050 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCell. Expected _wxGrid_p.");
1055 wxPy_BEGIN_ALLOW_THREADS
;
1056 _result
= (wxGridCell
*)wxGrid_GetCell(_arg0
,_arg1
,_arg2
);
1058 wxPy_END_ALLOW_THREADS
;
1060 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCell_p");
1061 _resultobj
= Py_BuildValue("s",_ptemp
);
1064 _resultobj
= Py_None
;
1069 #define wxGrid_GetCellAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellAlignment(_swigarg0,_swigarg1))
1070 static PyObject
*_wrap_wxGrid_GetCellAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1071 PyObject
* _resultobj
;
1076 PyObject
* _argo0
= 0;
1077 char *_kwnames
[] = { "self","row","col", NULL
};
1080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_GetCellAlignment",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
1083 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1084 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
1085 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellAlignment. Expected _wxGrid_p.");
1090 wxPy_BEGIN_ALLOW_THREADS
;
1091 _result
= (int )wxGrid_GetCellAlignment(_arg0
,_arg1
,_arg2
);
1093 wxPy_END_ALLOW_THREADS
;
1094 } _resultobj
= Py_BuildValue("i",_result
);
1098 #define wxGrid_GetDefCellAlignment(_swigobj) (_swigobj->GetCellAlignment())
1099 static PyObject
*_wrap_wxGrid_GetDefCellAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1100 PyObject
* _resultobj
;
1103 PyObject
* _argo0
= 0;
1104 char *_kwnames
[] = { "self", NULL
};
1107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetDefCellAlignment",_kwnames
,&_argo0
))
1110 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1111 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
1112 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefCellAlignment. Expected _wxGrid_p.");
1117 wxPy_BEGIN_ALLOW_THREADS
;
1118 _result
= (int )wxGrid_GetDefCellAlignment(_arg0
);
1120 wxPy_END_ALLOW_THREADS
;
1121 } _resultobj
= Py_BuildValue("i",_result
);
1125 #define wxGrid_GetCellBackgroundColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellBackgroundColour(_swigarg0,_swigarg1))
1126 static PyObject
*_wrap_wxGrid_GetCellBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1127 PyObject
* _resultobj
;
1132 PyObject
* _argo0
= 0;
1133 char *_kwnames
[] = { "self","row","col", NULL
};
1137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_GetCellBackgroundColour",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
1140 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1141 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
1142 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellBackgroundColour. Expected _wxGrid_p.");
1147 wxPy_BEGIN_ALLOW_THREADS
;
1148 wxColour
& _result_ref
= wxGrid_GetCellBackgroundColour(_arg0
,_arg1
,_arg2
);
1149 _result
= (wxColour
*) &_result_ref
;
1151 wxPy_END_ALLOW_THREADS
;
1153 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
1154 _resultobj
= Py_BuildValue("s",_ptemp
);
1157 _resultobj
= Py_None
;
1162 #define wxGrid_GetDefCellBackgroundColour(_swigobj) (_swigobj->GetCellBackgroundColour())
1163 static PyObject
*_wrap_wxGrid_GetDefCellBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1164 PyObject
* _resultobj
;
1167 PyObject
* _argo0
= 0;
1168 char *_kwnames
[] = { "self", NULL
};
1172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetDefCellBackgroundColour",_kwnames
,&_argo0
))
1175 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1176 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
1177 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefCellBackgroundColour. Expected _wxGrid_p.");
1182 wxPy_BEGIN_ALLOW_THREADS
;
1183 wxColour
& _result_ref
= wxGrid_GetDefCellBackgroundColour(_arg0
);
1184 _result
= (wxColour
*) &_result_ref
;
1186 wxPy_END_ALLOW_THREADS
;
1188 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
1189 _resultobj
= Py_BuildValue("s",_ptemp
);
1192 _resultobj
= Py_None
;
1197 static PyObject
* wxGrid_GetCells(wxGrid
*self
) {
1199 PyObject
* rows
= PyList_New(0);
1200 for (row
=0; row
< self
->GetRows(); row
++) {
1201 PyObject
* rowList
= PyList_New(0);
1202 for (col
=0; col
< self
->GetCols(); col
++) {
1203 wxGridCell
* cell
= self
->GetCell(row
, col
);
1205 bool doSave
= wxPyRestoreThread();
1206 PyObject
* pyCell
= wxPyConstructObject(cell
, "wxGridCell");
1207 wxPySaveThread(doSave
);
1209 if (PyList_Append(rowList
, pyCell
) == -1)
1212 if (PyList_Append(rows
, rowList
) == -1)
1217 static PyObject
*_wrap_wxGrid_GetCells(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1218 PyObject
* _resultobj
;
1221 PyObject
* _argo0
= 0;
1222 char *_kwnames
[] = { "self", NULL
};
1225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetCells",_kwnames
,&_argo0
))
1228 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1229 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
1230 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCells. Expected _wxGrid_p.");
1235 wxPy_BEGIN_ALLOW_THREADS
;
1236 _result
= (PyObject
*)wxGrid_GetCells(_arg0
);
1238 wxPy_END_ALLOW_THREADS
;
1240 _resultobj
= _result
;
1245 #define wxGrid_GetCellTextColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellTextColour(_swigarg0,_swigarg1))
1246 static PyObject
*_wrap_wxGrid_GetCellTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1247 PyObject
* _resultobj
;
1252 PyObject
* _argo0
= 0;
1253 char *_kwnames
[] = { "self","row","col", NULL
};
1257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_GetCellTextColour",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
1260 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1261 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
1262 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellTextColour. Expected _wxGrid_p.");
1267 wxPy_BEGIN_ALLOW_THREADS
;
1268 wxColour
& _result_ref
= wxGrid_GetCellTextColour(_arg0
,_arg1
,_arg2
);
1269 _result
= (wxColour
*) &_result_ref
;
1271 wxPy_END_ALLOW_THREADS
;
1273 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
1274 _resultobj
= Py_BuildValue("s",_ptemp
);
1277 _resultobj
= Py_None
;
1282 #define wxGrid_GetDefCellTextColour(_swigobj) (_swigobj->GetCellTextColour())
1283 static PyObject
*_wrap_wxGrid_GetDefCellTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1284 PyObject
* _resultobj
;
1287 PyObject
* _argo0
= 0;
1288 char *_kwnames
[] = { "self", NULL
};
1292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetDefCellTextColour",_kwnames
,&_argo0
))
1295 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1296 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
1297 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefCellTextColour. Expected _wxGrid_p.");
1302 wxPy_BEGIN_ALLOW_THREADS
;
1303 wxColour
& _result_ref
= wxGrid_GetDefCellTextColour(_arg0
);
1304 _result
= (wxColour
*) &_result_ref
;
1306 wxPy_END_ALLOW_THREADS
;
1308 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
1309 _resultobj
= Py_BuildValue("s",_ptemp
);
1312 _resultobj
= Py_None
;
1317 #define wxGrid_GetCellTextFont(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellTextFont(_swigarg0,_swigarg1))
1318 static PyObject
*_wrap_wxGrid_GetCellTextFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1319 PyObject
* _resultobj
;
1324 PyObject
* _argo0
= 0;
1325 char *_kwnames
[] = { "self","row","col", NULL
};
1329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_GetCellTextFont",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
1332 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1333 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
1334 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellTextFont. Expected _wxGrid_p.");
1339 wxPy_BEGIN_ALLOW_THREADS
;
1340 wxFont
& _result_ref
= wxGrid_GetCellTextFont(_arg0
,_arg1
,_arg2
);
1341 _result
= (wxFont
*) &_result_ref
;
1343 wxPy_END_ALLOW_THREADS
;
1345 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
1346 _resultobj
= Py_BuildValue("s",_ptemp
);
1349 _resultobj
= Py_None
;
1354 #define wxGrid_GetDefCellTextFont(_swigobj) (_swigobj->GetCellTextFont())
1355 static PyObject
*_wrap_wxGrid_GetDefCellTextFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1356 PyObject
* _resultobj
;
1359 PyObject
* _argo0
= 0;
1360 char *_kwnames
[] = { "self", NULL
};
1364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetDefCellTextFont",_kwnames
,&_argo0
))
1367 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1368 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
1369 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefCellTextFont. Expected _wxGrid_p.");
1374 wxPy_BEGIN_ALLOW_THREADS
;
1375 wxFont
& _result_ref
= wxGrid_GetDefCellTextFont(_arg0
);
1376 _result
= (wxFont
*) &_result_ref
;
1378 wxPy_END_ALLOW_THREADS
;
1380 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
1381 _resultobj
= Py_BuildValue("s",_ptemp
);
1384 _resultobj
= Py_None
;
1389 #define wxGrid_GetCellValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellValue(_swigarg0,_swigarg1))
1390 static PyObject
*_wrap_wxGrid_GetCellValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1391 PyObject
* _resultobj
;
1396 PyObject
* _argo0
= 0;
1397 char *_kwnames
[] = { "self","row","col", NULL
};
1400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_GetCellValue",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
1403 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1404 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
1405 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellValue. Expected _wxGrid_p.");
1410 wxPy_BEGIN_ALLOW_THREADS
;
1411 wxString
& _result_ref
= wxGrid_GetCellValue(_arg0
,_arg1
,_arg2
);
1412 _result
= (wxString
*) &_result_ref
;
1414 wxPy_END_ALLOW_THREADS
;
1416 _resultobj
= PyString_FromString(WXSTRINGCAST (*_result
));
1421 #define wxGrid_GetCols(_swigobj) (_swigobj->GetCols())
1422 static PyObject
*_wrap_wxGrid_GetCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1423 PyObject
* _resultobj
;
1426 PyObject
* _argo0
= 0;
1427 char *_kwnames
[] = { "self", NULL
};
1430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetCols",_kwnames
,&_argo0
))
1433 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1434 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
1435 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCols. Expected _wxGrid_p.");
1440 wxPy_BEGIN_ALLOW_THREADS
;
1441 _result
= (int )wxGrid_GetCols(_arg0
);
1443 wxPy_END_ALLOW_THREADS
;
1444 } _resultobj
= Py_BuildValue("i",_result
);
1448 #define wxGrid_GetColumnWidth(_swigobj,_swigarg0) (_swigobj->GetColumnWidth(_swigarg0))
1449 static PyObject
*_wrap_wxGrid_GetColumnWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1450 PyObject
* _resultobj
;
1454 PyObject
* _argo0
= 0;
1455 char *_kwnames
[] = { "self","col", NULL
};
1458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_GetColumnWidth",_kwnames
,&_argo0
,&_arg1
))
1461 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1462 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
1463 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetColumnWidth. Expected _wxGrid_p.");
1468 wxPy_BEGIN_ALLOW_THREADS
;
1469 _result
= (int )wxGrid_GetColumnWidth(_arg0
,_arg1
);
1471 wxPy_END_ALLOW_THREADS
;
1472 } _resultobj
= Py_BuildValue("i",_result
);
1476 #define wxGrid_GetCurrentRect(_swigobj) (_swigobj->GetCurrentRect())
1477 static PyObject
*_wrap_wxGrid_GetCurrentRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1478 PyObject
* _resultobj
;
1481 PyObject
* _argo0
= 0;
1482 char *_kwnames
[] = { "self", NULL
};
1486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetCurrentRect",_kwnames
,&_argo0
))
1489 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1490 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
1491 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCurrentRect. Expected _wxGrid_p.");
1496 wxPy_BEGIN_ALLOW_THREADS
;
1497 _result
= new wxRect (wxGrid_GetCurrentRect(_arg0
));
1499 wxPy_END_ALLOW_THREADS
;
1500 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
1501 _resultobj
= Py_BuildValue("s",_ptemp
);
1505 #define wxGrid_GetCursorColumn(_swigobj) (_swigobj->GetCursorColumn())
1506 static PyObject
*_wrap_wxGrid_GetCursorColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1507 PyObject
* _resultobj
;
1510 PyObject
* _argo0
= 0;
1511 char *_kwnames
[] = { "self", NULL
};
1514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetCursorColumn",_kwnames
,&_argo0
))
1517 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1518 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
1519 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCursorColumn. Expected _wxGrid_p.");
1524 wxPy_BEGIN_ALLOW_THREADS
;
1525 _result
= (int )wxGrid_GetCursorColumn(_arg0
);
1527 wxPy_END_ALLOW_THREADS
;
1528 } _resultobj
= Py_BuildValue("i",_result
);
1532 #define wxGrid_GetCursorRow(_swigobj) (_swigobj->GetCursorRow())
1533 static PyObject
*_wrap_wxGrid_GetCursorRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1534 PyObject
* _resultobj
;
1537 PyObject
* _argo0
= 0;
1538 char *_kwnames
[] = { "self", NULL
};
1541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetCursorRow",_kwnames
,&_argo0
))
1544 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1545 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
1546 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCursorRow. Expected _wxGrid_p.");
1551 wxPy_BEGIN_ALLOW_THREADS
;
1552 _result
= (int )wxGrid_GetCursorRow(_arg0
);
1554 wxPy_END_ALLOW_THREADS
;
1555 } _resultobj
= Py_BuildValue("i",_result
);
1559 #define wxGrid_GetEditable(_swigobj) (_swigobj->GetEditable())
1560 static PyObject
*_wrap_wxGrid_GetEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1561 PyObject
* _resultobj
;
1564 PyObject
* _argo0
= 0;
1565 char *_kwnames
[] = { "self", NULL
};
1568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetEditable",_kwnames
,&_argo0
))
1571 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1572 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
1573 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetEditable. Expected _wxGrid_p.");
1578 wxPy_BEGIN_ALLOW_THREADS
;
1579 _result
= (bool )wxGrid_GetEditable(_arg0
);
1581 wxPy_END_ALLOW_THREADS
;
1582 } _resultobj
= Py_BuildValue("i",_result
);
1586 #define wxGrid_GetHorizScrollBar(_swigobj) (_swigobj->GetHorizScrollBar())
1587 static PyObject
*_wrap_wxGrid_GetHorizScrollBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1588 PyObject
* _resultobj
;
1589 wxScrollBar
* _result
;
1591 PyObject
* _argo0
= 0;
1592 char *_kwnames
[] = { "self", NULL
};
1596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetHorizScrollBar",_kwnames
,&_argo0
))
1599 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1600 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
1601 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetHorizScrollBar. Expected _wxGrid_p.");
1606 wxPy_BEGIN_ALLOW_THREADS
;
1607 _result
= (wxScrollBar
*)wxGrid_GetHorizScrollBar(_arg0
);
1609 wxPy_END_ALLOW_THREADS
;
1611 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScrollBar_p");
1612 _resultobj
= Py_BuildValue("s",_ptemp
);
1615 _resultobj
= Py_None
;
1620 #define wxGrid_GetLabelAlignment(_swigobj,_swigarg0) (_swigobj->GetLabelAlignment(_swigarg0))
1621 static PyObject
*_wrap_wxGrid_GetLabelAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1622 PyObject
* _resultobj
;
1626 PyObject
* _argo0
= 0;
1627 char *_kwnames
[] = { "self","orientation", NULL
};
1630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_GetLabelAlignment",_kwnames
,&_argo0
,&_arg1
))
1633 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1634 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
1635 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetLabelAlignment. Expected _wxGrid_p.");
1640 wxPy_BEGIN_ALLOW_THREADS
;
1641 _result
= (int )wxGrid_GetLabelAlignment(_arg0
,_arg1
);
1643 wxPy_END_ALLOW_THREADS
;
1644 } _resultobj
= Py_BuildValue("i",_result
);
1648 #define wxGrid_GetLabelBackgroundColour(_swigobj) (_swigobj->GetLabelBackgroundColour())
1649 static PyObject
*_wrap_wxGrid_GetLabelBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1650 PyObject
* _resultobj
;
1653 PyObject
* _argo0
= 0;
1654 char *_kwnames
[] = { "self", NULL
};
1658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetLabelBackgroundColour",_kwnames
,&_argo0
))
1661 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1662 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
1663 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetLabelBackgroundColour. Expected _wxGrid_p.");
1668 wxPy_BEGIN_ALLOW_THREADS
;
1669 wxColour
& _result_ref
= wxGrid_GetLabelBackgroundColour(_arg0
);
1670 _result
= (wxColour
*) &_result_ref
;
1672 wxPy_END_ALLOW_THREADS
;
1674 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
1675 _resultobj
= Py_BuildValue("s",_ptemp
);
1678 _resultobj
= Py_None
;
1683 #define wxGrid_GetLabelSize(_swigobj,_swigarg0) (_swigobj->GetLabelSize(_swigarg0))
1684 static PyObject
*_wrap_wxGrid_GetLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1685 PyObject
* _resultobj
;
1689 PyObject
* _argo0
= 0;
1690 char *_kwnames
[] = { "self","orientation", NULL
};
1693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_GetLabelSize",_kwnames
,&_argo0
,&_arg1
))
1696 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1697 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
1698 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetLabelSize. Expected _wxGrid_p.");
1703 wxPy_BEGIN_ALLOW_THREADS
;
1704 _result
= (int )wxGrid_GetLabelSize(_arg0
,_arg1
);
1706 wxPy_END_ALLOW_THREADS
;
1707 } _resultobj
= Py_BuildValue("i",_result
);
1711 #define wxGrid_GetLabelTextColour(_swigobj) (_swigobj->GetLabelTextColour())
1712 static PyObject
*_wrap_wxGrid_GetLabelTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1713 PyObject
* _resultobj
;
1716 PyObject
* _argo0
= 0;
1717 char *_kwnames
[] = { "self", NULL
};
1721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetLabelTextColour",_kwnames
,&_argo0
))
1724 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1725 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
1726 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetLabelTextColour. Expected _wxGrid_p.");
1731 wxPy_BEGIN_ALLOW_THREADS
;
1732 wxColour
& _result_ref
= wxGrid_GetLabelTextColour(_arg0
);
1733 _result
= (wxColour
*) &_result_ref
;
1735 wxPy_END_ALLOW_THREADS
;
1737 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
1738 _resultobj
= Py_BuildValue("s",_ptemp
);
1741 _resultobj
= Py_None
;
1746 #define wxGrid_GetLabelTextFont(_swigobj) (_swigobj->GetLabelTextFont())
1747 static PyObject
*_wrap_wxGrid_GetLabelTextFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1748 PyObject
* _resultobj
;
1751 PyObject
* _argo0
= 0;
1752 char *_kwnames
[] = { "self", NULL
};
1756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetLabelTextFont",_kwnames
,&_argo0
))
1759 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1760 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
1761 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetLabelTextFont. Expected _wxGrid_p.");
1766 wxPy_BEGIN_ALLOW_THREADS
;
1767 wxFont
& _result_ref
= wxGrid_GetLabelTextFont(_arg0
);
1768 _result
= (wxFont
*) &_result_ref
;
1770 wxPy_END_ALLOW_THREADS
;
1772 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
1773 _resultobj
= Py_BuildValue("s",_ptemp
);
1776 _resultobj
= Py_None
;
1781 #define wxGrid_GetLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetLabelValue(_swigarg0,_swigarg1))
1782 static PyObject
*_wrap_wxGrid_GetLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1783 PyObject
* _resultobj
;
1788 PyObject
* _argo0
= 0;
1789 char *_kwnames
[] = { "self","orientation","pos", NULL
};
1792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_GetLabelValue",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
1795 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1796 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
1797 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetLabelValue. Expected _wxGrid_p.");
1802 wxPy_BEGIN_ALLOW_THREADS
;
1803 wxString
& _result_ref
= wxGrid_GetLabelValue(_arg0
,_arg1
,_arg2
);
1804 _result
= (wxString
*) &_result_ref
;
1806 wxPy_END_ALLOW_THREADS
;
1808 _resultobj
= PyString_FromString(WXSTRINGCAST (*_result
));
1813 #define wxGrid_GetRowHeight(_swigobj,_swigarg0) (_swigobj->GetRowHeight(_swigarg0))
1814 static PyObject
*_wrap_wxGrid_GetRowHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1815 PyObject
* _resultobj
;
1819 PyObject
* _argo0
= 0;
1820 char *_kwnames
[] = { "self","row", NULL
};
1823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_GetRowHeight",_kwnames
,&_argo0
,&_arg1
))
1826 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1827 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
1828 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetRowHeight. Expected _wxGrid_p.");
1833 wxPy_BEGIN_ALLOW_THREADS
;
1834 _result
= (int )wxGrid_GetRowHeight(_arg0
,_arg1
);
1836 wxPy_END_ALLOW_THREADS
;
1837 } _resultobj
= Py_BuildValue("i",_result
);
1841 #define wxGrid_GetRows(_swigobj) (_swigobj->GetRows())
1842 static PyObject
*_wrap_wxGrid_GetRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1843 PyObject
* _resultobj
;
1846 PyObject
* _argo0
= 0;
1847 char *_kwnames
[] = { "self", NULL
};
1850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetRows",_kwnames
,&_argo0
))
1853 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1854 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
1855 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetRows. Expected _wxGrid_p.");
1860 wxPy_BEGIN_ALLOW_THREADS
;
1861 _result
= (int )wxGrid_GetRows(_arg0
);
1863 wxPy_END_ALLOW_THREADS
;
1864 } _resultobj
= Py_BuildValue("i",_result
);
1868 #define wxGrid_GetScrollPosX(_swigobj) (_swigobj->GetScrollPosX())
1869 static PyObject
*_wrap_wxGrid_GetScrollPosX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1870 PyObject
* _resultobj
;
1873 PyObject
* _argo0
= 0;
1874 char *_kwnames
[] = { "self", NULL
};
1877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetScrollPosX",_kwnames
,&_argo0
))
1880 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1881 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
1882 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetScrollPosX. Expected _wxGrid_p.");
1887 wxPy_BEGIN_ALLOW_THREADS
;
1888 _result
= (int )wxGrid_GetScrollPosX(_arg0
);
1890 wxPy_END_ALLOW_THREADS
;
1891 } _resultobj
= Py_BuildValue("i",_result
);
1895 #define wxGrid_GetScrollPosY(_swigobj) (_swigobj->GetScrollPosY())
1896 static PyObject
*_wrap_wxGrid_GetScrollPosY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1897 PyObject
* _resultobj
;
1900 PyObject
* _argo0
= 0;
1901 char *_kwnames
[] = { "self", NULL
};
1904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetScrollPosY",_kwnames
,&_argo0
))
1907 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1908 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
1909 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetScrollPosY. Expected _wxGrid_p.");
1914 wxPy_BEGIN_ALLOW_THREADS
;
1915 _result
= (int )wxGrid_GetScrollPosY(_arg0
);
1917 wxPy_END_ALLOW_THREADS
;
1918 } _resultobj
= Py_BuildValue("i",_result
);
1922 #define wxGrid_GetTextItem(_swigobj) (_swigobj->GetTextItem())
1923 static PyObject
*_wrap_wxGrid_GetTextItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1924 PyObject
* _resultobj
;
1925 wxTextCtrl
* _result
;
1927 PyObject
* _argo0
= 0;
1928 char *_kwnames
[] = { "self", NULL
};
1932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetTextItem",_kwnames
,&_argo0
))
1935 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1936 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
1937 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetTextItem. Expected _wxGrid_p.");
1942 wxPy_BEGIN_ALLOW_THREADS
;
1943 _result
= (wxTextCtrl
*)wxGrid_GetTextItem(_arg0
);
1945 wxPy_END_ALLOW_THREADS
;
1947 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTextCtrl_p");
1948 _resultobj
= Py_BuildValue("s",_ptemp
);
1951 _resultobj
= Py_None
;
1956 #define wxGrid_GetVertScrollBar(_swigobj) (_swigobj->GetVertScrollBar())
1957 static PyObject
*_wrap_wxGrid_GetVertScrollBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1958 PyObject
* _resultobj
;
1959 wxScrollBar
* _result
;
1961 PyObject
* _argo0
= 0;
1962 char *_kwnames
[] = { "self", NULL
};
1966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetVertScrollBar",_kwnames
,&_argo0
))
1969 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1970 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
1971 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetVertScrollBar. Expected _wxGrid_p.");
1976 wxPy_BEGIN_ALLOW_THREADS
;
1977 _result
= (wxScrollBar
*)wxGrid_GetVertScrollBar(_arg0
);
1979 wxPy_END_ALLOW_THREADS
;
1981 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScrollBar_p");
1982 _resultobj
= Py_BuildValue("s",_ptemp
);
1985 _resultobj
= Py_None
;
1990 #define wxGrid_InsertCols(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertCols(_swigarg0,_swigarg1,_swigarg2))
1991 static PyObject
*_wrap_wxGrid_InsertCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1992 PyObject
* _resultobj
;
1995 int _arg1
= (int ) 0;
1996 int _arg2
= (int ) 1;
1997 bool _arg3
= (bool ) TRUE
;
1998 PyObject
* _argo0
= 0;
1999 int tempbool3
= (int) TRUE
;
2000 char *_kwnames
[] = { "self","pos","n","updateLabels", NULL
};
2003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iii:wxGrid_InsertCols",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
2006 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2007 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
2008 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_InsertCols. Expected _wxGrid_p.");
2012 _arg3
= (bool ) tempbool3
;
2014 wxPy_BEGIN_ALLOW_THREADS
;
2015 _result
= (bool )wxGrid_InsertCols(_arg0
,_arg1
,_arg2
,_arg3
);
2017 wxPy_END_ALLOW_THREADS
;
2018 } _resultobj
= Py_BuildValue("i",_result
);
2022 #define wxGrid_InsertRows(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertRows(_swigarg0,_swigarg1,_swigarg2))
2023 static PyObject
*_wrap_wxGrid_InsertRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2024 PyObject
* _resultobj
;
2027 int _arg1
= (int ) 0;
2028 int _arg2
= (int ) 1;
2029 bool _arg3
= (bool ) TRUE
;
2030 PyObject
* _argo0
= 0;
2031 int tempbool3
= (int) TRUE
;
2032 char *_kwnames
[] = { "self","pos","n","updateLabels", NULL
};
2035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iii:wxGrid_InsertRows",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
2038 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2039 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
2040 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_InsertRows. Expected _wxGrid_p.");
2044 _arg3
= (bool ) tempbool3
;
2046 wxPy_BEGIN_ALLOW_THREADS
;
2047 _result
= (bool )wxGrid_InsertRows(_arg0
,_arg1
,_arg2
,_arg3
);
2049 wxPy_END_ALLOW_THREADS
;
2050 } _resultobj
= Py_BuildValue("i",_result
);
2054 #define wxGrid_OnActivate(_swigobj,_swigarg0) (_swigobj->OnActivate(_swigarg0))
2055 static PyObject
*_wrap_wxGrid_OnActivate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2056 PyObject
* _resultobj
;
2059 PyObject
* _argo0
= 0;
2061 char *_kwnames
[] = { "self","active", NULL
};
2064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_OnActivate",_kwnames
,&_argo0
,&tempbool1
))
2067 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2068 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
2069 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_OnActivate. Expected _wxGrid_p.");
2073 _arg1
= (bool ) tempbool1
;
2075 wxPy_BEGIN_ALLOW_THREADS
;
2076 wxGrid_OnActivate(_arg0
,_arg1
);
2078 wxPy_END_ALLOW_THREADS
;
2079 } Py_INCREF(Py_None
);
2080 _resultobj
= Py_None
;
2084 #define wxGrid_SetCellAlignment(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellAlignment(_swigarg0,_swigarg1,_swigarg2))
2085 static PyObject
*_wrap_wxGrid_SetCellAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2086 PyObject
* _resultobj
;
2091 PyObject
* _argo0
= 0;
2092 char *_kwnames
[] = { "self","alignment","row","col", NULL
};
2095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiii:wxGrid_SetCellAlignment",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
2098 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2099 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
2100 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellAlignment. Expected _wxGrid_p.");
2105 wxPy_BEGIN_ALLOW_THREADS
;
2106 wxGrid_SetCellAlignment(_arg0
,_arg1
,_arg2
,_arg3
);
2108 wxPy_END_ALLOW_THREADS
;
2109 } Py_INCREF(Py_None
);
2110 _resultobj
= Py_None
;
2114 #define wxGrid_SetDefCellAlignment(_swigobj,_swigarg0) (_swigobj->SetCellAlignment(_swigarg0))
2115 static PyObject
*_wrap_wxGrid_SetDefCellAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2116 PyObject
* _resultobj
;
2119 PyObject
* _argo0
= 0;
2120 char *_kwnames
[] = { "self","alignment", NULL
};
2123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_SetDefCellAlignment",_kwnames
,&_argo0
,&_arg1
))
2126 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2127 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
2128 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetDefCellAlignment. Expected _wxGrid_p.");
2133 wxPy_BEGIN_ALLOW_THREADS
;
2134 wxGrid_SetDefCellAlignment(_arg0
,_arg1
);
2136 wxPy_END_ALLOW_THREADS
;
2137 } Py_INCREF(Py_None
);
2138 _resultobj
= Py_None
;
2142 #define wxGrid_SetCellBackgroundColour(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellBackgroundColour(_swigarg0,_swigarg1,_swigarg2))
2143 static PyObject
*_wrap_wxGrid_SetCellBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2144 PyObject
* _resultobj
;
2149 PyObject
* _argo0
= 0;
2150 PyObject
* _argo1
= 0;
2151 char *_kwnames
[] = { "self","colour","row","col", NULL
};
2154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxGrid_SetCellBackgroundColour",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
2157 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2158 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
2159 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellBackgroundColour. Expected _wxGrid_p.");
2164 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2165 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxColour_p")) {
2166 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_SetCellBackgroundColour. Expected _wxColour_p.");
2171 wxPy_BEGIN_ALLOW_THREADS
;
2172 wxGrid_SetCellBackgroundColour(_arg0
,*_arg1
,_arg2
,_arg3
);
2174 wxPy_END_ALLOW_THREADS
;
2175 } Py_INCREF(Py_None
);
2176 _resultobj
= Py_None
;
2180 #define wxGrid_SetDefCellBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetCellBackgroundColour(_swigarg0))
2181 static PyObject
*_wrap_wxGrid_SetDefCellBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2182 PyObject
* _resultobj
;
2185 PyObject
* _argo0
= 0;
2186 PyObject
* _argo1
= 0;
2187 char *_kwnames
[] = { "self","colour", NULL
};
2190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetDefCellBackgroundColour",_kwnames
,&_argo0
,&_argo1
))
2193 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2194 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
2195 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetDefCellBackgroundColour. Expected _wxGrid_p.");
2200 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2201 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxColour_p")) {
2202 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_SetDefCellBackgroundColour. Expected _wxColour_p.");
2207 wxPy_BEGIN_ALLOW_THREADS
;
2208 wxGrid_SetDefCellBackgroundColour(_arg0
,*_arg1
);
2210 wxPy_END_ALLOW_THREADS
;
2211 } Py_INCREF(Py_None
);
2212 _resultobj
= Py_None
;
2216 #define wxGrid_SetCellTextColour(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellTextColour(_swigarg0,_swigarg1,_swigarg2))
2217 static PyObject
*_wrap_wxGrid_SetCellTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2218 PyObject
* _resultobj
;
2223 PyObject
* _argo0
= 0;
2224 PyObject
* _argo1
= 0;
2225 char *_kwnames
[] = { "self","colour","row","col", NULL
};
2228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxGrid_SetCellTextColour",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
2231 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2232 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
2233 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellTextColour. Expected _wxGrid_p.");
2238 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2239 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxColour_p")) {
2240 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_SetCellTextColour. Expected _wxColour_p.");
2245 wxPy_BEGIN_ALLOW_THREADS
;
2246 wxGrid_SetCellTextColour(_arg0
,*_arg1
,_arg2
,_arg3
);
2248 wxPy_END_ALLOW_THREADS
;
2249 } Py_INCREF(Py_None
);
2250 _resultobj
= Py_None
;
2254 #define wxGrid_SetDefCellTextColour(_swigobj,_swigarg0) (_swigobj->SetCellTextColour(_swigarg0))
2255 static PyObject
*_wrap_wxGrid_SetDefCellTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2256 PyObject
* _resultobj
;
2259 PyObject
* _argo0
= 0;
2260 PyObject
* _argo1
= 0;
2261 char *_kwnames
[] = { "self","colour", NULL
};
2264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetDefCellTextColour",_kwnames
,&_argo0
,&_argo1
))
2267 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2268 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
2269 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetDefCellTextColour. Expected _wxGrid_p.");
2274 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2275 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxColour_p")) {
2276 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_SetDefCellTextColour. Expected _wxColour_p.");
2281 wxPy_BEGIN_ALLOW_THREADS
;
2282 wxGrid_SetDefCellTextColour(_arg0
,*_arg1
);
2284 wxPy_END_ALLOW_THREADS
;
2285 } Py_INCREF(Py_None
);
2286 _resultobj
= Py_None
;
2290 #define wxGrid_SetCellTextFont(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellTextFont(_swigarg0,_swigarg1,_swigarg2))
2291 static PyObject
*_wrap_wxGrid_SetCellTextFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2292 PyObject
* _resultobj
;
2297 PyObject
* _argo0
= 0;
2298 PyObject
* _argo1
= 0;
2299 char *_kwnames
[] = { "self","font","row","col", NULL
};
2302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxGrid_SetCellTextFont",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
2305 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2306 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
2307 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellTextFont. Expected _wxGrid_p.");
2312 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2313 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
2314 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_SetCellTextFont. Expected _wxFont_p.");
2319 wxPy_BEGIN_ALLOW_THREADS
;
2320 wxGrid_SetCellTextFont(_arg0
,*_arg1
,_arg2
,_arg3
);
2322 wxPy_END_ALLOW_THREADS
;
2323 } Py_INCREF(Py_None
);
2324 _resultobj
= Py_None
;
2328 #define wxGrid_SetDefCellTextFont(_swigobj,_swigarg0) (_swigobj->SetCellTextFont(_swigarg0))
2329 static PyObject
*_wrap_wxGrid_SetDefCellTextFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2330 PyObject
* _resultobj
;
2333 PyObject
* _argo0
= 0;
2334 PyObject
* _argo1
= 0;
2335 char *_kwnames
[] = { "self","font", NULL
};
2338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetDefCellTextFont",_kwnames
,&_argo0
,&_argo1
))
2341 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2342 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
2343 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetDefCellTextFont. Expected _wxGrid_p.");
2348 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2349 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
2350 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_SetDefCellTextFont. Expected _wxFont_p.");
2355 wxPy_BEGIN_ALLOW_THREADS
;
2356 wxGrid_SetDefCellTextFont(_arg0
,*_arg1
);
2358 wxPy_END_ALLOW_THREADS
;
2359 } Py_INCREF(Py_None
);
2360 _resultobj
= Py_None
;
2364 #define wxGrid_SetCellValue(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellValue(_swigarg0,_swigarg1,_swigarg2))
2365 static PyObject
*_wrap_wxGrid_SetCellValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2366 PyObject
* _resultobj
;
2371 PyObject
* _argo0
= 0;
2372 PyObject
* _obj1
= 0;
2373 char *_kwnames
[] = { "self","val","row","col", NULL
};
2376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxGrid_SetCellValue",_kwnames
,&_argo0
,&_obj1
,&_arg2
,&_arg3
))
2379 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2380 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
2381 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellValue. Expected _wxGrid_p.");
2386 if (!PyString_Check(_obj1
)) {
2387 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2390 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
2393 wxPy_BEGIN_ALLOW_THREADS
;
2394 wxGrid_SetCellValue(_arg0
,*_arg1
,_arg2
,_arg3
);
2396 wxPy_END_ALLOW_THREADS
;
2397 } Py_INCREF(Py_None
);
2398 _resultobj
= Py_None
;
2406 #define wxGrid_SetColumnWidth(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColumnWidth(_swigarg0,_swigarg1))
2407 static PyObject
*_wrap_wxGrid_SetColumnWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2408 PyObject
* _resultobj
;
2412 PyObject
* _argo0
= 0;
2413 char *_kwnames
[] = { "self","col","width", NULL
};
2416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_SetColumnWidth",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2419 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2420 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
2421 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetColumnWidth. Expected _wxGrid_p.");
2426 wxPy_BEGIN_ALLOW_THREADS
;
2427 wxGrid_SetColumnWidth(_arg0
,_arg1
,_arg2
);
2429 wxPy_END_ALLOW_THREADS
;
2430 } Py_INCREF(Py_None
);
2431 _resultobj
= Py_None
;
2435 #define wxGrid_SetDividerPen(_swigobj,_swigarg0) (_swigobj->SetDividerPen(_swigarg0))
2436 static PyObject
*_wrap_wxGrid_SetDividerPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2437 PyObject
* _resultobj
;
2440 PyObject
* _argo0
= 0;
2441 PyObject
* _argo1
= 0;
2442 char *_kwnames
[] = { "self","pen", NULL
};
2445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetDividerPen",_kwnames
,&_argo0
,&_argo1
))
2448 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2449 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
2450 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetDividerPen. Expected _wxGrid_p.");
2455 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2456 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPen_p")) {
2457 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_SetDividerPen. Expected _wxPen_p.");
2462 wxPy_BEGIN_ALLOW_THREADS
;
2463 wxGrid_SetDividerPen(_arg0
,*_arg1
);
2465 wxPy_END_ALLOW_THREADS
;
2466 } Py_INCREF(Py_None
);
2467 _resultobj
= Py_None
;
2471 #define wxGrid_SetEditable(_swigobj,_swigarg0) (_swigobj->SetEditable(_swigarg0))
2472 static PyObject
*_wrap_wxGrid_SetEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2473 PyObject
* _resultobj
;
2476 PyObject
* _argo0
= 0;
2478 char *_kwnames
[] = { "self","editable", NULL
};
2481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_SetEditable",_kwnames
,&_argo0
,&tempbool1
))
2484 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2485 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
2486 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetEditable. Expected _wxGrid_p.");
2490 _arg1
= (bool ) tempbool1
;
2492 wxPy_BEGIN_ALLOW_THREADS
;
2493 wxGrid_SetEditable(_arg0
,_arg1
);
2495 wxPy_END_ALLOW_THREADS
;
2496 } Py_INCREF(Py_None
);
2497 _resultobj
= Py_None
;
2501 #define wxGrid_SetGridCursor(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetGridCursor(_swigarg0,_swigarg1))
2502 static PyObject
*_wrap_wxGrid_SetGridCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2503 PyObject
* _resultobj
;
2507 PyObject
* _argo0
= 0;
2508 char *_kwnames
[] = { "self","row","col", NULL
};
2511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_SetGridCursor",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2514 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2515 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
2516 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetGridCursor. Expected _wxGrid_p.");
2521 wxPy_BEGIN_ALLOW_THREADS
;
2522 wxGrid_SetGridCursor(_arg0
,_arg1
,_arg2
);
2524 wxPy_END_ALLOW_THREADS
;
2525 } Py_INCREF(Py_None
);
2526 _resultobj
= Py_None
;
2530 #define wxGrid_SetLabelAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabelAlignment(_swigarg0,_swigarg1))
2531 static PyObject
*_wrap_wxGrid_SetLabelAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2532 PyObject
* _resultobj
;
2536 PyObject
* _argo0
= 0;
2537 char *_kwnames
[] = { "self","orientation","alignment", NULL
};
2540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_SetLabelAlignment",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2543 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2544 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
2545 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetLabelAlignment. Expected _wxGrid_p.");
2550 wxPy_BEGIN_ALLOW_THREADS
;
2551 wxGrid_SetLabelAlignment(_arg0
,_arg1
,_arg2
);
2553 wxPy_END_ALLOW_THREADS
;
2554 } Py_INCREF(Py_None
);
2555 _resultobj
= Py_None
;
2559 #define wxGrid_SetLabelBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetLabelBackgroundColour(_swigarg0))
2560 static PyObject
*_wrap_wxGrid_SetLabelBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2561 PyObject
* _resultobj
;
2564 PyObject
* _argo0
= 0;
2565 PyObject
* _argo1
= 0;
2566 char *_kwnames
[] = { "self","value", NULL
};
2569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetLabelBackgroundColour",_kwnames
,&_argo0
,&_argo1
))
2572 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2573 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
2574 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetLabelBackgroundColour. Expected _wxGrid_p.");
2579 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2580 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxColour_p")) {
2581 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_SetLabelBackgroundColour. Expected _wxColour_p.");
2586 wxPy_BEGIN_ALLOW_THREADS
;
2587 wxGrid_SetLabelBackgroundColour(_arg0
,*_arg1
);
2589 wxPy_END_ALLOW_THREADS
;
2590 } Py_INCREF(Py_None
);
2591 _resultobj
= Py_None
;
2595 #define wxGrid_SetLabelSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabelSize(_swigarg0,_swigarg1))
2596 static PyObject
*_wrap_wxGrid_SetLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2597 PyObject
* _resultobj
;
2601 PyObject
* _argo0
= 0;
2602 char *_kwnames
[] = { "self","orientation","size", NULL
};
2605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_SetLabelSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2608 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2609 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
2610 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetLabelSize. Expected _wxGrid_p.");
2615 wxPy_BEGIN_ALLOW_THREADS
;
2616 wxGrid_SetLabelSize(_arg0
,_arg1
,_arg2
);
2618 wxPy_END_ALLOW_THREADS
;
2619 } Py_INCREF(Py_None
);
2620 _resultobj
= Py_None
;
2624 #define wxGrid_SetLabelTextColour(_swigobj,_swigarg0) (_swigobj->SetLabelTextColour(_swigarg0))
2625 static PyObject
*_wrap_wxGrid_SetLabelTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2626 PyObject
* _resultobj
;
2629 PyObject
* _argo0
= 0;
2630 PyObject
* _argo1
= 0;
2631 char *_kwnames
[] = { "self","value", NULL
};
2634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetLabelTextColour",_kwnames
,&_argo0
,&_argo1
))
2637 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2638 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
2639 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetLabelTextColour. Expected _wxGrid_p.");
2644 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2645 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxColour_p")) {
2646 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_SetLabelTextColour. Expected _wxColour_p.");
2651 wxPy_BEGIN_ALLOW_THREADS
;
2652 wxGrid_SetLabelTextColour(_arg0
,*_arg1
);
2654 wxPy_END_ALLOW_THREADS
;
2655 } Py_INCREF(Py_None
);
2656 _resultobj
= Py_None
;
2660 #define wxGrid_SetLabelTextFont(_swigobj,_swigarg0) (_swigobj->SetLabelTextFont(_swigarg0))
2661 static PyObject
*_wrap_wxGrid_SetLabelTextFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2662 PyObject
* _resultobj
;
2665 PyObject
* _argo0
= 0;
2666 PyObject
* _argo1
= 0;
2667 char *_kwnames
[] = { "self","font", NULL
};
2670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetLabelTextFont",_kwnames
,&_argo0
,&_argo1
))
2673 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2674 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
2675 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetLabelTextFont. Expected _wxGrid_p.");
2680 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2681 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
2682 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_SetLabelTextFont. Expected _wxFont_p.");
2687 wxPy_BEGIN_ALLOW_THREADS
;
2688 wxGrid_SetLabelTextFont(_arg0
,*_arg1
);
2690 wxPy_END_ALLOW_THREADS
;
2691 } Py_INCREF(Py_None
);
2692 _resultobj
= Py_None
;
2696 #define wxGrid_SetLabelValue(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetLabelValue(_swigarg0,_swigarg1,_swigarg2))
2697 static PyObject
*_wrap_wxGrid_SetLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2698 PyObject
* _resultobj
;
2703 PyObject
* _argo0
= 0;
2704 PyObject
* _obj2
= 0;
2705 char *_kwnames
[] = { "self","orientation","value","pos", NULL
};
2708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOi:wxGrid_SetLabelValue",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_arg3
))
2711 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2712 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
2713 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetLabelValue. Expected _wxGrid_p.");
2718 if (!PyString_Check(_obj2
)) {
2719 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2722 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
2725 wxPy_BEGIN_ALLOW_THREADS
;
2726 wxGrid_SetLabelValue(_arg0
,_arg1
,*_arg2
,_arg3
);
2728 wxPy_END_ALLOW_THREADS
;
2729 } Py_INCREF(Py_None
);
2730 _resultobj
= Py_None
;
2738 #define wxGrid_SetRowHeight(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowHeight(_swigarg0,_swigarg1))
2739 static PyObject
*_wrap_wxGrid_SetRowHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2740 PyObject
* _resultobj
;
2744 PyObject
* _argo0
= 0;
2745 char *_kwnames
[] = { "self","row","height", NULL
};
2748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_SetRowHeight",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2751 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2752 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
2753 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetRowHeight. Expected _wxGrid_p.");
2758 wxPy_BEGIN_ALLOW_THREADS
;
2759 wxGrid_SetRowHeight(_arg0
,_arg1
,_arg2
);
2761 wxPy_END_ALLOW_THREADS
;
2762 } Py_INCREF(Py_None
);
2763 _resultobj
= Py_None
;
2767 #define wxGrid_UpdateDimensions(_swigobj) (_swigobj->UpdateDimensions())
2768 static PyObject
*_wrap_wxGrid_UpdateDimensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2769 PyObject
* _resultobj
;
2771 PyObject
* _argo0
= 0;
2772 char *_kwnames
[] = { "self", NULL
};
2775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_UpdateDimensions",_kwnames
,&_argo0
))
2778 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2779 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
2780 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_UpdateDimensions. Expected _wxGrid_p.");
2785 wxPy_BEGIN_ALLOW_THREADS
;
2786 wxGrid_UpdateDimensions(_arg0
);
2788 wxPy_END_ALLOW_THREADS
;
2789 } Py_INCREF(Py_None
);
2790 _resultobj
= Py_None
;
2794 #define wxGrid_GetEditInPlace(_swigobj) (_swigobj->GetEditInPlace())
2795 static PyObject
*_wrap_wxGrid_GetEditInPlace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2796 PyObject
* _resultobj
;
2799 PyObject
* _argo0
= 0;
2800 char *_kwnames
[] = { "self", NULL
};
2803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetEditInPlace",_kwnames
,&_argo0
))
2806 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2807 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
2808 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetEditInPlace. Expected _wxGrid_p.");
2813 wxPy_BEGIN_ALLOW_THREADS
;
2814 _result
= (bool )wxGrid_GetEditInPlace(_arg0
);
2816 wxPy_END_ALLOW_THREADS
;
2817 } _resultobj
= Py_BuildValue("i",_result
);
2821 #define wxGrid_SetEditInPlace(_swigobj,_swigarg0) (_swigobj->SetEditInPlace(_swigarg0))
2822 static PyObject
*_wrap_wxGrid_SetEditInPlace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2823 PyObject
* _resultobj
;
2825 int _arg1
= (int ) TRUE
;
2826 PyObject
* _argo0
= 0;
2827 char *_kwnames
[] = { "self","edit", NULL
};
2830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxGrid_SetEditInPlace",_kwnames
,&_argo0
,&_arg1
))
2833 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2834 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
2835 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetEditInPlace. Expected _wxGrid_p.");
2840 wxPy_BEGIN_ALLOW_THREADS
;
2841 wxGrid_SetEditInPlace(_arg0
,_arg1
);
2843 wxPy_END_ALLOW_THREADS
;
2844 } Py_INCREF(Py_None
);
2845 _resultobj
= Py_None
;
2849 static void *SwigwxGridEventTowxEvent(void *ptr
) {
2852 src
= (wxGridEvent
*) ptr
;
2853 dest
= (wxEvent
*) src
;
2854 return (void *) dest
;
2857 #define wxGridEvent_m_row_set(_swigobj,_swigval) (_swigobj->m_row = _swigval,_swigval)
2858 static PyObject
*_wrap_wxGridEvent_m_row_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2859 PyObject
* _resultobj
;
2861 wxGridEvent
* _arg0
;
2863 PyObject
* _argo0
= 0;
2864 char *_kwnames
[] = { "self","m_row", NULL
};
2867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridEvent_m_row_set",_kwnames
,&_argo0
,&_arg1
))
2870 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2871 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
2872 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_m_row_set. Expected _wxGridEvent_p.");
2877 wxPy_BEGIN_ALLOW_THREADS
;
2878 _result
= (int )wxGridEvent_m_row_set(_arg0
,_arg1
);
2880 wxPy_END_ALLOW_THREADS
;
2881 } _resultobj
= Py_BuildValue("i",_result
);
2885 #define wxGridEvent_m_row_get(_swigobj) ((int ) _swigobj->m_row)
2886 static PyObject
*_wrap_wxGridEvent_m_row_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2887 PyObject
* _resultobj
;
2889 wxGridEvent
* _arg0
;
2890 PyObject
* _argo0
= 0;
2891 char *_kwnames
[] = { "self", NULL
};
2894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_m_row_get",_kwnames
,&_argo0
))
2897 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2898 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
2899 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_m_row_get. Expected _wxGridEvent_p.");
2904 wxPy_BEGIN_ALLOW_THREADS
;
2905 _result
= (int )wxGridEvent_m_row_get(_arg0
);
2907 wxPy_END_ALLOW_THREADS
;
2908 } _resultobj
= Py_BuildValue("i",_result
);
2912 #define wxGridEvent_m_col_set(_swigobj,_swigval) (_swigobj->m_col = _swigval,_swigval)
2913 static PyObject
*_wrap_wxGridEvent_m_col_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2914 PyObject
* _resultobj
;
2916 wxGridEvent
* _arg0
;
2918 PyObject
* _argo0
= 0;
2919 char *_kwnames
[] = { "self","m_col", NULL
};
2922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridEvent_m_col_set",_kwnames
,&_argo0
,&_arg1
))
2925 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2926 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
2927 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_m_col_set. Expected _wxGridEvent_p.");
2932 wxPy_BEGIN_ALLOW_THREADS
;
2933 _result
= (int )wxGridEvent_m_col_set(_arg0
,_arg1
);
2935 wxPy_END_ALLOW_THREADS
;
2936 } _resultobj
= Py_BuildValue("i",_result
);
2940 #define wxGridEvent_m_col_get(_swigobj) ((int ) _swigobj->m_col)
2941 static PyObject
*_wrap_wxGridEvent_m_col_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2942 PyObject
* _resultobj
;
2944 wxGridEvent
* _arg0
;
2945 PyObject
* _argo0
= 0;
2946 char *_kwnames
[] = { "self", NULL
};
2949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_m_col_get",_kwnames
,&_argo0
))
2952 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2953 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
2954 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_m_col_get. Expected _wxGridEvent_p.");
2959 wxPy_BEGIN_ALLOW_THREADS
;
2960 _result
= (int )wxGridEvent_m_col_get(_arg0
);
2962 wxPy_END_ALLOW_THREADS
;
2963 } _resultobj
= Py_BuildValue("i",_result
);
2967 #define wxGridEvent_m_x_set(_swigobj,_swigval) (_swigobj->m_x = _swigval,_swigval)
2968 static PyObject
*_wrap_wxGridEvent_m_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2969 PyObject
* _resultobj
;
2971 wxGridEvent
* _arg0
;
2973 PyObject
* _argo0
= 0;
2974 char *_kwnames
[] = { "self","m_x", NULL
};
2977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridEvent_m_x_set",_kwnames
,&_argo0
,&_arg1
))
2980 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2981 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
2982 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_m_x_set. Expected _wxGridEvent_p.");
2987 wxPy_BEGIN_ALLOW_THREADS
;
2988 _result
= (int )wxGridEvent_m_x_set(_arg0
,_arg1
);
2990 wxPy_END_ALLOW_THREADS
;
2991 } _resultobj
= Py_BuildValue("i",_result
);
2995 #define wxGridEvent_m_x_get(_swigobj) ((int ) _swigobj->m_x)
2996 static PyObject
*_wrap_wxGridEvent_m_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2997 PyObject
* _resultobj
;
2999 wxGridEvent
* _arg0
;
3000 PyObject
* _argo0
= 0;
3001 char *_kwnames
[] = { "self", NULL
};
3004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_m_x_get",_kwnames
,&_argo0
))
3007 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3008 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
3009 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_m_x_get. Expected _wxGridEvent_p.");
3014 wxPy_BEGIN_ALLOW_THREADS
;
3015 _result
= (int )wxGridEvent_m_x_get(_arg0
);
3017 wxPy_END_ALLOW_THREADS
;
3018 } _resultobj
= Py_BuildValue("i",_result
);
3022 #define wxGridEvent_m_y_set(_swigobj,_swigval) (_swigobj->m_y = _swigval,_swigval)
3023 static PyObject
*_wrap_wxGridEvent_m_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3024 PyObject
* _resultobj
;
3026 wxGridEvent
* _arg0
;
3028 PyObject
* _argo0
= 0;
3029 char *_kwnames
[] = { "self","m_y", NULL
};
3032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridEvent_m_y_set",_kwnames
,&_argo0
,&_arg1
))
3035 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3036 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
3037 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_m_y_set. Expected _wxGridEvent_p.");
3042 wxPy_BEGIN_ALLOW_THREADS
;
3043 _result
= (int )wxGridEvent_m_y_set(_arg0
,_arg1
);
3045 wxPy_END_ALLOW_THREADS
;
3046 } _resultobj
= Py_BuildValue("i",_result
);
3050 #define wxGridEvent_m_y_get(_swigobj) ((int ) _swigobj->m_y)
3051 static PyObject
*_wrap_wxGridEvent_m_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3052 PyObject
* _resultobj
;
3054 wxGridEvent
* _arg0
;
3055 PyObject
* _argo0
= 0;
3056 char *_kwnames
[] = { "self", NULL
};
3059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_m_y_get",_kwnames
,&_argo0
))
3062 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3063 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
3064 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_m_y_get. Expected _wxGridEvent_p.");
3069 wxPy_BEGIN_ALLOW_THREADS
;
3070 _result
= (int )wxGridEvent_m_y_get(_arg0
);
3072 wxPy_END_ALLOW_THREADS
;
3073 } _resultobj
= Py_BuildValue("i",_result
);
3077 #define wxGridEvent_m_control_set(_swigobj,_swigval) (_swigobj->m_control = _swigval,_swigval)
3078 static PyObject
*_wrap_wxGridEvent_m_control_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3079 PyObject
* _resultobj
;
3081 wxGridEvent
* _arg0
;
3083 PyObject
* _argo0
= 0;
3085 char *_kwnames
[] = { "self","m_control", NULL
};
3088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridEvent_m_control_set",_kwnames
,&_argo0
,&tempbool1
))
3091 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3092 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
3093 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_m_control_set. Expected _wxGridEvent_p.");
3097 _arg1
= (bool ) tempbool1
;
3099 wxPy_BEGIN_ALLOW_THREADS
;
3100 _result
= (bool )wxGridEvent_m_control_set(_arg0
,_arg1
);
3102 wxPy_END_ALLOW_THREADS
;
3103 } _resultobj
= Py_BuildValue("i",_result
);
3107 #define wxGridEvent_m_control_get(_swigobj) ((bool ) _swigobj->m_control)
3108 static PyObject
*_wrap_wxGridEvent_m_control_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3109 PyObject
* _resultobj
;
3111 wxGridEvent
* _arg0
;
3112 PyObject
* _argo0
= 0;
3113 char *_kwnames
[] = { "self", NULL
};
3116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_m_control_get",_kwnames
,&_argo0
))
3119 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3120 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
3121 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_m_control_get. Expected _wxGridEvent_p.");
3126 wxPy_BEGIN_ALLOW_THREADS
;
3127 _result
= (bool )wxGridEvent_m_control_get(_arg0
);
3129 wxPy_END_ALLOW_THREADS
;
3130 } _resultobj
= Py_BuildValue("i",_result
);
3134 #define wxGridEvent_m_shift_set(_swigobj,_swigval) (_swigobj->m_shift = _swigval,_swigval)
3135 static PyObject
*_wrap_wxGridEvent_m_shift_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3136 PyObject
* _resultobj
;
3138 wxGridEvent
* _arg0
;
3140 PyObject
* _argo0
= 0;
3142 char *_kwnames
[] = { "self","m_shift", NULL
};
3145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridEvent_m_shift_set",_kwnames
,&_argo0
,&tempbool1
))
3148 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3149 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
3150 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_m_shift_set. Expected _wxGridEvent_p.");
3154 _arg1
= (bool ) tempbool1
;
3156 wxPy_BEGIN_ALLOW_THREADS
;
3157 _result
= (bool )wxGridEvent_m_shift_set(_arg0
,_arg1
);
3159 wxPy_END_ALLOW_THREADS
;
3160 } _resultobj
= Py_BuildValue("i",_result
);
3164 #define wxGridEvent_m_shift_get(_swigobj) ((bool ) _swigobj->m_shift)
3165 static PyObject
*_wrap_wxGridEvent_m_shift_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3166 PyObject
* _resultobj
;
3168 wxGridEvent
* _arg0
;
3169 PyObject
* _argo0
= 0;
3170 char *_kwnames
[] = { "self", NULL
};
3173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_m_shift_get",_kwnames
,&_argo0
))
3176 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3177 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
3178 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_m_shift_get. Expected _wxGridEvent_p.");
3183 wxPy_BEGIN_ALLOW_THREADS
;
3184 _result
= (bool )wxGridEvent_m_shift_get(_arg0
);
3186 wxPy_END_ALLOW_THREADS
;
3187 } _resultobj
= Py_BuildValue("i",_result
);
3191 #define wxGridEvent_m_cell_set(_swigobj,_swigval) (_swigobj->m_cell = _swigval,_swigval)
3192 static PyObject
*_wrap_wxGridEvent_m_cell_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3193 PyObject
* _resultobj
;
3194 wxGridCell
* _result
;
3195 wxGridEvent
* _arg0
;
3197 PyObject
* _argo0
= 0;
3198 PyObject
* _argo1
= 0;
3199 char *_kwnames
[] = { "self","m_cell", NULL
};
3203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridEvent_m_cell_set",_kwnames
,&_argo0
,&_argo1
))
3206 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3207 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
3208 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_m_cell_set. Expected _wxGridEvent_p.");
3213 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3214 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCell_p")) {
3215 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridEvent_m_cell_set. Expected _wxGridCell_p.");
3220 wxPy_BEGIN_ALLOW_THREADS
;
3221 _result
= (wxGridCell
*)wxGridEvent_m_cell_set(_arg0
,_arg1
);
3223 wxPy_END_ALLOW_THREADS
;
3225 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCell_p");
3226 _resultobj
= Py_BuildValue("s",_ptemp
);
3229 _resultobj
= Py_None
;
3234 #define wxGridEvent_m_cell_get(_swigobj) ((wxGridCell *) _swigobj->m_cell)
3235 static PyObject
*_wrap_wxGridEvent_m_cell_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3236 PyObject
* _resultobj
;
3237 wxGridCell
* _result
;
3238 wxGridEvent
* _arg0
;
3239 PyObject
* _argo0
= 0;
3240 char *_kwnames
[] = { "self", NULL
};
3244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_m_cell_get",_kwnames
,&_argo0
))
3247 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3248 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
3249 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_m_cell_get. Expected _wxGridEvent_p.");
3254 wxPy_BEGIN_ALLOW_THREADS
;
3255 _result
= (wxGridCell
*)wxGridEvent_m_cell_get(_arg0
);
3257 wxPy_END_ALLOW_THREADS
;
3259 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCell_p");
3260 _resultobj
= Py_BuildValue("s",_ptemp
);
3263 _resultobj
= Py_None
;
3268 #define wxGridEvent_GetRow(_swigobj) (_swigobj->GetRow())
3269 static PyObject
*_wrap_wxGridEvent_GetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3270 PyObject
* _resultobj
;
3272 wxGridEvent
* _arg0
;
3273 PyObject
* _argo0
= 0;
3274 char *_kwnames
[] = { "self", NULL
};
3277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_GetRow",_kwnames
,&_argo0
))
3280 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3281 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
3282 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_GetRow. Expected _wxGridEvent_p.");
3287 wxPy_BEGIN_ALLOW_THREADS
;
3288 _result
= (int )wxGridEvent_GetRow(_arg0
);
3290 wxPy_END_ALLOW_THREADS
;
3291 } _resultobj
= Py_BuildValue("i",_result
);
3295 #define wxGridEvent_GetCol(_swigobj) (_swigobj->GetCol())
3296 static PyObject
*_wrap_wxGridEvent_GetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3297 PyObject
* _resultobj
;
3299 wxGridEvent
* _arg0
;
3300 PyObject
* _argo0
= 0;
3301 char *_kwnames
[] = { "self", NULL
};
3304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_GetCol",_kwnames
,&_argo0
))
3307 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3308 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
3309 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_GetCol. Expected _wxGridEvent_p.");
3314 wxPy_BEGIN_ALLOW_THREADS
;
3315 _result
= (int )wxGridEvent_GetCol(_arg0
);
3317 wxPy_END_ALLOW_THREADS
;
3318 } _resultobj
= Py_BuildValue("i",_result
);
3322 #define wxGridEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
3323 static PyObject
*_wrap_wxGridEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3324 PyObject
* _resultobj
;
3326 wxGridEvent
* _arg0
;
3327 PyObject
* _argo0
= 0;
3328 char *_kwnames
[] = { "self", NULL
};
3332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_GetPosition",_kwnames
,&_argo0
))
3335 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3336 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
3337 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_GetPosition. Expected _wxGridEvent_p.");
3342 wxPy_BEGIN_ALLOW_THREADS
;
3343 _result
= new wxPoint (wxGridEvent_GetPosition(_arg0
));
3345 wxPy_END_ALLOW_THREADS
;
3346 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
3347 _resultobj
= Py_BuildValue("s",_ptemp
);
3351 #define wxGridEvent_ControlDown(_swigobj) (_swigobj->ControlDown())
3352 static PyObject
*_wrap_wxGridEvent_ControlDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3353 PyObject
* _resultobj
;
3355 wxGridEvent
* _arg0
;
3356 PyObject
* _argo0
= 0;
3357 char *_kwnames
[] = { "self", NULL
};
3360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_ControlDown",_kwnames
,&_argo0
))
3363 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3364 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
3365 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_ControlDown. Expected _wxGridEvent_p.");
3370 wxPy_BEGIN_ALLOW_THREADS
;
3371 _result
= (bool )wxGridEvent_ControlDown(_arg0
);
3373 wxPy_END_ALLOW_THREADS
;
3374 } _resultobj
= Py_BuildValue("i",_result
);
3378 #define wxGridEvent_ShiftDown(_swigobj) (_swigobj->ShiftDown())
3379 static PyObject
*_wrap_wxGridEvent_ShiftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3380 PyObject
* _resultobj
;
3382 wxGridEvent
* _arg0
;
3383 PyObject
* _argo0
= 0;
3384 char *_kwnames
[] = { "self", NULL
};
3387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_ShiftDown",_kwnames
,&_argo0
))
3390 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3391 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
3392 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_ShiftDown. Expected _wxGridEvent_p.");
3397 wxPy_BEGIN_ALLOW_THREADS
;
3398 _result
= (bool )wxGridEvent_ShiftDown(_arg0
);
3400 wxPy_END_ALLOW_THREADS
;
3401 } _resultobj
= Py_BuildValue("i",_result
);
3405 #define wxGridEvent_GetCell(_swigobj) (_swigobj->GetCell())
3406 static PyObject
*_wrap_wxGridEvent_GetCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3407 PyObject
* _resultobj
;
3408 wxGridCell
* _result
;
3409 wxGridEvent
* _arg0
;
3410 PyObject
* _argo0
= 0;
3411 char *_kwnames
[] = { "self", NULL
};
3415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_GetCell",_kwnames
,&_argo0
))
3418 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3419 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
3420 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_GetCell. Expected _wxGridEvent_p.");
3425 wxPy_BEGIN_ALLOW_THREADS
;
3426 _result
= (wxGridCell
*)wxGridEvent_GetCell(_arg0
);
3428 wxPy_END_ALLOW_THREADS
;
3430 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCell_p");
3431 _resultobj
= Py_BuildValue("s",_ptemp
);
3434 _resultobj
= Py_None
;
3439 static void *SwigwxNotebookEventTowxNotifyEvent(void *ptr
) {
3440 wxNotebookEvent
*src
;
3441 wxNotifyEvent
*dest
;
3442 src
= (wxNotebookEvent
*) ptr
;
3443 dest
= (wxNotifyEvent
*) src
;
3444 return (void *) dest
;
3447 static void *SwigwxNotebookEventTowxCommandEvent(void *ptr
) {
3448 wxNotebookEvent
*src
;
3449 wxCommandEvent
*dest
;
3450 src
= (wxNotebookEvent
*) ptr
;
3451 dest
= (wxCommandEvent
*) src
;
3452 return (void *) dest
;
3455 static void *SwigwxNotebookEventTowxEvent(void *ptr
) {
3456 wxNotebookEvent
*src
;
3458 src
= (wxNotebookEvent
*) ptr
;
3459 dest
= (wxEvent
*) src
;
3460 return (void *) dest
;
3463 #define wxNotebookEvent_GetSelection(_swigobj) (_swigobj->GetSelection())
3464 static PyObject
*_wrap_wxNotebookEvent_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3465 PyObject
* _resultobj
;
3467 wxNotebookEvent
* _arg0
;
3468 PyObject
* _argo0
= 0;
3469 char *_kwnames
[] = { "self", NULL
};
3472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebookEvent_GetSelection",_kwnames
,&_argo0
))
3475 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3476 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebookEvent_p")) {
3477 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebookEvent_GetSelection. Expected _wxNotebookEvent_p.");
3482 wxPy_BEGIN_ALLOW_THREADS
;
3483 _result
= (int )wxNotebookEvent_GetSelection(_arg0
);
3485 wxPy_END_ALLOW_THREADS
;
3486 } _resultobj
= Py_BuildValue("i",_result
);
3490 #define wxNotebookEvent_GetOldSelection(_swigobj) (_swigobj->GetOldSelection())
3491 static PyObject
*_wrap_wxNotebookEvent_GetOldSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3492 PyObject
* _resultobj
;
3494 wxNotebookEvent
* _arg0
;
3495 PyObject
* _argo0
= 0;
3496 char *_kwnames
[] = { "self", NULL
};
3499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebookEvent_GetOldSelection",_kwnames
,&_argo0
))
3502 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3503 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebookEvent_p")) {
3504 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebookEvent_GetOldSelection. Expected _wxNotebookEvent_p.");
3509 wxPy_BEGIN_ALLOW_THREADS
;
3510 _result
= (int )wxNotebookEvent_GetOldSelection(_arg0
);
3512 wxPy_END_ALLOW_THREADS
;
3513 } _resultobj
= Py_BuildValue("i",_result
);
3517 #define wxNotebookEvent_SetOldSelection(_swigobj,_swigarg0) (_swigobj->SetOldSelection(_swigarg0))
3518 static PyObject
*_wrap_wxNotebookEvent_SetOldSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3519 PyObject
* _resultobj
;
3520 wxNotebookEvent
* _arg0
;
3522 PyObject
* _argo0
= 0;
3523 char *_kwnames
[] = { "self","page", NULL
};
3526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNotebookEvent_SetOldSelection",_kwnames
,&_argo0
,&_arg1
))
3529 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3530 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebookEvent_p")) {
3531 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebookEvent_SetOldSelection. Expected _wxNotebookEvent_p.");
3536 wxPy_BEGIN_ALLOW_THREADS
;
3537 wxNotebookEvent_SetOldSelection(_arg0
,_arg1
);
3539 wxPy_END_ALLOW_THREADS
;
3540 } Py_INCREF(Py_None
);
3541 _resultobj
= Py_None
;
3545 #define wxNotebookEvent_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
3546 static PyObject
*_wrap_wxNotebookEvent_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3547 PyObject
* _resultobj
;
3548 wxNotebookEvent
* _arg0
;
3550 PyObject
* _argo0
= 0;
3551 char *_kwnames
[] = { "self","page", NULL
};
3554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNotebookEvent_SetSelection",_kwnames
,&_argo0
,&_arg1
))
3557 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3558 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebookEvent_p")) {
3559 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebookEvent_SetSelection. Expected _wxNotebookEvent_p.");
3564 wxPy_BEGIN_ALLOW_THREADS
;
3565 wxNotebookEvent_SetSelection(_arg0
,_arg1
);
3567 wxPy_END_ALLOW_THREADS
;
3568 } Py_INCREF(Py_None
);
3569 _resultobj
= Py_None
;
3573 static void *SwigwxNotebookTowxControl(void *ptr
) {
3576 src
= (wxNotebook
*) ptr
;
3577 dest
= (wxControl
*) src
;
3578 return (void *) dest
;
3581 static void *SwigwxNotebookTowxWindow(void *ptr
) {
3584 src
= (wxNotebook
*) ptr
;
3585 dest
= (wxWindow
*) src
;
3586 return (void *) dest
;
3589 static void *SwigwxNotebookTowxEvtHandler(void *ptr
) {
3592 src
= (wxNotebook
*) ptr
;
3593 dest
= (wxEvtHandler
*) src
;
3594 return (void *) dest
;
3597 #define new_wxNotebook(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxNotebook(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
3598 static PyObject
*_wrap_new_wxNotebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3599 PyObject
* _resultobj
;
3600 wxNotebook
* _result
;
3603 wxPoint
* _arg2
= (wxPoint
*) &wxPyDefaultPosition
;
3604 wxSize
* _arg3
= (wxSize
*) &wxPyDefaultSize
;
3605 long _arg4
= (long ) 0;
3606 char * _arg5
= (char *) "notebook";
3607 PyObject
* _argo0
= 0;
3609 PyObject
* _obj2
= 0;
3611 PyObject
* _obj3
= 0;
3612 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
3616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOls:new_wxNotebook",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
3619 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3620 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3621 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxNotebook. Expected _wxWindow_p.");
3628 if (! wxPoint_helper(_obj2
, &_arg2
))
3634 if (! wxSize_helper(_obj3
, &_arg3
))
3638 wxPy_BEGIN_ALLOW_THREADS
;
3639 _result
= (wxNotebook
*)new_wxNotebook(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
3641 wxPy_END_ALLOW_THREADS
;
3643 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxNotebook_p");
3644 _resultobj
= Py_BuildValue("s",_ptemp
);
3647 _resultobj
= Py_None
;
3652 #define wxNotebook_GetPageCount(_swigobj) (_swigobj->GetPageCount())
3653 static PyObject
*_wrap_wxNotebook_GetPageCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3654 PyObject
* _resultobj
;
3657 PyObject
* _argo0
= 0;
3658 char *_kwnames
[] = { "self", NULL
};
3661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebook_GetPageCount",_kwnames
,&_argo0
))
3664 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3665 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
3666 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_GetPageCount. Expected _wxNotebook_p.");
3671 wxPy_BEGIN_ALLOW_THREADS
;
3672 _result
= (int )wxNotebook_GetPageCount(_arg0
);
3674 wxPy_END_ALLOW_THREADS
;
3675 } _resultobj
= Py_BuildValue("i",_result
);
3679 #define wxNotebook_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
3680 static PyObject
*_wrap_wxNotebook_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3681 PyObject
* _resultobj
;
3685 PyObject
* _argo0
= 0;
3686 char *_kwnames
[] = { "self","nPage", NULL
};
3689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNotebook_SetSelection",_kwnames
,&_argo0
,&_arg1
))
3692 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3693 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
3694 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_SetSelection. Expected _wxNotebook_p.");
3699 wxPy_BEGIN_ALLOW_THREADS
;
3700 _result
= (int )wxNotebook_SetSelection(_arg0
,_arg1
);
3702 wxPy_END_ALLOW_THREADS
;
3703 } _resultobj
= Py_BuildValue("i",_result
);
3707 #define wxNotebook_AdvanceSelection(_swigobj,_swigarg0) (_swigobj->AdvanceSelection(_swigarg0))
3708 static PyObject
*_wrap_wxNotebook_AdvanceSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3709 PyObject
* _resultobj
;
3711 bool _arg1
= (bool ) TRUE
;
3712 PyObject
* _argo0
= 0;
3713 int tempbool1
= (int) TRUE
;
3714 char *_kwnames
[] = { "self","bForward", NULL
};
3717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxNotebook_AdvanceSelection",_kwnames
,&_argo0
,&tempbool1
))
3720 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3721 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
3722 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_AdvanceSelection. Expected _wxNotebook_p.");
3726 _arg1
= (bool ) tempbool1
;
3728 wxPy_BEGIN_ALLOW_THREADS
;
3729 wxNotebook_AdvanceSelection(_arg0
,_arg1
);
3731 wxPy_END_ALLOW_THREADS
;
3732 } Py_INCREF(Py_None
);
3733 _resultobj
= Py_None
;
3737 #define wxNotebook_GetSelection(_swigobj) (_swigobj->GetSelection())
3738 static PyObject
*_wrap_wxNotebook_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3739 PyObject
* _resultobj
;
3742 PyObject
* _argo0
= 0;
3743 char *_kwnames
[] = { "self", NULL
};
3746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebook_GetSelection",_kwnames
,&_argo0
))
3749 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3750 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
3751 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_GetSelection. Expected _wxNotebook_p.");
3756 wxPy_BEGIN_ALLOW_THREADS
;
3757 _result
= (int )wxNotebook_GetSelection(_arg0
);
3759 wxPy_END_ALLOW_THREADS
;
3760 } _resultobj
= Py_BuildValue("i",_result
);
3764 #define wxNotebook_SetPageText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetPageText(_swigarg0,_swigarg1))
3765 static PyObject
*_wrap_wxNotebook_SetPageText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3766 PyObject
* _resultobj
;
3771 PyObject
* _argo0
= 0;
3772 PyObject
* _obj2
= 0;
3773 char *_kwnames
[] = { "self","nPage","strText", NULL
};
3776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxNotebook_SetPageText",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
3779 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3780 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
3781 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_SetPageText. Expected _wxNotebook_p.");
3786 if (!PyString_Check(_obj2
)) {
3787 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3790 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
3793 wxPy_BEGIN_ALLOW_THREADS
;
3794 _result
= (bool )wxNotebook_SetPageText(_arg0
,_arg1
,*_arg2
);
3796 wxPy_END_ALLOW_THREADS
;
3797 } _resultobj
= Py_BuildValue("i",_result
);
3805 #define wxNotebook_GetPageText(_swigobj,_swigarg0) (_swigobj->GetPageText(_swigarg0))
3806 static PyObject
*_wrap_wxNotebook_GetPageText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3807 PyObject
* _resultobj
;
3811 PyObject
* _argo0
= 0;
3812 char *_kwnames
[] = { "self","nPage", NULL
};
3815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNotebook_GetPageText",_kwnames
,&_argo0
,&_arg1
))
3818 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3819 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
3820 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_GetPageText. Expected _wxNotebook_p.");
3825 wxPy_BEGIN_ALLOW_THREADS
;
3826 _result
= new wxString (wxNotebook_GetPageText(_arg0
,_arg1
));
3828 wxPy_END_ALLOW_THREADS
;
3830 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
3838 #define wxNotebook_SetImageList(_swigobj,_swigarg0) (_swigobj->SetImageList(_swigarg0))
3839 static PyObject
*_wrap_wxNotebook_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3840 PyObject
* _resultobj
;
3842 wxImageList
* _arg1
;
3843 PyObject
* _argo0
= 0;
3844 PyObject
* _argo1
= 0;
3845 char *_kwnames
[] = { "self","imageList", NULL
};
3848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxNotebook_SetImageList",_kwnames
,&_argo0
,&_argo1
))
3851 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3852 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
3853 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_SetImageList. Expected _wxNotebook_p.");
3858 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3859 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImageList_p")) {
3860 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxNotebook_SetImageList. Expected _wxImageList_p.");
3865 wxPy_BEGIN_ALLOW_THREADS
;
3866 wxNotebook_SetImageList(_arg0
,_arg1
);
3868 wxPy_END_ALLOW_THREADS
;
3869 } Py_INCREF(Py_None
);
3870 _resultobj
= Py_None
;
3874 #define wxNotebook_GetImageList(_swigobj) (_swigobj->GetImageList())
3875 static PyObject
*_wrap_wxNotebook_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3876 PyObject
* _resultobj
;
3877 wxImageList
* _result
;
3879 PyObject
* _argo0
= 0;
3880 char *_kwnames
[] = { "self", NULL
};
3884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebook_GetImageList",_kwnames
,&_argo0
))
3887 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3888 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
3889 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_GetImageList. Expected _wxNotebook_p.");
3894 wxPy_BEGIN_ALLOW_THREADS
;
3895 _result
= (wxImageList
*)wxNotebook_GetImageList(_arg0
);
3897 wxPy_END_ALLOW_THREADS
;
3899 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxImageList_p");
3900 _resultobj
= Py_BuildValue("s",_ptemp
);
3903 _resultobj
= Py_None
;
3908 #define wxNotebook_GetPageImage(_swigobj,_swigarg0) (_swigobj->GetPageImage(_swigarg0))
3909 static PyObject
*_wrap_wxNotebook_GetPageImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3910 PyObject
* _resultobj
;
3914 PyObject
* _argo0
= 0;
3915 char *_kwnames
[] = { "self","nPage", NULL
};
3918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNotebook_GetPageImage",_kwnames
,&_argo0
,&_arg1
))
3921 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3922 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
3923 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_GetPageImage. Expected _wxNotebook_p.");
3928 wxPy_BEGIN_ALLOW_THREADS
;
3929 _result
= (int )wxNotebook_GetPageImage(_arg0
,_arg1
);
3931 wxPy_END_ALLOW_THREADS
;
3932 } _resultobj
= Py_BuildValue("i",_result
);
3936 #define wxNotebook_SetPageImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetPageImage(_swigarg0,_swigarg1))
3937 static PyObject
*_wrap_wxNotebook_SetPageImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3938 PyObject
* _resultobj
;
3943 PyObject
* _argo0
= 0;
3944 char *_kwnames
[] = { "self","nPage","nImage", NULL
};
3947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxNotebook_SetPageImage",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3950 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3951 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
3952 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_SetPageImage. Expected _wxNotebook_p.");
3957 wxPy_BEGIN_ALLOW_THREADS
;
3958 _result
= (bool )wxNotebook_SetPageImage(_arg0
,_arg1
,_arg2
);
3960 wxPy_END_ALLOW_THREADS
;
3961 } _resultobj
= Py_BuildValue("i",_result
);
3965 #define wxNotebook_GetRowCount(_swigobj) (_swigobj->GetRowCount())
3966 static PyObject
*_wrap_wxNotebook_GetRowCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3967 PyObject
* _resultobj
;
3970 PyObject
* _argo0
= 0;
3971 char *_kwnames
[] = { "self", NULL
};
3974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebook_GetRowCount",_kwnames
,&_argo0
))
3977 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3978 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
3979 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_GetRowCount. Expected _wxNotebook_p.");
3984 wxPy_BEGIN_ALLOW_THREADS
;
3985 _result
= (int )wxNotebook_GetRowCount(_arg0
);
3987 wxPy_END_ALLOW_THREADS
;
3988 } _resultobj
= Py_BuildValue("i",_result
);
3992 #define wxNotebook_DeletePage(_swigobj,_swigarg0) (_swigobj->DeletePage(_swigarg0))
3993 static PyObject
*_wrap_wxNotebook_DeletePage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3994 PyObject
* _resultobj
;
3998 PyObject
* _argo0
= 0;
3999 char *_kwnames
[] = { "self","nPage", NULL
};
4002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNotebook_DeletePage",_kwnames
,&_argo0
,&_arg1
))
4005 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4006 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
4007 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_DeletePage. Expected _wxNotebook_p.");
4012 wxPy_BEGIN_ALLOW_THREADS
;
4013 _result
= (bool )wxNotebook_DeletePage(_arg0
,_arg1
);
4015 wxPy_END_ALLOW_THREADS
;
4016 } _resultobj
= Py_BuildValue("i",_result
);
4020 #define wxNotebook_RemovePage(_swigobj,_swigarg0) (_swigobj->RemovePage(_swigarg0))
4021 static PyObject
*_wrap_wxNotebook_RemovePage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4022 PyObject
* _resultobj
;
4026 PyObject
* _argo0
= 0;
4027 char *_kwnames
[] = { "self","nPage", NULL
};
4030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNotebook_RemovePage",_kwnames
,&_argo0
,&_arg1
))
4033 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4034 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
4035 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_RemovePage. Expected _wxNotebook_p.");
4040 wxPy_BEGIN_ALLOW_THREADS
;
4041 _result
= (bool )wxNotebook_RemovePage(_arg0
,_arg1
);
4043 wxPy_END_ALLOW_THREADS
;
4044 } _resultobj
= Py_BuildValue("i",_result
);
4048 #define wxNotebook_DeleteAllPages(_swigobj) (_swigobj->DeleteAllPages())
4049 static PyObject
*_wrap_wxNotebook_DeleteAllPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4050 PyObject
* _resultobj
;
4053 PyObject
* _argo0
= 0;
4054 char *_kwnames
[] = { "self", NULL
};
4057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebook_DeleteAllPages",_kwnames
,&_argo0
))
4060 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4061 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
4062 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_DeleteAllPages. Expected _wxNotebook_p.");
4067 wxPy_BEGIN_ALLOW_THREADS
;
4068 _result
= (bool )wxNotebook_DeleteAllPages(_arg0
);
4070 wxPy_END_ALLOW_THREADS
;
4071 } _resultobj
= Py_BuildValue("i",_result
);
4075 #define wxNotebook_AddPage(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->AddPage(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4076 static PyObject
*_wrap_wxNotebook_AddPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4077 PyObject
* _resultobj
;
4082 int _arg3
= (int ) FALSE
;
4083 int _arg4
= (int ) -1;
4084 PyObject
* _argo0
= 0;
4085 PyObject
* _argo1
= 0;
4086 PyObject
* _obj2
= 0;
4087 char *_kwnames
[] = { "self","pPage","strText","bSelect","imageId", NULL
};
4090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|ii:wxNotebook_AddPage",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_arg3
,&_arg4
))
4093 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4094 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
4095 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_AddPage. Expected _wxNotebook_p.");
4100 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4101 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4102 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxNotebook_AddPage. Expected _wxWindow_p.");
4107 if (!PyString_Check(_obj2
)) {
4108 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4111 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
4114 wxPy_BEGIN_ALLOW_THREADS
;
4115 _result
= (bool )wxNotebook_AddPage(_arg0
,_arg1
,*_arg2
,_arg3
,_arg4
);
4117 wxPy_END_ALLOW_THREADS
;
4118 } _resultobj
= Py_BuildValue("i",_result
);
4126 #define wxNotebook_GetPage(_swigobj,_swigarg0) (_swigobj->GetPage(_swigarg0))
4127 static PyObject
*_wrap_wxNotebook_GetPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4128 PyObject
* _resultobj
;
4132 PyObject
* _argo0
= 0;
4133 char *_kwnames
[] = { "self","nPage", NULL
};
4137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNotebook_GetPage",_kwnames
,&_argo0
,&_arg1
))
4140 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4141 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
4142 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_GetPage. Expected _wxNotebook_p.");
4147 wxPy_BEGIN_ALLOW_THREADS
;
4148 _result
= (wxWindow
*)wxNotebook_GetPage(_arg0
,_arg1
);
4150 wxPy_END_ALLOW_THREADS
;
4152 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
4153 _resultobj
= Py_BuildValue("s",_ptemp
);
4156 _resultobj
= Py_None
;
4161 static void wxNotebook_ResizeChildren(wxNotebook
*self
) {
4162 wxSizeEvent
evt(self
->GetClientSize());
4163 self
->GetEventHandler()->ProcessEvent(evt
);
4165 static PyObject
*_wrap_wxNotebook_ResizeChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4166 PyObject
* _resultobj
;
4168 PyObject
* _argo0
= 0;
4169 char *_kwnames
[] = { "self", NULL
};
4172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebook_ResizeChildren",_kwnames
,&_argo0
))
4175 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4176 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
4177 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_ResizeChildren. Expected _wxNotebook_p.");
4182 wxPy_BEGIN_ALLOW_THREADS
;
4183 wxNotebook_ResizeChildren(_arg0
);
4185 wxPy_END_ALLOW_THREADS
;
4186 } Py_INCREF(Py_None
);
4187 _resultobj
= Py_None
;
4191 static void *SwigwxSplitterEventTowxCommandEvent(void *ptr
) {
4192 wxSplitterEvent
*src
;
4193 wxCommandEvent
*dest
;
4194 src
= (wxSplitterEvent
*) ptr
;
4195 dest
= (wxCommandEvent
*) src
;
4196 return (void *) dest
;
4199 static void *SwigwxSplitterEventTowxEvent(void *ptr
) {
4200 wxSplitterEvent
*src
;
4202 src
= (wxSplitterEvent
*) ptr
;
4203 dest
= (wxEvent
*) src
;
4204 return (void *) dest
;
4207 #define wxSplitterEvent_GetSashPosition(_swigobj) (_swigobj->GetSashPosition())
4208 static PyObject
*_wrap_wxSplitterEvent_GetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4209 PyObject
* _resultobj
;
4211 wxSplitterEvent
* _arg0
;
4212 PyObject
* _argo0
= 0;
4213 char *_kwnames
[] = { "self", NULL
};
4216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterEvent_GetSashPosition",_kwnames
,&_argo0
))
4219 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4220 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterEvent_p")) {
4221 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterEvent_GetSashPosition. Expected _wxSplitterEvent_p.");
4226 wxPy_BEGIN_ALLOW_THREADS
;
4227 _result
= (int )wxSplitterEvent_GetSashPosition(_arg0
);
4229 wxPy_END_ALLOW_THREADS
;
4230 } _resultobj
= Py_BuildValue("i",_result
);
4234 #define wxSplitterEvent_GetX(_swigobj) (_swigobj->GetX())
4235 static PyObject
*_wrap_wxSplitterEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4236 PyObject
* _resultobj
;
4238 wxSplitterEvent
* _arg0
;
4239 PyObject
* _argo0
= 0;
4240 char *_kwnames
[] = { "self", NULL
};
4243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterEvent_GetX",_kwnames
,&_argo0
))
4246 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4247 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterEvent_p")) {
4248 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterEvent_GetX. Expected _wxSplitterEvent_p.");
4253 wxPy_BEGIN_ALLOW_THREADS
;
4254 _result
= (int )wxSplitterEvent_GetX(_arg0
);
4256 wxPy_END_ALLOW_THREADS
;
4257 } _resultobj
= Py_BuildValue("i",_result
);
4261 #define wxSplitterEvent_GetY(_swigobj) (_swigobj->GetY())
4262 static PyObject
*_wrap_wxSplitterEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4263 PyObject
* _resultobj
;
4265 wxSplitterEvent
* _arg0
;
4266 PyObject
* _argo0
= 0;
4267 char *_kwnames
[] = { "self", NULL
};
4270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterEvent_GetY",_kwnames
,&_argo0
))
4273 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4274 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterEvent_p")) {
4275 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterEvent_GetY. Expected _wxSplitterEvent_p.");
4280 wxPy_BEGIN_ALLOW_THREADS
;
4281 _result
= (int )wxSplitterEvent_GetY(_arg0
);
4283 wxPy_END_ALLOW_THREADS
;
4284 } _resultobj
= Py_BuildValue("i",_result
);
4288 #define wxSplitterEvent_GetWindowBeingRemoved(_swigobj) (_swigobj->GetWindowBeingRemoved())
4289 static PyObject
*_wrap_wxSplitterEvent_GetWindowBeingRemoved(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4290 PyObject
* _resultobj
;
4292 wxSplitterEvent
* _arg0
;
4293 PyObject
* _argo0
= 0;
4294 char *_kwnames
[] = { "self", NULL
};
4298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterEvent_GetWindowBeingRemoved",_kwnames
,&_argo0
))
4301 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4302 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterEvent_p")) {
4303 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterEvent_GetWindowBeingRemoved. Expected _wxSplitterEvent_p.");
4308 wxPy_BEGIN_ALLOW_THREADS
;
4309 _result
= (wxWindow
*)wxSplitterEvent_GetWindowBeingRemoved(_arg0
);
4311 wxPy_END_ALLOW_THREADS
;
4313 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
4314 _resultobj
= Py_BuildValue("s",_ptemp
);
4317 _resultobj
= Py_None
;
4322 #define wxSplitterEvent_SetSashPosition(_swigobj,_swigarg0) (_swigobj->SetSashPosition(_swigarg0))
4323 static PyObject
*_wrap_wxSplitterEvent_SetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4324 PyObject
* _resultobj
;
4325 wxSplitterEvent
* _arg0
;
4327 PyObject
* _argo0
= 0;
4328 char *_kwnames
[] = { "self","pos", NULL
};
4331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSplitterEvent_SetSashPosition",_kwnames
,&_argo0
,&_arg1
))
4334 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4335 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterEvent_p")) {
4336 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterEvent_SetSashPosition. Expected _wxSplitterEvent_p.");
4341 wxPy_BEGIN_ALLOW_THREADS
;
4342 wxSplitterEvent_SetSashPosition(_arg0
,_arg1
);
4344 wxPy_END_ALLOW_THREADS
;
4345 } Py_INCREF(Py_None
);
4346 _resultobj
= Py_None
;
4350 static void *SwigwxSplitterWindowTowxWindow(void *ptr
) {
4351 wxSplitterWindow
*src
;
4353 src
= (wxSplitterWindow
*) ptr
;
4354 dest
= (wxWindow
*) src
;
4355 return (void *) dest
;
4358 static void *SwigwxSplitterWindowTowxEvtHandler(void *ptr
) {
4359 wxSplitterWindow
*src
;
4361 src
= (wxSplitterWindow
*) ptr
;
4362 dest
= (wxEvtHandler
*) src
;
4363 return (void *) dest
;
4366 #define new_wxSplitterWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxSplitterWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4367 static PyObject
*_wrap_new_wxSplitterWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4368 PyObject
* _resultobj
;
4369 wxSplitterWindow
* _result
;
4372 wxPoint
* _arg2
= (wxPoint
*) &wxPyDefaultPosition
;
4373 wxSize
* _arg3
= (wxSize
*) &wxPyDefaultSize
;
4374 long _arg4
= (long ) wxSP_3D
|wxCLIP_CHILDREN
;
4375 char * _arg5
= (char *) "splitterWindow";
4376 PyObject
* _argo0
= 0;
4378 PyObject
* _obj2
= 0;
4380 PyObject
* _obj3
= 0;
4381 char *_kwnames
[] = { "parent","id","point","size","style","name", NULL
};
4385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOls:new_wxSplitterWindow",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
4388 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4389 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4390 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxSplitterWindow. Expected _wxWindow_p.");
4397 if (! wxPoint_helper(_obj2
, &_arg2
))
4403 if (! wxSize_helper(_obj3
, &_arg3
))
4407 wxPy_BEGIN_ALLOW_THREADS
;
4408 _result
= (wxSplitterWindow
*)new_wxSplitterWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
4410 wxPy_END_ALLOW_THREADS
;
4412 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSplitterWindow_p");
4413 _resultobj
= Py_BuildValue("s",_ptemp
);
4416 _resultobj
= Py_None
;
4421 #define wxSplitterWindow_GetBorderSize(_swigobj) (_swigobj->GetBorderSize())
4422 static PyObject
*_wrap_wxSplitterWindow_GetBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4423 PyObject
* _resultobj
;
4425 wxSplitterWindow
* _arg0
;
4426 PyObject
* _argo0
= 0;
4427 char *_kwnames
[] = { "self", NULL
};
4430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_GetBorderSize",_kwnames
,&_argo0
))
4433 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4434 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
4435 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetBorderSize. Expected _wxSplitterWindow_p.");
4440 wxPy_BEGIN_ALLOW_THREADS
;
4441 _result
= (int )wxSplitterWindow_GetBorderSize(_arg0
);
4443 wxPy_END_ALLOW_THREADS
;
4444 } _resultobj
= Py_BuildValue("i",_result
);
4448 #define wxSplitterWindow_GetMinimumPaneSize(_swigobj) (_swigobj->GetMinimumPaneSize())
4449 static PyObject
*_wrap_wxSplitterWindow_GetMinimumPaneSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4450 PyObject
* _resultobj
;
4452 wxSplitterWindow
* _arg0
;
4453 PyObject
* _argo0
= 0;
4454 char *_kwnames
[] = { "self", NULL
};
4457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_GetMinimumPaneSize",_kwnames
,&_argo0
))
4460 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4461 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
4462 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetMinimumPaneSize. Expected _wxSplitterWindow_p.");
4467 wxPy_BEGIN_ALLOW_THREADS
;
4468 _result
= (int )wxSplitterWindow_GetMinimumPaneSize(_arg0
);
4470 wxPy_END_ALLOW_THREADS
;
4471 } _resultobj
= Py_BuildValue("i",_result
);
4475 #define wxSplitterWindow_GetSashPosition(_swigobj) (_swigobj->GetSashPosition())
4476 static PyObject
*_wrap_wxSplitterWindow_GetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4477 PyObject
* _resultobj
;
4479 wxSplitterWindow
* _arg0
;
4480 PyObject
* _argo0
= 0;
4481 char *_kwnames
[] = { "self", NULL
};
4484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_GetSashPosition",_kwnames
,&_argo0
))
4487 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4488 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
4489 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetSashPosition. Expected _wxSplitterWindow_p.");
4494 wxPy_BEGIN_ALLOW_THREADS
;
4495 _result
= (int )wxSplitterWindow_GetSashPosition(_arg0
);
4497 wxPy_END_ALLOW_THREADS
;
4498 } _resultobj
= Py_BuildValue("i",_result
);
4502 #define wxSplitterWindow_GetSashSize(_swigobj) (_swigobj->GetSashSize())
4503 static PyObject
*_wrap_wxSplitterWindow_GetSashSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4504 PyObject
* _resultobj
;
4506 wxSplitterWindow
* _arg0
;
4507 PyObject
* _argo0
= 0;
4508 char *_kwnames
[] = { "self", NULL
};
4511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_GetSashSize",_kwnames
,&_argo0
))
4514 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4515 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
4516 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetSashSize. Expected _wxSplitterWindow_p.");
4521 wxPy_BEGIN_ALLOW_THREADS
;
4522 _result
= (int )wxSplitterWindow_GetSashSize(_arg0
);
4524 wxPy_END_ALLOW_THREADS
;
4525 } _resultobj
= Py_BuildValue("i",_result
);
4529 #define wxSplitterWindow_GetSplitMode(_swigobj) (_swigobj->GetSplitMode())
4530 static PyObject
*_wrap_wxSplitterWindow_GetSplitMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4531 PyObject
* _resultobj
;
4533 wxSplitterWindow
* _arg0
;
4534 PyObject
* _argo0
= 0;
4535 char *_kwnames
[] = { "self", NULL
};
4538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_GetSplitMode",_kwnames
,&_argo0
))
4541 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4542 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
4543 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetSplitMode. Expected _wxSplitterWindow_p.");
4548 wxPy_BEGIN_ALLOW_THREADS
;
4549 _result
= (int )wxSplitterWindow_GetSplitMode(_arg0
);
4551 wxPy_END_ALLOW_THREADS
;
4552 } _resultobj
= Py_BuildValue("i",_result
);
4556 #define wxSplitterWindow_GetWindow1(_swigobj) (_swigobj->GetWindow1())
4557 static PyObject
*_wrap_wxSplitterWindow_GetWindow1(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4558 PyObject
* _resultobj
;
4560 wxSplitterWindow
* _arg0
;
4561 PyObject
* _argo0
= 0;
4562 char *_kwnames
[] = { "self", NULL
};
4566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_GetWindow1",_kwnames
,&_argo0
))
4569 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4570 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
4571 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetWindow1. Expected _wxSplitterWindow_p.");
4576 wxPy_BEGIN_ALLOW_THREADS
;
4577 _result
= (wxWindow
*)wxSplitterWindow_GetWindow1(_arg0
);
4579 wxPy_END_ALLOW_THREADS
;
4581 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
4582 _resultobj
= Py_BuildValue("s",_ptemp
);
4585 _resultobj
= Py_None
;
4590 #define wxSplitterWindow_GetWindow2(_swigobj) (_swigobj->GetWindow2())
4591 static PyObject
*_wrap_wxSplitterWindow_GetWindow2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4592 PyObject
* _resultobj
;
4594 wxSplitterWindow
* _arg0
;
4595 PyObject
* _argo0
= 0;
4596 char *_kwnames
[] = { "self", NULL
};
4600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_GetWindow2",_kwnames
,&_argo0
))
4603 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4604 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
4605 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetWindow2. Expected _wxSplitterWindow_p.");
4610 wxPy_BEGIN_ALLOW_THREADS
;
4611 _result
= (wxWindow
*)wxSplitterWindow_GetWindow2(_arg0
);
4613 wxPy_END_ALLOW_THREADS
;
4615 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
4616 _resultobj
= Py_BuildValue("s",_ptemp
);
4619 _resultobj
= Py_None
;
4624 #define wxSplitterWindow_Initialize(_swigobj,_swigarg0) (_swigobj->Initialize(_swigarg0))
4625 static PyObject
*_wrap_wxSplitterWindow_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4626 PyObject
* _resultobj
;
4627 wxSplitterWindow
* _arg0
;
4629 PyObject
* _argo0
= 0;
4630 PyObject
* _argo1
= 0;
4631 char *_kwnames
[] = { "self","window", NULL
};
4634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxSplitterWindow_Initialize",_kwnames
,&_argo0
,&_argo1
))
4637 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4638 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
4639 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_Initialize. Expected _wxSplitterWindow_p.");
4644 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4645 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4646 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSplitterWindow_Initialize. Expected _wxWindow_p.");
4651 wxPy_BEGIN_ALLOW_THREADS
;
4652 wxSplitterWindow_Initialize(_arg0
,_arg1
);
4654 wxPy_END_ALLOW_THREADS
;
4655 } Py_INCREF(Py_None
);
4656 _resultobj
= Py_None
;
4660 #define wxSplitterWindow_IsSplit(_swigobj) (_swigobj->IsSplit())
4661 static PyObject
*_wrap_wxSplitterWindow_IsSplit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4662 PyObject
* _resultobj
;
4664 wxSplitterWindow
* _arg0
;
4665 PyObject
* _argo0
= 0;
4666 char *_kwnames
[] = { "self", NULL
};
4669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_IsSplit",_kwnames
,&_argo0
))
4672 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4673 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
4674 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_IsSplit. Expected _wxSplitterWindow_p.");
4679 wxPy_BEGIN_ALLOW_THREADS
;
4680 _result
= (bool )wxSplitterWindow_IsSplit(_arg0
);
4682 wxPy_END_ALLOW_THREADS
;
4683 } _resultobj
= Py_BuildValue("i",_result
);
4687 #define wxSplitterWindow_ReplaceWindow(_swigobj,_swigarg0,_swigarg1) (_swigobj->ReplaceWindow(_swigarg0,_swigarg1))
4688 static PyObject
*_wrap_wxSplitterWindow_ReplaceWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4689 PyObject
* _resultobj
;
4691 wxSplitterWindow
* _arg0
;
4694 PyObject
* _argo0
= 0;
4695 PyObject
* _argo1
= 0;
4696 PyObject
* _argo2
= 0;
4697 char *_kwnames
[] = { "self","winOld","winNew", NULL
};
4700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxSplitterWindow_ReplaceWindow",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
4703 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4704 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
4705 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_ReplaceWindow. Expected _wxSplitterWindow_p.");
4710 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4711 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4712 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSplitterWindow_ReplaceWindow. Expected _wxWindow_p.");
4717 if (_argo2
== Py_None
) { _arg2
= NULL
; }
4718 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
4719 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxSplitterWindow_ReplaceWindow. Expected _wxWindow_p.");
4724 wxPy_BEGIN_ALLOW_THREADS
;
4725 _result
= (bool )wxSplitterWindow_ReplaceWindow(_arg0
,_arg1
,_arg2
);
4727 wxPy_END_ALLOW_THREADS
;
4728 } _resultobj
= Py_BuildValue("i",_result
);
4732 #define wxSplitterWindow_SetBorderSize(_swigobj,_swigarg0) (_swigobj->SetBorderSize(_swigarg0))
4733 static PyObject
*_wrap_wxSplitterWindow_SetBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4734 PyObject
* _resultobj
;
4735 wxSplitterWindow
* _arg0
;
4737 PyObject
* _argo0
= 0;
4738 char *_kwnames
[] = { "self","width", NULL
};
4741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSplitterWindow_SetBorderSize",_kwnames
,&_argo0
,&_arg1
))
4744 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4745 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
4746 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SetBorderSize. Expected _wxSplitterWindow_p.");
4751 wxPy_BEGIN_ALLOW_THREADS
;
4752 wxSplitterWindow_SetBorderSize(_arg0
,_arg1
);
4754 wxPy_END_ALLOW_THREADS
;
4755 } Py_INCREF(Py_None
);
4756 _resultobj
= Py_None
;
4760 #define wxSplitterWindow_SetSashPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSashPosition(_swigarg0,_swigarg1))
4761 static PyObject
*_wrap_wxSplitterWindow_SetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4762 PyObject
* _resultobj
;
4763 wxSplitterWindow
* _arg0
;
4765 int _arg2
= (int ) TRUE
;
4766 PyObject
* _argo0
= 0;
4767 char *_kwnames
[] = { "self","position","redraw", NULL
};
4770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxSplitterWindow_SetSashPosition",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4773 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4774 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
4775 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SetSashPosition. Expected _wxSplitterWindow_p.");
4780 wxPy_BEGIN_ALLOW_THREADS
;
4781 wxSplitterWindow_SetSashPosition(_arg0
,_arg1
,_arg2
);
4783 wxPy_END_ALLOW_THREADS
;
4784 } Py_INCREF(Py_None
);
4785 _resultobj
= Py_None
;
4789 #define wxSplitterWindow_SetSashSize(_swigobj,_swigarg0) (_swigobj->SetSashSize(_swigarg0))
4790 static PyObject
*_wrap_wxSplitterWindow_SetSashSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4791 PyObject
* _resultobj
;
4792 wxSplitterWindow
* _arg0
;
4794 PyObject
* _argo0
= 0;
4795 char *_kwnames
[] = { "self","width", NULL
};
4798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSplitterWindow_SetSashSize",_kwnames
,&_argo0
,&_arg1
))
4801 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4802 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
4803 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SetSashSize. Expected _wxSplitterWindow_p.");
4808 wxPy_BEGIN_ALLOW_THREADS
;
4809 wxSplitterWindow_SetSashSize(_arg0
,_arg1
);
4811 wxPy_END_ALLOW_THREADS
;
4812 } Py_INCREF(Py_None
);
4813 _resultobj
= Py_None
;
4817 #define wxSplitterWindow_SetMinimumPaneSize(_swigobj,_swigarg0) (_swigobj->SetMinimumPaneSize(_swigarg0))
4818 static PyObject
*_wrap_wxSplitterWindow_SetMinimumPaneSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4819 PyObject
* _resultobj
;
4820 wxSplitterWindow
* _arg0
;
4822 PyObject
* _argo0
= 0;
4823 char *_kwnames
[] = { "self","paneSize", NULL
};
4826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSplitterWindow_SetMinimumPaneSize",_kwnames
,&_argo0
,&_arg1
))
4829 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4830 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
4831 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SetMinimumPaneSize. Expected _wxSplitterWindow_p.");
4836 wxPy_BEGIN_ALLOW_THREADS
;
4837 wxSplitterWindow_SetMinimumPaneSize(_arg0
,_arg1
);
4839 wxPy_END_ALLOW_THREADS
;
4840 } Py_INCREF(Py_None
);
4841 _resultobj
= Py_None
;
4845 #define wxSplitterWindow_SetSplitMode(_swigobj,_swigarg0) (_swigobj->SetSplitMode(_swigarg0))
4846 static PyObject
*_wrap_wxSplitterWindow_SetSplitMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4847 PyObject
* _resultobj
;
4848 wxSplitterWindow
* _arg0
;
4850 PyObject
* _argo0
= 0;
4851 char *_kwnames
[] = { "self","mode", NULL
};
4854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSplitterWindow_SetSplitMode",_kwnames
,&_argo0
,&_arg1
))
4857 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4858 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
4859 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SetSplitMode. Expected _wxSplitterWindow_p.");
4864 wxPy_BEGIN_ALLOW_THREADS
;
4865 wxSplitterWindow_SetSplitMode(_arg0
,_arg1
);
4867 wxPy_END_ALLOW_THREADS
;
4868 } Py_INCREF(Py_None
);
4869 _resultobj
= Py_None
;
4873 #define wxSplitterWindow_SplitHorizontally(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SplitHorizontally(_swigarg0,_swigarg1,_swigarg2))
4874 static PyObject
*_wrap_wxSplitterWindow_SplitHorizontally(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4875 PyObject
* _resultobj
;
4877 wxSplitterWindow
* _arg0
;
4880 int _arg3
= (int ) 0;
4881 PyObject
* _argo0
= 0;
4882 PyObject
* _argo1
= 0;
4883 PyObject
* _argo2
= 0;
4884 char *_kwnames
[] = { "self","window1","window2","sashPosition", NULL
};
4887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|i:wxSplitterWindow_SplitHorizontally",_kwnames
,&_argo0
,&_argo1
,&_argo2
,&_arg3
))
4890 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4891 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
4892 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SplitHorizontally. Expected _wxSplitterWindow_p.");
4897 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4898 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4899 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSplitterWindow_SplitHorizontally. Expected _wxWindow_p.");
4904 if (_argo2
== Py_None
) { _arg2
= NULL
; }
4905 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
4906 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxSplitterWindow_SplitHorizontally. Expected _wxWindow_p.");
4911 wxPy_BEGIN_ALLOW_THREADS
;
4912 _result
= (bool )wxSplitterWindow_SplitHorizontally(_arg0
,_arg1
,_arg2
,_arg3
);
4914 wxPy_END_ALLOW_THREADS
;
4915 } _resultobj
= Py_BuildValue("i",_result
);
4919 #define wxSplitterWindow_SplitVertically(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SplitVertically(_swigarg0,_swigarg1,_swigarg2))
4920 static PyObject
*_wrap_wxSplitterWindow_SplitVertically(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4921 PyObject
* _resultobj
;
4923 wxSplitterWindow
* _arg0
;
4926 int _arg3
= (int ) 0;
4927 PyObject
* _argo0
= 0;
4928 PyObject
* _argo1
= 0;
4929 PyObject
* _argo2
= 0;
4930 char *_kwnames
[] = { "self","window1","window2","sashPosition", NULL
};
4933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|i:wxSplitterWindow_SplitVertically",_kwnames
,&_argo0
,&_argo1
,&_argo2
,&_arg3
))
4936 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4937 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
4938 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SplitVertically. Expected _wxSplitterWindow_p.");
4943 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4944 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4945 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSplitterWindow_SplitVertically. Expected _wxWindow_p.");
4950 if (_argo2
== Py_None
) { _arg2
= NULL
; }
4951 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
4952 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxSplitterWindow_SplitVertically. Expected _wxWindow_p.");
4957 wxPy_BEGIN_ALLOW_THREADS
;
4958 _result
= (bool )wxSplitterWindow_SplitVertically(_arg0
,_arg1
,_arg2
,_arg3
);
4960 wxPy_END_ALLOW_THREADS
;
4961 } _resultobj
= Py_BuildValue("i",_result
);
4965 #define wxSplitterWindow_Unsplit(_swigobj,_swigarg0) (_swigobj->Unsplit(_swigarg0))
4966 static PyObject
*_wrap_wxSplitterWindow_Unsplit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4967 PyObject
* _resultobj
;
4969 wxSplitterWindow
* _arg0
;
4970 wxWindow
* _arg1
= (wxWindow
*) NULL
;
4971 PyObject
* _argo0
= 0;
4972 PyObject
* _argo1
= 0;
4973 char *_kwnames
[] = { "self","toRemove", NULL
};
4976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxSplitterWindow_Unsplit",_kwnames
,&_argo0
,&_argo1
))
4979 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4980 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
4981 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_Unsplit. Expected _wxSplitterWindow_p.");
4986 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4987 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4988 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSplitterWindow_Unsplit. Expected _wxWindow_p.");
4993 wxPy_BEGIN_ALLOW_THREADS
;
4994 _result
= (bool )wxSplitterWindow_Unsplit(_arg0
,_arg1
);
4996 wxPy_END_ALLOW_THREADS
;
4997 } _resultobj
= Py_BuildValue("i",_result
);
5001 static PyMethodDef windows2cMethods
[] = {
5002 { "wxSplitterWindow_Unsplit", (PyCFunction
) _wrap_wxSplitterWindow_Unsplit
, METH_VARARGS
| METH_KEYWORDS
},
5003 { "wxSplitterWindow_SplitVertically", (PyCFunction
) _wrap_wxSplitterWindow_SplitVertically
, METH_VARARGS
| METH_KEYWORDS
},
5004 { "wxSplitterWindow_SplitHorizontally", (PyCFunction
) _wrap_wxSplitterWindow_SplitHorizontally
, METH_VARARGS
| METH_KEYWORDS
},
5005 { "wxSplitterWindow_SetSplitMode", (PyCFunction
) _wrap_wxSplitterWindow_SetSplitMode
, METH_VARARGS
| METH_KEYWORDS
},
5006 { "wxSplitterWindow_SetMinimumPaneSize", (PyCFunction
) _wrap_wxSplitterWindow_SetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
},
5007 { "wxSplitterWindow_SetSashSize", (PyCFunction
) _wrap_wxSplitterWindow_SetSashSize
, METH_VARARGS
| METH_KEYWORDS
},
5008 { "wxSplitterWindow_SetSashPosition", (PyCFunction
) _wrap_wxSplitterWindow_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
5009 { "wxSplitterWindow_SetBorderSize", (PyCFunction
) _wrap_wxSplitterWindow_SetBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
5010 { "wxSplitterWindow_ReplaceWindow", (PyCFunction
) _wrap_wxSplitterWindow_ReplaceWindow
, METH_VARARGS
| METH_KEYWORDS
},
5011 { "wxSplitterWindow_IsSplit", (PyCFunction
) _wrap_wxSplitterWindow_IsSplit
, METH_VARARGS
| METH_KEYWORDS
},
5012 { "wxSplitterWindow_Initialize", (PyCFunction
) _wrap_wxSplitterWindow_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
5013 { "wxSplitterWindow_GetWindow2", (PyCFunction
) _wrap_wxSplitterWindow_GetWindow2
, METH_VARARGS
| METH_KEYWORDS
},
5014 { "wxSplitterWindow_GetWindow1", (PyCFunction
) _wrap_wxSplitterWindow_GetWindow1
, METH_VARARGS
| METH_KEYWORDS
},
5015 { "wxSplitterWindow_GetSplitMode", (PyCFunction
) _wrap_wxSplitterWindow_GetSplitMode
, METH_VARARGS
| METH_KEYWORDS
},
5016 { "wxSplitterWindow_GetSashSize", (PyCFunction
) _wrap_wxSplitterWindow_GetSashSize
, METH_VARARGS
| METH_KEYWORDS
},
5017 { "wxSplitterWindow_GetSashPosition", (PyCFunction
) _wrap_wxSplitterWindow_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
5018 { "wxSplitterWindow_GetMinimumPaneSize", (PyCFunction
) _wrap_wxSplitterWindow_GetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
},
5019 { "wxSplitterWindow_GetBorderSize", (PyCFunction
) _wrap_wxSplitterWindow_GetBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
5020 { "new_wxSplitterWindow", (PyCFunction
) _wrap_new_wxSplitterWindow
, METH_VARARGS
| METH_KEYWORDS
},
5021 { "wxSplitterEvent_SetSashPosition", (PyCFunction
) _wrap_wxSplitterEvent_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
5022 { "wxSplitterEvent_GetWindowBeingRemoved", (PyCFunction
) _wrap_wxSplitterEvent_GetWindowBeingRemoved
, METH_VARARGS
| METH_KEYWORDS
},
5023 { "wxSplitterEvent_GetY", (PyCFunction
) _wrap_wxSplitterEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
5024 { "wxSplitterEvent_GetX", (PyCFunction
) _wrap_wxSplitterEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
5025 { "wxSplitterEvent_GetSashPosition", (PyCFunction
) _wrap_wxSplitterEvent_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
5026 { "wxNotebook_ResizeChildren", (PyCFunction
) _wrap_wxNotebook_ResizeChildren
, METH_VARARGS
| METH_KEYWORDS
},
5027 { "wxNotebook_GetPage", (PyCFunction
) _wrap_wxNotebook_GetPage
, METH_VARARGS
| METH_KEYWORDS
},
5028 { "wxNotebook_AddPage", (PyCFunction
) _wrap_wxNotebook_AddPage
, METH_VARARGS
| METH_KEYWORDS
},
5029 { "wxNotebook_DeleteAllPages", (PyCFunction
) _wrap_wxNotebook_DeleteAllPages
, METH_VARARGS
| METH_KEYWORDS
},
5030 { "wxNotebook_RemovePage", (PyCFunction
) _wrap_wxNotebook_RemovePage
, METH_VARARGS
| METH_KEYWORDS
},
5031 { "wxNotebook_DeletePage", (PyCFunction
) _wrap_wxNotebook_DeletePage
, METH_VARARGS
| METH_KEYWORDS
},
5032 { "wxNotebook_GetRowCount", (PyCFunction
) _wrap_wxNotebook_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
},
5033 { "wxNotebook_SetPageImage", (PyCFunction
) _wrap_wxNotebook_SetPageImage
, METH_VARARGS
| METH_KEYWORDS
},
5034 { "wxNotebook_GetPageImage", (PyCFunction
) _wrap_wxNotebook_GetPageImage
, METH_VARARGS
| METH_KEYWORDS
},
5035 { "wxNotebook_GetImageList", (PyCFunction
) _wrap_wxNotebook_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
5036 { "wxNotebook_SetImageList", (PyCFunction
) _wrap_wxNotebook_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
5037 { "wxNotebook_GetPageText", (PyCFunction
) _wrap_wxNotebook_GetPageText
, METH_VARARGS
| METH_KEYWORDS
},
5038 { "wxNotebook_SetPageText", (PyCFunction
) _wrap_wxNotebook_SetPageText
, METH_VARARGS
| METH_KEYWORDS
},
5039 { "wxNotebook_GetSelection", (PyCFunction
) _wrap_wxNotebook_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
5040 { "wxNotebook_AdvanceSelection", (PyCFunction
) _wrap_wxNotebook_AdvanceSelection
, METH_VARARGS
| METH_KEYWORDS
},
5041 { "wxNotebook_SetSelection", (PyCFunction
) _wrap_wxNotebook_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
5042 { "wxNotebook_GetPageCount", (PyCFunction
) _wrap_wxNotebook_GetPageCount
, METH_VARARGS
| METH_KEYWORDS
},
5043 { "new_wxNotebook", (PyCFunction
) _wrap_new_wxNotebook
, METH_VARARGS
| METH_KEYWORDS
},
5044 { "wxNotebookEvent_SetSelection", (PyCFunction
) _wrap_wxNotebookEvent_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
5045 { "wxNotebookEvent_SetOldSelection", (PyCFunction
) _wrap_wxNotebookEvent_SetOldSelection
, METH_VARARGS
| METH_KEYWORDS
},
5046 { "wxNotebookEvent_GetOldSelection", (PyCFunction
) _wrap_wxNotebookEvent_GetOldSelection
, METH_VARARGS
| METH_KEYWORDS
},
5047 { "wxNotebookEvent_GetSelection", (PyCFunction
) _wrap_wxNotebookEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
5048 { "wxGridEvent_GetCell", (PyCFunction
) _wrap_wxGridEvent_GetCell
, METH_VARARGS
| METH_KEYWORDS
},
5049 { "wxGridEvent_ShiftDown", (PyCFunction
) _wrap_wxGridEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
},
5050 { "wxGridEvent_ControlDown", (PyCFunction
) _wrap_wxGridEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
},
5051 { "wxGridEvent_GetPosition", (PyCFunction
) _wrap_wxGridEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
5052 { "wxGridEvent_GetCol", (PyCFunction
) _wrap_wxGridEvent_GetCol
, METH_VARARGS
| METH_KEYWORDS
},
5053 { "wxGridEvent_GetRow", (PyCFunction
) _wrap_wxGridEvent_GetRow
, METH_VARARGS
| METH_KEYWORDS
},
5054 { "wxGridEvent_m_cell_get", (PyCFunction
) _wrap_wxGridEvent_m_cell_get
, METH_VARARGS
| METH_KEYWORDS
},
5055 { "wxGridEvent_m_cell_set", (PyCFunction
) _wrap_wxGridEvent_m_cell_set
, METH_VARARGS
| METH_KEYWORDS
},
5056 { "wxGridEvent_m_shift_get", (PyCFunction
) _wrap_wxGridEvent_m_shift_get
, METH_VARARGS
| METH_KEYWORDS
},
5057 { "wxGridEvent_m_shift_set", (PyCFunction
) _wrap_wxGridEvent_m_shift_set
, METH_VARARGS
| METH_KEYWORDS
},
5058 { "wxGridEvent_m_control_get", (PyCFunction
) _wrap_wxGridEvent_m_control_get
, METH_VARARGS
| METH_KEYWORDS
},
5059 { "wxGridEvent_m_control_set", (PyCFunction
) _wrap_wxGridEvent_m_control_set
, METH_VARARGS
| METH_KEYWORDS
},
5060 { "wxGridEvent_m_y_get", (PyCFunction
) _wrap_wxGridEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
},
5061 { "wxGridEvent_m_y_set", (PyCFunction
) _wrap_wxGridEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
},
5062 { "wxGridEvent_m_x_get", (PyCFunction
) _wrap_wxGridEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
},
5063 { "wxGridEvent_m_x_set", (PyCFunction
) _wrap_wxGridEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
},
5064 { "wxGridEvent_m_col_get", (PyCFunction
) _wrap_wxGridEvent_m_col_get
, METH_VARARGS
| METH_KEYWORDS
},
5065 { "wxGridEvent_m_col_set", (PyCFunction
) _wrap_wxGridEvent_m_col_set
, METH_VARARGS
| METH_KEYWORDS
},
5066 { "wxGridEvent_m_row_get", (PyCFunction
) _wrap_wxGridEvent_m_row_get
, METH_VARARGS
| METH_KEYWORDS
},
5067 { "wxGridEvent_m_row_set", (PyCFunction
) _wrap_wxGridEvent_m_row_set
, METH_VARARGS
| METH_KEYWORDS
},
5068 { "wxGrid_SetEditInPlace", (PyCFunction
) _wrap_wxGrid_SetEditInPlace
, METH_VARARGS
| METH_KEYWORDS
},
5069 { "wxGrid_GetEditInPlace", (PyCFunction
) _wrap_wxGrid_GetEditInPlace
, METH_VARARGS
| METH_KEYWORDS
},
5070 { "wxGrid_UpdateDimensions", (PyCFunction
) _wrap_wxGrid_UpdateDimensions
, METH_VARARGS
| METH_KEYWORDS
},
5071 { "wxGrid_SetRowHeight", (PyCFunction
) _wrap_wxGrid_SetRowHeight
, METH_VARARGS
| METH_KEYWORDS
},
5072 { "wxGrid_SetLabelValue", (PyCFunction
) _wrap_wxGrid_SetLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
5073 { "wxGrid_SetLabelTextFont", (PyCFunction
) _wrap_wxGrid_SetLabelTextFont
, METH_VARARGS
| METH_KEYWORDS
},
5074 { "wxGrid_SetLabelTextColour", (PyCFunction
) _wrap_wxGrid_SetLabelTextColour
, METH_VARARGS
| METH_KEYWORDS
},
5075 { "wxGrid_SetLabelSize", (PyCFunction
) _wrap_wxGrid_SetLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
5076 { "wxGrid_SetLabelBackgroundColour", (PyCFunction
) _wrap_wxGrid_SetLabelBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
5077 { "wxGrid_SetLabelAlignment", (PyCFunction
) _wrap_wxGrid_SetLabelAlignment
, METH_VARARGS
| METH_KEYWORDS
},
5078 { "wxGrid_SetGridCursor", (PyCFunction
) _wrap_wxGrid_SetGridCursor
, METH_VARARGS
| METH_KEYWORDS
},
5079 { "wxGrid_SetEditable", (PyCFunction
) _wrap_wxGrid_SetEditable
, METH_VARARGS
| METH_KEYWORDS
},
5080 { "wxGrid_SetDividerPen", (PyCFunction
) _wrap_wxGrid_SetDividerPen
, METH_VARARGS
| METH_KEYWORDS
},
5081 { "wxGrid_SetColumnWidth", (PyCFunction
) _wrap_wxGrid_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
},
5082 { "wxGrid_SetCellValue", (PyCFunction
) _wrap_wxGrid_SetCellValue
, METH_VARARGS
| METH_KEYWORDS
},
5083 { "wxGrid_SetDefCellTextFont", (PyCFunction
) _wrap_wxGrid_SetDefCellTextFont
, METH_VARARGS
| METH_KEYWORDS
},
5084 { "wxGrid_SetCellTextFont", (PyCFunction
) _wrap_wxGrid_SetCellTextFont
, METH_VARARGS
| METH_KEYWORDS
},
5085 { "wxGrid_SetDefCellTextColour", (PyCFunction
) _wrap_wxGrid_SetDefCellTextColour
, METH_VARARGS
| METH_KEYWORDS
},
5086 { "wxGrid_SetCellTextColour", (PyCFunction
) _wrap_wxGrid_SetCellTextColour
, METH_VARARGS
| METH_KEYWORDS
},
5087 { "wxGrid_SetDefCellBackgroundColour", (PyCFunction
) _wrap_wxGrid_SetDefCellBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
5088 { "wxGrid_SetCellBackgroundColour", (PyCFunction
) _wrap_wxGrid_SetCellBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
5089 { "wxGrid_SetDefCellAlignment", (PyCFunction
) _wrap_wxGrid_SetDefCellAlignment
, METH_VARARGS
| METH_KEYWORDS
},
5090 { "wxGrid_SetCellAlignment", (PyCFunction
) _wrap_wxGrid_SetCellAlignment
, METH_VARARGS
| METH_KEYWORDS
},
5091 { "wxGrid_OnActivate", (PyCFunction
) _wrap_wxGrid_OnActivate
, METH_VARARGS
| METH_KEYWORDS
},
5092 { "wxGrid_InsertRows", (PyCFunction
) _wrap_wxGrid_InsertRows
, METH_VARARGS
| METH_KEYWORDS
},
5093 { "wxGrid_InsertCols", (PyCFunction
) _wrap_wxGrid_InsertCols
, METH_VARARGS
| METH_KEYWORDS
},
5094 { "wxGrid_GetVertScrollBar", (PyCFunction
) _wrap_wxGrid_GetVertScrollBar
, METH_VARARGS
| METH_KEYWORDS
},
5095 { "wxGrid_GetTextItem", (PyCFunction
) _wrap_wxGrid_GetTextItem
, METH_VARARGS
| METH_KEYWORDS
},
5096 { "wxGrid_GetScrollPosY", (PyCFunction
) _wrap_wxGrid_GetScrollPosY
, METH_VARARGS
| METH_KEYWORDS
},
5097 { "wxGrid_GetScrollPosX", (PyCFunction
) _wrap_wxGrid_GetScrollPosX
, METH_VARARGS
| METH_KEYWORDS
},
5098 { "wxGrid_GetRows", (PyCFunction
) _wrap_wxGrid_GetRows
, METH_VARARGS
| METH_KEYWORDS
},
5099 { "wxGrid_GetRowHeight", (PyCFunction
) _wrap_wxGrid_GetRowHeight
, METH_VARARGS
| METH_KEYWORDS
},
5100 { "wxGrid_GetLabelValue", (PyCFunction
) _wrap_wxGrid_GetLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
5101 { "wxGrid_GetLabelTextFont", (PyCFunction
) _wrap_wxGrid_GetLabelTextFont
, METH_VARARGS
| METH_KEYWORDS
},
5102 { "wxGrid_GetLabelTextColour", (PyCFunction
) _wrap_wxGrid_GetLabelTextColour
, METH_VARARGS
| METH_KEYWORDS
},
5103 { "wxGrid_GetLabelSize", (PyCFunction
) _wrap_wxGrid_GetLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
5104 { "wxGrid_GetLabelBackgroundColour", (PyCFunction
) _wrap_wxGrid_GetLabelBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
5105 { "wxGrid_GetLabelAlignment", (PyCFunction
) _wrap_wxGrid_GetLabelAlignment
, METH_VARARGS
| METH_KEYWORDS
},
5106 { "wxGrid_GetHorizScrollBar", (PyCFunction
) _wrap_wxGrid_GetHorizScrollBar
, METH_VARARGS
| METH_KEYWORDS
},
5107 { "wxGrid_GetEditable", (PyCFunction
) _wrap_wxGrid_GetEditable
, METH_VARARGS
| METH_KEYWORDS
},
5108 { "wxGrid_GetCursorRow", (PyCFunction
) _wrap_wxGrid_GetCursorRow
, METH_VARARGS
| METH_KEYWORDS
},
5109 { "wxGrid_GetCursorColumn", (PyCFunction
) _wrap_wxGrid_GetCursorColumn
, METH_VARARGS
| METH_KEYWORDS
},
5110 { "wxGrid_GetCurrentRect", (PyCFunction
) _wrap_wxGrid_GetCurrentRect
, METH_VARARGS
| METH_KEYWORDS
},
5111 { "wxGrid_GetColumnWidth", (PyCFunction
) _wrap_wxGrid_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
},
5112 { "wxGrid_GetCols", (PyCFunction
) _wrap_wxGrid_GetCols
, METH_VARARGS
| METH_KEYWORDS
},
5113 { "wxGrid_GetCellValue", (PyCFunction
) _wrap_wxGrid_GetCellValue
, METH_VARARGS
| METH_KEYWORDS
},
5114 { "wxGrid_GetDefCellTextFont", (PyCFunction
) _wrap_wxGrid_GetDefCellTextFont
, METH_VARARGS
| METH_KEYWORDS
},
5115 { "wxGrid_GetCellTextFont", (PyCFunction
) _wrap_wxGrid_GetCellTextFont
, METH_VARARGS
| METH_KEYWORDS
},
5116 { "wxGrid_GetDefCellTextColour", (PyCFunction
) _wrap_wxGrid_GetDefCellTextColour
, METH_VARARGS
| METH_KEYWORDS
},
5117 { "wxGrid_GetCellTextColour", (PyCFunction
) _wrap_wxGrid_GetCellTextColour
, METH_VARARGS
| METH_KEYWORDS
},
5118 { "wxGrid_GetCells", (PyCFunction
) _wrap_wxGrid_GetCells
, METH_VARARGS
| METH_KEYWORDS
},
5119 { "wxGrid_GetDefCellBackgroundColour", (PyCFunction
) _wrap_wxGrid_GetDefCellBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
5120 { "wxGrid_GetCellBackgroundColour", (PyCFunction
) _wrap_wxGrid_GetCellBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
5121 { "wxGrid_GetDefCellAlignment", (PyCFunction
) _wrap_wxGrid_GetDefCellAlignment
, METH_VARARGS
| METH_KEYWORDS
},
5122 { "wxGrid_GetCellAlignment", (PyCFunction
) _wrap_wxGrid_GetCellAlignment
, METH_VARARGS
| METH_KEYWORDS
},
5123 { "wxGrid_GetCell", (PyCFunction
) _wrap_wxGrid_GetCell
, METH_VARARGS
| METH_KEYWORDS
},
5124 { "wxGrid_GetBatchCount", (PyCFunction
) _wrap_wxGrid_GetBatchCount
, METH_VARARGS
| METH_KEYWORDS
},
5125 { "wxGrid_EndBatch", (PyCFunction
) _wrap_wxGrid_EndBatch
, METH_VARARGS
| METH_KEYWORDS
},
5126 { "wxGrid_DeleteRows", (PyCFunction
) _wrap_wxGrid_DeleteRows
, METH_VARARGS
| METH_KEYWORDS
},
5127 { "wxGrid_DeleteCols", (PyCFunction
) _wrap_wxGrid_DeleteCols
, METH_VARARGS
| METH_KEYWORDS
},
5128 { "wxGrid_CurrentCellVisible", (PyCFunction
) _wrap_wxGrid_CurrentCellVisible
, METH_VARARGS
| METH_KEYWORDS
},
5129 { "wxGrid_CreateGrid", (PyCFunction
) _wrap_wxGrid_CreateGrid
, METH_VARARGS
| METH_KEYWORDS
},
5130 { "wxGrid_CellHitTest", (PyCFunction
) _wrap_wxGrid_CellHitTest
, METH_VARARGS
| METH_KEYWORDS
},
5131 { "wxGrid_BeginBatch", (PyCFunction
) _wrap_wxGrid_BeginBatch
, METH_VARARGS
| METH_KEYWORDS
},
5132 { "wxGrid_AppendRows", (PyCFunction
) _wrap_wxGrid_AppendRows
, METH_VARARGS
| METH_KEYWORDS
},
5133 { "wxGrid_AppendCols", (PyCFunction
) _wrap_wxGrid_AppendCols
, METH_VARARGS
| METH_KEYWORDS
},
5134 { "wxGrid_AdjustScrollbars", (PyCFunction
) _wrap_wxGrid_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
5135 { "new_wxGrid", (PyCFunction
) _wrap_new_wxGrid
, METH_VARARGS
| METH_KEYWORDS
},
5136 { "wxGridCell_SetCellBitmap", (PyCFunction
) _wrap_wxGridCell_SetCellBitmap
, METH_VARARGS
| METH_KEYWORDS
},
5137 { "wxGridCell_GetCellBitmap", (PyCFunction
) _wrap_wxGridCell_GetCellBitmap
, METH_VARARGS
| METH_KEYWORDS
},
5138 { "wxGridCell_SetAlignment", (PyCFunction
) _wrap_wxGridCell_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
5139 { "wxGridCell_GetAlignment", (PyCFunction
) _wrap_wxGridCell_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
5140 { "wxGridCell_GetBackgroundBrush", (PyCFunction
) _wrap_wxGridCell_GetBackgroundBrush
, METH_VARARGS
| METH_KEYWORDS
},
5141 { "wxGridCell_SetBackgroundColour", (PyCFunction
) _wrap_wxGridCell_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
5142 { "wxGridCell_GetBackgroundColour", (PyCFunction
) _wrap_wxGridCell_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
5143 { "wxGridCell_SetTextColour", (PyCFunction
) _wrap_wxGridCell_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
5144 { "wxGridCell_GetTextColour", (PyCFunction
) _wrap_wxGridCell_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
5145 { "wxGridCell_SetFont", (PyCFunction
) _wrap_wxGridCell_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
5146 { "wxGridCell_GetFont", (PyCFunction
) _wrap_wxGridCell_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
5147 { "wxGridCell_SetTextValue", (PyCFunction
) _wrap_wxGridCell_SetTextValue
, METH_VARARGS
| METH_KEYWORDS
},
5148 { "wxGridCell_GetTextValue", (PyCFunction
) _wrap_wxGridCell_GetTextValue
, METH_VARARGS
| METH_KEYWORDS
},
5149 { "delete_wxGridCell", (PyCFunction
) _wrap_delete_wxGridCell
, METH_VARARGS
| METH_KEYWORDS
},
5150 { "new_wxGridCell", (PyCFunction
) _wrap_new_wxGridCell
, METH_VARARGS
| METH_KEYWORDS
},
5157 * This table is used by the pointer type-checker
5159 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
5160 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
5161 { "_wxEvent","_class_wxSplitterEvent",SwigwxSplitterEventTowxEvent
},
5162 { "_wxEvent","_wxSplitterEvent",SwigwxSplitterEventTowxEvent
},
5163 { "_wxEvent","_class_wxNotebookEvent",SwigwxNotebookEventTowxEvent
},
5164 { "_wxEvent","_wxNotebookEvent",SwigwxNotebookEventTowxEvent
},
5165 { "_wxEvent","_class_wxGridEvent",SwigwxGridEventTowxEvent
},
5166 { "_wxEvent","_wxGridEvent",SwigwxGridEventTowxEvent
},
5167 { "_wxEvent","_class_wxEvent",0},
5168 { "_class_wxActivateEvent","_wxActivateEvent",0},
5169 { "_signed_long","_long",0},
5170 { "_wxMenuEvent","_class_wxMenuEvent",0},
5171 { "_wxPyBitmapDataObject","_class_wxPyBitmapDataObject",0},
5172 { "_wxBitmapDataObject","_class_wxBitmapDataObject",0},
5173 { "_class_wxPyCommandEvent","_wxPyCommandEvent",0},
5174 { "_wxPrintQuality","_wxCoord",0},
5175 { "_wxPrintQuality","_int",0},
5176 { "_wxPrintQuality","_signed_int",0},
5177 { "_wxPrintQuality","_unsigned_int",0},
5178 { "_wxPrintQuality","_wxWindowID",0},
5179 { "_wxPrintQuality","_uint",0},
5180 { "_wxPrintQuality","_EBool",0},
5181 { "_wxPrintQuality","_size_t",0},
5182 { "_class_wxCustomDataObject","_wxCustomDataObject",0},
5183 { "_class_wxRegionIterator","_wxRegionIterator",0},
5184 { "_class_wxPyTextDropTarget","_wxPyTextDropTarget",0},
5185 { "_class_wxMenuBar","_wxMenuBar",0},
5186 { "_class_wxEvtHandler","_class_wxSplitterWindow",SwigwxSplitterWindowTowxEvtHandler
},
5187 { "_class_wxEvtHandler","_wxSplitterWindow",SwigwxSplitterWindowTowxEvtHandler
},
5188 { "_class_wxEvtHandler","_class_wxNotebook",SwigwxNotebookTowxEvtHandler
},
5189 { "_class_wxEvtHandler","_wxNotebook",SwigwxNotebookTowxEvtHandler
},
5190 { "_class_wxEvtHandler","_class_wxGrid",SwigwxGridTowxEvtHandler
},
5191 { "_class_wxEvtHandler","_wxGrid",SwigwxGridTowxEvtHandler
},
5192 { "_class_wxEvtHandler","_wxEvtHandler",0},
5193 { "_wxPaintEvent","_class_wxPaintEvent",0},
5194 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
5195 { "_wxCursor","_class_wxCursor",0},
5196 { "_wxNotifyEvent","_class_wxNotebookEvent",SwigwxNotebookEventTowxNotifyEvent
},
5197 { "_wxNotifyEvent","_wxNotebookEvent",SwigwxNotebookEventTowxNotifyEvent
},
5198 { "_wxNotifyEvent","_class_wxNotifyEvent",0},
5199 { "_wxMask","_class_wxMask",0},
5200 { "_wxGrid","_class_wxGrid",0},
5201 { "_wxPen","_class_wxPen",0},
5202 { "_wxUpdateUIEvent","_class_wxUpdateUIEvent",0},
5203 { "_byte","_unsigned_char",0},
5204 { "_wxDataObject","_class_wxDataObject",0},
5205 { "_wxStaticBox","_class_wxStaticBox",0},
5206 { "_wxPyDataObjectSimple","_class_wxPyDataObjectSimple",0},
5207 { "_wxPyDropSource","_class_wxPyDropSource",0},
5208 { "_wxChoice","_class_wxChoice",0},
5209 { "_wxSlider","_class_wxSlider",0},
5210 { "_wxNotebookEvent","_class_wxNotebookEvent",0},
5211 { "_long","_wxDash",0},
5212 { "_long","_unsigned_long",0},
5213 { "_long","_signed_long",0},
5214 { "_wxImageList","_class_wxImageList",0},
5215 { "_wxDataObjectSimple","_class_wxDataObjectSimple",0},
5216 { "_wxDropFilesEvent","_class_wxDropFilesEvent",0},
5217 { "_wxBitmapButton","_class_wxBitmapButton",0},
5218 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
5219 { "_class_wxClipboard","_wxClipboard",0},
5220 { "_class_wxGauge","_wxGauge",0},
5221 { "_wxDC","_class_wxDC",0},
5222 { "_class_wxBitmapDataObject","_wxBitmapDataObject",0},
5223 { "_wxSpinEvent","_class_wxSpinEvent",0},
5224 { "_size_t","_wxCoord",0},
5225 { "_size_t","_wxPrintQuality",0},
5226 { "_size_t","_unsigned_int",0},
5227 { "_size_t","_int",0},
5228 { "_size_t","_wxWindowID",0},
5229 { "_size_t","_uint",0},
5230 { "_class_wxRealPoint","_wxRealPoint",0},
5231 { "_wxNavigationKeyEvent","_class_wxNavigationKeyEvent",0},
5232 { "_wxWindowCreateEvent","_class_wxWindowCreateEvent",0},
5233 { "_class_wxMenuItem","_wxMenuItem",0},
5234 { "_class_wxPaintEvent","_wxPaintEvent",0},
5235 { "_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0},
5236 { "_class_wxPostScriptDC","_wxPostScriptDC",0},
5237 { "_wxPanel","_class_wxGrid",SwigwxGridTowxPanel
},
5238 { "_wxPanel","_wxGrid",SwigwxGridTowxPanel
},
5239 { "_wxPanel","_class_wxPanel",0},
5240 { "_wxInitDialogEvent","_class_wxInitDialogEvent",0},
5241 { "_wxCheckBox","_class_wxCheckBox",0},
5242 { "_wxPyEvent","_class_wxPyEvent",0},
5243 { "_wxTextCtrl","_class_wxTextCtrl",0},
5244 { "_class_wxMask","_wxMask",0},
5245 { "_wxTextDataObject","_class_wxTextDataObject",0},
5246 { "_class_wxKeyEvent","_wxKeyEvent",0},
5247 { "_class_wxGrid","_wxGrid",0},
5248 { "_wxColour","_class_wxColour",0},
5249 { "_class_wxDialog","_wxDialog",0},
5250 { "_class_wxFileDataObject","_wxFileDataObject",0},
5251 { "_wxIdleEvent","_class_wxIdleEvent",0},
5252 { "_class_wxUpdateUIEvent","_wxUpdateUIEvent",0},
5253 { "_class_wxDataObject","_wxDataObject",0},
5254 { "_wxStaticLine","_class_wxStaticLine",0},
5255 { "_wxBrush","_class_wxBrush",0},
5256 { "_class_wxNotebookEvent","_wxNotebookEvent",0},
5257 { "_wxDataFormat","_class_wxDataFormat",0},
5258 { "_class_wxDataObjectSimple","_wxDataObjectSimple",0},
5259 { "_wxShowEvent","_class_wxShowEvent",0},
5260 { "_uint","_wxCoord",0},
5261 { "_uint","_wxPrintQuality",0},
5262 { "_uint","_size_t",0},
5263 { "_uint","_unsigned_int",0},
5264 { "_uint","_int",0},
5265 { "_uint","_wxWindowID",0},
5266 { "_wxPyValidator","_class_wxPyValidator",0},
5267 { "_class_wxEvent","_class_wxSplitterEvent",SwigwxSplitterEventTowxEvent
},
5268 { "_class_wxEvent","_wxSplitterEvent",SwigwxSplitterEventTowxEvent
},
5269 { "_class_wxEvent","_class_wxNotebookEvent",SwigwxNotebookEventTowxEvent
},
5270 { "_class_wxEvent","_wxNotebookEvent",SwigwxNotebookEventTowxEvent
},
5271 { "_class_wxEvent","_class_wxGridEvent",SwigwxGridEventTowxEvent
},
5272 { "_class_wxEvent","_wxGridEvent",SwigwxGridEventTowxEvent
},
5273 { "_class_wxEvent","_wxEvent",0},
5274 { "_wxCheckListBox","_class_wxCheckListBox",0},
5275 { "_wxSplitterEvent","_class_wxSplitterEvent",0},
5276 { "_wxGridEvent","_class_wxGridEvent",0},
5277 { "_wxRect","_class_wxRect",0},
5278 { "_wxCommandEvent","_class_wxSplitterEvent",SwigwxSplitterEventTowxCommandEvent
},
5279 { "_wxCommandEvent","_wxSplitterEvent",SwigwxSplitterEventTowxCommandEvent
},
5280 { "_wxCommandEvent","_class_wxNotebookEvent",SwigwxNotebookEventTowxCommandEvent
},
5281 { "_wxCommandEvent","_wxNotebookEvent",SwigwxNotebookEventTowxCommandEvent
},
5282 { "_wxCommandEvent","_class_wxCommandEvent",0},
5283 { "_wxSizeEvent","_class_wxSizeEvent",0},
5284 { "_wxPoint","_class_wxPoint",0},
5285 { "_class_wxButton","_wxButton",0},
5286 { "_wxRadioBox","_class_wxRadioBox",0},
5287 { "_wxBitmap","_class_wxBitmap",0},
5288 { "_wxPyTimer","_class_wxPyTimer",0},
5289 { "_wxWindowDC","_class_wxWindowDC",0},
5290 { "_wxScrollBar","_class_wxScrollBar",0},
5291 { "_wxSpinButton","_class_wxSpinButton",0},
5292 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
5293 { "_class_wxNotifyEvent","_class_wxNotebookEvent",SwigwxNotebookEventTowxNotifyEvent
},
5294 { "_class_wxNotifyEvent","_wxNotebookEvent",SwigwxNotebookEventTowxNotifyEvent
},
5295 { "_class_wxNotifyEvent","_wxNotifyEvent",0},
5296 { "_class_wxValidator","_wxValidator",0},
5297 { "_class_wxPyEvent","_wxPyEvent",0},
5298 { "_class_wxIconizeEvent","_wxIconizeEvent",0},
5299 { "_class_wxStaticBitmap","_wxStaticBitmap",0},
5300 { "_wxDropTarget","_class_wxDropTarget",0},
5301 { "_class_wxStaticLine","_wxStaticLine",0},
5302 { "_wxScrollEvent","_class_wxScrollEvent",0},
5303 { "_EBool","_wxCoord",0},
5304 { "_EBool","_wxPrintQuality",0},
5305 { "_EBool","_signed_int",0},
5306 { "_EBool","_int",0},
5307 { "_EBool","_wxWindowID",0},
5308 { "_class_wxRegion","_wxRegion",0},
5309 { "_class_wxDataFormat","_wxDataFormat",0},
5310 { "_class_wxDropFilesEvent","_wxDropFilesEvent",0},
5311 { "_wxWindowDestroyEvent","_class_wxWindowDestroyEvent",0},
5312 { "_wxStaticText","_class_wxStaticText",0},
5313 { "_wxFont","_class_wxFont",0},
5314 { "_class_wxPyDropTarget","_wxPyDropTarget",0},
5315 { "_wxCloseEvent","_class_wxCloseEvent",0},
5316 { "_class_wxSplitterEvent","_wxSplitterEvent",0},
5317 { "_wxNotebook","_class_wxNotebook",0},
5318 { "_unsigned_long","_wxDash",0},
5319 { "_unsigned_long","_long",0},
5320 { "_class_wxRect","_wxRect",0},
5321 { "_class_wxDC","_wxDC",0},
5322 { "_wxScrollWinEvent","_class_wxScrollWinEvent",0},
5323 { "_wxQueryNewPaletteEvent","_class_wxQueryNewPaletteEvent",0},
5324 { "_class_wxWindowCreateEvent","_wxWindowCreateEvent",0},
5325 { "_class_wxPyTimer","_wxPyTimer",0},
5326 { "_wxFocusEvent","_class_wxFocusEvent",0},
5327 { "_wxMaximizeEvent","_class_wxMaximizeEvent",0},
5328 { "_class_wxSpinButton","_wxSpinButton",0},
5329 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
5330 { "_class_wxPanel","_class_wxGrid",SwigwxGridTowxPanel
},
5331 { "_class_wxPanel","_wxGrid",SwigwxGridTowxPanel
},
5332 { "_class_wxPanel","_wxPanel",0},
5333 { "_class_wxCheckBox","_wxCheckBox",0},
5334 { "_wxComboBox","_class_wxComboBox",0},
5335 { "_wxRadioButton","_class_wxRadioButton",0},
5336 { "_signed_int","_wxCoord",0},
5337 { "_signed_int","_wxPrintQuality",0},
5338 { "_signed_int","_EBool",0},
5339 { "_signed_int","_wxWindowID",0},
5340 { "_signed_int","_int",0},
5341 { "_class_wxTextCtrl","_wxTextCtrl",0},
5342 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
5343 { "_class_wxTextDataObject","_wxTextDataObject",0},
5344 { "_wxMenu","_class_wxMenu",0},
5345 { "_class_wxMoveEvent","_wxMoveEvent",0},
5346 { "_wxListBox","_class_wxListBox",0},
5347 { "_wxScreenDC","_class_wxScreenDC",0},
5348 { "_WXTYPE","_short",0},
5349 { "_WXTYPE","_signed_short",0},
5350 { "_WXTYPE","_unsigned_short",0},
5351 { "_class_wxDropTarget","_wxDropTarget",0},
5352 { "_class_wxBrush","_wxBrush",0},
5353 { "_unsigned_short","_WXTYPE",0},
5354 { "_unsigned_short","_short",0},
5355 { "_class_wxWindow","_class_wxSplitterWindow",SwigwxSplitterWindowTowxWindow
},
5356 { "_class_wxWindow","_wxSplitterWindow",SwigwxSplitterWindowTowxWindow
},
5357 { "_class_wxWindow","_class_wxNotebook",SwigwxNotebookTowxWindow
},
5358 { "_class_wxWindow","_wxNotebook",SwigwxNotebookTowxWindow
},
5359 { "_class_wxWindow","_class_wxGrid",SwigwxGridTowxWindow
},
5360 { "_class_wxWindow","_wxGrid",SwigwxGridTowxWindow
},
5361 { "_class_wxWindow","_wxWindow",0},
5362 { "_wxSplitterWindow","_class_wxSplitterWindow",0},
5363 { "_class_wxStaticText","_wxStaticText",0},
5364 { "_class_wxFont","_wxFont",0},
5365 { "_wxClipboard","_class_wxClipboard",0},
5366 { "_class_wxPyValidator","_wxPyValidator",0},
5367 { "_class_wxCloseEvent","_wxCloseEvent",0},
5368 { "_wxBusyInfo","_class_wxBusyInfo",0},
5369 { "_class_wxMenuEvent","_wxMenuEvent",0},
5370 { "_wxPaletteChangedEvent","_class_wxPaletteChangedEvent",0},
5371 { "_class_wxPyBitmapDataObject","_wxPyBitmapDataObject",0},
5372 { "_wxClientDC","_class_wxClientDC",0},
5373 { "_wxMouseEvent","_class_wxMouseEvent",0},
5374 { "_class_wxPoint","_wxPoint",0},
5375 { "_wxRealPoint","_class_wxRealPoint",0},
5376 { "_class_wxRadioBox","_wxRadioBox",0},
5377 { "_wxGridCell","_class_wxGridCell",0},
5378 { "_signed_short","_WXTYPE",0},
5379 { "_signed_short","_short",0},
5380 { "_wxMemoryDC","_class_wxMemoryDC",0},
5381 { "_wxPyTextDataObject","_class_wxPyTextDataObject",0},
5382 { "_wxPaintDC","_class_wxPaintDC",0},
5383 { "_class_wxWindowDC","_wxWindowDC",0},
5384 { "_class_wxFocusEvent","_wxFocusEvent",0},
5385 { "_class_wxMaximizeEvent","_wxMaximizeEvent",0},
5386 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
5387 { "_class_wxCursor","_wxCursor",0},
5388 { "_wxPostScriptDC","_class_wxPostScriptDC",0},
5389 { "_wxPyFileDropTarget","_class_wxPyFileDropTarget",0},
5390 { "_wxScrolledWindow","_class_wxScrolledWindow",0},
5391 { "_unsigned_char","_byte",0},
5392 { "_class_wxMenu","_wxMenu",0},
5393 { "_wxControl","_class_wxNotebook",SwigwxNotebookTowxControl
},
5394 { "_wxControl","_wxNotebook",SwigwxNotebookTowxControl
},
5395 { "_wxControl","_class_wxControl",0},
5396 { "_class_wxListBox","_wxListBox",0},
5397 { "_unsigned_int","_wxCoord",0},
5398 { "_unsigned_int","_wxPrintQuality",0},
5399 { "_unsigned_int","_size_t",0},
5400 { "_unsigned_int","_uint",0},
5401 { "_unsigned_int","_wxWindowID",0},
5402 { "_unsigned_int","_int",0},
5403 { "_wxIcon","_class_wxIcon",0},
5404 { "_wxDialog","_class_wxDialog",0},
5405 { "_class_wxPen","_wxPen",0},
5406 { "_short","_WXTYPE",0},
5407 { "_short","_unsigned_short",0},
5408 { "_short","_signed_short",0},
5409 { "_class_wxStaticBox","_wxStaticBox",0},
5410 { "_class_wxPyDataObjectSimple","_wxPyDataObjectSimple",0},
5411 { "_class_wxPyDropSource","_wxPyDropSource",0},
5412 { "_class_wxScrollEvent","_wxScrollEvent",0},
5413 { "_wxJoystickEvent","_class_wxJoystickEvent",0},
5414 { "_class_wxChoice","_wxChoice",0},
5415 { "_class_wxSlider","_wxSlider",0},
5416 { "_class_wxImageList","_wxImageList",0},
5417 { "_class_wxBitmapButton","_wxBitmapButton",0},
5418 { "_class_wxPaletteChangedEvent","_wxPaletteChangedEvent",0},
5419 { "_class_wxNotebook","_wxNotebook",0},
5420 { "_wxWindowID","_wxCoord",0},
5421 { "_wxWindowID","_wxPrintQuality",0},
5422 { "_wxWindowID","_size_t",0},
5423 { "_wxWindowID","_EBool",0},
5424 { "_wxWindowID","_uint",0},
5425 { "_wxWindowID","_int",0},
5426 { "_wxWindowID","_signed_int",0},
5427 { "_wxWindowID","_unsigned_int",0},
5428 { "_class_wxScrollWinEvent","_wxScrollWinEvent",0},
5429 { "_int","_wxCoord",0},
5430 { "_int","_wxPrintQuality",0},
5431 { "_int","_size_t",0},
5432 { "_int","_EBool",0},
5433 { "_int","_uint",0},
5434 { "_int","_wxWindowID",0},
5435 { "_int","_unsigned_int",0},
5436 { "_int","_signed_int",0},
5437 { "_class_wxMouseEvent","_wxMouseEvent",0},
5438 { "_wxPyCommandEvent","_class_wxPyCommandEvent",0},
5439 { "_class_wxSpinEvent","_wxSpinEvent",0},
5440 { "_class_wxQueryNewPaletteEvent","_wxQueryNewPaletteEvent",0},
5441 { "_class_wxNavigationKeyEvent","_wxNavigationKeyEvent",0},
5442 { "_wxButton","_class_wxButton",0},
5443 { "_wxSize","_class_wxSize",0},
5444 { "_wxRegionIterator","_class_wxRegionIterator",0},
5445 { "_class_wxPyTextDataObject","_wxPyTextDataObject",0},
5446 { "_class_wxPaintDC","_wxPaintDC",0},
5447 { "_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0},
5448 { "_class_wxPyFileDropTarget","_wxPyFileDropTarget",0},
5449 { "_class_wxInitDialogEvent","_wxInitDialogEvent",0},
5450 { "_class_wxComboBox","_wxComboBox",0},
5451 { "_class_wxRadioButton","_wxRadioButton",0},
5452 { "_wxValidator","_class_wxValidator",0},
5453 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
5454 { "_wxIconizeEvent","_class_wxIconizeEvent",0},
5455 { "_class_wxControl","_class_wxNotebook",SwigwxNotebookTowxControl
},
5456 { "_class_wxControl","_wxNotebook",SwigwxNotebookTowxControl
},
5457 { "_class_wxControl","_wxControl",0},
5458 { "_wxStaticBitmap","_class_wxStaticBitmap",0},
5459 { "_class_wxIcon","_wxIcon",0},
5460 { "_class_wxColour","_wxColour",0},
5461 { "_class_wxScreenDC","_wxScreenDC",0},
5462 { "_wxPalette","_class_wxPalette",0},
5463 { "_class_wxIdleEvent","_wxIdleEvent",0},
5464 { "_wxCoord","_int",0},
5465 { "_wxCoord","_signed_int",0},
5466 { "_wxCoord","_unsigned_int",0},
5467 { "_wxCoord","_wxWindowID",0},
5468 { "_wxCoord","_uint",0},
5469 { "_wxCoord","_EBool",0},
5470 { "_wxCoord","_size_t",0},
5471 { "_wxCoord","_wxPrintQuality",0},
5472 { "_wxEraseEvent","_class_wxEraseEvent",0},
5473 { "_wxDataObjectComposite","_class_wxDataObjectComposite",0},
5474 { "_class_wxJoystickEvent","_wxJoystickEvent",0},
5475 { "_wxRegion","_class_wxRegion",0},
5476 { "_class_wxSplitterWindow","_wxSplitterWindow",0},
5477 { "_class_wxShowEvent","_wxShowEvent",0},
5478 { "_wxPyDropTarget","_class_wxPyDropTarget",0},
5479 { "_wxActivateEvent","_class_wxActivateEvent",0},
5480 { "_wxGauge","_class_wxGauge",0},
5481 { "_class_wxCheckListBox","_wxCheckListBox",0},
5482 { "_class_wxBusyInfo","_wxBusyInfo",0},
5483 { "_class_wxGridEvent","_wxGridEvent",0},
5484 { "_class_wxCommandEvent","_class_wxSplitterEvent",SwigwxSplitterEventTowxCommandEvent
},
5485 { "_class_wxCommandEvent","_wxSplitterEvent",SwigwxSplitterEventTowxCommandEvent
},
5486 { "_class_wxCommandEvent","_class_wxNotebookEvent",SwigwxNotebookEventTowxCommandEvent
},
5487 { "_class_wxCommandEvent","_wxNotebookEvent",SwigwxNotebookEventTowxCommandEvent
},
5488 { "_class_wxCommandEvent","_wxCommandEvent",0},
5489 { "_class_wxClientDC","_wxClientDC",0},
5490 { "_class_wxSizeEvent","_wxSizeEvent",0},
5491 { "_wxCustomDataObject","_class_wxCustomDataObject",0},
5492 { "_class_wxGridCell","_wxGridCell",0},
5493 { "_class_wxSize","_wxSize",0},
5494 { "_class_wxBitmap","_wxBitmap",0},
5495 { "_class_wxMemoryDC","_wxMemoryDC",0},
5496 { "_wxPyTextDropTarget","_class_wxPyTextDropTarget",0},
5497 { "_wxMenuBar","_class_wxMenuBar",0},
5498 { "_wxEvtHandler","_class_wxSplitterWindow",SwigwxSplitterWindowTowxEvtHandler
},
5499 { "_wxEvtHandler","_wxSplitterWindow",SwigwxSplitterWindowTowxEvtHandler
},
5500 { "_wxEvtHandler","_class_wxNotebook",SwigwxNotebookTowxEvtHandler
},
5501 { "_wxEvtHandler","_wxNotebook",SwigwxNotebookTowxEvtHandler
},
5502 { "_wxEvtHandler","_class_wxGrid",SwigwxGridTowxEvtHandler
},
5503 { "_wxEvtHandler","_wxGrid",SwigwxGridTowxEvtHandler
},
5504 { "_wxEvtHandler","_class_wxEvtHandler",0},
5505 { "_wxMenuItem","_class_wxMenuItem",0},
5506 { "_class_wxScrollBar","_wxScrollBar",0},
5507 { "_wxDash","_unsigned_long",0},
5508 { "_wxDash","_long",0},
5509 { "_class_wxScrolledWindow","_wxScrolledWindow",0},
5510 { "_wxKeyEvent","_class_wxKeyEvent",0},
5511 { "_wxMoveEvent","_class_wxMoveEvent",0},
5512 { "_class_wxPalette","_wxPalette",0},
5513 { "_wxFileDataObject","_class_wxFileDataObject",0},
5514 { "_class_wxEraseEvent","_wxEraseEvent",0},
5515 { "_class_wxDataObjectComposite","_wxDataObjectComposite",0},
5516 { "_wxWindow","_class_wxSplitterWindow",SwigwxSplitterWindowTowxWindow
},
5517 { "_wxWindow","_wxSplitterWindow",SwigwxSplitterWindowTowxWindow
},
5518 { "_wxWindow","_class_wxNotebook",SwigwxNotebookTowxWindow
},
5519 { "_wxWindow","_wxNotebook",SwigwxNotebookTowxWindow
},
5520 { "_wxWindow","_class_wxGrid",SwigwxGridTowxWindow
},
5521 { "_wxWindow","_wxGrid",SwigwxGridTowxWindow
},
5522 { "_wxWindow","_class_wxWindow",0},
5523 { "_class_wxWindowDestroyEvent","_wxWindowDestroyEvent",0},
5526 static PyObject
*SWIG_globals
;
5530 SWIGEXPORT(void) initwindows2c() {
5532 SWIG_globals
= SWIG_newvarlink();
5533 m
= Py_InitModule("windows2c", windows2cMethods
);
5534 d
= PyModule_GetDict(m
);
5535 PyDict_SetItemString(d
,"wxGRID_TEXT_CTRL", PyInt_FromLong((long) wxGRID_TEXT_CTRL
));
5536 PyDict_SetItemString(d
,"wxGRID_HSCROLL", PyInt_FromLong((long) wxGRID_HSCROLL
));
5537 PyDict_SetItemString(d
,"wxGRID_VSCROLL", PyInt_FromLong((long) wxGRID_VSCROLL
));
5538 PyDict_SetItemString(d
,"wxEVT_GRID_SELECT_CELL", PyInt_FromLong((long) wxEVT_GRID_SELECT_CELL
));
5539 PyDict_SetItemString(d
,"wxEVT_GRID_CREATE_CELL", PyInt_FromLong((long) wxEVT_GRID_CREATE_CELL
));
5540 PyDict_SetItemString(d
,"wxEVT_GRID_CHANGE_LABELS", PyInt_FromLong((long) wxEVT_GRID_CHANGE_LABELS
));
5541 PyDict_SetItemString(d
,"wxEVT_GRID_CHANGE_SEL_LABEL", PyInt_FromLong((long) wxEVT_GRID_CHANGE_SEL_LABEL
));
5542 PyDict_SetItemString(d
,"wxEVT_GRID_CELL_CHANGE", PyInt_FromLong((long) wxEVT_GRID_CELL_CHANGE
));
5543 PyDict_SetItemString(d
,"wxEVT_GRID_CELL_LCLICK", PyInt_FromLong((long) wxEVT_GRID_CELL_LCLICK
));
5544 PyDict_SetItemString(d
,"wxEVT_GRID_CELL_RCLICK", PyInt_FromLong((long) wxEVT_GRID_CELL_RCLICK
));
5545 PyDict_SetItemString(d
,"wxEVT_GRID_LABEL_LCLICK", PyInt_FromLong((long) wxEVT_GRID_LABEL_LCLICK
));
5546 PyDict_SetItemString(d
,"wxEVT_GRID_LABEL_RCLICK", PyInt_FromLong((long) wxEVT_GRID_LABEL_RCLICK
));
5549 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
5550 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);