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
);
112 HELPEREXPORT byte
* byte_LIST_helper(PyObject
* source
);
113 HELPEREXPORT
int* int_LIST_helper(PyObject
* source
);
114 HELPEREXPORT
long* long_LIST_helper(PyObject
* source
);
115 HELPEREXPORT
char** string_LIST_helper(PyObject
* source
);
116 HELPEREXPORT wxPoint
* wxPoint_LIST_helper(PyObject
* source
);
117 HELPEREXPORT wxBitmap
** wxBitmap_LIST_helper(PyObject
* source
);
118 HELPEREXPORT wxString
* wxString_LIST_helper(PyObject
* source
);
119 HELPEREXPORT wxAcceleratorEntry
* wxAcceleratorEntry_LIST_helper(PyObject
* source
);
122 static char* wxStringErrorMsg
= "string type is required for parameter";
126 #define new_wxGridCell() (new wxGridCell())
127 static PyObject
*_wrap_new_wxGridCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
128 PyObject
* _resultobj
;
129 wxGridCell
* _result
;
130 char *_kwnames
[] = { NULL
};
134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxGridCell",_kwnames
))
137 wxPy_BEGIN_ALLOW_THREADS
;
138 _result
= (wxGridCell
*)new_wxGridCell();
140 wxPy_END_ALLOW_THREADS
;
142 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCell_p");
143 _resultobj
= Py_BuildValue("s",_ptemp
);
146 _resultobj
= Py_None
;
151 #define delete_wxGridCell(_swigobj) (delete _swigobj)
152 static PyObject
*_wrap_delete_wxGridCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
153 PyObject
* _resultobj
;
155 PyObject
* _argo0
= 0;
156 char *_kwnames
[] = { "self", NULL
};
159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxGridCell",_kwnames
,&_argo0
))
162 if (_argo0
== Py_None
) { _arg0
= NULL
; }
163 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCell_p")) {
164 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxGridCell. Expected _wxGridCell_p.");
169 wxPy_BEGIN_ALLOW_THREADS
;
170 delete_wxGridCell(_arg0
);
172 wxPy_END_ALLOW_THREADS
;
173 } Py_INCREF(Py_None
);
174 _resultobj
= Py_None
;
178 #define wxGridCell_GetTextValue(_swigobj) (_swigobj->GetTextValue())
179 static PyObject
*_wrap_wxGridCell_GetTextValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
180 PyObject
* _resultobj
;
183 PyObject
* _argo0
= 0;
184 char *_kwnames
[] = { "self", NULL
};
187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCell_GetTextValue",_kwnames
,&_argo0
))
190 if (_argo0
== Py_None
) { _arg0
= NULL
; }
191 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCell_p")) {
192 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCell_GetTextValue. Expected _wxGridCell_p.");
197 wxPy_BEGIN_ALLOW_THREADS
;
198 wxString
& _result_ref
= wxGridCell_GetTextValue(_arg0
);
199 _result
= (wxString
*) &_result_ref
;
201 wxPy_END_ALLOW_THREADS
;
203 _resultobj
= PyString_FromString(WXSTRINGCAST (*_result
));
208 #define wxGridCell_SetTextValue(_swigobj,_swigarg0) (_swigobj->SetTextValue(_swigarg0))
209 static PyObject
*_wrap_wxGridCell_SetTextValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
210 PyObject
* _resultobj
;
213 PyObject
* _argo0
= 0;
214 PyObject
* _obj1
= 0;
215 char *_kwnames
[] = { "self","str", NULL
};
218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCell_SetTextValue",_kwnames
,&_argo0
,&_obj1
))
221 if (_argo0
== Py_None
) { _arg0
= NULL
; }
222 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCell_p")) {
223 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCell_SetTextValue. Expected _wxGridCell_p.");
228 if (!PyString_Check(_obj1
)) {
229 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
232 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
235 wxPy_BEGIN_ALLOW_THREADS
;
236 wxGridCell_SetTextValue(_arg0
,*_arg1
);
238 wxPy_END_ALLOW_THREADS
;
239 } Py_INCREF(Py_None
);
240 _resultobj
= Py_None
;
248 #define wxGridCell_GetFont(_swigobj) (_swigobj->GetFont())
249 static PyObject
*_wrap_wxGridCell_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
250 PyObject
* _resultobj
;
253 PyObject
* _argo0
= 0;
254 char *_kwnames
[] = { "self", NULL
};
258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCell_GetFont",_kwnames
,&_argo0
))
261 if (_argo0
== Py_None
) { _arg0
= NULL
; }
262 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCell_p")) {
263 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCell_GetFont. Expected _wxGridCell_p.");
268 wxPy_BEGIN_ALLOW_THREADS
;
269 wxFont
& _result_ref
= wxGridCell_GetFont(_arg0
);
270 _result
= (wxFont
*) &_result_ref
;
272 wxPy_END_ALLOW_THREADS
;
274 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
275 _resultobj
= Py_BuildValue("s",_ptemp
);
278 _resultobj
= Py_None
;
283 #define wxGridCell_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
284 static PyObject
*_wrap_wxGridCell_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
285 PyObject
* _resultobj
;
288 PyObject
* _argo0
= 0;
289 PyObject
* _argo1
= 0;
290 char *_kwnames
[] = { "self","f", NULL
};
293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCell_SetFont",_kwnames
,&_argo0
,&_argo1
))
296 if (_argo0
== Py_None
) { _arg0
= NULL
; }
297 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCell_p")) {
298 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCell_SetFont. Expected _wxGridCell_p.");
303 if (_argo1
== Py_None
) { _arg1
= NULL
; }
304 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
305 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCell_SetFont. Expected _wxFont_p.");
310 wxPy_BEGIN_ALLOW_THREADS
;
311 wxGridCell_SetFont(_arg0
,*_arg1
);
313 wxPy_END_ALLOW_THREADS
;
314 } Py_INCREF(Py_None
);
315 _resultobj
= Py_None
;
319 #define wxGridCell_GetTextColour(_swigobj) (_swigobj->GetTextColour())
320 static PyObject
*_wrap_wxGridCell_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
321 PyObject
* _resultobj
;
324 PyObject
* _argo0
= 0;
325 char *_kwnames
[] = { "self", NULL
};
329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCell_GetTextColour",_kwnames
,&_argo0
))
332 if (_argo0
== Py_None
) { _arg0
= NULL
; }
333 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCell_p")) {
334 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCell_GetTextColour. Expected _wxGridCell_p.");
339 wxPy_BEGIN_ALLOW_THREADS
;
340 wxColour
& _result_ref
= wxGridCell_GetTextColour(_arg0
);
341 _result
= (wxColour
*) &_result_ref
;
343 wxPy_END_ALLOW_THREADS
;
345 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
346 _resultobj
= Py_BuildValue("s",_ptemp
);
349 _resultobj
= Py_None
;
354 #define wxGridCell_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
355 static PyObject
*_wrap_wxGridCell_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
356 PyObject
* _resultobj
;
359 PyObject
* _argo0
= 0;
360 PyObject
* _argo1
= 0;
361 char *_kwnames
[] = { "self","colour", NULL
};
364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCell_SetTextColour",_kwnames
,&_argo0
,&_argo1
))
367 if (_argo0
== Py_None
) { _arg0
= NULL
; }
368 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCell_p")) {
369 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCell_SetTextColour. Expected _wxGridCell_p.");
374 if (_argo1
== Py_None
) { _arg1
= NULL
; }
375 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxColour_p")) {
376 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCell_SetTextColour. Expected _wxColour_p.");
381 wxPy_BEGIN_ALLOW_THREADS
;
382 wxGridCell_SetTextColour(_arg0
,*_arg1
);
384 wxPy_END_ALLOW_THREADS
;
385 } Py_INCREF(Py_None
);
386 _resultobj
= Py_None
;
390 #define wxGridCell_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
391 static PyObject
*_wrap_wxGridCell_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
392 PyObject
* _resultobj
;
395 PyObject
* _argo0
= 0;
396 char *_kwnames
[] = { "self", NULL
};
400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCell_GetBackgroundColour",_kwnames
,&_argo0
))
403 if (_argo0
== Py_None
) { _arg0
= NULL
; }
404 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCell_p")) {
405 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCell_GetBackgroundColour. Expected _wxGridCell_p.");
410 wxPy_BEGIN_ALLOW_THREADS
;
411 wxColour
& _result_ref
= wxGridCell_GetBackgroundColour(_arg0
);
412 _result
= (wxColour
*) &_result_ref
;
414 wxPy_END_ALLOW_THREADS
;
416 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
417 _resultobj
= Py_BuildValue("s",_ptemp
);
420 _resultobj
= Py_None
;
425 #define wxGridCell_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
426 static PyObject
*_wrap_wxGridCell_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
427 PyObject
* _resultobj
;
430 PyObject
* _argo0
= 0;
431 PyObject
* _argo1
= 0;
432 char *_kwnames
[] = { "self","colour", NULL
};
435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCell_SetBackgroundColour",_kwnames
,&_argo0
,&_argo1
))
438 if (_argo0
== Py_None
) { _arg0
= NULL
; }
439 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCell_p")) {
440 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCell_SetBackgroundColour. Expected _wxGridCell_p.");
445 if (_argo1
== Py_None
) { _arg1
= NULL
; }
446 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxColour_p")) {
447 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCell_SetBackgroundColour. Expected _wxColour_p.");
452 wxPy_BEGIN_ALLOW_THREADS
;
453 wxGridCell_SetBackgroundColour(_arg0
,*_arg1
);
455 wxPy_END_ALLOW_THREADS
;
456 } Py_INCREF(Py_None
);
457 _resultobj
= Py_None
;
461 #define wxGridCell_GetBackgroundBrush(_swigobj) (_swigobj->GetBackgroundBrush())
462 static PyObject
*_wrap_wxGridCell_GetBackgroundBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
463 PyObject
* _resultobj
;
466 PyObject
* _argo0
= 0;
467 char *_kwnames
[] = { "self", NULL
};
471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCell_GetBackgroundBrush",_kwnames
,&_argo0
))
474 if (_argo0
== Py_None
) { _arg0
= NULL
; }
475 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCell_p")) {
476 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCell_GetBackgroundBrush. Expected _wxGridCell_p.");
481 wxPy_BEGIN_ALLOW_THREADS
;
482 wxBrush
& _result_ref
= wxGridCell_GetBackgroundBrush(_arg0
);
483 _result
= (wxBrush
*) &_result_ref
;
485 wxPy_END_ALLOW_THREADS
;
487 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBrush_p");
488 _resultobj
= Py_BuildValue("s",_ptemp
);
491 _resultobj
= Py_None
;
496 #define wxGridCell_GetAlignment(_swigobj) (_swigobj->GetAlignment())
497 static PyObject
*_wrap_wxGridCell_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
498 PyObject
* _resultobj
;
501 PyObject
* _argo0
= 0;
502 char *_kwnames
[] = { "self", NULL
};
505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCell_GetAlignment",_kwnames
,&_argo0
))
508 if (_argo0
== Py_None
) { _arg0
= NULL
; }
509 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCell_p")) {
510 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCell_GetAlignment. Expected _wxGridCell_p.");
515 wxPy_BEGIN_ALLOW_THREADS
;
516 _result
= (int )wxGridCell_GetAlignment(_arg0
);
518 wxPy_END_ALLOW_THREADS
;
519 } _resultobj
= Py_BuildValue("i",_result
);
523 #define wxGridCell_SetAlignment(_swigobj,_swigarg0) (_swigobj->SetAlignment(_swigarg0))
524 static PyObject
*_wrap_wxGridCell_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
525 PyObject
* _resultobj
;
528 PyObject
* _argo0
= 0;
529 char *_kwnames
[] = { "self","align", NULL
};
532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridCell_SetAlignment",_kwnames
,&_argo0
,&_arg1
))
535 if (_argo0
== Py_None
) { _arg0
= NULL
; }
536 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCell_p")) {
537 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCell_SetAlignment. Expected _wxGridCell_p.");
542 wxPy_BEGIN_ALLOW_THREADS
;
543 wxGridCell_SetAlignment(_arg0
,_arg1
);
545 wxPy_END_ALLOW_THREADS
;
546 } Py_INCREF(Py_None
);
547 _resultobj
= Py_None
;
551 #define wxGridCell_GetCellBitmap(_swigobj) (_swigobj->GetCellBitmap())
552 static PyObject
*_wrap_wxGridCell_GetCellBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
553 PyObject
* _resultobj
;
556 PyObject
* _argo0
= 0;
557 char *_kwnames
[] = { "self", NULL
};
561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCell_GetCellBitmap",_kwnames
,&_argo0
))
564 if (_argo0
== Py_None
) { _arg0
= NULL
; }
565 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCell_p")) {
566 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCell_GetCellBitmap. Expected _wxGridCell_p.");
571 wxPy_BEGIN_ALLOW_THREADS
;
572 _result
= (wxBitmap
*)wxGridCell_GetCellBitmap(_arg0
);
574 wxPy_END_ALLOW_THREADS
;
576 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
577 _resultobj
= Py_BuildValue("s",_ptemp
);
580 _resultobj
= Py_None
;
585 #define wxGridCell_SetCellBitmap(_swigobj,_swigarg0) (_swigobj->SetCellBitmap(_swigarg0))
586 static PyObject
*_wrap_wxGridCell_SetCellBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
587 PyObject
* _resultobj
;
590 PyObject
* _argo0
= 0;
591 PyObject
* _argo1
= 0;
592 char *_kwnames
[] = { "self","bitmap", NULL
};
595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCell_SetCellBitmap",_kwnames
,&_argo0
,&_argo1
))
598 if (_argo0
== Py_None
) { _arg0
= NULL
; }
599 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCell_p")) {
600 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCell_SetCellBitmap. Expected _wxGridCell_p.");
605 if (_argo1
== Py_None
) { _arg1
= NULL
; }
606 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
607 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCell_SetCellBitmap. Expected _wxBitmap_p.");
612 wxPy_BEGIN_ALLOW_THREADS
;
613 wxGridCell_SetCellBitmap(_arg0
,_arg1
);
615 wxPy_END_ALLOW_THREADS
;
616 } Py_INCREF(Py_None
);
617 _resultobj
= Py_None
;
621 static void *SwigwxGridTowxPanel(void *ptr
) {
624 src
= (wxGrid
*) ptr
;
625 dest
= (wxPanel
*) src
;
626 return (void *) dest
;
629 static void *SwigwxGridTowxWindow(void *ptr
) {
632 src
= (wxGrid
*) ptr
;
633 dest
= (wxWindow
*) src
;
634 return (void *) dest
;
637 static void *SwigwxGridTowxEvtHandler(void *ptr
) {
640 src
= (wxGrid
*) ptr
;
641 dest
= (wxEvtHandler
*) src
;
642 return (void *) dest
;
645 #define new_wxGrid(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxGrid(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
646 static PyObject
*_wrap_new_wxGrid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
647 PyObject
* _resultobj
;
651 wxPoint
* _arg2
= (wxPoint
*) &wxPyDefaultPosition
;
652 wxSize
* _arg3
= (wxSize
*) &wxPyDefaultSize
;
653 long _arg4
= (long ) 0;
654 char * _arg5
= (char *) "grid";
655 PyObject
* _argo0
= 0;
656 PyObject
* _argo2
= 0;
657 PyObject
* _argo3
= 0;
658 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOls:new_wxGrid",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_argo3
,&_arg4
,&_arg5
))
665 if (_argo0
== Py_None
) { _arg0
= NULL
; }
666 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
667 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxGrid. Expected _wxWindow_p.");
672 if (_argo2
== Py_None
) { _arg2
= NULL
; }
673 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPoint_p")) {
674 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxGrid. Expected _wxPoint_p.");
679 if (_argo3
== Py_None
) { _arg3
= NULL
; }
680 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxSize_p")) {
681 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of new_wxGrid. Expected _wxSize_p.");
686 wxPy_BEGIN_ALLOW_THREADS
;
687 _result
= (wxGrid
*)new_wxGrid(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
689 wxPy_END_ALLOW_THREADS
;
691 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGrid_p");
692 _resultobj
= Py_BuildValue("s",_ptemp
);
695 _resultobj
= Py_None
;
700 #define wxGrid_AdjustScrollbars(_swigobj) (_swigobj->AdjustScrollbars())
701 static PyObject
*_wrap_wxGrid_AdjustScrollbars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
702 PyObject
* _resultobj
;
704 PyObject
* _argo0
= 0;
705 char *_kwnames
[] = { "self", NULL
};
708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_AdjustScrollbars",_kwnames
,&_argo0
))
711 if (_argo0
== Py_None
) { _arg0
= NULL
; }
712 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
713 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_AdjustScrollbars. Expected _wxGrid_p.");
718 wxPy_BEGIN_ALLOW_THREADS
;
719 wxGrid_AdjustScrollbars(_arg0
);
721 wxPy_END_ALLOW_THREADS
;
722 } Py_INCREF(Py_None
);
723 _resultobj
= Py_None
;
727 #define wxGrid_AppendCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->AppendCols(_swigarg0,_swigarg1))
728 static PyObject
*_wrap_wxGrid_AppendCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
729 PyObject
* _resultobj
;
732 int _arg1
= (int ) 1;
733 bool _arg2
= (bool ) TRUE
;
734 PyObject
* _argo0
= 0;
735 int tempbool2
= (int) TRUE
;
736 char *_kwnames
[] = { "self","n","updateLabels", NULL
};
739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxGrid_AppendCols",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
742 if (_argo0
== Py_None
) { _arg0
= NULL
; }
743 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
744 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_AppendCols. Expected _wxGrid_p.");
748 _arg2
= (bool ) tempbool2
;
750 wxPy_BEGIN_ALLOW_THREADS
;
751 _result
= (bool )wxGrid_AppendCols(_arg0
,_arg1
,_arg2
);
753 wxPy_END_ALLOW_THREADS
;
754 } _resultobj
= Py_BuildValue("i",_result
);
758 #define wxGrid_AppendRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->AppendRows(_swigarg0,_swigarg1))
759 static PyObject
*_wrap_wxGrid_AppendRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
760 PyObject
* _resultobj
;
763 int _arg1
= (int ) 1;
764 bool _arg2
= (bool ) TRUE
;
765 PyObject
* _argo0
= 0;
766 int tempbool2
= (int) TRUE
;
767 char *_kwnames
[] = { "self","n","updateLabels", NULL
};
770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxGrid_AppendRows",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
773 if (_argo0
== Py_None
) { _arg0
= NULL
; }
774 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
775 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_AppendRows. Expected _wxGrid_p.");
779 _arg2
= (bool ) tempbool2
;
781 wxPy_BEGIN_ALLOW_THREADS
;
782 _result
= (bool )wxGrid_AppendRows(_arg0
,_arg1
,_arg2
);
784 wxPy_END_ALLOW_THREADS
;
785 } _resultobj
= Py_BuildValue("i",_result
);
789 #define wxGrid_BeginBatch(_swigobj) (_swigobj->BeginBatch())
790 static PyObject
*_wrap_wxGrid_BeginBatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
791 PyObject
* _resultobj
;
793 PyObject
* _argo0
= 0;
794 char *_kwnames
[] = { "self", NULL
};
797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_BeginBatch",_kwnames
,&_argo0
))
800 if (_argo0
== Py_None
) { _arg0
= NULL
; }
801 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
802 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_BeginBatch. Expected _wxGrid_p.");
807 wxPy_BEGIN_ALLOW_THREADS
;
808 wxGrid_BeginBatch(_arg0
);
810 wxPy_END_ALLOW_THREADS
;
811 } Py_INCREF(Py_None
);
812 _resultobj
= Py_None
;
816 #define wxGrid_CellHitTest(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->CellHitTest(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
817 static PyObject
*_wrap_wxGrid_CellHitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
818 PyObject
* _resultobj
;
827 PyObject
* _argo0
= 0;
828 char *_kwnames
[] = { "self","x","y", NULL
};
837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_CellHitTest",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
840 if (_argo0
== Py_None
) { _arg0
= NULL
; }
841 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
842 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_CellHitTest. Expected _wxGrid_p.");
847 wxPy_BEGIN_ALLOW_THREADS
;
848 _result
= (bool )wxGrid_CellHitTest(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
850 wxPy_END_ALLOW_THREADS
;
851 } _resultobj
= Py_BuildValue("i",_result
);
854 o
= PyInt_FromLong((long) (*_arg3
));
855 _resultobj
= t_output_helper(_resultobj
, o
);
859 o
= PyInt_FromLong((long) (*_arg4
));
860 _resultobj
= t_output_helper(_resultobj
, o
);
865 static bool wxGrid_CreateGrid(wxGrid
*self
,int rows
,int cols
,short defaultWidth
,short defaultHeight
) {
866 return self
->CreateGrid(rows
, cols
, NULL
, NULL
,
867 defaultWidth
, defaultHeight
);
869 static PyObject
*_wrap_wxGrid_CreateGrid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
870 PyObject
* _resultobj
;
875 short _arg3
= (short ) wxGRID_DEFAULT_CELL_WIDTH
;
876 short _arg4
= (short ) wxGRID_DEFAULT_CELL_HEIGHT
;
877 PyObject
* _argo0
= 0;
878 char *_kwnames
[] = { "self","rows","cols","defaultWidth","defaultHeight", NULL
};
881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|hh:wxGrid_CreateGrid",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
884 if (_argo0
== Py_None
) { _arg0
= NULL
; }
885 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
886 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_CreateGrid. Expected _wxGrid_p.");
891 wxPy_BEGIN_ALLOW_THREADS
;
892 _result
= (bool )wxGrid_CreateGrid(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
894 wxPy_END_ALLOW_THREADS
;
895 } _resultobj
= Py_BuildValue("i",_result
);
899 #define wxGrid_CurrentCellVisible(_swigobj) (_swigobj->CurrentCellVisible())
900 static PyObject
*_wrap_wxGrid_CurrentCellVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
901 PyObject
* _resultobj
;
904 PyObject
* _argo0
= 0;
905 char *_kwnames
[] = { "self", NULL
};
908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_CurrentCellVisible",_kwnames
,&_argo0
))
911 if (_argo0
== Py_None
) { _arg0
= NULL
; }
912 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
913 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_CurrentCellVisible. Expected _wxGrid_p.");
918 wxPy_BEGIN_ALLOW_THREADS
;
919 _result
= (bool )wxGrid_CurrentCellVisible(_arg0
);
921 wxPy_END_ALLOW_THREADS
;
922 } _resultobj
= Py_BuildValue("i",_result
);
926 #define wxGrid_DeleteCols(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DeleteCols(_swigarg0,_swigarg1,_swigarg2))
927 static PyObject
*_wrap_wxGrid_DeleteCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
928 PyObject
* _resultobj
;
931 int _arg1
= (int ) 0;
932 int _arg2
= (int ) 1;
933 bool _arg3
= (bool ) TRUE
;
934 PyObject
* _argo0
= 0;
935 int tempbool3
= (int) TRUE
;
936 char *_kwnames
[] = { "self","pos","n","updateLabels", NULL
};
939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iii:wxGrid_DeleteCols",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
942 if (_argo0
== Py_None
) { _arg0
= NULL
; }
943 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
944 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_DeleteCols. Expected _wxGrid_p.");
948 _arg3
= (bool ) tempbool3
;
950 wxPy_BEGIN_ALLOW_THREADS
;
951 _result
= (bool )wxGrid_DeleteCols(_arg0
,_arg1
,_arg2
,_arg3
);
953 wxPy_END_ALLOW_THREADS
;
954 } _resultobj
= Py_BuildValue("i",_result
);
958 #define wxGrid_DeleteRows(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DeleteRows(_swigarg0,_swigarg1,_swigarg2))
959 static PyObject
*_wrap_wxGrid_DeleteRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
960 PyObject
* _resultobj
;
963 int _arg1
= (int ) 0;
964 int _arg2
= (int ) 1;
965 bool _arg3
= (bool ) TRUE
;
966 PyObject
* _argo0
= 0;
967 int tempbool3
= (int) TRUE
;
968 char *_kwnames
[] = { "self","pos","n","updateLabels", NULL
};
971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iii:wxGrid_DeleteRows",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
974 if (_argo0
== Py_None
) { _arg0
= NULL
; }
975 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
976 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_DeleteRows. Expected _wxGrid_p.");
980 _arg3
= (bool ) tempbool3
;
982 wxPy_BEGIN_ALLOW_THREADS
;
983 _result
= (bool )wxGrid_DeleteRows(_arg0
,_arg1
,_arg2
,_arg3
);
985 wxPy_END_ALLOW_THREADS
;
986 } _resultobj
= Py_BuildValue("i",_result
);
990 #define wxGrid_EndBatch(_swigobj) (_swigobj->EndBatch())
991 static PyObject
*_wrap_wxGrid_EndBatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
992 PyObject
* _resultobj
;
994 PyObject
* _argo0
= 0;
995 char *_kwnames
[] = { "self", NULL
};
998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_EndBatch",_kwnames
,&_argo0
))
1001 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1002 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
1003 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_EndBatch. Expected _wxGrid_p.");
1008 wxPy_BEGIN_ALLOW_THREADS
;
1009 wxGrid_EndBatch(_arg0
);
1011 wxPy_END_ALLOW_THREADS
;
1012 } Py_INCREF(Py_None
);
1013 _resultobj
= Py_None
;
1017 #define wxGrid_GetBatchCount(_swigobj) (_swigobj->GetBatchCount())
1018 static PyObject
*_wrap_wxGrid_GetBatchCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1019 PyObject
* _resultobj
;
1022 PyObject
* _argo0
= 0;
1023 char *_kwnames
[] = { "self", NULL
};
1026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetBatchCount",_kwnames
,&_argo0
))
1029 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1030 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
1031 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetBatchCount. Expected _wxGrid_p.");
1036 wxPy_BEGIN_ALLOW_THREADS
;
1037 _result
= (int )wxGrid_GetBatchCount(_arg0
);
1039 wxPy_END_ALLOW_THREADS
;
1040 } _resultobj
= Py_BuildValue("i",_result
);
1044 #define wxGrid_GetCell(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCell(_swigarg0,_swigarg1))
1045 static PyObject
*_wrap_wxGrid_GetCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1046 PyObject
* _resultobj
;
1047 wxGridCell
* _result
;
1051 PyObject
* _argo0
= 0;
1052 char *_kwnames
[] = { "self","row","col", NULL
};
1056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_GetCell",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
1059 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1060 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
1061 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCell. Expected _wxGrid_p.");
1066 wxPy_BEGIN_ALLOW_THREADS
;
1067 _result
= (wxGridCell
*)wxGrid_GetCell(_arg0
,_arg1
,_arg2
);
1069 wxPy_END_ALLOW_THREADS
;
1071 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCell_p");
1072 _resultobj
= Py_BuildValue("s",_ptemp
);
1075 _resultobj
= Py_None
;
1080 #define wxGrid_GetCellAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellAlignment(_swigarg0,_swigarg1))
1081 static PyObject
*_wrap_wxGrid_GetCellAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1082 PyObject
* _resultobj
;
1087 PyObject
* _argo0
= 0;
1088 char *_kwnames
[] = { "self","row","col", NULL
};
1091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_GetCellAlignment",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
1094 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1095 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
1096 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellAlignment. Expected _wxGrid_p.");
1101 wxPy_BEGIN_ALLOW_THREADS
;
1102 _result
= (int )wxGrid_GetCellAlignment(_arg0
,_arg1
,_arg2
);
1104 wxPy_END_ALLOW_THREADS
;
1105 } _resultobj
= Py_BuildValue("i",_result
);
1109 #define wxGrid_GetDefCellAlignment(_swigobj) (_swigobj->GetCellAlignment())
1110 static PyObject
*_wrap_wxGrid_GetDefCellAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1111 PyObject
* _resultobj
;
1114 PyObject
* _argo0
= 0;
1115 char *_kwnames
[] = { "self", NULL
};
1118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetDefCellAlignment",_kwnames
,&_argo0
))
1121 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1122 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
1123 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefCellAlignment. Expected _wxGrid_p.");
1128 wxPy_BEGIN_ALLOW_THREADS
;
1129 _result
= (int )wxGrid_GetDefCellAlignment(_arg0
);
1131 wxPy_END_ALLOW_THREADS
;
1132 } _resultobj
= Py_BuildValue("i",_result
);
1136 #define wxGrid_GetCellBackgroundColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellBackgroundColour(_swigarg0,_swigarg1))
1137 static PyObject
*_wrap_wxGrid_GetCellBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1138 PyObject
* _resultobj
;
1143 PyObject
* _argo0
= 0;
1144 char *_kwnames
[] = { "self","row","col", NULL
};
1148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_GetCellBackgroundColour",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
1151 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1152 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
1153 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellBackgroundColour. Expected _wxGrid_p.");
1158 wxPy_BEGIN_ALLOW_THREADS
;
1159 wxColour
& _result_ref
= wxGrid_GetCellBackgroundColour(_arg0
,_arg1
,_arg2
);
1160 _result
= (wxColour
*) &_result_ref
;
1162 wxPy_END_ALLOW_THREADS
;
1164 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
1165 _resultobj
= Py_BuildValue("s",_ptemp
);
1168 _resultobj
= Py_None
;
1173 #define wxGrid_GetDefCellBackgroundColour(_swigobj) (_swigobj->GetCellBackgroundColour())
1174 static PyObject
*_wrap_wxGrid_GetDefCellBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1175 PyObject
* _resultobj
;
1178 PyObject
* _argo0
= 0;
1179 char *_kwnames
[] = { "self", NULL
};
1183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetDefCellBackgroundColour",_kwnames
,&_argo0
))
1186 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1187 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
1188 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefCellBackgroundColour. Expected _wxGrid_p.");
1193 wxPy_BEGIN_ALLOW_THREADS
;
1194 wxColour
& _result_ref
= wxGrid_GetDefCellBackgroundColour(_arg0
);
1195 _result
= (wxColour
*) &_result_ref
;
1197 wxPy_END_ALLOW_THREADS
;
1199 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
1200 _resultobj
= Py_BuildValue("s",_ptemp
);
1203 _resultobj
= Py_None
;
1208 static PyObject
* wxGrid_GetCells(wxGrid
*self
) {
1210 PyObject
* rows
= PyList_New(0);
1211 for (row
=0; row
< self
->GetRows(); row
++) {
1212 PyObject
* rowList
= PyList_New(0);
1213 for (col
=0; col
< self
->GetCols(); col
++) {
1214 wxGridCell
* cell
= self
->GetCell(row
, col
);
1216 bool doSave
= wxPyRestoreThread();
1217 PyObject
* pyCell
= wxPyConstructObject(cell
, "wxGridCell");
1218 wxPySaveThread(doSave
);
1220 if (PyList_Append(rowList
, pyCell
) == -1)
1223 if (PyList_Append(rows
, rowList
) == -1)
1228 static PyObject
*_wrap_wxGrid_GetCells(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1229 PyObject
* _resultobj
;
1232 PyObject
* _argo0
= 0;
1233 char *_kwnames
[] = { "self", NULL
};
1236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetCells",_kwnames
,&_argo0
))
1239 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1240 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
1241 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCells. Expected _wxGrid_p.");
1246 wxPy_BEGIN_ALLOW_THREADS
;
1247 _result
= (PyObject
*)wxGrid_GetCells(_arg0
);
1249 wxPy_END_ALLOW_THREADS
;
1251 _resultobj
= _result
;
1256 #define wxGrid_GetCellTextColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellTextColour(_swigarg0,_swigarg1))
1257 static PyObject
*_wrap_wxGrid_GetCellTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1258 PyObject
* _resultobj
;
1263 PyObject
* _argo0
= 0;
1264 char *_kwnames
[] = { "self","row","col", NULL
};
1268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_GetCellTextColour",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
1271 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1272 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
1273 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellTextColour. Expected _wxGrid_p.");
1278 wxPy_BEGIN_ALLOW_THREADS
;
1279 wxColour
& _result_ref
= wxGrid_GetCellTextColour(_arg0
,_arg1
,_arg2
);
1280 _result
= (wxColour
*) &_result_ref
;
1282 wxPy_END_ALLOW_THREADS
;
1284 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
1285 _resultobj
= Py_BuildValue("s",_ptemp
);
1288 _resultobj
= Py_None
;
1293 #define wxGrid_GetDefCellTextColour(_swigobj) (_swigobj->GetCellTextColour())
1294 static PyObject
*_wrap_wxGrid_GetDefCellTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1295 PyObject
* _resultobj
;
1298 PyObject
* _argo0
= 0;
1299 char *_kwnames
[] = { "self", NULL
};
1303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetDefCellTextColour",_kwnames
,&_argo0
))
1306 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1307 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
1308 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefCellTextColour. Expected _wxGrid_p.");
1313 wxPy_BEGIN_ALLOW_THREADS
;
1314 wxColour
& _result_ref
= wxGrid_GetDefCellTextColour(_arg0
);
1315 _result
= (wxColour
*) &_result_ref
;
1317 wxPy_END_ALLOW_THREADS
;
1319 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
1320 _resultobj
= Py_BuildValue("s",_ptemp
);
1323 _resultobj
= Py_None
;
1328 #define wxGrid_GetCellTextFont(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellTextFont(_swigarg0,_swigarg1))
1329 static PyObject
*_wrap_wxGrid_GetCellTextFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1330 PyObject
* _resultobj
;
1335 PyObject
* _argo0
= 0;
1336 char *_kwnames
[] = { "self","row","col", NULL
};
1340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_GetCellTextFont",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
1343 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1344 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
1345 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellTextFont. Expected _wxGrid_p.");
1350 wxPy_BEGIN_ALLOW_THREADS
;
1351 wxFont
& _result_ref
= wxGrid_GetCellTextFont(_arg0
,_arg1
,_arg2
);
1352 _result
= (wxFont
*) &_result_ref
;
1354 wxPy_END_ALLOW_THREADS
;
1356 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
1357 _resultobj
= Py_BuildValue("s",_ptemp
);
1360 _resultobj
= Py_None
;
1365 #define wxGrid_GetDefCellTextFont(_swigobj) (_swigobj->GetCellTextFont())
1366 static PyObject
*_wrap_wxGrid_GetDefCellTextFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1367 PyObject
* _resultobj
;
1370 PyObject
* _argo0
= 0;
1371 char *_kwnames
[] = { "self", NULL
};
1375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetDefCellTextFont",_kwnames
,&_argo0
))
1378 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1379 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
1380 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefCellTextFont. Expected _wxGrid_p.");
1385 wxPy_BEGIN_ALLOW_THREADS
;
1386 wxFont
& _result_ref
= wxGrid_GetDefCellTextFont(_arg0
);
1387 _result
= (wxFont
*) &_result_ref
;
1389 wxPy_END_ALLOW_THREADS
;
1391 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
1392 _resultobj
= Py_BuildValue("s",_ptemp
);
1395 _resultobj
= Py_None
;
1400 #define wxGrid_GetCellValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellValue(_swigarg0,_swigarg1))
1401 static PyObject
*_wrap_wxGrid_GetCellValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1402 PyObject
* _resultobj
;
1407 PyObject
* _argo0
= 0;
1408 char *_kwnames
[] = { "self","row","col", NULL
};
1411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_GetCellValue",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
1414 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1415 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
1416 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellValue. Expected _wxGrid_p.");
1421 wxPy_BEGIN_ALLOW_THREADS
;
1422 wxString
& _result_ref
= wxGrid_GetCellValue(_arg0
,_arg1
,_arg2
);
1423 _result
= (wxString
*) &_result_ref
;
1425 wxPy_END_ALLOW_THREADS
;
1427 _resultobj
= PyString_FromString(WXSTRINGCAST (*_result
));
1432 #define wxGrid_GetCols(_swigobj) (_swigobj->GetCols())
1433 static PyObject
*_wrap_wxGrid_GetCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1434 PyObject
* _resultobj
;
1437 PyObject
* _argo0
= 0;
1438 char *_kwnames
[] = { "self", NULL
};
1441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetCols",_kwnames
,&_argo0
))
1444 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1445 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
1446 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCols. Expected _wxGrid_p.");
1451 wxPy_BEGIN_ALLOW_THREADS
;
1452 _result
= (int )wxGrid_GetCols(_arg0
);
1454 wxPy_END_ALLOW_THREADS
;
1455 } _resultobj
= Py_BuildValue("i",_result
);
1459 #define wxGrid_GetColumnWidth(_swigobj,_swigarg0) (_swigobj->GetColumnWidth(_swigarg0))
1460 static PyObject
*_wrap_wxGrid_GetColumnWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1461 PyObject
* _resultobj
;
1465 PyObject
* _argo0
= 0;
1466 char *_kwnames
[] = { "self","col", NULL
};
1469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_GetColumnWidth",_kwnames
,&_argo0
,&_arg1
))
1472 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1473 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
1474 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetColumnWidth. Expected _wxGrid_p.");
1479 wxPy_BEGIN_ALLOW_THREADS
;
1480 _result
= (int )wxGrid_GetColumnWidth(_arg0
,_arg1
);
1482 wxPy_END_ALLOW_THREADS
;
1483 } _resultobj
= Py_BuildValue("i",_result
);
1487 #define wxGrid_GetCurrentRect(_swigobj) (_swigobj->GetCurrentRect())
1488 static PyObject
*_wrap_wxGrid_GetCurrentRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1489 PyObject
* _resultobj
;
1492 PyObject
* _argo0
= 0;
1493 char *_kwnames
[] = { "self", NULL
};
1497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetCurrentRect",_kwnames
,&_argo0
))
1500 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1501 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
1502 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCurrentRect. Expected _wxGrid_p.");
1507 wxPy_BEGIN_ALLOW_THREADS
;
1508 _result
= new wxRect (wxGrid_GetCurrentRect(_arg0
));
1510 wxPy_END_ALLOW_THREADS
;
1511 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
1512 _resultobj
= Py_BuildValue("s",_ptemp
);
1516 #define wxGrid_GetCursorColumn(_swigobj) (_swigobj->GetCursorColumn())
1517 static PyObject
*_wrap_wxGrid_GetCursorColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1518 PyObject
* _resultobj
;
1521 PyObject
* _argo0
= 0;
1522 char *_kwnames
[] = { "self", NULL
};
1525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetCursorColumn",_kwnames
,&_argo0
))
1528 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1529 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
1530 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCursorColumn. Expected _wxGrid_p.");
1535 wxPy_BEGIN_ALLOW_THREADS
;
1536 _result
= (int )wxGrid_GetCursorColumn(_arg0
);
1538 wxPy_END_ALLOW_THREADS
;
1539 } _resultobj
= Py_BuildValue("i",_result
);
1543 #define wxGrid_GetCursorRow(_swigobj) (_swigobj->GetCursorRow())
1544 static PyObject
*_wrap_wxGrid_GetCursorRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1545 PyObject
* _resultobj
;
1548 PyObject
* _argo0
= 0;
1549 char *_kwnames
[] = { "self", NULL
};
1552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetCursorRow",_kwnames
,&_argo0
))
1555 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1556 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
1557 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCursorRow. Expected _wxGrid_p.");
1562 wxPy_BEGIN_ALLOW_THREADS
;
1563 _result
= (int )wxGrid_GetCursorRow(_arg0
);
1565 wxPy_END_ALLOW_THREADS
;
1566 } _resultobj
= Py_BuildValue("i",_result
);
1570 #define wxGrid_GetEditable(_swigobj) (_swigobj->GetEditable())
1571 static PyObject
*_wrap_wxGrid_GetEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1572 PyObject
* _resultobj
;
1575 PyObject
* _argo0
= 0;
1576 char *_kwnames
[] = { "self", NULL
};
1579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetEditable",_kwnames
,&_argo0
))
1582 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1583 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
1584 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetEditable. Expected _wxGrid_p.");
1589 wxPy_BEGIN_ALLOW_THREADS
;
1590 _result
= (bool )wxGrid_GetEditable(_arg0
);
1592 wxPy_END_ALLOW_THREADS
;
1593 } _resultobj
= Py_BuildValue("i",_result
);
1597 #define wxGrid_GetHorizScrollBar(_swigobj) (_swigobj->GetHorizScrollBar())
1598 static PyObject
*_wrap_wxGrid_GetHorizScrollBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1599 PyObject
* _resultobj
;
1600 wxScrollBar
* _result
;
1602 PyObject
* _argo0
= 0;
1603 char *_kwnames
[] = { "self", NULL
};
1607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetHorizScrollBar",_kwnames
,&_argo0
))
1610 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1611 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
1612 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetHorizScrollBar. Expected _wxGrid_p.");
1617 wxPy_BEGIN_ALLOW_THREADS
;
1618 _result
= (wxScrollBar
*)wxGrid_GetHorizScrollBar(_arg0
);
1620 wxPy_END_ALLOW_THREADS
;
1622 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScrollBar_p");
1623 _resultobj
= Py_BuildValue("s",_ptemp
);
1626 _resultobj
= Py_None
;
1631 #define wxGrid_GetLabelAlignment(_swigobj,_swigarg0) (_swigobj->GetLabelAlignment(_swigarg0))
1632 static PyObject
*_wrap_wxGrid_GetLabelAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1633 PyObject
* _resultobj
;
1637 PyObject
* _argo0
= 0;
1638 char *_kwnames
[] = { "self","orientation", NULL
};
1641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_GetLabelAlignment",_kwnames
,&_argo0
,&_arg1
))
1644 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1645 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
1646 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetLabelAlignment. Expected _wxGrid_p.");
1651 wxPy_BEGIN_ALLOW_THREADS
;
1652 _result
= (int )wxGrid_GetLabelAlignment(_arg0
,_arg1
);
1654 wxPy_END_ALLOW_THREADS
;
1655 } _resultobj
= Py_BuildValue("i",_result
);
1659 #define wxGrid_GetLabelBackgroundColour(_swigobj) (_swigobj->GetLabelBackgroundColour())
1660 static PyObject
*_wrap_wxGrid_GetLabelBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1661 PyObject
* _resultobj
;
1664 PyObject
* _argo0
= 0;
1665 char *_kwnames
[] = { "self", NULL
};
1669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetLabelBackgroundColour",_kwnames
,&_argo0
))
1672 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1673 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
1674 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetLabelBackgroundColour. Expected _wxGrid_p.");
1679 wxPy_BEGIN_ALLOW_THREADS
;
1680 wxColour
& _result_ref
= wxGrid_GetLabelBackgroundColour(_arg0
);
1681 _result
= (wxColour
*) &_result_ref
;
1683 wxPy_END_ALLOW_THREADS
;
1685 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
1686 _resultobj
= Py_BuildValue("s",_ptemp
);
1689 _resultobj
= Py_None
;
1694 #define wxGrid_GetLabelSize(_swigobj,_swigarg0) (_swigobj->GetLabelSize(_swigarg0))
1695 static PyObject
*_wrap_wxGrid_GetLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1696 PyObject
* _resultobj
;
1700 PyObject
* _argo0
= 0;
1701 char *_kwnames
[] = { "self","orientation", NULL
};
1704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_GetLabelSize",_kwnames
,&_argo0
,&_arg1
))
1707 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1708 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
1709 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetLabelSize. Expected _wxGrid_p.");
1714 wxPy_BEGIN_ALLOW_THREADS
;
1715 _result
= (int )wxGrid_GetLabelSize(_arg0
,_arg1
);
1717 wxPy_END_ALLOW_THREADS
;
1718 } _resultobj
= Py_BuildValue("i",_result
);
1722 #define wxGrid_GetLabelTextColour(_swigobj) (_swigobj->GetLabelTextColour())
1723 static PyObject
*_wrap_wxGrid_GetLabelTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1724 PyObject
* _resultobj
;
1727 PyObject
* _argo0
= 0;
1728 char *_kwnames
[] = { "self", NULL
};
1732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetLabelTextColour",_kwnames
,&_argo0
))
1735 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1736 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
1737 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetLabelTextColour. Expected _wxGrid_p.");
1742 wxPy_BEGIN_ALLOW_THREADS
;
1743 wxColour
& _result_ref
= wxGrid_GetLabelTextColour(_arg0
);
1744 _result
= (wxColour
*) &_result_ref
;
1746 wxPy_END_ALLOW_THREADS
;
1748 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
1749 _resultobj
= Py_BuildValue("s",_ptemp
);
1752 _resultobj
= Py_None
;
1757 #define wxGrid_GetLabelTextFont(_swigobj) (_swigobj->GetLabelTextFont())
1758 static PyObject
*_wrap_wxGrid_GetLabelTextFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1759 PyObject
* _resultobj
;
1762 PyObject
* _argo0
= 0;
1763 char *_kwnames
[] = { "self", NULL
};
1767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetLabelTextFont",_kwnames
,&_argo0
))
1770 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1771 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
1772 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetLabelTextFont. Expected _wxGrid_p.");
1777 wxPy_BEGIN_ALLOW_THREADS
;
1778 wxFont
& _result_ref
= wxGrid_GetLabelTextFont(_arg0
);
1779 _result
= (wxFont
*) &_result_ref
;
1781 wxPy_END_ALLOW_THREADS
;
1783 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
1784 _resultobj
= Py_BuildValue("s",_ptemp
);
1787 _resultobj
= Py_None
;
1792 #define wxGrid_GetLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetLabelValue(_swigarg0,_swigarg1))
1793 static PyObject
*_wrap_wxGrid_GetLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1794 PyObject
* _resultobj
;
1799 PyObject
* _argo0
= 0;
1800 char *_kwnames
[] = { "self","orientation","pos", NULL
};
1803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_GetLabelValue",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
1806 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1807 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
1808 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetLabelValue. Expected _wxGrid_p.");
1813 wxPy_BEGIN_ALLOW_THREADS
;
1814 wxString
& _result_ref
= wxGrid_GetLabelValue(_arg0
,_arg1
,_arg2
);
1815 _result
= (wxString
*) &_result_ref
;
1817 wxPy_END_ALLOW_THREADS
;
1819 _resultobj
= PyString_FromString(WXSTRINGCAST (*_result
));
1824 #define wxGrid_GetRowHeight(_swigobj,_swigarg0) (_swigobj->GetRowHeight(_swigarg0))
1825 static PyObject
*_wrap_wxGrid_GetRowHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1826 PyObject
* _resultobj
;
1830 PyObject
* _argo0
= 0;
1831 char *_kwnames
[] = { "self","row", NULL
};
1834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_GetRowHeight",_kwnames
,&_argo0
,&_arg1
))
1837 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1838 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
1839 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetRowHeight. Expected _wxGrid_p.");
1844 wxPy_BEGIN_ALLOW_THREADS
;
1845 _result
= (int )wxGrid_GetRowHeight(_arg0
,_arg1
);
1847 wxPy_END_ALLOW_THREADS
;
1848 } _resultobj
= Py_BuildValue("i",_result
);
1852 #define wxGrid_GetRows(_swigobj) (_swigobj->GetRows())
1853 static PyObject
*_wrap_wxGrid_GetRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1854 PyObject
* _resultobj
;
1857 PyObject
* _argo0
= 0;
1858 char *_kwnames
[] = { "self", NULL
};
1861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetRows",_kwnames
,&_argo0
))
1864 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1865 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
1866 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetRows. Expected _wxGrid_p.");
1871 wxPy_BEGIN_ALLOW_THREADS
;
1872 _result
= (int )wxGrid_GetRows(_arg0
);
1874 wxPy_END_ALLOW_THREADS
;
1875 } _resultobj
= Py_BuildValue("i",_result
);
1879 #define wxGrid_GetScrollPosX(_swigobj) (_swigobj->GetScrollPosX())
1880 static PyObject
*_wrap_wxGrid_GetScrollPosX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1881 PyObject
* _resultobj
;
1884 PyObject
* _argo0
= 0;
1885 char *_kwnames
[] = { "self", NULL
};
1888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetScrollPosX",_kwnames
,&_argo0
))
1891 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1892 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
1893 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetScrollPosX. Expected _wxGrid_p.");
1898 wxPy_BEGIN_ALLOW_THREADS
;
1899 _result
= (int )wxGrid_GetScrollPosX(_arg0
);
1901 wxPy_END_ALLOW_THREADS
;
1902 } _resultobj
= Py_BuildValue("i",_result
);
1906 #define wxGrid_GetScrollPosY(_swigobj) (_swigobj->GetScrollPosY())
1907 static PyObject
*_wrap_wxGrid_GetScrollPosY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1908 PyObject
* _resultobj
;
1911 PyObject
* _argo0
= 0;
1912 char *_kwnames
[] = { "self", NULL
};
1915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetScrollPosY",_kwnames
,&_argo0
))
1918 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1919 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
1920 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetScrollPosY. Expected _wxGrid_p.");
1925 wxPy_BEGIN_ALLOW_THREADS
;
1926 _result
= (int )wxGrid_GetScrollPosY(_arg0
);
1928 wxPy_END_ALLOW_THREADS
;
1929 } _resultobj
= Py_BuildValue("i",_result
);
1933 #define wxGrid_GetTextItem(_swigobj) (_swigobj->GetTextItem())
1934 static PyObject
*_wrap_wxGrid_GetTextItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1935 PyObject
* _resultobj
;
1936 wxTextCtrl
* _result
;
1938 PyObject
* _argo0
= 0;
1939 char *_kwnames
[] = { "self", NULL
};
1943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetTextItem",_kwnames
,&_argo0
))
1946 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1947 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
1948 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetTextItem. Expected _wxGrid_p.");
1953 wxPy_BEGIN_ALLOW_THREADS
;
1954 _result
= (wxTextCtrl
*)wxGrid_GetTextItem(_arg0
);
1956 wxPy_END_ALLOW_THREADS
;
1958 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTextCtrl_p");
1959 _resultobj
= Py_BuildValue("s",_ptemp
);
1962 _resultobj
= Py_None
;
1967 #define wxGrid_GetVertScrollBar(_swigobj) (_swigobj->GetVertScrollBar())
1968 static PyObject
*_wrap_wxGrid_GetVertScrollBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1969 PyObject
* _resultobj
;
1970 wxScrollBar
* _result
;
1972 PyObject
* _argo0
= 0;
1973 char *_kwnames
[] = { "self", NULL
};
1977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetVertScrollBar",_kwnames
,&_argo0
))
1980 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1981 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
1982 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetVertScrollBar. Expected _wxGrid_p.");
1987 wxPy_BEGIN_ALLOW_THREADS
;
1988 _result
= (wxScrollBar
*)wxGrid_GetVertScrollBar(_arg0
);
1990 wxPy_END_ALLOW_THREADS
;
1992 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScrollBar_p");
1993 _resultobj
= Py_BuildValue("s",_ptemp
);
1996 _resultobj
= Py_None
;
2001 #define wxGrid_InsertCols(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertCols(_swigarg0,_swigarg1,_swigarg2))
2002 static PyObject
*_wrap_wxGrid_InsertCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2003 PyObject
* _resultobj
;
2006 int _arg1
= (int ) 0;
2007 int _arg2
= (int ) 1;
2008 bool _arg3
= (bool ) TRUE
;
2009 PyObject
* _argo0
= 0;
2010 int tempbool3
= (int) TRUE
;
2011 char *_kwnames
[] = { "self","pos","n","updateLabels", NULL
};
2014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iii:wxGrid_InsertCols",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
2017 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2018 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
2019 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_InsertCols. Expected _wxGrid_p.");
2023 _arg3
= (bool ) tempbool3
;
2025 wxPy_BEGIN_ALLOW_THREADS
;
2026 _result
= (bool )wxGrid_InsertCols(_arg0
,_arg1
,_arg2
,_arg3
);
2028 wxPy_END_ALLOW_THREADS
;
2029 } _resultobj
= Py_BuildValue("i",_result
);
2033 #define wxGrid_InsertRows(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertRows(_swigarg0,_swigarg1,_swigarg2))
2034 static PyObject
*_wrap_wxGrid_InsertRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2035 PyObject
* _resultobj
;
2038 int _arg1
= (int ) 0;
2039 int _arg2
= (int ) 1;
2040 bool _arg3
= (bool ) TRUE
;
2041 PyObject
* _argo0
= 0;
2042 int tempbool3
= (int) TRUE
;
2043 char *_kwnames
[] = { "self","pos","n","updateLabels", NULL
};
2046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iii:wxGrid_InsertRows",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
2049 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2050 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
2051 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_InsertRows. Expected _wxGrid_p.");
2055 _arg3
= (bool ) tempbool3
;
2057 wxPy_BEGIN_ALLOW_THREADS
;
2058 _result
= (bool )wxGrid_InsertRows(_arg0
,_arg1
,_arg2
,_arg3
);
2060 wxPy_END_ALLOW_THREADS
;
2061 } _resultobj
= Py_BuildValue("i",_result
);
2065 #define wxGrid_OnActivate(_swigobj,_swigarg0) (_swigobj->OnActivate(_swigarg0))
2066 static PyObject
*_wrap_wxGrid_OnActivate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2067 PyObject
* _resultobj
;
2070 PyObject
* _argo0
= 0;
2072 char *_kwnames
[] = { "self","active", NULL
};
2075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_OnActivate",_kwnames
,&_argo0
,&tempbool1
))
2078 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2079 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
2080 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_OnActivate. Expected _wxGrid_p.");
2084 _arg1
= (bool ) tempbool1
;
2086 wxPy_BEGIN_ALLOW_THREADS
;
2087 wxGrid_OnActivate(_arg0
,_arg1
);
2089 wxPy_END_ALLOW_THREADS
;
2090 } Py_INCREF(Py_None
);
2091 _resultobj
= Py_None
;
2095 #define wxGrid_SetCellAlignment(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellAlignment(_swigarg0,_swigarg1,_swigarg2))
2096 static PyObject
*_wrap_wxGrid_SetCellAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2097 PyObject
* _resultobj
;
2102 PyObject
* _argo0
= 0;
2103 char *_kwnames
[] = { "self","alignment","row","col", NULL
};
2106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiii:wxGrid_SetCellAlignment",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
2109 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2110 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
2111 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellAlignment. Expected _wxGrid_p.");
2116 wxPy_BEGIN_ALLOW_THREADS
;
2117 wxGrid_SetCellAlignment(_arg0
,_arg1
,_arg2
,_arg3
);
2119 wxPy_END_ALLOW_THREADS
;
2120 } Py_INCREF(Py_None
);
2121 _resultobj
= Py_None
;
2125 #define wxGrid_SetDefCellAlignment(_swigobj,_swigarg0) (_swigobj->SetCellAlignment(_swigarg0))
2126 static PyObject
*_wrap_wxGrid_SetDefCellAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2127 PyObject
* _resultobj
;
2130 PyObject
* _argo0
= 0;
2131 char *_kwnames
[] = { "self","alignment", NULL
};
2134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_SetDefCellAlignment",_kwnames
,&_argo0
,&_arg1
))
2137 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2138 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
2139 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetDefCellAlignment. Expected _wxGrid_p.");
2144 wxPy_BEGIN_ALLOW_THREADS
;
2145 wxGrid_SetDefCellAlignment(_arg0
,_arg1
);
2147 wxPy_END_ALLOW_THREADS
;
2148 } Py_INCREF(Py_None
);
2149 _resultobj
= Py_None
;
2153 #define wxGrid_SetCellBackgroundColour(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellBackgroundColour(_swigarg0,_swigarg1,_swigarg2))
2154 static PyObject
*_wrap_wxGrid_SetCellBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2155 PyObject
* _resultobj
;
2160 PyObject
* _argo0
= 0;
2161 PyObject
* _argo1
= 0;
2162 char *_kwnames
[] = { "self","colour","row","col", NULL
};
2165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxGrid_SetCellBackgroundColour",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
2168 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2169 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
2170 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellBackgroundColour. Expected _wxGrid_p.");
2175 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2176 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxColour_p")) {
2177 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_SetCellBackgroundColour. Expected _wxColour_p.");
2182 wxPy_BEGIN_ALLOW_THREADS
;
2183 wxGrid_SetCellBackgroundColour(_arg0
,*_arg1
,_arg2
,_arg3
);
2185 wxPy_END_ALLOW_THREADS
;
2186 } Py_INCREF(Py_None
);
2187 _resultobj
= Py_None
;
2191 #define wxGrid_SetDefCellBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetCellBackgroundColour(_swigarg0))
2192 static PyObject
*_wrap_wxGrid_SetDefCellBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2193 PyObject
* _resultobj
;
2196 PyObject
* _argo0
= 0;
2197 PyObject
* _argo1
= 0;
2198 char *_kwnames
[] = { "self","colour", NULL
};
2201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetDefCellBackgroundColour",_kwnames
,&_argo0
,&_argo1
))
2204 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2205 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
2206 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetDefCellBackgroundColour. Expected _wxGrid_p.");
2211 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2212 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxColour_p")) {
2213 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_SetDefCellBackgroundColour. Expected _wxColour_p.");
2218 wxPy_BEGIN_ALLOW_THREADS
;
2219 wxGrid_SetDefCellBackgroundColour(_arg0
,*_arg1
);
2221 wxPy_END_ALLOW_THREADS
;
2222 } Py_INCREF(Py_None
);
2223 _resultobj
= Py_None
;
2227 #define wxGrid_SetCellTextColour(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellTextColour(_swigarg0,_swigarg1,_swigarg2))
2228 static PyObject
*_wrap_wxGrid_SetCellTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2229 PyObject
* _resultobj
;
2234 PyObject
* _argo0
= 0;
2235 PyObject
* _argo1
= 0;
2236 char *_kwnames
[] = { "self","colour","row","col", NULL
};
2239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxGrid_SetCellTextColour",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
2242 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2243 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
2244 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellTextColour. Expected _wxGrid_p.");
2249 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2250 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxColour_p")) {
2251 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_SetCellTextColour. Expected _wxColour_p.");
2256 wxPy_BEGIN_ALLOW_THREADS
;
2257 wxGrid_SetCellTextColour(_arg0
,*_arg1
,_arg2
,_arg3
);
2259 wxPy_END_ALLOW_THREADS
;
2260 } Py_INCREF(Py_None
);
2261 _resultobj
= Py_None
;
2265 #define wxGrid_SetDefCellTextColour(_swigobj,_swigarg0) (_swigobj->SetCellTextColour(_swigarg0))
2266 static PyObject
*_wrap_wxGrid_SetDefCellTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2267 PyObject
* _resultobj
;
2270 PyObject
* _argo0
= 0;
2271 PyObject
* _argo1
= 0;
2272 char *_kwnames
[] = { "self","colour", NULL
};
2275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetDefCellTextColour",_kwnames
,&_argo0
,&_argo1
))
2278 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2279 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
2280 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetDefCellTextColour. Expected _wxGrid_p.");
2285 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2286 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxColour_p")) {
2287 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_SetDefCellTextColour. Expected _wxColour_p.");
2292 wxPy_BEGIN_ALLOW_THREADS
;
2293 wxGrid_SetDefCellTextColour(_arg0
,*_arg1
);
2295 wxPy_END_ALLOW_THREADS
;
2296 } Py_INCREF(Py_None
);
2297 _resultobj
= Py_None
;
2301 #define wxGrid_SetCellTextFont(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellTextFont(_swigarg0,_swigarg1,_swigarg2))
2302 static PyObject
*_wrap_wxGrid_SetCellTextFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2303 PyObject
* _resultobj
;
2308 PyObject
* _argo0
= 0;
2309 PyObject
* _argo1
= 0;
2310 char *_kwnames
[] = { "self","font","row","col", NULL
};
2313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxGrid_SetCellTextFont",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
2316 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2317 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
2318 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellTextFont. Expected _wxGrid_p.");
2323 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2324 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
2325 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_SetCellTextFont. Expected _wxFont_p.");
2330 wxPy_BEGIN_ALLOW_THREADS
;
2331 wxGrid_SetCellTextFont(_arg0
,*_arg1
,_arg2
,_arg3
);
2333 wxPy_END_ALLOW_THREADS
;
2334 } Py_INCREF(Py_None
);
2335 _resultobj
= Py_None
;
2339 #define wxGrid_SetDefCellTextFont(_swigobj,_swigarg0) (_swigobj->SetCellTextFont(_swigarg0))
2340 static PyObject
*_wrap_wxGrid_SetDefCellTextFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2341 PyObject
* _resultobj
;
2344 PyObject
* _argo0
= 0;
2345 PyObject
* _argo1
= 0;
2346 char *_kwnames
[] = { "self","font", NULL
};
2349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetDefCellTextFont",_kwnames
,&_argo0
,&_argo1
))
2352 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2353 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
2354 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetDefCellTextFont. Expected _wxGrid_p.");
2359 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2360 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
2361 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_SetDefCellTextFont. Expected _wxFont_p.");
2366 wxPy_BEGIN_ALLOW_THREADS
;
2367 wxGrid_SetDefCellTextFont(_arg0
,*_arg1
);
2369 wxPy_END_ALLOW_THREADS
;
2370 } Py_INCREF(Py_None
);
2371 _resultobj
= Py_None
;
2375 #define wxGrid_SetCellValue(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellValue(_swigarg0,_swigarg1,_swigarg2))
2376 static PyObject
*_wrap_wxGrid_SetCellValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2377 PyObject
* _resultobj
;
2382 PyObject
* _argo0
= 0;
2383 PyObject
* _obj1
= 0;
2384 char *_kwnames
[] = { "self","val","row","col", NULL
};
2387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxGrid_SetCellValue",_kwnames
,&_argo0
,&_obj1
,&_arg2
,&_arg3
))
2390 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2391 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
2392 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellValue. Expected _wxGrid_p.");
2397 if (!PyString_Check(_obj1
)) {
2398 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2401 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
2404 wxPy_BEGIN_ALLOW_THREADS
;
2405 wxGrid_SetCellValue(_arg0
,*_arg1
,_arg2
,_arg3
);
2407 wxPy_END_ALLOW_THREADS
;
2408 } Py_INCREF(Py_None
);
2409 _resultobj
= Py_None
;
2417 #define wxGrid_SetColumnWidth(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColumnWidth(_swigarg0,_swigarg1))
2418 static PyObject
*_wrap_wxGrid_SetColumnWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2419 PyObject
* _resultobj
;
2423 PyObject
* _argo0
= 0;
2424 char *_kwnames
[] = { "self","col","width", NULL
};
2427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_SetColumnWidth",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2430 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2431 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
2432 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetColumnWidth. Expected _wxGrid_p.");
2437 wxPy_BEGIN_ALLOW_THREADS
;
2438 wxGrid_SetColumnWidth(_arg0
,_arg1
,_arg2
);
2440 wxPy_END_ALLOW_THREADS
;
2441 } Py_INCREF(Py_None
);
2442 _resultobj
= Py_None
;
2446 #define wxGrid_SetDividerPen(_swigobj,_swigarg0) (_swigobj->SetDividerPen(_swigarg0))
2447 static PyObject
*_wrap_wxGrid_SetDividerPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2448 PyObject
* _resultobj
;
2451 PyObject
* _argo0
= 0;
2452 PyObject
* _argo1
= 0;
2453 char *_kwnames
[] = { "self","pen", NULL
};
2456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetDividerPen",_kwnames
,&_argo0
,&_argo1
))
2459 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2460 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
2461 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetDividerPen. Expected _wxGrid_p.");
2466 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2467 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPen_p")) {
2468 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_SetDividerPen. Expected _wxPen_p.");
2473 wxPy_BEGIN_ALLOW_THREADS
;
2474 wxGrid_SetDividerPen(_arg0
,*_arg1
);
2476 wxPy_END_ALLOW_THREADS
;
2477 } Py_INCREF(Py_None
);
2478 _resultobj
= Py_None
;
2482 #define wxGrid_SetEditable(_swigobj,_swigarg0) (_swigobj->SetEditable(_swigarg0))
2483 static PyObject
*_wrap_wxGrid_SetEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2484 PyObject
* _resultobj
;
2487 PyObject
* _argo0
= 0;
2489 char *_kwnames
[] = { "self","editable", NULL
};
2492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_SetEditable",_kwnames
,&_argo0
,&tempbool1
))
2495 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2496 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
2497 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetEditable. Expected _wxGrid_p.");
2501 _arg1
= (bool ) tempbool1
;
2503 wxPy_BEGIN_ALLOW_THREADS
;
2504 wxGrid_SetEditable(_arg0
,_arg1
);
2506 wxPy_END_ALLOW_THREADS
;
2507 } Py_INCREF(Py_None
);
2508 _resultobj
= Py_None
;
2512 #define wxGrid_SetGridCursor(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetGridCursor(_swigarg0,_swigarg1))
2513 static PyObject
*_wrap_wxGrid_SetGridCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2514 PyObject
* _resultobj
;
2518 PyObject
* _argo0
= 0;
2519 char *_kwnames
[] = { "self","row","col", NULL
};
2522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_SetGridCursor",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2525 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2526 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
2527 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetGridCursor. Expected _wxGrid_p.");
2532 wxPy_BEGIN_ALLOW_THREADS
;
2533 wxGrid_SetGridCursor(_arg0
,_arg1
,_arg2
);
2535 wxPy_END_ALLOW_THREADS
;
2536 } Py_INCREF(Py_None
);
2537 _resultobj
= Py_None
;
2541 #define wxGrid_SetLabelAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabelAlignment(_swigarg0,_swigarg1))
2542 static PyObject
*_wrap_wxGrid_SetLabelAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2543 PyObject
* _resultobj
;
2547 PyObject
* _argo0
= 0;
2548 char *_kwnames
[] = { "self","orientation","alignment", NULL
};
2551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_SetLabelAlignment",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2554 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2555 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
2556 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetLabelAlignment. Expected _wxGrid_p.");
2561 wxPy_BEGIN_ALLOW_THREADS
;
2562 wxGrid_SetLabelAlignment(_arg0
,_arg1
,_arg2
);
2564 wxPy_END_ALLOW_THREADS
;
2565 } Py_INCREF(Py_None
);
2566 _resultobj
= Py_None
;
2570 #define wxGrid_SetLabelBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetLabelBackgroundColour(_swigarg0))
2571 static PyObject
*_wrap_wxGrid_SetLabelBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2572 PyObject
* _resultobj
;
2575 PyObject
* _argo0
= 0;
2576 PyObject
* _argo1
= 0;
2577 char *_kwnames
[] = { "self","value", NULL
};
2580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetLabelBackgroundColour",_kwnames
,&_argo0
,&_argo1
))
2583 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2584 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
2585 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetLabelBackgroundColour. Expected _wxGrid_p.");
2590 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2591 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxColour_p")) {
2592 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_SetLabelBackgroundColour. Expected _wxColour_p.");
2597 wxPy_BEGIN_ALLOW_THREADS
;
2598 wxGrid_SetLabelBackgroundColour(_arg0
,*_arg1
);
2600 wxPy_END_ALLOW_THREADS
;
2601 } Py_INCREF(Py_None
);
2602 _resultobj
= Py_None
;
2606 #define wxGrid_SetLabelSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabelSize(_swigarg0,_swigarg1))
2607 static PyObject
*_wrap_wxGrid_SetLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2608 PyObject
* _resultobj
;
2612 PyObject
* _argo0
= 0;
2613 char *_kwnames
[] = { "self","orientation","size", NULL
};
2616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_SetLabelSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2619 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2620 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
2621 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetLabelSize. Expected _wxGrid_p.");
2626 wxPy_BEGIN_ALLOW_THREADS
;
2627 wxGrid_SetLabelSize(_arg0
,_arg1
,_arg2
);
2629 wxPy_END_ALLOW_THREADS
;
2630 } Py_INCREF(Py_None
);
2631 _resultobj
= Py_None
;
2635 #define wxGrid_SetLabelTextColour(_swigobj,_swigarg0) (_swigobj->SetLabelTextColour(_swigarg0))
2636 static PyObject
*_wrap_wxGrid_SetLabelTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2637 PyObject
* _resultobj
;
2640 PyObject
* _argo0
= 0;
2641 PyObject
* _argo1
= 0;
2642 char *_kwnames
[] = { "self","value", NULL
};
2645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetLabelTextColour",_kwnames
,&_argo0
,&_argo1
))
2648 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2649 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
2650 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetLabelTextColour. Expected _wxGrid_p.");
2655 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2656 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxColour_p")) {
2657 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_SetLabelTextColour. Expected _wxColour_p.");
2662 wxPy_BEGIN_ALLOW_THREADS
;
2663 wxGrid_SetLabelTextColour(_arg0
,*_arg1
);
2665 wxPy_END_ALLOW_THREADS
;
2666 } Py_INCREF(Py_None
);
2667 _resultobj
= Py_None
;
2671 #define wxGrid_SetLabelTextFont(_swigobj,_swigarg0) (_swigobj->SetLabelTextFont(_swigarg0))
2672 static PyObject
*_wrap_wxGrid_SetLabelTextFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2673 PyObject
* _resultobj
;
2676 PyObject
* _argo0
= 0;
2677 PyObject
* _argo1
= 0;
2678 char *_kwnames
[] = { "self","font", NULL
};
2681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetLabelTextFont",_kwnames
,&_argo0
,&_argo1
))
2684 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2685 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
2686 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetLabelTextFont. Expected _wxGrid_p.");
2691 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2692 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
2693 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_SetLabelTextFont. Expected _wxFont_p.");
2698 wxPy_BEGIN_ALLOW_THREADS
;
2699 wxGrid_SetLabelTextFont(_arg0
,*_arg1
);
2701 wxPy_END_ALLOW_THREADS
;
2702 } Py_INCREF(Py_None
);
2703 _resultobj
= Py_None
;
2707 #define wxGrid_SetLabelValue(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetLabelValue(_swigarg0,_swigarg1,_swigarg2))
2708 static PyObject
*_wrap_wxGrid_SetLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2709 PyObject
* _resultobj
;
2714 PyObject
* _argo0
= 0;
2715 PyObject
* _obj2
= 0;
2716 char *_kwnames
[] = { "self","orientation","value","pos", NULL
};
2719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOi:wxGrid_SetLabelValue",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_arg3
))
2722 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2723 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
2724 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetLabelValue. Expected _wxGrid_p.");
2729 if (!PyString_Check(_obj2
)) {
2730 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2733 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
2736 wxPy_BEGIN_ALLOW_THREADS
;
2737 wxGrid_SetLabelValue(_arg0
,_arg1
,*_arg2
,_arg3
);
2739 wxPy_END_ALLOW_THREADS
;
2740 } Py_INCREF(Py_None
);
2741 _resultobj
= Py_None
;
2749 #define wxGrid_SetRowHeight(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowHeight(_swigarg0,_swigarg1))
2750 static PyObject
*_wrap_wxGrid_SetRowHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2751 PyObject
* _resultobj
;
2755 PyObject
* _argo0
= 0;
2756 char *_kwnames
[] = { "self","row","height", NULL
};
2759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_SetRowHeight",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2762 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2763 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
2764 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetRowHeight. Expected _wxGrid_p.");
2769 wxPy_BEGIN_ALLOW_THREADS
;
2770 wxGrid_SetRowHeight(_arg0
,_arg1
,_arg2
);
2772 wxPy_END_ALLOW_THREADS
;
2773 } Py_INCREF(Py_None
);
2774 _resultobj
= Py_None
;
2778 #define wxGrid_UpdateDimensions(_swigobj) (_swigobj->UpdateDimensions())
2779 static PyObject
*_wrap_wxGrid_UpdateDimensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2780 PyObject
* _resultobj
;
2782 PyObject
* _argo0
= 0;
2783 char *_kwnames
[] = { "self", NULL
};
2786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_UpdateDimensions",_kwnames
,&_argo0
))
2789 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2790 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
2791 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_UpdateDimensions. Expected _wxGrid_p.");
2796 wxPy_BEGIN_ALLOW_THREADS
;
2797 wxGrid_UpdateDimensions(_arg0
);
2799 wxPy_END_ALLOW_THREADS
;
2800 } Py_INCREF(Py_None
);
2801 _resultobj
= Py_None
;
2805 #define wxGrid_GetEditInPlace(_swigobj) (_swigobj->GetEditInPlace())
2806 static PyObject
*_wrap_wxGrid_GetEditInPlace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2807 PyObject
* _resultobj
;
2810 PyObject
* _argo0
= 0;
2811 char *_kwnames
[] = { "self", NULL
};
2814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetEditInPlace",_kwnames
,&_argo0
))
2817 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2818 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
2819 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetEditInPlace. Expected _wxGrid_p.");
2824 wxPy_BEGIN_ALLOW_THREADS
;
2825 _result
= (bool )wxGrid_GetEditInPlace(_arg0
);
2827 wxPy_END_ALLOW_THREADS
;
2828 } _resultobj
= Py_BuildValue("i",_result
);
2832 #define wxGrid_SetEditInPlace(_swigobj,_swigarg0) (_swigobj->SetEditInPlace(_swigarg0))
2833 static PyObject
*_wrap_wxGrid_SetEditInPlace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2834 PyObject
* _resultobj
;
2836 int _arg1
= (int ) TRUE
;
2837 PyObject
* _argo0
= 0;
2838 char *_kwnames
[] = { "self","edit", NULL
};
2841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxGrid_SetEditInPlace",_kwnames
,&_argo0
,&_arg1
))
2844 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2845 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
2846 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetEditInPlace. Expected _wxGrid_p.");
2851 wxPy_BEGIN_ALLOW_THREADS
;
2852 wxGrid_SetEditInPlace(_arg0
,_arg1
);
2854 wxPy_END_ALLOW_THREADS
;
2855 } Py_INCREF(Py_None
);
2856 _resultobj
= Py_None
;
2860 static void *SwigwxGridEventTowxEvent(void *ptr
) {
2863 src
= (wxGridEvent
*) ptr
;
2864 dest
= (wxEvent
*) src
;
2865 return (void *) dest
;
2868 #define wxGridEvent_m_row_set(_swigobj,_swigval) (_swigobj->m_row = _swigval,_swigval)
2869 static PyObject
*_wrap_wxGridEvent_m_row_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2870 PyObject
* _resultobj
;
2872 wxGridEvent
* _arg0
;
2874 PyObject
* _argo0
= 0;
2875 char *_kwnames
[] = { "self","m_row", NULL
};
2878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridEvent_m_row_set",_kwnames
,&_argo0
,&_arg1
))
2881 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2882 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
2883 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_m_row_set. Expected _wxGridEvent_p.");
2888 wxPy_BEGIN_ALLOW_THREADS
;
2889 _result
= (int )wxGridEvent_m_row_set(_arg0
,_arg1
);
2891 wxPy_END_ALLOW_THREADS
;
2892 } _resultobj
= Py_BuildValue("i",_result
);
2896 #define wxGridEvent_m_row_get(_swigobj) ((int ) _swigobj->m_row)
2897 static PyObject
*_wrap_wxGridEvent_m_row_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2898 PyObject
* _resultobj
;
2900 wxGridEvent
* _arg0
;
2901 PyObject
* _argo0
= 0;
2902 char *_kwnames
[] = { "self", NULL
};
2905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_m_row_get",_kwnames
,&_argo0
))
2908 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2909 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
2910 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_m_row_get. Expected _wxGridEvent_p.");
2915 wxPy_BEGIN_ALLOW_THREADS
;
2916 _result
= (int )wxGridEvent_m_row_get(_arg0
);
2918 wxPy_END_ALLOW_THREADS
;
2919 } _resultobj
= Py_BuildValue("i",_result
);
2923 #define wxGridEvent_m_col_set(_swigobj,_swigval) (_swigobj->m_col = _swigval,_swigval)
2924 static PyObject
*_wrap_wxGridEvent_m_col_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2925 PyObject
* _resultobj
;
2927 wxGridEvent
* _arg0
;
2929 PyObject
* _argo0
= 0;
2930 char *_kwnames
[] = { "self","m_col", NULL
};
2933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridEvent_m_col_set",_kwnames
,&_argo0
,&_arg1
))
2936 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2937 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
2938 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_m_col_set. Expected _wxGridEvent_p.");
2943 wxPy_BEGIN_ALLOW_THREADS
;
2944 _result
= (int )wxGridEvent_m_col_set(_arg0
,_arg1
);
2946 wxPy_END_ALLOW_THREADS
;
2947 } _resultobj
= Py_BuildValue("i",_result
);
2951 #define wxGridEvent_m_col_get(_swigobj) ((int ) _swigobj->m_col)
2952 static PyObject
*_wrap_wxGridEvent_m_col_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2953 PyObject
* _resultobj
;
2955 wxGridEvent
* _arg0
;
2956 PyObject
* _argo0
= 0;
2957 char *_kwnames
[] = { "self", NULL
};
2960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_m_col_get",_kwnames
,&_argo0
))
2963 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2964 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
2965 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_m_col_get. Expected _wxGridEvent_p.");
2970 wxPy_BEGIN_ALLOW_THREADS
;
2971 _result
= (int )wxGridEvent_m_col_get(_arg0
);
2973 wxPy_END_ALLOW_THREADS
;
2974 } _resultobj
= Py_BuildValue("i",_result
);
2978 #define wxGridEvent_m_x_set(_swigobj,_swigval) (_swigobj->m_x = _swigval,_swigval)
2979 static PyObject
*_wrap_wxGridEvent_m_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2980 PyObject
* _resultobj
;
2982 wxGridEvent
* _arg0
;
2984 PyObject
* _argo0
= 0;
2985 char *_kwnames
[] = { "self","m_x", NULL
};
2988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridEvent_m_x_set",_kwnames
,&_argo0
,&_arg1
))
2991 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2992 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
2993 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_m_x_set. Expected _wxGridEvent_p.");
2998 wxPy_BEGIN_ALLOW_THREADS
;
2999 _result
= (int )wxGridEvent_m_x_set(_arg0
,_arg1
);
3001 wxPy_END_ALLOW_THREADS
;
3002 } _resultobj
= Py_BuildValue("i",_result
);
3006 #define wxGridEvent_m_x_get(_swigobj) ((int ) _swigobj->m_x)
3007 static PyObject
*_wrap_wxGridEvent_m_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3008 PyObject
* _resultobj
;
3010 wxGridEvent
* _arg0
;
3011 PyObject
* _argo0
= 0;
3012 char *_kwnames
[] = { "self", NULL
};
3015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_m_x_get",_kwnames
,&_argo0
))
3018 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3019 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
3020 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_m_x_get. Expected _wxGridEvent_p.");
3025 wxPy_BEGIN_ALLOW_THREADS
;
3026 _result
= (int )wxGridEvent_m_x_get(_arg0
);
3028 wxPy_END_ALLOW_THREADS
;
3029 } _resultobj
= Py_BuildValue("i",_result
);
3033 #define wxGridEvent_m_y_set(_swigobj,_swigval) (_swigobj->m_y = _swigval,_swigval)
3034 static PyObject
*_wrap_wxGridEvent_m_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3035 PyObject
* _resultobj
;
3037 wxGridEvent
* _arg0
;
3039 PyObject
* _argo0
= 0;
3040 char *_kwnames
[] = { "self","m_y", NULL
};
3043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridEvent_m_y_set",_kwnames
,&_argo0
,&_arg1
))
3046 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3047 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
3048 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_m_y_set. Expected _wxGridEvent_p.");
3053 wxPy_BEGIN_ALLOW_THREADS
;
3054 _result
= (int )wxGridEvent_m_y_set(_arg0
,_arg1
);
3056 wxPy_END_ALLOW_THREADS
;
3057 } _resultobj
= Py_BuildValue("i",_result
);
3061 #define wxGridEvent_m_y_get(_swigobj) ((int ) _swigobj->m_y)
3062 static PyObject
*_wrap_wxGridEvent_m_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3063 PyObject
* _resultobj
;
3065 wxGridEvent
* _arg0
;
3066 PyObject
* _argo0
= 0;
3067 char *_kwnames
[] = { "self", NULL
};
3070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_m_y_get",_kwnames
,&_argo0
))
3073 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3074 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
3075 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_m_y_get. Expected _wxGridEvent_p.");
3080 wxPy_BEGIN_ALLOW_THREADS
;
3081 _result
= (int )wxGridEvent_m_y_get(_arg0
);
3083 wxPy_END_ALLOW_THREADS
;
3084 } _resultobj
= Py_BuildValue("i",_result
);
3088 #define wxGridEvent_m_control_set(_swigobj,_swigval) (_swigobj->m_control = _swigval,_swigval)
3089 static PyObject
*_wrap_wxGridEvent_m_control_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3090 PyObject
* _resultobj
;
3092 wxGridEvent
* _arg0
;
3094 PyObject
* _argo0
= 0;
3096 char *_kwnames
[] = { "self","m_control", NULL
};
3099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridEvent_m_control_set",_kwnames
,&_argo0
,&tempbool1
))
3102 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3103 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
3104 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_m_control_set. Expected _wxGridEvent_p.");
3108 _arg1
= (bool ) tempbool1
;
3110 wxPy_BEGIN_ALLOW_THREADS
;
3111 _result
= (bool )wxGridEvent_m_control_set(_arg0
,_arg1
);
3113 wxPy_END_ALLOW_THREADS
;
3114 } _resultobj
= Py_BuildValue("i",_result
);
3118 #define wxGridEvent_m_control_get(_swigobj) ((bool ) _swigobj->m_control)
3119 static PyObject
*_wrap_wxGridEvent_m_control_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3120 PyObject
* _resultobj
;
3122 wxGridEvent
* _arg0
;
3123 PyObject
* _argo0
= 0;
3124 char *_kwnames
[] = { "self", NULL
};
3127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_m_control_get",_kwnames
,&_argo0
))
3130 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3131 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
3132 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_m_control_get. Expected _wxGridEvent_p.");
3137 wxPy_BEGIN_ALLOW_THREADS
;
3138 _result
= (bool )wxGridEvent_m_control_get(_arg0
);
3140 wxPy_END_ALLOW_THREADS
;
3141 } _resultobj
= Py_BuildValue("i",_result
);
3145 #define wxGridEvent_m_shift_set(_swigobj,_swigval) (_swigobj->m_shift = _swigval,_swigval)
3146 static PyObject
*_wrap_wxGridEvent_m_shift_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3147 PyObject
* _resultobj
;
3149 wxGridEvent
* _arg0
;
3151 PyObject
* _argo0
= 0;
3153 char *_kwnames
[] = { "self","m_shift", NULL
};
3156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridEvent_m_shift_set",_kwnames
,&_argo0
,&tempbool1
))
3159 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3160 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
3161 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_m_shift_set. Expected _wxGridEvent_p.");
3165 _arg1
= (bool ) tempbool1
;
3167 wxPy_BEGIN_ALLOW_THREADS
;
3168 _result
= (bool )wxGridEvent_m_shift_set(_arg0
,_arg1
);
3170 wxPy_END_ALLOW_THREADS
;
3171 } _resultobj
= Py_BuildValue("i",_result
);
3175 #define wxGridEvent_m_shift_get(_swigobj) ((bool ) _swigobj->m_shift)
3176 static PyObject
*_wrap_wxGridEvent_m_shift_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3177 PyObject
* _resultobj
;
3179 wxGridEvent
* _arg0
;
3180 PyObject
* _argo0
= 0;
3181 char *_kwnames
[] = { "self", NULL
};
3184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_m_shift_get",_kwnames
,&_argo0
))
3187 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3188 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
3189 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_m_shift_get. Expected _wxGridEvent_p.");
3194 wxPy_BEGIN_ALLOW_THREADS
;
3195 _result
= (bool )wxGridEvent_m_shift_get(_arg0
);
3197 wxPy_END_ALLOW_THREADS
;
3198 } _resultobj
= Py_BuildValue("i",_result
);
3202 #define wxGridEvent_m_cell_set(_swigobj,_swigval) (_swigobj->m_cell = _swigval,_swigval)
3203 static PyObject
*_wrap_wxGridEvent_m_cell_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3204 PyObject
* _resultobj
;
3205 wxGridCell
* _result
;
3206 wxGridEvent
* _arg0
;
3208 PyObject
* _argo0
= 0;
3209 PyObject
* _argo1
= 0;
3210 char *_kwnames
[] = { "self","m_cell", NULL
};
3214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridEvent_m_cell_set",_kwnames
,&_argo0
,&_argo1
))
3217 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3218 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
3219 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_m_cell_set. Expected _wxGridEvent_p.");
3224 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3225 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCell_p")) {
3226 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridEvent_m_cell_set. Expected _wxGridCell_p.");
3231 wxPy_BEGIN_ALLOW_THREADS
;
3232 _result
= (wxGridCell
*)wxGridEvent_m_cell_set(_arg0
,_arg1
);
3234 wxPy_END_ALLOW_THREADS
;
3236 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCell_p");
3237 _resultobj
= Py_BuildValue("s",_ptemp
);
3240 _resultobj
= Py_None
;
3245 #define wxGridEvent_m_cell_get(_swigobj) ((wxGridCell *) _swigobj->m_cell)
3246 static PyObject
*_wrap_wxGridEvent_m_cell_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3247 PyObject
* _resultobj
;
3248 wxGridCell
* _result
;
3249 wxGridEvent
* _arg0
;
3250 PyObject
* _argo0
= 0;
3251 char *_kwnames
[] = { "self", NULL
};
3255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_m_cell_get",_kwnames
,&_argo0
))
3258 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3259 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
3260 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_m_cell_get. Expected _wxGridEvent_p.");
3265 wxPy_BEGIN_ALLOW_THREADS
;
3266 _result
= (wxGridCell
*)wxGridEvent_m_cell_get(_arg0
);
3268 wxPy_END_ALLOW_THREADS
;
3270 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCell_p");
3271 _resultobj
= Py_BuildValue("s",_ptemp
);
3274 _resultobj
= Py_None
;
3279 #define wxGridEvent_GetRow(_swigobj) (_swigobj->GetRow())
3280 static PyObject
*_wrap_wxGridEvent_GetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3281 PyObject
* _resultobj
;
3283 wxGridEvent
* _arg0
;
3284 PyObject
* _argo0
= 0;
3285 char *_kwnames
[] = { "self", NULL
};
3288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_GetRow",_kwnames
,&_argo0
))
3291 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3292 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
3293 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_GetRow. Expected _wxGridEvent_p.");
3298 wxPy_BEGIN_ALLOW_THREADS
;
3299 _result
= (int )wxGridEvent_GetRow(_arg0
);
3301 wxPy_END_ALLOW_THREADS
;
3302 } _resultobj
= Py_BuildValue("i",_result
);
3306 #define wxGridEvent_GetCol(_swigobj) (_swigobj->GetCol())
3307 static PyObject
*_wrap_wxGridEvent_GetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3308 PyObject
* _resultobj
;
3310 wxGridEvent
* _arg0
;
3311 PyObject
* _argo0
= 0;
3312 char *_kwnames
[] = { "self", NULL
};
3315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_GetCol",_kwnames
,&_argo0
))
3318 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3319 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
3320 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_GetCol. Expected _wxGridEvent_p.");
3325 wxPy_BEGIN_ALLOW_THREADS
;
3326 _result
= (int )wxGridEvent_GetCol(_arg0
);
3328 wxPy_END_ALLOW_THREADS
;
3329 } _resultobj
= Py_BuildValue("i",_result
);
3333 #define wxGridEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
3334 static PyObject
*_wrap_wxGridEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3335 PyObject
* _resultobj
;
3337 wxGridEvent
* _arg0
;
3338 PyObject
* _argo0
= 0;
3339 char *_kwnames
[] = { "self", NULL
};
3343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_GetPosition",_kwnames
,&_argo0
))
3346 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3347 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
3348 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_GetPosition. Expected _wxGridEvent_p.");
3353 wxPy_BEGIN_ALLOW_THREADS
;
3354 _result
= new wxPoint (wxGridEvent_GetPosition(_arg0
));
3356 wxPy_END_ALLOW_THREADS
;
3357 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
3358 _resultobj
= Py_BuildValue("s",_ptemp
);
3362 #define wxGridEvent_ControlDown(_swigobj) (_swigobj->ControlDown())
3363 static PyObject
*_wrap_wxGridEvent_ControlDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3364 PyObject
* _resultobj
;
3366 wxGridEvent
* _arg0
;
3367 PyObject
* _argo0
= 0;
3368 char *_kwnames
[] = { "self", NULL
};
3371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_ControlDown",_kwnames
,&_argo0
))
3374 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3375 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
3376 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_ControlDown. Expected _wxGridEvent_p.");
3381 wxPy_BEGIN_ALLOW_THREADS
;
3382 _result
= (bool )wxGridEvent_ControlDown(_arg0
);
3384 wxPy_END_ALLOW_THREADS
;
3385 } _resultobj
= Py_BuildValue("i",_result
);
3389 #define wxGridEvent_ShiftDown(_swigobj) (_swigobj->ShiftDown())
3390 static PyObject
*_wrap_wxGridEvent_ShiftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3391 PyObject
* _resultobj
;
3393 wxGridEvent
* _arg0
;
3394 PyObject
* _argo0
= 0;
3395 char *_kwnames
[] = { "self", NULL
};
3398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_ShiftDown",_kwnames
,&_argo0
))
3401 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3402 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
3403 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_ShiftDown. Expected _wxGridEvent_p.");
3408 wxPy_BEGIN_ALLOW_THREADS
;
3409 _result
= (bool )wxGridEvent_ShiftDown(_arg0
);
3411 wxPy_END_ALLOW_THREADS
;
3412 } _resultobj
= Py_BuildValue("i",_result
);
3416 #define wxGridEvent_GetCell(_swigobj) (_swigobj->GetCell())
3417 static PyObject
*_wrap_wxGridEvent_GetCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3418 PyObject
* _resultobj
;
3419 wxGridCell
* _result
;
3420 wxGridEvent
* _arg0
;
3421 PyObject
* _argo0
= 0;
3422 char *_kwnames
[] = { "self", NULL
};
3426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_GetCell",_kwnames
,&_argo0
))
3429 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3430 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
3431 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_GetCell. Expected _wxGridEvent_p.");
3436 wxPy_BEGIN_ALLOW_THREADS
;
3437 _result
= (wxGridCell
*)wxGridEvent_GetCell(_arg0
);
3439 wxPy_END_ALLOW_THREADS
;
3441 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCell_p");
3442 _resultobj
= Py_BuildValue("s",_ptemp
);
3445 _resultobj
= Py_None
;
3450 static void *SwigwxNotebookEventTowxNotifyEvent(void *ptr
) {
3451 wxNotebookEvent
*src
;
3452 wxNotifyEvent
*dest
;
3453 src
= (wxNotebookEvent
*) ptr
;
3454 dest
= (wxNotifyEvent
*) src
;
3455 return (void *) dest
;
3458 static void *SwigwxNotebookEventTowxCommandEvent(void *ptr
) {
3459 wxNotebookEvent
*src
;
3460 wxCommandEvent
*dest
;
3461 src
= (wxNotebookEvent
*) ptr
;
3462 dest
= (wxCommandEvent
*) src
;
3463 return (void *) dest
;
3466 static void *SwigwxNotebookEventTowxEvent(void *ptr
) {
3467 wxNotebookEvent
*src
;
3469 src
= (wxNotebookEvent
*) ptr
;
3470 dest
= (wxEvent
*) src
;
3471 return (void *) dest
;
3474 #define wxNotebookEvent_GetSelection(_swigobj) (_swigobj->GetSelection())
3475 static PyObject
*_wrap_wxNotebookEvent_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3476 PyObject
* _resultobj
;
3478 wxNotebookEvent
* _arg0
;
3479 PyObject
* _argo0
= 0;
3480 char *_kwnames
[] = { "self", NULL
};
3483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebookEvent_GetSelection",_kwnames
,&_argo0
))
3486 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3487 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebookEvent_p")) {
3488 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebookEvent_GetSelection. Expected _wxNotebookEvent_p.");
3493 wxPy_BEGIN_ALLOW_THREADS
;
3494 _result
= (int )wxNotebookEvent_GetSelection(_arg0
);
3496 wxPy_END_ALLOW_THREADS
;
3497 } _resultobj
= Py_BuildValue("i",_result
);
3501 #define wxNotebookEvent_GetOldSelection(_swigobj) (_swigobj->GetOldSelection())
3502 static PyObject
*_wrap_wxNotebookEvent_GetOldSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3503 PyObject
* _resultobj
;
3505 wxNotebookEvent
* _arg0
;
3506 PyObject
* _argo0
= 0;
3507 char *_kwnames
[] = { "self", NULL
};
3510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebookEvent_GetOldSelection",_kwnames
,&_argo0
))
3513 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3514 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebookEvent_p")) {
3515 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebookEvent_GetOldSelection. Expected _wxNotebookEvent_p.");
3520 wxPy_BEGIN_ALLOW_THREADS
;
3521 _result
= (int )wxNotebookEvent_GetOldSelection(_arg0
);
3523 wxPy_END_ALLOW_THREADS
;
3524 } _resultobj
= Py_BuildValue("i",_result
);
3528 #define wxNotebookEvent_SetOldSelection(_swigobj,_swigarg0) (_swigobj->SetOldSelection(_swigarg0))
3529 static PyObject
*_wrap_wxNotebookEvent_SetOldSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3530 PyObject
* _resultobj
;
3531 wxNotebookEvent
* _arg0
;
3533 PyObject
* _argo0
= 0;
3534 char *_kwnames
[] = { "self","page", NULL
};
3537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNotebookEvent_SetOldSelection",_kwnames
,&_argo0
,&_arg1
))
3540 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3541 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebookEvent_p")) {
3542 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebookEvent_SetOldSelection. Expected _wxNotebookEvent_p.");
3547 wxPy_BEGIN_ALLOW_THREADS
;
3548 wxNotebookEvent_SetOldSelection(_arg0
,_arg1
);
3550 wxPy_END_ALLOW_THREADS
;
3551 } Py_INCREF(Py_None
);
3552 _resultobj
= Py_None
;
3556 #define wxNotebookEvent_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
3557 static PyObject
*_wrap_wxNotebookEvent_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3558 PyObject
* _resultobj
;
3559 wxNotebookEvent
* _arg0
;
3561 PyObject
* _argo0
= 0;
3562 char *_kwnames
[] = { "self","page", NULL
};
3565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNotebookEvent_SetSelection",_kwnames
,&_argo0
,&_arg1
))
3568 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3569 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebookEvent_p")) {
3570 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebookEvent_SetSelection. Expected _wxNotebookEvent_p.");
3575 wxPy_BEGIN_ALLOW_THREADS
;
3576 wxNotebookEvent_SetSelection(_arg0
,_arg1
);
3578 wxPy_END_ALLOW_THREADS
;
3579 } Py_INCREF(Py_None
);
3580 _resultobj
= Py_None
;
3584 static void *SwigwxNotebookTowxControl(void *ptr
) {
3587 src
= (wxNotebook
*) ptr
;
3588 dest
= (wxControl
*) src
;
3589 return (void *) dest
;
3592 static void *SwigwxNotebookTowxWindow(void *ptr
) {
3595 src
= (wxNotebook
*) ptr
;
3596 dest
= (wxWindow
*) src
;
3597 return (void *) dest
;
3600 static void *SwigwxNotebookTowxEvtHandler(void *ptr
) {
3603 src
= (wxNotebook
*) ptr
;
3604 dest
= (wxEvtHandler
*) src
;
3605 return (void *) dest
;
3608 #define new_wxNotebook(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxNotebook(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
3609 static PyObject
*_wrap_new_wxNotebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3610 PyObject
* _resultobj
;
3611 wxNotebook
* _result
;
3614 wxPoint
* _arg2
= (wxPoint
*) &wxPyDefaultPosition
;
3615 wxSize
* _arg3
= (wxSize
*) &wxPyDefaultSize
;
3616 long _arg4
= (long ) 0;
3617 char * _arg5
= (char *) "notebook";
3618 PyObject
* _argo0
= 0;
3619 PyObject
* _argo2
= 0;
3620 PyObject
* _argo3
= 0;
3621 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
3625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOls:new_wxNotebook",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_argo3
,&_arg4
,&_arg5
))
3628 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3629 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3630 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxNotebook. Expected _wxWindow_p.");
3635 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3636 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPoint_p")) {
3637 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxNotebook. Expected _wxPoint_p.");
3642 if (_argo3
== Py_None
) { _arg3
= NULL
; }
3643 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxSize_p")) {
3644 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of new_wxNotebook. Expected _wxSize_p.");
3649 wxPy_BEGIN_ALLOW_THREADS
;
3650 _result
= (wxNotebook
*)new_wxNotebook(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
3652 wxPy_END_ALLOW_THREADS
;
3654 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxNotebook_p");
3655 _resultobj
= Py_BuildValue("s",_ptemp
);
3658 _resultobj
= Py_None
;
3663 #define wxNotebook_GetPageCount(_swigobj) (_swigobj->GetPageCount())
3664 static PyObject
*_wrap_wxNotebook_GetPageCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3665 PyObject
* _resultobj
;
3668 PyObject
* _argo0
= 0;
3669 char *_kwnames
[] = { "self", NULL
};
3672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebook_GetPageCount",_kwnames
,&_argo0
))
3675 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3676 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
3677 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_GetPageCount. Expected _wxNotebook_p.");
3682 wxPy_BEGIN_ALLOW_THREADS
;
3683 _result
= (int )wxNotebook_GetPageCount(_arg0
);
3685 wxPy_END_ALLOW_THREADS
;
3686 } _resultobj
= Py_BuildValue("i",_result
);
3690 #define wxNotebook_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
3691 static PyObject
*_wrap_wxNotebook_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3692 PyObject
* _resultobj
;
3696 PyObject
* _argo0
= 0;
3697 char *_kwnames
[] = { "self","nPage", NULL
};
3700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNotebook_SetSelection",_kwnames
,&_argo0
,&_arg1
))
3703 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3704 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
3705 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_SetSelection. Expected _wxNotebook_p.");
3710 wxPy_BEGIN_ALLOW_THREADS
;
3711 _result
= (int )wxNotebook_SetSelection(_arg0
,_arg1
);
3713 wxPy_END_ALLOW_THREADS
;
3714 } _resultobj
= Py_BuildValue("i",_result
);
3718 #define wxNotebook_AdvanceSelection(_swigobj,_swigarg0) (_swigobj->AdvanceSelection(_swigarg0))
3719 static PyObject
*_wrap_wxNotebook_AdvanceSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3720 PyObject
* _resultobj
;
3722 bool _arg1
= (bool ) TRUE
;
3723 PyObject
* _argo0
= 0;
3724 int tempbool1
= (int) TRUE
;
3725 char *_kwnames
[] = { "self","bForward", NULL
};
3728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxNotebook_AdvanceSelection",_kwnames
,&_argo0
,&tempbool1
))
3731 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3732 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
3733 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_AdvanceSelection. Expected _wxNotebook_p.");
3737 _arg1
= (bool ) tempbool1
;
3739 wxPy_BEGIN_ALLOW_THREADS
;
3740 wxNotebook_AdvanceSelection(_arg0
,_arg1
);
3742 wxPy_END_ALLOW_THREADS
;
3743 } Py_INCREF(Py_None
);
3744 _resultobj
= Py_None
;
3748 #define wxNotebook_GetSelection(_swigobj) (_swigobj->GetSelection())
3749 static PyObject
*_wrap_wxNotebook_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3750 PyObject
* _resultobj
;
3753 PyObject
* _argo0
= 0;
3754 char *_kwnames
[] = { "self", NULL
};
3757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebook_GetSelection",_kwnames
,&_argo0
))
3760 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3761 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
3762 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_GetSelection. Expected _wxNotebook_p.");
3767 wxPy_BEGIN_ALLOW_THREADS
;
3768 _result
= (int )wxNotebook_GetSelection(_arg0
);
3770 wxPy_END_ALLOW_THREADS
;
3771 } _resultobj
= Py_BuildValue("i",_result
);
3775 #define wxNotebook_SetPageText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetPageText(_swigarg0,_swigarg1))
3776 static PyObject
*_wrap_wxNotebook_SetPageText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3777 PyObject
* _resultobj
;
3782 PyObject
* _argo0
= 0;
3783 PyObject
* _obj2
= 0;
3784 char *_kwnames
[] = { "self","nPage","strText", NULL
};
3787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxNotebook_SetPageText",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
3790 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3791 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
3792 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_SetPageText. Expected _wxNotebook_p.");
3797 if (!PyString_Check(_obj2
)) {
3798 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3801 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
3804 wxPy_BEGIN_ALLOW_THREADS
;
3805 _result
= (bool )wxNotebook_SetPageText(_arg0
,_arg1
,*_arg2
);
3807 wxPy_END_ALLOW_THREADS
;
3808 } _resultobj
= Py_BuildValue("i",_result
);
3816 #define wxNotebook_GetPageText(_swigobj,_swigarg0) (_swigobj->GetPageText(_swigarg0))
3817 static PyObject
*_wrap_wxNotebook_GetPageText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3818 PyObject
* _resultobj
;
3822 PyObject
* _argo0
= 0;
3823 char *_kwnames
[] = { "self","nPage", NULL
};
3826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNotebook_GetPageText",_kwnames
,&_argo0
,&_arg1
))
3829 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3830 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
3831 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_GetPageText. Expected _wxNotebook_p.");
3836 wxPy_BEGIN_ALLOW_THREADS
;
3837 _result
= new wxString (wxNotebook_GetPageText(_arg0
,_arg1
));
3839 wxPy_END_ALLOW_THREADS
;
3841 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
3849 #define wxNotebook_SetImageList(_swigobj,_swigarg0) (_swigobj->SetImageList(_swigarg0))
3850 static PyObject
*_wrap_wxNotebook_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3851 PyObject
* _resultobj
;
3853 wxImageList
* _arg1
;
3854 PyObject
* _argo0
= 0;
3855 PyObject
* _argo1
= 0;
3856 char *_kwnames
[] = { "self","imageList", NULL
};
3859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxNotebook_SetImageList",_kwnames
,&_argo0
,&_argo1
))
3862 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3863 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
3864 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_SetImageList. Expected _wxNotebook_p.");
3869 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3870 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImageList_p")) {
3871 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxNotebook_SetImageList. Expected _wxImageList_p.");
3876 wxPy_BEGIN_ALLOW_THREADS
;
3877 wxNotebook_SetImageList(_arg0
,_arg1
);
3879 wxPy_END_ALLOW_THREADS
;
3880 } Py_INCREF(Py_None
);
3881 _resultobj
= Py_None
;
3885 #define wxNotebook_GetImageList(_swigobj) (_swigobj->GetImageList())
3886 static PyObject
*_wrap_wxNotebook_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3887 PyObject
* _resultobj
;
3888 wxImageList
* _result
;
3890 PyObject
* _argo0
= 0;
3891 char *_kwnames
[] = { "self", NULL
};
3895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebook_GetImageList",_kwnames
,&_argo0
))
3898 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3899 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
3900 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_GetImageList. Expected _wxNotebook_p.");
3905 wxPy_BEGIN_ALLOW_THREADS
;
3906 _result
= (wxImageList
*)wxNotebook_GetImageList(_arg0
);
3908 wxPy_END_ALLOW_THREADS
;
3910 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxImageList_p");
3911 _resultobj
= Py_BuildValue("s",_ptemp
);
3914 _resultobj
= Py_None
;
3919 #define wxNotebook_GetPageImage(_swigobj,_swigarg0) (_swigobj->GetPageImage(_swigarg0))
3920 static PyObject
*_wrap_wxNotebook_GetPageImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3921 PyObject
* _resultobj
;
3925 PyObject
* _argo0
= 0;
3926 char *_kwnames
[] = { "self","nPage", NULL
};
3929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNotebook_GetPageImage",_kwnames
,&_argo0
,&_arg1
))
3932 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3933 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
3934 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_GetPageImage. Expected _wxNotebook_p.");
3939 wxPy_BEGIN_ALLOW_THREADS
;
3940 _result
= (int )wxNotebook_GetPageImage(_arg0
,_arg1
);
3942 wxPy_END_ALLOW_THREADS
;
3943 } _resultobj
= Py_BuildValue("i",_result
);
3947 #define wxNotebook_SetPageImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetPageImage(_swigarg0,_swigarg1))
3948 static PyObject
*_wrap_wxNotebook_SetPageImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3949 PyObject
* _resultobj
;
3954 PyObject
* _argo0
= 0;
3955 char *_kwnames
[] = { "self","nPage","nImage", NULL
};
3958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxNotebook_SetPageImage",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3961 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3962 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
3963 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_SetPageImage. Expected _wxNotebook_p.");
3968 wxPy_BEGIN_ALLOW_THREADS
;
3969 _result
= (bool )wxNotebook_SetPageImage(_arg0
,_arg1
,_arg2
);
3971 wxPy_END_ALLOW_THREADS
;
3972 } _resultobj
= Py_BuildValue("i",_result
);
3976 #define wxNotebook_GetRowCount(_swigobj) (_swigobj->GetRowCount())
3977 static PyObject
*_wrap_wxNotebook_GetRowCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3978 PyObject
* _resultobj
;
3981 PyObject
* _argo0
= 0;
3982 char *_kwnames
[] = { "self", NULL
};
3985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebook_GetRowCount",_kwnames
,&_argo0
))
3988 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3989 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
3990 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_GetRowCount. Expected _wxNotebook_p.");
3995 wxPy_BEGIN_ALLOW_THREADS
;
3996 _result
= (int )wxNotebook_GetRowCount(_arg0
);
3998 wxPy_END_ALLOW_THREADS
;
3999 } _resultobj
= Py_BuildValue("i",_result
);
4003 #define wxNotebook_DeletePage(_swigobj,_swigarg0) (_swigobj->DeletePage(_swigarg0))
4004 static PyObject
*_wrap_wxNotebook_DeletePage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4005 PyObject
* _resultobj
;
4009 PyObject
* _argo0
= 0;
4010 char *_kwnames
[] = { "self","nPage", NULL
};
4013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNotebook_DeletePage",_kwnames
,&_argo0
,&_arg1
))
4016 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4017 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
4018 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_DeletePage. Expected _wxNotebook_p.");
4023 wxPy_BEGIN_ALLOW_THREADS
;
4024 _result
= (bool )wxNotebook_DeletePage(_arg0
,_arg1
);
4026 wxPy_END_ALLOW_THREADS
;
4027 } _resultobj
= Py_BuildValue("i",_result
);
4031 #define wxNotebook_RemovePage(_swigobj,_swigarg0) (_swigobj->RemovePage(_swigarg0))
4032 static PyObject
*_wrap_wxNotebook_RemovePage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4033 PyObject
* _resultobj
;
4037 PyObject
* _argo0
= 0;
4038 char *_kwnames
[] = { "self","nPage", NULL
};
4041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNotebook_RemovePage",_kwnames
,&_argo0
,&_arg1
))
4044 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4045 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
4046 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_RemovePage. Expected _wxNotebook_p.");
4051 wxPy_BEGIN_ALLOW_THREADS
;
4052 _result
= (bool )wxNotebook_RemovePage(_arg0
,_arg1
);
4054 wxPy_END_ALLOW_THREADS
;
4055 } _resultobj
= Py_BuildValue("i",_result
);
4059 #define wxNotebook_DeleteAllPages(_swigobj) (_swigobj->DeleteAllPages())
4060 static PyObject
*_wrap_wxNotebook_DeleteAllPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4061 PyObject
* _resultobj
;
4064 PyObject
* _argo0
= 0;
4065 char *_kwnames
[] = { "self", NULL
};
4068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebook_DeleteAllPages",_kwnames
,&_argo0
))
4071 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4072 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
4073 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_DeleteAllPages. Expected _wxNotebook_p.");
4078 wxPy_BEGIN_ALLOW_THREADS
;
4079 _result
= (bool )wxNotebook_DeleteAllPages(_arg0
);
4081 wxPy_END_ALLOW_THREADS
;
4082 } _resultobj
= Py_BuildValue("i",_result
);
4086 #define wxNotebook_AddPage(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->AddPage(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4087 static PyObject
*_wrap_wxNotebook_AddPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4088 PyObject
* _resultobj
;
4093 int _arg3
= (int ) FALSE
;
4094 int _arg4
= (int ) -1;
4095 PyObject
* _argo0
= 0;
4096 PyObject
* _argo1
= 0;
4097 PyObject
* _obj2
= 0;
4098 char *_kwnames
[] = { "self","pPage","strText","bSelect","imageId", NULL
};
4101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|ii:wxNotebook_AddPage",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_arg3
,&_arg4
))
4104 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4105 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
4106 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_AddPage. Expected _wxNotebook_p.");
4111 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4112 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4113 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxNotebook_AddPage. Expected _wxWindow_p.");
4118 if (!PyString_Check(_obj2
)) {
4119 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4122 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
4125 wxPy_BEGIN_ALLOW_THREADS
;
4126 _result
= (bool )wxNotebook_AddPage(_arg0
,_arg1
,*_arg2
,_arg3
,_arg4
);
4128 wxPy_END_ALLOW_THREADS
;
4129 } _resultobj
= Py_BuildValue("i",_result
);
4137 #define wxNotebook_GetPage(_swigobj,_swigarg0) (_swigobj->GetPage(_swigarg0))
4138 static PyObject
*_wrap_wxNotebook_GetPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4139 PyObject
* _resultobj
;
4143 PyObject
* _argo0
= 0;
4144 char *_kwnames
[] = { "self","nPage", NULL
};
4148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNotebook_GetPage",_kwnames
,&_argo0
,&_arg1
))
4151 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4152 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
4153 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_GetPage. Expected _wxNotebook_p.");
4158 wxPy_BEGIN_ALLOW_THREADS
;
4159 _result
= (wxWindow
*)wxNotebook_GetPage(_arg0
,_arg1
);
4161 wxPy_END_ALLOW_THREADS
;
4163 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
4164 _resultobj
= Py_BuildValue("s",_ptemp
);
4167 _resultobj
= Py_None
;
4172 static void wxNotebook_ResizeChildren(wxNotebook
*self
) {
4173 wxSizeEvent
evt(self
->GetClientSize());
4174 self
->GetEventHandler()->ProcessEvent(evt
);
4176 static PyObject
*_wrap_wxNotebook_ResizeChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4177 PyObject
* _resultobj
;
4179 PyObject
* _argo0
= 0;
4180 char *_kwnames
[] = { "self", NULL
};
4183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebook_ResizeChildren",_kwnames
,&_argo0
))
4186 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4187 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
4188 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_ResizeChildren. Expected _wxNotebook_p.");
4193 wxPy_BEGIN_ALLOW_THREADS
;
4194 wxNotebook_ResizeChildren(_arg0
);
4196 wxPy_END_ALLOW_THREADS
;
4197 } Py_INCREF(Py_None
);
4198 _resultobj
= Py_None
;
4202 static void *SwigwxSplitterEventTowxCommandEvent(void *ptr
) {
4203 wxSplitterEvent
*src
;
4204 wxCommandEvent
*dest
;
4205 src
= (wxSplitterEvent
*) ptr
;
4206 dest
= (wxCommandEvent
*) src
;
4207 return (void *) dest
;
4210 static void *SwigwxSplitterEventTowxEvent(void *ptr
) {
4211 wxSplitterEvent
*src
;
4213 src
= (wxSplitterEvent
*) ptr
;
4214 dest
= (wxEvent
*) src
;
4215 return (void *) dest
;
4218 #define wxSplitterEvent_GetSashPosition(_swigobj) (_swigobj->GetSashPosition())
4219 static PyObject
*_wrap_wxSplitterEvent_GetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4220 PyObject
* _resultobj
;
4222 wxSplitterEvent
* _arg0
;
4223 PyObject
* _argo0
= 0;
4224 char *_kwnames
[] = { "self", NULL
};
4227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterEvent_GetSashPosition",_kwnames
,&_argo0
))
4230 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4231 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterEvent_p")) {
4232 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterEvent_GetSashPosition. Expected _wxSplitterEvent_p.");
4237 wxPy_BEGIN_ALLOW_THREADS
;
4238 _result
= (int )wxSplitterEvent_GetSashPosition(_arg0
);
4240 wxPy_END_ALLOW_THREADS
;
4241 } _resultobj
= Py_BuildValue("i",_result
);
4245 #define wxSplitterEvent_GetX(_swigobj) (_swigobj->GetX())
4246 static PyObject
*_wrap_wxSplitterEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4247 PyObject
* _resultobj
;
4249 wxSplitterEvent
* _arg0
;
4250 PyObject
* _argo0
= 0;
4251 char *_kwnames
[] = { "self", NULL
};
4254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterEvent_GetX",_kwnames
,&_argo0
))
4257 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4258 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterEvent_p")) {
4259 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterEvent_GetX. Expected _wxSplitterEvent_p.");
4264 wxPy_BEGIN_ALLOW_THREADS
;
4265 _result
= (int )wxSplitterEvent_GetX(_arg0
);
4267 wxPy_END_ALLOW_THREADS
;
4268 } _resultobj
= Py_BuildValue("i",_result
);
4272 #define wxSplitterEvent_GetY(_swigobj) (_swigobj->GetY())
4273 static PyObject
*_wrap_wxSplitterEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4274 PyObject
* _resultobj
;
4276 wxSplitterEvent
* _arg0
;
4277 PyObject
* _argo0
= 0;
4278 char *_kwnames
[] = { "self", NULL
};
4281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterEvent_GetY",_kwnames
,&_argo0
))
4284 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4285 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterEvent_p")) {
4286 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterEvent_GetY. Expected _wxSplitterEvent_p.");
4291 wxPy_BEGIN_ALLOW_THREADS
;
4292 _result
= (int )wxSplitterEvent_GetY(_arg0
);
4294 wxPy_END_ALLOW_THREADS
;
4295 } _resultobj
= Py_BuildValue("i",_result
);
4299 #define wxSplitterEvent_GetWindowBeingRemoved(_swigobj) (_swigobj->GetWindowBeingRemoved())
4300 static PyObject
*_wrap_wxSplitterEvent_GetWindowBeingRemoved(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4301 PyObject
* _resultobj
;
4303 wxSplitterEvent
* _arg0
;
4304 PyObject
* _argo0
= 0;
4305 char *_kwnames
[] = { "self", NULL
};
4309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterEvent_GetWindowBeingRemoved",_kwnames
,&_argo0
))
4312 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4313 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterEvent_p")) {
4314 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterEvent_GetWindowBeingRemoved. Expected _wxSplitterEvent_p.");
4319 wxPy_BEGIN_ALLOW_THREADS
;
4320 _result
= (wxWindow
*)wxSplitterEvent_GetWindowBeingRemoved(_arg0
);
4322 wxPy_END_ALLOW_THREADS
;
4324 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
4325 _resultobj
= Py_BuildValue("s",_ptemp
);
4328 _resultobj
= Py_None
;
4333 #define wxSplitterEvent_SetSashPosition(_swigobj,_swigarg0) (_swigobj->SetSashPosition(_swigarg0))
4334 static PyObject
*_wrap_wxSplitterEvent_SetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4335 PyObject
* _resultobj
;
4336 wxSplitterEvent
* _arg0
;
4338 PyObject
* _argo0
= 0;
4339 char *_kwnames
[] = { "self","pos", NULL
};
4342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSplitterEvent_SetSashPosition",_kwnames
,&_argo0
,&_arg1
))
4345 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4346 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterEvent_p")) {
4347 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterEvent_SetSashPosition. Expected _wxSplitterEvent_p.");
4352 wxPy_BEGIN_ALLOW_THREADS
;
4353 wxSplitterEvent_SetSashPosition(_arg0
,_arg1
);
4355 wxPy_END_ALLOW_THREADS
;
4356 } Py_INCREF(Py_None
);
4357 _resultobj
= Py_None
;
4361 static void *SwigwxSplitterWindowTowxWindow(void *ptr
) {
4362 wxSplitterWindow
*src
;
4364 src
= (wxSplitterWindow
*) ptr
;
4365 dest
= (wxWindow
*) src
;
4366 return (void *) dest
;
4369 static void *SwigwxSplitterWindowTowxEvtHandler(void *ptr
) {
4370 wxSplitterWindow
*src
;
4372 src
= (wxSplitterWindow
*) ptr
;
4373 dest
= (wxEvtHandler
*) src
;
4374 return (void *) dest
;
4377 #define new_wxSplitterWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxSplitterWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4378 static PyObject
*_wrap_new_wxSplitterWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4379 PyObject
* _resultobj
;
4380 wxSplitterWindow
* _result
;
4383 wxPoint
* _arg2
= (wxPoint
*) &wxPyDefaultPosition
;
4384 wxSize
* _arg3
= (wxSize
*) &wxPyDefaultSize
;
4385 long _arg4
= (long ) wxSP_3D
|wxCLIP_CHILDREN
;
4386 char * _arg5
= (char *) "splitterWindow";
4387 PyObject
* _argo0
= 0;
4388 PyObject
* _argo2
= 0;
4389 PyObject
* _argo3
= 0;
4390 char *_kwnames
[] = { "parent","id","point","size","style","name", NULL
};
4394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOls:new_wxSplitterWindow",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_argo3
,&_arg4
,&_arg5
))
4397 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4398 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4399 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxSplitterWindow. Expected _wxWindow_p.");
4404 if (_argo2
== Py_None
) { _arg2
= NULL
; }
4405 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPoint_p")) {
4406 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxSplitterWindow. Expected _wxPoint_p.");
4411 if (_argo3
== Py_None
) { _arg3
= NULL
; }
4412 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxSize_p")) {
4413 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of new_wxSplitterWindow. Expected _wxSize_p.");
4418 wxPy_BEGIN_ALLOW_THREADS
;
4419 _result
= (wxSplitterWindow
*)new_wxSplitterWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
4421 wxPy_END_ALLOW_THREADS
;
4423 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSplitterWindow_p");
4424 _resultobj
= Py_BuildValue("s",_ptemp
);
4427 _resultobj
= Py_None
;
4432 #define wxSplitterWindow_GetBorderSize(_swigobj) (_swigobj->GetBorderSize())
4433 static PyObject
*_wrap_wxSplitterWindow_GetBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4434 PyObject
* _resultobj
;
4436 wxSplitterWindow
* _arg0
;
4437 PyObject
* _argo0
= 0;
4438 char *_kwnames
[] = { "self", NULL
};
4441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_GetBorderSize",_kwnames
,&_argo0
))
4444 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4445 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
4446 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetBorderSize. Expected _wxSplitterWindow_p.");
4451 wxPy_BEGIN_ALLOW_THREADS
;
4452 _result
= (int )wxSplitterWindow_GetBorderSize(_arg0
);
4454 wxPy_END_ALLOW_THREADS
;
4455 } _resultobj
= Py_BuildValue("i",_result
);
4459 #define wxSplitterWindow_GetMinimumPaneSize(_swigobj) (_swigobj->GetMinimumPaneSize())
4460 static PyObject
*_wrap_wxSplitterWindow_GetMinimumPaneSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4461 PyObject
* _resultobj
;
4463 wxSplitterWindow
* _arg0
;
4464 PyObject
* _argo0
= 0;
4465 char *_kwnames
[] = { "self", NULL
};
4468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_GetMinimumPaneSize",_kwnames
,&_argo0
))
4471 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4472 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
4473 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetMinimumPaneSize. Expected _wxSplitterWindow_p.");
4478 wxPy_BEGIN_ALLOW_THREADS
;
4479 _result
= (int )wxSplitterWindow_GetMinimumPaneSize(_arg0
);
4481 wxPy_END_ALLOW_THREADS
;
4482 } _resultobj
= Py_BuildValue("i",_result
);
4486 #define wxSplitterWindow_GetSashPosition(_swigobj) (_swigobj->GetSashPosition())
4487 static PyObject
*_wrap_wxSplitterWindow_GetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4488 PyObject
* _resultobj
;
4490 wxSplitterWindow
* _arg0
;
4491 PyObject
* _argo0
= 0;
4492 char *_kwnames
[] = { "self", NULL
};
4495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_GetSashPosition",_kwnames
,&_argo0
))
4498 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4499 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
4500 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetSashPosition. Expected _wxSplitterWindow_p.");
4505 wxPy_BEGIN_ALLOW_THREADS
;
4506 _result
= (int )wxSplitterWindow_GetSashPosition(_arg0
);
4508 wxPy_END_ALLOW_THREADS
;
4509 } _resultobj
= Py_BuildValue("i",_result
);
4513 #define wxSplitterWindow_GetSashSize(_swigobj) (_swigobj->GetSashSize())
4514 static PyObject
*_wrap_wxSplitterWindow_GetSashSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4515 PyObject
* _resultobj
;
4517 wxSplitterWindow
* _arg0
;
4518 PyObject
* _argo0
= 0;
4519 char *_kwnames
[] = { "self", NULL
};
4522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_GetSashSize",_kwnames
,&_argo0
))
4525 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4526 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
4527 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetSashSize. Expected _wxSplitterWindow_p.");
4532 wxPy_BEGIN_ALLOW_THREADS
;
4533 _result
= (int )wxSplitterWindow_GetSashSize(_arg0
);
4535 wxPy_END_ALLOW_THREADS
;
4536 } _resultobj
= Py_BuildValue("i",_result
);
4540 #define wxSplitterWindow_GetSplitMode(_swigobj) (_swigobj->GetSplitMode())
4541 static PyObject
*_wrap_wxSplitterWindow_GetSplitMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4542 PyObject
* _resultobj
;
4544 wxSplitterWindow
* _arg0
;
4545 PyObject
* _argo0
= 0;
4546 char *_kwnames
[] = { "self", NULL
};
4549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_GetSplitMode",_kwnames
,&_argo0
))
4552 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4553 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
4554 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetSplitMode. Expected _wxSplitterWindow_p.");
4559 wxPy_BEGIN_ALLOW_THREADS
;
4560 _result
= (int )wxSplitterWindow_GetSplitMode(_arg0
);
4562 wxPy_END_ALLOW_THREADS
;
4563 } _resultobj
= Py_BuildValue("i",_result
);
4567 #define wxSplitterWindow_GetWindow1(_swigobj) (_swigobj->GetWindow1())
4568 static PyObject
*_wrap_wxSplitterWindow_GetWindow1(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4569 PyObject
* _resultobj
;
4571 wxSplitterWindow
* _arg0
;
4572 PyObject
* _argo0
= 0;
4573 char *_kwnames
[] = { "self", NULL
};
4577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_GetWindow1",_kwnames
,&_argo0
))
4580 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4581 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
4582 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetWindow1. Expected _wxSplitterWindow_p.");
4587 wxPy_BEGIN_ALLOW_THREADS
;
4588 _result
= (wxWindow
*)wxSplitterWindow_GetWindow1(_arg0
);
4590 wxPy_END_ALLOW_THREADS
;
4592 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
4593 _resultobj
= Py_BuildValue("s",_ptemp
);
4596 _resultobj
= Py_None
;
4601 #define wxSplitterWindow_GetWindow2(_swigobj) (_swigobj->GetWindow2())
4602 static PyObject
*_wrap_wxSplitterWindow_GetWindow2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4603 PyObject
* _resultobj
;
4605 wxSplitterWindow
* _arg0
;
4606 PyObject
* _argo0
= 0;
4607 char *_kwnames
[] = { "self", NULL
};
4611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_GetWindow2",_kwnames
,&_argo0
))
4614 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4615 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
4616 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetWindow2. Expected _wxSplitterWindow_p.");
4621 wxPy_BEGIN_ALLOW_THREADS
;
4622 _result
= (wxWindow
*)wxSplitterWindow_GetWindow2(_arg0
);
4624 wxPy_END_ALLOW_THREADS
;
4626 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
4627 _resultobj
= Py_BuildValue("s",_ptemp
);
4630 _resultobj
= Py_None
;
4635 #define wxSplitterWindow_Initialize(_swigobj,_swigarg0) (_swigobj->Initialize(_swigarg0))
4636 static PyObject
*_wrap_wxSplitterWindow_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4637 PyObject
* _resultobj
;
4638 wxSplitterWindow
* _arg0
;
4640 PyObject
* _argo0
= 0;
4641 PyObject
* _argo1
= 0;
4642 char *_kwnames
[] = { "self","window", NULL
};
4645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxSplitterWindow_Initialize",_kwnames
,&_argo0
,&_argo1
))
4648 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4649 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
4650 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_Initialize. Expected _wxSplitterWindow_p.");
4655 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4656 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4657 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSplitterWindow_Initialize. Expected _wxWindow_p.");
4662 wxPy_BEGIN_ALLOW_THREADS
;
4663 wxSplitterWindow_Initialize(_arg0
,_arg1
);
4665 wxPy_END_ALLOW_THREADS
;
4666 } Py_INCREF(Py_None
);
4667 _resultobj
= Py_None
;
4671 #define wxSplitterWindow_IsSplit(_swigobj) (_swigobj->IsSplit())
4672 static PyObject
*_wrap_wxSplitterWindow_IsSplit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4673 PyObject
* _resultobj
;
4675 wxSplitterWindow
* _arg0
;
4676 PyObject
* _argo0
= 0;
4677 char *_kwnames
[] = { "self", NULL
};
4680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_IsSplit",_kwnames
,&_argo0
))
4683 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4684 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
4685 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_IsSplit. Expected _wxSplitterWindow_p.");
4690 wxPy_BEGIN_ALLOW_THREADS
;
4691 _result
= (bool )wxSplitterWindow_IsSplit(_arg0
);
4693 wxPy_END_ALLOW_THREADS
;
4694 } _resultobj
= Py_BuildValue("i",_result
);
4698 #define wxSplitterWindow_SetBorderSize(_swigobj,_swigarg0) (_swigobj->SetBorderSize(_swigarg0))
4699 static PyObject
*_wrap_wxSplitterWindow_SetBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4700 PyObject
* _resultobj
;
4701 wxSplitterWindow
* _arg0
;
4703 PyObject
* _argo0
= 0;
4704 char *_kwnames
[] = { "self","width", NULL
};
4707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSplitterWindow_SetBorderSize",_kwnames
,&_argo0
,&_arg1
))
4710 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4711 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
4712 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SetBorderSize. Expected _wxSplitterWindow_p.");
4717 wxPy_BEGIN_ALLOW_THREADS
;
4718 wxSplitterWindow_SetBorderSize(_arg0
,_arg1
);
4720 wxPy_END_ALLOW_THREADS
;
4721 } Py_INCREF(Py_None
);
4722 _resultobj
= Py_None
;
4726 #define wxSplitterWindow_SetSashPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSashPosition(_swigarg0,_swigarg1))
4727 static PyObject
*_wrap_wxSplitterWindow_SetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4728 PyObject
* _resultobj
;
4729 wxSplitterWindow
* _arg0
;
4731 int _arg2
= (int ) TRUE
;
4732 PyObject
* _argo0
= 0;
4733 char *_kwnames
[] = { "self","position","redraw", NULL
};
4736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxSplitterWindow_SetSashPosition",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4739 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4740 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
4741 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SetSashPosition. Expected _wxSplitterWindow_p.");
4746 wxPy_BEGIN_ALLOW_THREADS
;
4747 wxSplitterWindow_SetSashPosition(_arg0
,_arg1
,_arg2
);
4749 wxPy_END_ALLOW_THREADS
;
4750 } Py_INCREF(Py_None
);
4751 _resultobj
= Py_None
;
4755 #define wxSplitterWindow_SetSashSize(_swigobj,_swigarg0) (_swigobj->SetSashSize(_swigarg0))
4756 static PyObject
*_wrap_wxSplitterWindow_SetSashSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4757 PyObject
* _resultobj
;
4758 wxSplitterWindow
* _arg0
;
4760 PyObject
* _argo0
= 0;
4761 char *_kwnames
[] = { "self","width", NULL
};
4764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSplitterWindow_SetSashSize",_kwnames
,&_argo0
,&_arg1
))
4767 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4768 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
4769 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SetSashSize. Expected _wxSplitterWindow_p.");
4774 wxPy_BEGIN_ALLOW_THREADS
;
4775 wxSplitterWindow_SetSashSize(_arg0
,_arg1
);
4777 wxPy_END_ALLOW_THREADS
;
4778 } Py_INCREF(Py_None
);
4779 _resultobj
= Py_None
;
4783 #define wxSplitterWindow_SetMinimumPaneSize(_swigobj,_swigarg0) (_swigobj->SetMinimumPaneSize(_swigarg0))
4784 static PyObject
*_wrap_wxSplitterWindow_SetMinimumPaneSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4785 PyObject
* _resultobj
;
4786 wxSplitterWindow
* _arg0
;
4788 PyObject
* _argo0
= 0;
4789 char *_kwnames
[] = { "self","paneSize", NULL
};
4792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSplitterWindow_SetMinimumPaneSize",_kwnames
,&_argo0
,&_arg1
))
4795 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4796 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
4797 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SetMinimumPaneSize. Expected _wxSplitterWindow_p.");
4802 wxPy_BEGIN_ALLOW_THREADS
;
4803 wxSplitterWindow_SetMinimumPaneSize(_arg0
,_arg1
);
4805 wxPy_END_ALLOW_THREADS
;
4806 } Py_INCREF(Py_None
);
4807 _resultobj
= Py_None
;
4811 #define wxSplitterWindow_SetSplitMode(_swigobj,_swigarg0) (_swigobj->SetSplitMode(_swigarg0))
4812 static PyObject
*_wrap_wxSplitterWindow_SetSplitMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4813 PyObject
* _resultobj
;
4814 wxSplitterWindow
* _arg0
;
4816 PyObject
* _argo0
= 0;
4817 char *_kwnames
[] = { "self","mode", NULL
};
4820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSplitterWindow_SetSplitMode",_kwnames
,&_argo0
,&_arg1
))
4823 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4824 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
4825 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SetSplitMode. Expected _wxSplitterWindow_p.");
4830 wxPy_BEGIN_ALLOW_THREADS
;
4831 wxSplitterWindow_SetSplitMode(_arg0
,_arg1
);
4833 wxPy_END_ALLOW_THREADS
;
4834 } Py_INCREF(Py_None
);
4835 _resultobj
= Py_None
;
4839 #define wxSplitterWindow_SplitHorizontally(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SplitHorizontally(_swigarg0,_swigarg1,_swigarg2))
4840 static PyObject
*_wrap_wxSplitterWindow_SplitHorizontally(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4841 PyObject
* _resultobj
;
4843 wxSplitterWindow
* _arg0
;
4846 int _arg3
= (int ) 0;
4847 PyObject
* _argo0
= 0;
4848 PyObject
* _argo1
= 0;
4849 PyObject
* _argo2
= 0;
4850 char *_kwnames
[] = { "self","window1","window2","sashPosition", NULL
};
4853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|i:wxSplitterWindow_SplitHorizontally",_kwnames
,&_argo0
,&_argo1
,&_argo2
,&_arg3
))
4856 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4857 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
4858 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SplitHorizontally. Expected _wxSplitterWindow_p.");
4863 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4864 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4865 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSplitterWindow_SplitHorizontally. Expected _wxWindow_p.");
4870 if (_argo2
== Py_None
) { _arg2
= NULL
; }
4871 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
4872 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxSplitterWindow_SplitHorizontally. Expected _wxWindow_p.");
4877 wxPy_BEGIN_ALLOW_THREADS
;
4878 _result
= (bool )wxSplitterWindow_SplitHorizontally(_arg0
,_arg1
,_arg2
,_arg3
);
4880 wxPy_END_ALLOW_THREADS
;
4881 } _resultobj
= Py_BuildValue("i",_result
);
4885 #define wxSplitterWindow_SplitVertically(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SplitVertically(_swigarg0,_swigarg1,_swigarg2))
4886 static PyObject
*_wrap_wxSplitterWindow_SplitVertically(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4887 PyObject
* _resultobj
;
4889 wxSplitterWindow
* _arg0
;
4892 int _arg3
= (int ) 0;
4893 PyObject
* _argo0
= 0;
4894 PyObject
* _argo1
= 0;
4895 PyObject
* _argo2
= 0;
4896 char *_kwnames
[] = { "self","window1","window2","sashPosition", NULL
};
4899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|i:wxSplitterWindow_SplitVertically",_kwnames
,&_argo0
,&_argo1
,&_argo2
,&_arg3
))
4902 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4903 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
4904 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SplitVertically. Expected _wxSplitterWindow_p.");
4909 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4910 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4911 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSplitterWindow_SplitVertically. Expected _wxWindow_p.");
4916 if (_argo2
== Py_None
) { _arg2
= NULL
; }
4917 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
4918 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxSplitterWindow_SplitVertically. Expected _wxWindow_p.");
4923 wxPy_BEGIN_ALLOW_THREADS
;
4924 _result
= (bool )wxSplitterWindow_SplitVertically(_arg0
,_arg1
,_arg2
,_arg3
);
4926 wxPy_END_ALLOW_THREADS
;
4927 } _resultobj
= Py_BuildValue("i",_result
);
4931 #define wxSplitterWindow_Unsplit(_swigobj,_swigarg0) (_swigobj->Unsplit(_swigarg0))
4932 static PyObject
*_wrap_wxSplitterWindow_Unsplit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4933 PyObject
* _resultobj
;
4935 wxSplitterWindow
* _arg0
;
4936 wxWindow
* _arg1
= (wxWindow
*) NULL
;
4937 PyObject
* _argo0
= 0;
4938 PyObject
* _argo1
= 0;
4939 char *_kwnames
[] = { "self","toRemove", NULL
};
4942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxSplitterWindow_Unsplit",_kwnames
,&_argo0
,&_argo1
))
4945 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4946 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
4947 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_Unsplit. Expected _wxSplitterWindow_p.");
4952 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4953 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4954 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSplitterWindow_Unsplit. Expected _wxWindow_p.");
4959 wxPy_BEGIN_ALLOW_THREADS
;
4960 _result
= (bool )wxSplitterWindow_Unsplit(_arg0
,_arg1
);
4962 wxPy_END_ALLOW_THREADS
;
4963 } _resultobj
= Py_BuildValue("i",_result
);
4967 static PyMethodDef windows2cMethods
[] = {
4968 { "wxSplitterWindow_Unsplit", (PyCFunction
) _wrap_wxSplitterWindow_Unsplit
, METH_VARARGS
| METH_KEYWORDS
},
4969 { "wxSplitterWindow_SplitVertically", (PyCFunction
) _wrap_wxSplitterWindow_SplitVertically
, METH_VARARGS
| METH_KEYWORDS
},
4970 { "wxSplitterWindow_SplitHorizontally", (PyCFunction
) _wrap_wxSplitterWindow_SplitHorizontally
, METH_VARARGS
| METH_KEYWORDS
},
4971 { "wxSplitterWindow_SetSplitMode", (PyCFunction
) _wrap_wxSplitterWindow_SetSplitMode
, METH_VARARGS
| METH_KEYWORDS
},
4972 { "wxSplitterWindow_SetMinimumPaneSize", (PyCFunction
) _wrap_wxSplitterWindow_SetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
},
4973 { "wxSplitterWindow_SetSashSize", (PyCFunction
) _wrap_wxSplitterWindow_SetSashSize
, METH_VARARGS
| METH_KEYWORDS
},
4974 { "wxSplitterWindow_SetSashPosition", (PyCFunction
) _wrap_wxSplitterWindow_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
4975 { "wxSplitterWindow_SetBorderSize", (PyCFunction
) _wrap_wxSplitterWindow_SetBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
4976 { "wxSplitterWindow_IsSplit", (PyCFunction
) _wrap_wxSplitterWindow_IsSplit
, METH_VARARGS
| METH_KEYWORDS
},
4977 { "wxSplitterWindow_Initialize", (PyCFunction
) _wrap_wxSplitterWindow_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
4978 { "wxSplitterWindow_GetWindow2", (PyCFunction
) _wrap_wxSplitterWindow_GetWindow2
, METH_VARARGS
| METH_KEYWORDS
},
4979 { "wxSplitterWindow_GetWindow1", (PyCFunction
) _wrap_wxSplitterWindow_GetWindow1
, METH_VARARGS
| METH_KEYWORDS
},
4980 { "wxSplitterWindow_GetSplitMode", (PyCFunction
) _wrap_wxSplitterWindow_GetSplitMode
, METH_VARARGS
| METH_KEYWORDS
},
4981 { "wxSplitterWindow_GetSashSize", (PyCFunction
) _wrap_wxSplitterWindow_GetSashSize
, METH_VARARGS
| METH_KEYWORDS
},
4982 { "wxSplitterWindow_GetSashPosition", (PyCFunction
) _wrap_wxSplitterWindow_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
4983 { "wxSplitterWindow_GetMinimumPaneSize", (PyCFunction
) _wrap_wxSplitterWindow_GetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
},
4984 { "wxSplitterWindow_GetBorderSize", (PyCFunction
) _wrap_wxSplitterWindow_GetBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
4985 { "new_wxSplitterWindow", (PyCFunction
) _wrap_new_wxSplitterWindow
, METH_VARARGS
| METH_KEYWORDS
},
4986 { "wxSplitterEvent_SetSashPosition", (PyCFunction
) _wrap_wxSplitterEvent_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
4987 { "wxSplitterEvent_GetWindowBeingRemoved", (PyCFunction
) _wrap_wxSplitterEvent_GetWindowBeingRemoved
, METH_VARARGS
| METH_KEYWORDS
},
4988 { "wxSplitterEvent_GetY", (PyCFunction
) _wrap_wxSplitterEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
4989 { "wxSplitterEvent_GetX", (PyCFunction
) _wrap_wxSplitterEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
4990 { "wxSplitterEvent_GetSashPosition", (PyCFunction
) _wrap_wxSplitterEvent_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
4991 { "wxNotebook_ResizeChildren", (PyCFunction
) _wrap_wxNotebook_ResizeChildren
, METH_VARARGS
| METH_KEYWORDS
},
4992 { "wxNotebook_GetPage", (PyCFunction
) _wrap_wxNotebook_GetPage
, METH_VARARGS
| METH_KEYWORDS
},
4993 { "wxNotebook_AddPage", (PyCFunction
) _wrap_wxNotebook_AddPage
, METH_VARARGS
| METH_KEYWORDS
},
4994 { "wxNotebook_DeleteAllPages", (PyCFunction
) _wrap_wxNotebook_DeleteAllPages
, METH_VARARGS
| METH_KEYWORDS
},
4995 { "wxNotebook_RemovePage", (PyCFunction
) _wrap_wxNotebook_RemovePage
, METH_VARARGS
| METH_KEYWORDS
},
4996 { "wxNotebook_DeletePage", (PyCFunction
) _wrap_wxNotebook_DeletePage
, METH_VARARGS
| METH_KEYWORDS
},
4997 { "wxNotebook_GetRowCount", (PyCFunction
) _wrap_wxNotebook_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
},
4998 { "wxNotebook_SetPageImage", (PyCFunction
) _wrap_wxNotebook_SetPageImage
, METH_VARARGS
| METH_KEYWORDS
},
4999 { "wxNotebook_GetPageImage", (PyCFunction
) _wrap_wxNotebook_GetPageImage
, METH_VARARGS
| METH_KEYWORDS
},
5000 { "wxNotebook_GetImageList", (PyCFunction
) _wrap_wxNotebook_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
5001 { "wxNotebook_SetImageList", (PyCFunction
) _wrap_wxNotebook_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
5002 { "wxNotebook_GetPageText", (PyCFunction
) _wrap_wxNotebook_GetPageText
, METH_VARARGS
| METH_KEYWORDS
},
5003 { "wxNotebook_SetPageText", (PyCFunction
) _wrap_wxNotebook_SetPageText
, METH_VARARGS
| METH_KEYWORDS
},
5004 { "wxNotebook_GetSelection", (PyCFunction
) _wrap_wxNotebook_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
5005 { "wxNotebook_AdvanceSelection", (PyCFunction
) _wrap_wxNotebook_AdvanceSelection
, METH_VARARGS
| METH_KEYWORDS
},
5006 { "wxNotebook_SetSelection", (PyCFunction
) _wrap_wxNotebook_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
5007 { "wxNotebook_GetPageCount", (PyCFunction
) _wrap_wxNotebook_GetPageCount
, METH_VARARGS
| METH_KEYWORDS
},
5008 { "new_wxNotebook", (PyCFunction
) _wrap_new_wxNotebook
, METH_VARARGS
| METH_KEYWORDS
},
5009 { "wxNotebookEvent_SetSelection", (PyCFunction
) _wrap_wxNotebookEvent_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
5010 { "wxNotebookEvent_SetOldSelection", (PyCFunction
) _wrap_wxNotebookEvent_SetOldSelection
, METH_VARARGS
| METH_KEYWORDS
},
5011 { "wxNotebookEvent_GetOldSelection", (PyCFunction
) _wrap_wxNotebookEvent_GetOldSelection
, METH_VARARGS
| METH_KEYWORDS
},
5012 { "wxNotebookEvent_GetSelection", (PyCFunction
) _wrap_wxNotebookEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
5013 { "wxGridEvent_GetCell", (PyCFunction
) _wrap_wxGridEvent_GetCell
, METH_VARARGS
| METH_KEYWORDS
},
5014 { "wxGridEvent_ShiftDown", (PyCFunction
) _wrap_wxGridEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
},
5015 { "wxGridEvent_ControlDown", (PyCFunction
) _wrap_wxGridEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
},
5016 { "wxGridEvent_GetPosition", (PyCFunction
) _wrap_wxGridEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
5017 { "wxGridEvent_GetCol", (PyCFunction
) _wrap_wxGridEvent_GetCol
, METH_VARARGS
| METH_KEYWORDS
},
5018 { "wxGridEvent_GetRow", (PyCFunction
) _wrap_wxGridEvent_GetRow
, METH_VARARGS
| METH_KEYWORDS
},
5019 { "wxGridEvent_m_cell_get", (PyCFunction
) _wrap_wxGridEvent_m_cell_get
, METH_VARARGS
| METH_KEYWORDS
},
5020 { "wxGridEvent_m_cell_set", (PyCFunction
) _wrap_wxGridEvent_m_cell_set
, METH_VARARGS
| METH_KEYWORDS
},
5021 { "wxGridEvent_m_shift_get", (PyCFunction
) _wrap_wxGridEvent_m_shift_get
, METH_VARARGS
| METH_KEYWORDS
},
5022 { "wxGridEvent_m_shift_set", (PyCFunction
) _wrap_wxGridEvent_m_shift_set
, METH_VARARGS
| METH_KEYWORDS
},
5023 { "wxGridEvent_m_control_get", (PyCFunction
) _wrap_wxGridEvent_m_control_get
, METH_VARARGS
| METH_KEYWORDS
},
5024 { "wxGridEvent_m_control_set", (PyCFunction
) _wrap_wxGridEvent_m_control_set
, METH_VARARGS
| METH_KEYWORDS
},
5025 { "wxGridEvent_m_y_get", (PyCFunction
) _wrap_wxGridEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
},
5026 { "wxGridEvent_m_y_set", (PyCFunction
) _wrap_wxGridEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
},
5027 { "wxGridEvent_m_x_get", (PyCFunction
) _wrap_wxGridEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
},
5028 { "wxGridEvent_m_x_set", (PyCFunction
) _wrap_wxGridEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
},
5029 { "wxGridEvent_m_col_get", (PyCFunction
) _wrap_wxGridEvent_m_col_get
, METH_VARARGS
| METH_KEYWORDS
},
5030 { "wxGridEvent_m_col_set", (PyCFunction
) _wrap_wxGridEvent_m_col_set
, METH_VARARGS
| METH_KEYWORDS
},
5031 { "wxGridEvent_m_row_get", (PyCFunction
) _wrap_wxGridEvent_m_row_get
, METH_VARARGS
| METH_KEYWORDS
},
5032 { "wxGridEvent_m_row_set", (PyCFunction
) _wrap_wxGridEvent_m_row_set
, METH_VARARGS
| METH_KEYWORDS
},
5033 { "wxGrid_SetEditInPlace", (PyCFunction
) _wrap_wxGrid_SetEditInPlace
, METH_VARARGS
| METH_KEYWORDS
},
5034 { "wxGrid_GetEditInPlace", (PyCFunction
) _wrap_wxGrid_GetEditInPlace
, METH_VARARGS
| METH_KEYWORDS
},
5035 { "wxGrid_UpdateDimensions", (PyCFunction
) _wrap_wxGrid_UpdateDimensions
, METH_VARARGS
| METH_KEYWORDS
},
5036 { "wxGrid_SetRowHeight", (PyCFunction
) _wrap_wxGrid_SetRowHeight
, METH_VARARGS
| METH_KEYWORDS
},
5037 { "wxGrid_SetLabelValue", (PyCFunction
) _wrap_wxGrid_SetLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
5038 { "wxGrid_SetLabelTextFont", (PyCFunction
) _wrap_wxGrid_SetLabelTextFont
, METH_VARARGS
| METH_KEYWORDS
},
5039 { "wxGrid_SetLabelTextColour", (PyCFunction
) _wrap_wxGrid_SetLabelTextColour
, METH_VARARGS
| METH_KEYWORDS
},
5040 { "wxGrid_SetLabelSize", (PyCFunction
) _wrap_wxGrid_SetLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
5041 { "wxGrid_SetLabelBackgroundColour", (PyCFunction
) _wrap_wxGrid_SetLabelBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
5042 { "wxGrid_SetLabelAlignment", (PyCFunction
) _wrap_wxGrid_SetLabelAlignment
, METH_VARARGS
| METH_KEYWORDS
},
5043 { "wxGrid_SetGridCursor", (PyCFunction
) _wrap_wxGrid_SetGridCursor
, METH_VARARGS
| METH_KEYWORDS
},
5044 { "wxGrid_SetEditable", (PyCFunction
) _wrap_wxGrid_SetEditable
, METH_VARARGS
| METH_KEYWORDS
},
5045 { "wxGrid_SetDividerPen", (PyCFunction
) _wrap_wxGrid_SetDividerPen
, METH_VARARGS
| METH_KEYWORDS
},
5046 { "wxGrid_SetColumnWidth", (PyCFunction
) _wrap_wxGrid_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
},
5047 { "wxGrid_SetCellValue", (PyCFunction
) _wrap_wxGrid_SetCellValue
, METH_VARARGS
| METH_KEYWORDS
},
5048 { "wxGrid_SetDefCellTextFont", (PyCFunction
) _wrap_wxGrid_SetDefCellTextFont
, METH_VARARGS
| METH_KEYWORDS
},
5049 { "wxGrid_SetCellTextFont", (PyCFunction
) _wrap_wxGrid_SetCellTextFont
, METH_VARARGS
| METH_KEYWORDS
},
5050 { "wxGrid_SetDefCellTextColour", (PyCFunction
) _wrap_wxGrid_SetDefCellTextColour
, METH_VARARGS
| METH_KEYWORDS
},
5051 { "wxGrid_SetCellTextColour", (PyCFunction
) _wrap_wxGrid_SetCellTextColour
, METH_VARARGS
| METH_KEYWORDS
},
5052 { "wxGrid_SetDefCellBackgroundColour", (PyCFunction
) _wrap_wxGrid_SetDefCellBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
5053 { "wxGrid_SetCellBackgroundColour", (PyCFunction
) _wrap_wxGrid_SetCellBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
5054 { "wxGrid_SetDefCellAlignment", (PyCFunction
) _wrap_wxGrid_SetDefCellAlignment
, METH_VARARGS
| METH_KEYWORDS
},
5055 { "wxGrid_SetCellAlignment", (PyCFunction
) _wrap_wxGrid_SetCellAlignment
, METH_VARARGS
| METH_KEYWORDS
},
5056 { "wxGrid_OnActivate", (PyCFunction
) _wrap_wxGrid_OnActivate
, METH_VARARGS
| METH_KEYWORDS
},
5057 { "wxGrid_InsertRows", (PyCFunction
) _wrap_wxGrid_InsertRows
, METH_VARARGS
| METH_KEYWORDS
},
5058 { "wxGrid_InsertCols", (PyCFunction
) _wrap_wxGrid_InsertCols
, METH_VARARGS
| METH_KEYWORDS
},
5059 { "wxGrid_GetVertScrollBar", (PyCFunction
) _wrap_wxGrid_GetVertScrollBar
, METH_VARARGS
| METH_KEYWORDS
},
5060 { "wxGrid_GetTextItem", (PyCFunction
) _wrap_wxGrid_GetTextItem
, METH_VARARGS
| METH_KEYWORDS
},
5061 { "wxGrid_GetScrollPosY", (PyCFunction
) _wrap_wxGrid_GetScrollPosY
, METH_VARARGS
| METH_KEYWORDS
},
5062 { "wxGrid_GetScrollPosX", (PyCFunction
) _wrap_wxGrid_GetScrollPosX
, METH_VARARGS
| METH_KEYWORDS
},
5063 { "wxGrid_GetRows", (PyCFunction
) _wrap_wxGrid_GetRows
, METH_VARARGS
| METH_KEYWORDS
},
5064 { "wxGrid_GetRowHeight", (PyCFunction
) _wrap_wxGrid_GetRowHeight
, METH_VARARGS
| METH_KEYWORDS
},
5065 { "wxGrid_GetLabelValue", (PyCFunction
) _wrap_wxGrid_GetLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
5066 { "wxGrid_GetLabelTextFont", (PyCFunction
) _wrap_wxGrid_GetLabelTextFont
, METH_VARARGS
| METH_KEYWORDS
},
5067 { "wxGrid_GetLabelTextColour", (PyCFunction
) _wrap_wxGrid_GetLabelTextColour
, METH_VARARGS
| METH_KEYWORDS
},
5068 { "wxGrid_GetLabelSize", (PyCFunction
) _wrap_wxGrid_GetLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
5069 { "wxGrid_GetLabelBackgroundColour", (PyCFunction
) _wrap_wxGrid_GetLabelBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
5070 { "wxGrid_GetLabelAlignment", (PyCFunction
) _wrap_wxGrid_GetLabelAlignment
, METH_VARARGS
| METH_KEYWORDS
},
5071 { "wxGrid_GetHorizScrollBar", (PyCFunction
) _wrap_wxGrid_GetHorizScrollBar
, METH_VARARGS
| METH_KEYWORDS
},
5072 { "wxGrid_GetEditable", (PyCFunction
) _wrap_wxGrid_GetEditable
, METH_VARARGS
| METH_KEYWORDS
},
5073 { "wxGrid_GetCursorRow", (PyCFunction
) _wrap_wxGrid_GetCursorRow
, METH_VARARGS
| METH_KEYWORDS
},
5074 { "wxGrid_GetCursorColumn", (PyCFunction
) _wrap_wxGrid_GetCursorColumn
, METH_VARARGS
| METH_KEYWORDS
},
5075 { "wxGrid_GetCurrentRect", (PyCFunction
) _wrap_wxGrid_GetCurrentRect
, METH_VARARGS
| METH_KEYWORDS
},
5076 { "wxGrid_GetColumnWidth", (PyCFunction
) _wrap_wxGrid_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
},
5077 { "wxGrid_GetCols", (PyCFunction
) _wrap_wxGrid_GetCols
, METH_VARARGS
| METH_KEYWORDS
},
5078 { "wxGrid_GetCellValue", (PyCFunction
) _wrap_wxGrid_GetCellValue
, METH_VARARGS
| METH_KEYWORDS
},
5079 { "wxGrid_GetDefCellTextFont", (PyCFunction
) _wrap_wxGrid_GetDefCellTextFont
, METH_VARARGS
| METH_KEYWORDS
},
5080 { "wxGrid_GetCellTextFont", (PyCFunction
) _wrap_wxGrid_GetCellTextFont
, METH_VARARGS
| METH_KEYWORDS
},
5081 { "wxGrid_GetDefCellTextColour", (PyCFunction
) _wrap_wxGrid_GetDefCellTextColour
, METH_VARARGS
| METH_KEYWORDS
},
5082 { "wxGrid_GetCellTextColour", (PyCFunction
) _wrap_wxGrid_GetCellTextColour
, METH_VARARGS
| METH_KEYWORDS
},
5083 { "wxGrid_GetCells", (PyCFunction
) _wrap_wxGrid_GetCells
, METH_VARARGS
| METH_KEYWORDS
},
5084 { "wxGrid_GetDefCellBackgroundColour", (PyCFunction
) _wrap_wxGrid_GetDefCellBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
5085 { "wxGrid_GetCellBackgroundColour", (PyCFunction
) _wrap_wxGrid_GetCellBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
5086 { "wxGrid_GetDefCellAlignment", (PyCFunction
) _wrap_wxGrid_GetDefCellAlignment
, METH_VARARGS
| METH_KEYWORDS
},
5087 { "wxGrid_GetCellAlignment", (PyCFunction
) _wrap_wxGrid_GetCellAlignment
, METH_VARARGS
| METH_KEYWORDS
},
5088 { "wxGrid_GetCell", (PyCFunction
) _wrap_wxGrid_GetCell
, METH_VARARGS
| METH_KEYWORDS
},
5089 { "wxGrid_GetBatchCount", (PyCFunction
) _wrap_wxGrid_GetBatchCount
, METH_VARARGS
| METH_KEYWORDS
},
5090 { "wxGrid_EndBatch", (PyCFunction
) _wrap_wxGrid_EndBatch
, METH_VARARGS
| METH_KEYWORDS
},
5091 { "wxGrid_DeleteRows", (PyCFunction
) _wrap_wxGrid_DeleteRows
, METH_VARARGS
| METH_KEYWORDS
},
5092 { "wxGrid_DeleteCols", (PyCFunction
) _wrap_wxGrid_DeleteCols
, METH_VARARGS
| METH_KEYWORDS
},
5093 { "wxGrid_CurrentCellVisible", (PyCFunction
) _wrap_wxGrid_CurrentCellVisible
, METH_VARARGS
| METH_KEYWORDS
},
5094 { "wxGrid_CreateGrid", (PyCFunction
) _wrap_wxGrid_CreateGrid
, METH_VARARGS
| METH_KEYWORDS
},
5095 { "wxGrid_CellHitTest", (PyCFunction
) _wrap_wxGrid_CellHitTest
, METH_VARARGS
| METH_KEYWORDS
},
5096 { "wxGrid_BeginBatch", (PyCFunction
) _wrap_wxGrid_BeginBatch
, METH_VARARGS
| METH_KEYWORDS
},
5097 { "wxGrid_AppendRows", (PyCFunction
) _wrap_wxGrid_AppendRows
, METH_VARARGS
| METH_KEYWORDS
},
5098 { "wxGrid_AppendCols", (PyCFunction
) _wrap_wxGrid_AppendCols
, METH_VARARGS
| METH_KEYWORDS
},
5099 { "wxGrid_AdjustScrollbars", (PyCFunction
) _wrap_wxGrid_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
5100 { "new_wxGrid", (PyCFunction
) _wrap_new_wxGrid
, METH_VARARGS
| METH_KEYWORDS
},
5101 { "wxGridCell_SetCellBitmap", (PyCFunction
) _wrap_wxGridCell_SetCellBitmap
, METH_VARARGS
| METH_KEYWORDS
},
5102 { "wxGridCell_GetCellBitmap", (PyCFunction
) _wrap_wxGridCell_GetCellBitmap
, METH_VARARGS
| METH_KEYWORDS
},
5103 { "wxGridCell_SetAlignment", (PyCFunction
) _wrap_wxGridCell_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
5104 { "wxGridCell_GetAlignment", (PyCFunction
) _wrap_wxGridCell_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
5105 { "wxGridCell_GetBackgroundBrush", (PyCFunction
) _wrap_wxGridCell_GetBackgroundBrush
, METH_VARARGS
| METH_KEYWORDS
},
5106 { "wxGridCell_SetBackgroundColour", (PyCFunction
) _wrap_wxGridCell_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
5107 { "wxGridCell_GetBackgroundColour", (PyCFunction
) _wrap_wxGridCell_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
5108 { "wxGridCell_SetTextColour", (PyCFunction
) _wrap_wxGridCell_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
5109 { "wxGridCell_GetTextColour", (PyCFunction
) _wrap_wxGridCell_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
5110 { "wxGridCell_SetFont", (PyCFunction
) _wrap_wxGridCell_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
5111 { "wxGridCell_GetFont", (PyCFunction
) _wrap_wxGridCell_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
5112 { "wxGridCell_SetTextValue", (PyCFunction
) _wrap_wxGridCell_SetTextValue
, METH_VARARGS
| METH_KEYWORDS
},
5113 { "wxGridCell_GetTextValue", (PyCFunction
) _wrap_wxGridCell_GetTextValue
, METH_VARARGS
| METH_KEYWORDS
},
5114 { "delete_wxGridCell", (PyCFunction
) _wrap_delete_wxGridCell
, METH_VARARGS
| METH_KEYWORDS
},
5115 { "new_wxGridCell", (PyCFunction
) _wrap_new_wxGridCell
, METH_VARARGS
| METH_KEYWORDS
},
5122 * This table is used by the pointer type-checker
5124 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
5125 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
5126 { "_wxEvent","_class_wxSplitterEvent",SwigwxSplitterEventTowxEvent
},
5127 { "_wxEvent","_wxSplitterEvent",SwigwxSplitterEventTowxEvent
},
5128 { "_wxEvent","_class_wxNotebookEvent",SwigwxNotebookEventTowxEvent
},
5129 { "_wxEvent","_wxNotebookEvent",SwigwxNotebookEventTowxEvent
},
5130 { "_wxEvent","_class_wxGridEvent",SwigwxGridEventTowxEvent
},
5131 { "_wxEvent","_wxGridEvent",SwigwxGridEventTowxEvent
},
5132 { "_wxEvent","_class_wxEvent",0},
5133 { "_class_wxActivateEvent","_wxActivateEvent",0},
5134 { "_signed_long","_long",0},
5135 { "_wxMenuEvent","_class_wxMenuEvent",0},
5136 { "_wxPrintQuality","_int",0},
5137 { "_wxPrintQuality","_signed_int",0},
5138 { "_wxPrintQuality","_unsigned_int",0},
5139 { "_wxPrintQuality","_wxWindowID",0},
5140 { "_wxPrintQuality","_uint",0},
5141 { "_wxPrintQuality","_EBool",0},
5142 { "_wxPrintQuality","_size_t",0},
5143 { "_class_wxRegionIterator","_wxRegionIterator",0},
5144 { "_class_wxMenuBar","_wxMenuBar",0},
5145 { "_class_wxEvtHandler","_class_wxSplitterWindow",SwigwxSplitterWindowTowxEvtHandler
},
5146 { "_class_wxEvtHandler","_wxSplitterWindow",SwigwxSplitterWindowTowxEvtHandler
},
5147 { "_class_wxEvtHandler","_class_wxNotebook",SwigwxNotebookTowxEvtHandler
},
5148 { "_class_wxEvtHandler","_wxNotebook",SwigwxNotebookTowxEvtHandler
},
5149 { "_class_wxEvtHandler","_class_wxGrid",SwigwxGridTowxEvtHandler
},
5150 { "_class_wxEvtHandler","_wxGrid",SwigwxGridTowxEvtHandler
},
5151 { "_class_wxEvtHandler","_wxEvtHandler",0},
5152 { "_wxPaintEvent","_class_wxPaintEvent",0},
5153 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
5154 { "_wxCursor","_class_wxCursor",0},
5155 { "_wxNotifyEvent","_class_wxNotebookEvent",SwigwxNotebookEventTowxNotifyEvent
},
5156 { "_wxNotifyEvent","_wxNotebookEvent",SwigwxNotebookEventTowxNotifyEvent
},
5157 { "_wxNotifyEvent","_class_wxNotifyEvent",0},
5158 { "_wxMask","_class_wxMask",0},
5159 { "_wxGrid","_class_wxGrid",0},
5160 { "_wxPen","_class_wxPen",0},
5161 { "_wxUpdateUIEvent","_class_wxUpdateUIEvent",0},
5162 { "_byte","_unsigned_char",0},
5163 { "_wxStaticBox","_class_wxStaticBox",0},
5164 { "_wxChoice","_class_wxChoice",0},
5165 { "_wxSlider","_class_wxSlider",0},
5166 { "_wxNotebookEvent","_class_wxNotebookEvent",0},
5167 { "_long","_wxDash",0},
5168 { "_long","_unsigned_long",0},
5169 { "_long","_signed_long",0},
5170 { "_wxImageList","_class_wxImageList",0},
5171 { "_wxDropFilesEvent","_class_wxDropFilesEvent",0},
5172 { "_wxBitmapButton","_class_wxBitmapButton",0},
5173 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
5174 { "_class_wxGauge","_wxGauge",0},
5175 { "_wxDC","_class_wxDC",0},
5176 { "_wxSpinEvent","_class_wxSpinEvent",0},
5177 { "_size_t","_wxPrintQuality",0},
5178 { "_size_t","_unsigned_int",0},
5179 { "_size_t","_int",0},
5180 { "_size_t","_wxWindowID",0},
5181 { "_size_t","_uint",0},
5182 { "_class_wxRealPoint","_wxRealPoint",0},
5183 { "_class_wxMenuItem","_wxMenuItem",0},
5184 { "_class_wxPaintEvent","_wxPaintEvent",0},
5185 { "_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0},
5186 { "_class_wxPostScriptDC","_wxPostScriptDC",0},
5187 { "_wxPanel","_class_wxGrid",SwigwxGridTowxPanel
},
5188 { "_wxPanel","_wxGrid",SwigwxGridTowxPanel
},
5189 { "_wxPanel","_class_wxPanel",0},
5190 { "_wxInitDialogEvent","_class_wxInitDialogEvent",0},
5191 { "_wxCheckBox","_class_wxCheckBox",0},
5192 { "_wxPyEvent","_class_wxPyEvent",0},
5193 { "_wxTextCtrl","_class_wxTextCtrl",0},
5194 { "_class_wxMask","_wxMask",0},
5195 { "_class_wxKeyEvent","_wxKeyEvent",0},
5196 { "_class_wxGrid","_wxGrid",0},
5197 { "_wxColour","_class_wxColour",0},
5198 { "_class_wxDialog","_wxDialog",0},
5199 { "_wxIdleEvent","_class_wxIdleEvent",0},
5200 { "_class_wxUpdateUIEvent","_wxUpdateUIEvent",0},
5201 { "_wxStaticLine","_class_wxStaticLine",0},
5202 { "_wxBrush","_class_wxBrush",0},
5203 { "_class_wxNotebookEvent","_wxNotebookEvent",0},
5204 { "_wxShowEvent","_class_wxShowEvent",0},
5205 { "_uint","_wxPrintQuality",0},
5206 { "_uint","_size_t",0},
5207 { "_uint","_unsigned_int",0},
5208 { "_uint","_int",0},
5209 { "_uint","_wxWindowID",0},
5210 { "_class_wxEvent","_class_wxSplitterEvent",SwigwxSplitterEventTowxEvent
},
5211 { "_class_wxEvent","_wxSplitterEvent",SwigwxSplitterEventTowxEvent
},
5212 { "_class_wxEvent","_class_wxNotebookEvent",SwigwxNotebookEventTowxEvent
},
5213 { "_class_wxEvent","_wxNotebookEvent",SwigwxNotebookEventTowxEvent
},
5214 { "_class_wxEvent","_class_wxGridEvent",SwigwxGridEventTowxEvent
},
5215 { "_class_wxEvent","_wxGridEvent",SwigwxGridEventTowxEvent
},
5216 { "_class_wxEvent","_wxEvent",0},
5217 { "_wxCheckListBox","_class_wxCheckListBox",0},
5218 { "_wxSplitterEvent","_class_wxSplitterEvent",0},
5219 { "_wxGridEvent","_class_wxGridEvent",0},
5220 { "_wxRect","_class_wxRect",0},
5221 { "_wxCommandEvent","_class_wxSplitterEvent",SwigwxSplitterEventTowxCommandEvent
},
5222 { "_wxCommandEvent","_wxSplitterEvent",SwigwxSplitterEventTowxCommandEvent
},
5223 { "_wxCommandEvent","_class_wxNotebookEvent",SwigwxNotebookEventTowxCommandEvent
},
5224 { "_wxCommandEvent","_wxNotebookEvent",SwigwxNotebookEventTowxCommandEvent
},
5225 { "_wxCommandEvent","_class_wxCommandEvent",0},
5226 { "_wxSizeEvent","_class_wxSizeEvent",0},
5227 { "_wxPoint","_class_wxPoint",0},
5228 { "_class_wxButton","_wxButton",0},
5229 { "_wxRadioBox","_class_wxRadioBox",0},
5230 { "_wxBitmap","_class_wxBitmap",0},
5231 { "_wxPyTimer","_class_wxPyTimer",0},
5232 { "_wxWindowDC","_class_wxWindowDC",0},
5233 { "_wxScrollBar","_class_wxScrollBar",0},
5234 { "_wxSpinButton","_class_wxSpinButton",0},
5235 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
5236 { "_class_wxNotifyEvent","_class_wxNotebookEvent",SwigwxNotebookEventTowxNotifyEvent
},
5237 { "_class_wxNotifyEvent","_wxNotebookEvent",SwigwxNotebookEventTowxNotifyEvent
},
5238 { "_class_wxNotifyEvent","_wxNotifyEvent",0},
5239 { "_class_wxPyEvent","_wxPyEvent",0},
5240 { "_class_wxIconizeEvent","_wxIconizeEvent",0},
5241 { "_class_wxStaticBitmap","_wxStaticBitmap",0},
5242 { "_class_wxStaticLine","_wxStaticLine",0},
5243 { "_wxScrollEvent","_class_wxScrollEvent",0},
5244 { "_EBool","_wxPrintQuality",0},
5245 { "_EBool","_signed_int",0},
5246 { "_EBool","_int",0},
5247 { "_EBool","_wxWindowID",0},
5248 { "_class_wxRegion","_wxRegion",0},
5249 { "_class_wxDropFilesEvent","_wxDropFilesEvent",0},
5250 { "_wxStaticText","_class_wxStaticText",0},
5251 { "_wxFont","_class_wxFont",0},
5252 { "_wxCloseEvent","_class_wxCloseEvent",0},
5253 { "_class_wxSplitterEvent","_wxSplitterEvent",0},
5254 { "_wxNotebook","_class_wxNotebook",0},
5255 { "_unsigned_long","_wxDash",0},
5256 { "_unsigned_long","_long",0},
5257 { "_class_wxRect","_wxRect",0},
5258 { "_class_wxDC","_wxDC",0},
5259 { "_wxScrollWinEvent","_class_wxScrollWinEvent",0},
5260 { "_class_wxPyTimer","_wxPyTimer",0},
5261 { "_wxFocusEvent","_class_wxFocusEvent",0},
5262 { "_wxMaximizeEvent","_class_wxMaximizeEvent",0},
5263 { "_class_wxSpinButton","_wxSpinButton",0},
5264 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
5265 { "_class_wxPanel","_class_wxGrid",SwigwxGridTowxPanel
},
5266 { "_class_wxPanel","_wxGrid",SwigwxGridTowxPanel
},
5267 { "_class_wxPanel","_wxPanel",0},
5268 { "_class_wxCheckBox","_wxCheckBox",0},
5269 { "_wxComboBox","_class_wxComboBox",0},
5270 { "_wxRadioButton","_class_wxRadioButton",0},
5271 { "_signed_int","_wxPrintQuality",0},
5272 { "_signed_int","_EBool",0},
5273 { "_signed_int","_wxWindowID",0},
5274 { "_signed_int","_int",0},
5275 { "_class_wxTextCtrl","_wxTextCtrl",0},
5276 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
5277 { "_wxMenu","_class_wxMenu",0},
5278 { "_class_wxMoveEvent","_wxMoveEvent",0},
5279 { "_wxListBox","_class_wxListBox",0},
5280 { "_wxScreenDC","_class_wxScreenDC",0},
5281 { "_WXTYPE","_short",0},
5282 { "_WXTYPE","_signed_short",0},
5283 { "_WXTYPE","_unsigned_short",0},
5284 { "_class_wxBrush","_wxBrush",0},
5285 { "_unsigned_short","_WXTYPE",0},
5286 { "_unsigned_short","_short",0},
5287 { "_class_wxWindow","_class_wxSplitterWindow",SwigwxSplitterWindowTowxWindow
},
5288 { "_class_wxWindow","_wxSplitterWindow",SwigwxSplitterWindowTowxWindow
},
5289 { "_class_wxWindow","_class_wxNotebook",SwigwxNotebookTowxWindow
},
5290 { "_class_wxWindow","_wxNotebook",SwigwxNotebookTowxWindow
},
5291 { "_class_wxWindow","_class_wxGrid",SwigwxGridTowxWindow
},
5292 { "_class_wxWindow","_wxGrid",SwigwxGridTowxWindow
},
5293 { "_class_wxWindow","_wxWindow",0},
5294 { "_wxSplitterWindow","_class_wxSplitterWindow",0},
5295 { "_class_wxStaticText","_wxStaticText",0},
5296 { "_class_wxFont","_wxFont",0},
5297 { "_class_wxCloseEvent","_wxCloseEvent",0},
5298 { "_class_wxMenuEvent","_wxMenuEvent",0},
5299 { "_wxClientDC","_class_wxClientDC",0},
5300 { "_wxMouseEvent","_class_wxMouseEvent",0},
5301 { "_class_wxPoint","_wxPoint",0},
5302 { "_wxRealPoint","_class_wxRealPoint",0},
5303 { "_class_wxRadioBox","_wxRadioBox",0},
5304 { "_wxGridCell","_class_wxGridCell",0},
5305 { "_signed_short","_WXTYPE",0},
5306 { "_signed_short","_short",0},
5307 { "_wxMemoryDC","_class_wxMemoryDC",0},
5308 { "_wxPaintDC","_class_wxPaintDC",0},
5309 { "_class_wxWindowDC","_wxWindowDC",0},
5310 { "_class_wxFocusEvent","_wxFocusEvent",0},
5311 { "_class_wxMaximizeEvent","_wxMaximizeEvent",0},
5312 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
5313 { "_class_wxCursor","_wxCursor",0},
5314 { "_wxPostScriptDC","_class_wxPostScriptDC",0},
5315 { "_wxScrolledWindow","_class_wxScrolledWindow",0},
5316 { "_unsigned_char","_byte",0},
5317 { "_class_wxMenu","_wxMenu",0},
5318 { "_wxControl","_class_wxNotebook",SwigwxNotebookTowxControl
},
5319 { "_wxControl","_wxNotebook",SwigwxNotebookTowxControl
},
5320 { "_wxControl","_class_wxControl",0},
5321 { "_class_wxListBox","_wxListBox",0},
5322 { "_unsigned_int","_wxPrintQuality",0},
5323 { "_unsigned_int","_size_t",0},
5324 { "_unsigned_int","_uint",0},
5325 { "_unsigned_int","_wxWindowID",0},
5326 { "_unsigned_int","_int",0},
5327 { "_wxIcon","_class_wxIcon",0},
5328 { "_wxDialog","_class_wxDialog",0},
5329 { "_class_wxPen","_wxPen",0},
5330 { "_short","_WXTYPE",0},
5331 { "_short","_unsigned_short",0},
5332 { "_short","_signed_short",0},
5333 { "_class_wxStaticBox","_wxStaticBox",0},
5334 { "_class_wxScrollEvent","_wxScrollEvent",0},
5335 { "_wxJoystickEvent","_class_wxJoystickEvent",0},
5336 { "_class_wxChoice","_wxChoice",0},
5337 { "_class_wxSlider","_wxSlider",0},
5338 { "_class_wxImageList","_wxImageList",0},
5339 { "_class_wxBitmapButton","_wxBitmapButton",0},
5340 { "_class_wxNotebook","_wxNotebook",0},
5341 { "_wxWindowID","_wxPrintQuality",0},
5342 { "_wxWindowID","_size_t",0},
5343 { "_wxWindowID","_EBool",0},
5344 { "_wxWindowID","_uint",0},
5345 { "_wxWindowID","_int",0},
5346 { "_wxWindowID","_signed_int",0},
5347 { "_wxWindowID","_unsigned_int",0},
5348 { "_class_wxScrollWinEvent","_wxScrollWinEvent",0},
5349 { "_int","_wxPrintQuality",0},
5350 { "_int","_size_t",0},
5351 { "_int","_EBool",0},
5352 { "_int","_uint",0},
5353 { "_int","_wxWindowID",0},
5354 { "_int","_unsigned_int",0},
5355 { "_int","_signed_int",0},
5356 { "_class_wxMouseEvent","_wxMouseEvent",0},
5357 { "_class_wxSpinEvent","_wxSpinEvent",0},
5358 { "_wxButton","_class_wxButton",0},
5359 { "_wxSize","_class_wxSize",0},
5360 { "_wxRegionIterator","_class_wxRegionIterator",0},
5361 { "_class_wxPaintDC","_wxPaintDC",0},
5362 { "_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0},
5363 { "_class_wxInitDialogEvent","_wxInitDialogEvent",0},
5364 { "_class_wxComboBox","_wxComboBox",0},
5365 { "_class_wxRadioButton","_wxRadioButton",0},
5366 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
5367 { "_wxIconizeEvent","_class_wxIconizeEvent",0},
5368 { "_class_wxControl","_class_wxNotebook",SwigwxNotebookTowxControl
},
5369 { "_class_wxControl","_wxNotebook",SwigwxNotebookTowxControl
},
5370 { "_class_wxControl","_wxControl",0},
5371 { "_wxStaticBitmap","_class_wxStaticBitmap",0},
5372 { "_class_wxIcon","_wxIcon",0},
5373 { "_class_wxColour","_wxColour",0},
5374 { "_class_wxScreenDC","_wxScreenDC",0},
5375 { "_wxPalette","_class_wxPalette",0},
5376 { "_class_wxIdleEvent","_wxIdleEvent",0},
5377 { "_wxEraseEvent","_class_wxEraseEvent",0},
5378 { "_class_wxJoystickEvent","_wxJoystickEvent",0},
5379 { "_wxRegion","_class_wxRegion",0},
5380 { "_class_wxSplitterWindow","_wxSplitterWindow",0},
5381 { "_class_wxShowEvent","_wxShowEvent",0},
5382 { "_wxActivateEvent","_class_wxActivateEvent",0},
5383 { "_wxGauge","_class_wxGauge",0},
5384 { "_class_wxCheckListBox","_wxCheckListBox",0},
5385 { "_class_wxGridEvent","_wxGridEvent",0},
5386 { "_class_wxCommandEvent","_class_wxSplitterEvent",SwigwxSplitterEventTowxCommandEvent
},
5387 { "_class_wxCommandEvent","_wxSplitterEvent",SwigwxSplitterEventTowxCommandEvent
},
5388 { "_class_wxCommandEvent","_class_wxNotebookEvent",SwigwxNotebookEventTowxCommandEvent
},
5389 { "_class_wxCommandEvent","_wxNotebookEvent",SwigwxNotebookEventTowxCommandEvent
},
5390 { "_class_wxCommandEvent","_wxCommandEvent",0},
5391 { "_class_wxClientDC","_wxClientDC",0},
5392 { "_class_wxSizeEvent","_wxSizeEvent",0},
5393 { "_class_wxGridCell","_wxGridCell",0},
5394 { "_class_wxSize","_wxSize",0},
5395 { "_class_wxBitmap","_wxBitmap",0},
5396 { "_class_wxMemoryDC","_wxMemoryDC",0},
5397 { "_wxMenuBar","_class_wxMenuBar",0},
5398 { "_wxEvtHandler","_class_wxSplitterWindow",SwigwxSplitterWindowTowxEvtHandler
},
5399 { "_wxEvtHandler","_wxSplitterWindow",SwigwxSplitterWindowTowxEvtHandler
},
5400 { "_wxEvtHandler","_class_wxNotebook",SwigwxNotebookTowxEvtHandler
},
5401 { "_wxEvtHandler","_wxNotebook",SwigwxNotebookTowxEvtHandler
},
5402 { "_wxEvtHandler","_class_wxGrid",SwigwxGridTowxEvtHandler
},
5403 { "_wxEvtHandler","_wxGrid",SwigwxGridTowxEvtHandler
},
5404 { "_wxEvtHandler","_class_wxEvtHandler",0},
5405 { "_wxMenuItem","_class_wxMenuItem",0},
5406 { "_class_wxScrollBar","_wxScrollBar",0},
5407 { "_wxDash","_unsigned_long",0},
5408 { "_wxDash","_long",0},
5409 { "_class_wxScrolledWindow","_wxScrolledWindow",0},
5410 { "_wxKeyEvent","_class_wxKeyEvent",0},
5411 { "_wxMoveEvent","_class_wxMoveEvent",0},
5412 { "_class_wxPalette","_wxPalette",0},
5413 { "_class_wxEraseEvent","_wxEraseEvent",0},
5414 { "_wxWindow","_class_wxSplitterWindow",SwigwxSplitterWindowTowxWindow
},
5415 { "_wxWindow","_wxSplitterWindow",SwigwxSplitterWindowTowxWindow
},
5416 { "_wxWindow","_class_wxNotebook",SwigwxNotebookTowxWindow
},
5417 { "_wxWindow","_wxNotebook",SwigwxNotebookTowxWindow
},
5418 { "_wxWindow","_class_wxGrid",SwigwxGridTowxWindow
},
5419 { "_wxWindow","_wxGrid",SwigwxGridTowxWindow
},
5420 { "_wxWindow","_class_wxWindow",0},
5423 static PyObject
*SWIG_globals
;
5427 SWIGEXPORT(void) initwindows2c() {
5429 SWIG_globals
= SWIG_newvarlink();
5430 m
= Py_InitModule("windows2c", windows2cMethods
);
5431 d
= PyModule_GetDict(m
);
5432 PyDict_SetItemString(d
,"wxGRID_TEXT_CTRL", PyInt_FromLong((long) wxGRID_TEXT_CTRL
));
5433 PyDict_SetItemString(d
,"wxGRID_HSCROLL", PyInt_FromLong((long) wxGRID_HSCROLL
));
5434 PyDict_SetItemString(d
,"wxGRID_VSCROLL", PyInt_FromLong((long) wxGRID_VSCROLL
));
5435 PyDict_SetItemString(d
,"wxEVT_GRID_SELECT_CELL", PyInt_FromLong((long) wxEVT_GRID_SELECT_CELL
));
5436 PyDict_SetItemString(d
,"wxEVT_GRID_CREATE_CELL", PyInt_FromLong((long) wxEVT_GRID_CREATE_CELL
));
5437 PyDict_SetItemString(d
,"wxEVT_GRID_CHANGE_LABELS", PyInt_FromLong((long) wxEVT_GRID_CHANGE_LABELS
));
5438 PyDict_SetItemString(d
,"wxEVT_GRID_CHANGE_SEL_LABEL", PyInt_FromLong((long) wxEVT_GRID_CHANGE_SEL_LABEL
));
5439 PyDict_SetItemString(d
,"wxEVT_GRID_CELL_CHANGE", PyInt_FromLong((long) wxEVT_GRID_CELL_CHANGE
));
5440 PyDict_SetItemString(d
,"wxEVT_GRID_CELL_LCLICK", PyInt_FromLong((long) wxEVT_GRID_CELL_LCLICK
));
5441 PyDict_SetItemString(d
,"wxEVT_GRID_CELL_RCLICK", PyInt_FromLong((long) wxEVT_GRID_CELL_RCLICK
));
5442 PyDict_SetItemString(d
,"wxEVT_GRID_LABEL_LCLICK", PyInt_FromLong((long) wxEVT_GRID_LABEL_LCLICK
));
5443 PyDict_SetItemString(d
,"wxEVT_GRID_LABEL_RCLICK", PyInt_FromLong((long) wxEVT_GRID_LABEL_RCLICK
));
5446 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
5447 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);