2 * FILE : gtk/windows2.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Patch 6)
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 extern byte
* byte_LIST_helper(PyObject
* source
);
113 extern int* int_LIST_helper(PyObject
* source
);
114 extern long* long_LIST_helper(PyObject
* source
);
115 extern char** string_LIST_helper(PyObject
* source
);
116 extern wxPoint
* wxPoint_LIST_helper(PyObject
* source
);
117 extern wxBitmap
** wxBitmap_LIST_helper(PyObject
* source
);
118 extern wxString
* wxString_LIST_helper(PyObject
* source
);
119 extern 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 #ifdef WXP_WITH_THREAD
1217 PyEval_RestoreThread(wxPyEventThreadState
);
1220 PyObject
* pyCell
= wxPyConstructObject(cell
, "wxGridCell");
1221 #ifdef WXP_WITH_THREAD
1222 PyEval_SaveThread();
1223 wxPyInEvent
= false;
1226 if (PyList_Append(rowList
, pyCell
) == -1)
1229 if (PyList_Append(rows
, rowList
) == -1)
1234 static PyObject
*_wrap_wxGrid_GetCells(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1235 PyObject
* _resultobj
;
1238 PyObject
* _argo0
= 0;
1239 char *_kwnames
[] = { "self", NULL
};
1242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetCells",_kwnames
,&_argo0
))
1245 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1246 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
1247 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCells. Expected _wxGrid_p.");
1252 wxPy_BEGIN_ALLOW_THREADS
;
1253 _result
= (PyObject
*)wxGrid_GetCells(_arg0
);
1255 wxPy_END_ALLOW_THREADS
;
1257 _resultobj
= _result
;
1262 #define wxGrid_GetCellTextColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellTextColour(_swigarg0,_swigarg1))
1263 static PyObject
*_wrap_wxGrid_GetCellTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1264 PyObject
* _resultobj
;
1269 PyObject
* _argo0
= 0;
1270 char *_kwnames
[] = { "self","row","col", NULL
};
1274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_GetCellTextColour",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
1277 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1278 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
1279 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellTextColour. Expected _wxGrid_p.");
1284 wxPy_BEGIN_ALLOW_THREADS
;
1285 wxColour
& _result_ref
= wxGrid_GetCellTextColour(_arg0
,_arg1
,_arg2
);
1286 _result
= (wxColour
*) &_result_ref
;
1288 wxPy_END_ALLOW_THREADS
;
1290 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
1291 _resultobj
= Py_BuildValue("s",_ptemp
);
1294 _resultobj
= Py_None
;
1299 #define wxGrid_GetDefCellTextColour(_swigobj) (_swigobj->GetCellTextColour())
1300 static PyObject
*_wrap_wxGrid_GetDefCellTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1301 PyObject
* _resultobj
;
1304 PyObject
* _argo0
= 0;
1305 char *_kwnames
[] = { "self", NULL
};
1309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetDefCellTextColour",_kwnames
,&_argo0
))
1312 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1313 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
1314 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefCellTextColour. Expected _wxGrid_p.");
1319 wxPy_BEGIN_ALLOW_THREADS
;
1320 wxColour
& _result_ref
= wxGrid_GetDefCellTextColour(_arg0
);
1321 _result
= (wxColour
*) &_result_ref
;
1323 wxPy_END_ALLOW_THREADS
;
1325 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
1326 _resultobj
= Py_BuildValue("s",_ptemp
);
1329 _resultobj
= Py_None
;
1334 #define wxGrid_GetCellTextFont(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellTextFont(_swigarg0,_swigarg1))
1335 static PyObject
*_wrap_wxGrid_GetCellTextFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1336 PyObject
* _resultobj
;
1341 PyObject
* _argo0
= 0;
1342 char *_kwnames
[] = { "self","row","col", NULL
};
1346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_GetCellTextFont",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
1349 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1350 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
1351 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellTextFont. Expected _wxGrid_p.");
1356 wxPy_BEGIN_ALLOW_THREADS
;
1357 wxFont
& _result_ref
= wxGrid_GetCellTextFont(_arg0
,_arg1
,_arg2
);
1358 _result
= (wxFont
*) &_result_ref
;
1360 wxPy_END_ALLOW_THREADS
;
1362 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
1363 _resultobj
= Py_BuildValue("s",_ptemp
);
1366 _resultobj
= Py_None
;
1371 #define wxGrid_GetDefCellTextFont(_swigobj) (_swigobj->GetCellTextFont())
1372 static PyObject
*_wrap_wxGrid_GetDefCellTextFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1373 PyObject
* _resultobj
;
1376 PyObject
* _argo0
= 0;
1377 char *_kwnames
[] = { "self", NULL
};
1381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetDefCellTextFont",_kwnames
,&_argo0
))
1384 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1385 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
1386 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefCellTextFont. Expected _wxGrid_p.");
1391 wxPy_BEGIN_ALLOW_THREADS
;
1392 wxFont
& _result_ref
= wxGrid_GetDefCellTextFont(_arg0
);
1393 _result
= (wxFont
*) &_result_ref
;
1395 wxPy_END_ALLOW_THREADS
;
1397 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
1398 _resultobj
= Py_BuildValue("s",_ptemp
);
1401 _resultobj
= Py_None
;
1406 #define wxGrid_GetCellValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellValue(_swigarg0,_swigarg1))
1407 static PyObject
*_wrap_wxGrid_GetCellValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1408 PyObject
* _resultobj
;
1413 PyObject
* _argo0
= 0;
1414 char *_kwnames
[] = { "self","row","col", NULL
};
1417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_GetCellValue",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
1420 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1421 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
1422 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellValue. Expected _wxGrid_p.");
1427 wxPy_BEGIN_ALLOW_THREADS
;
1428 wxString
& _result_ref
= wxGrid_GetCellValue(_arg0
,_arg1
,_arg2
);
1429 _result
= (wxString
*) &_result_ref
;
1431 wxPy_END_ALLOW_THREADS
;
1433 _resultobj
= PyString_FromString(WXSTRINGCAST (*_result
));
1438 #define wxGrid_GetCols(_swigobj) (_swigobj->GetCols())
1439 static PyObject
*_wrap_wxGrid_GetCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1440 PyObject
* _resultobj
;
1443 PyObject
* _argo0
= 0;
1444 char *_kwnames
[] = { "self", NULL
};
1447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetCols",_kwnames
,&_argo0
))
1450 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1451 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
1452 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCols. Expected _wxGrid_p.");
1457 wxPy_BEGIN_ALLOW_THREADS
;
1458 _result
= (int )wxGrid_GetCols(_arg0
);
1460 wxPy_END_ALLOW_THREADS
;
1461 } _resultobj
= Py_BuildValue("i",_result
);
1465 #define wxGrid_GetColumnWidth(_swigobj,_swigarg0) (_swigobj->GetColumnWidth(_swigarg0))
1466 static PyObject
*_wrap_wxGrid_GetColumnWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1467 PyObject
* _resultobj
;
1471 PyObject
* _argo0
= 0;
1472 char *_kwnames
[] = { "self","col", NULL
};
1475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_GetColumnWidth",_kwnames
,&_argo0
,&_arg1
))
1478 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1479 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
1480 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetColumnWidth. Expected _wxGrid_p.");
1485 wxPy_BEGIN_ALLOW_THREADS
;
1486 _result
= (int )wxGrid_GetColumnWidth(_arg0
,_arg1
);
1488 wxPy_END_ALLOW_THREADS
;
1489 } _resultobj
= Py_BuildValue("i",_result
);
1493 #define wxGrid_GetCurrentRect(_swigobj) (_swigobj->GetCurrentRect())
1494 static PyObject
*_wrap_wxGrid_GetCurrentRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1495 PyObject
* _resultobj
;
1498 PyObject
* _argo0
= 0;
1499 char *_kwnames
[] = { "self", NULL
};
1503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetCurrentRect",_kwnames
,&_argo0
))
1506 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1507 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
1508 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCurrentRect. Expected _wxGrid_p.");
1513 wxPy_BEGIN_ALLOW_THREADS
;
1514 _result
= new wxRect (wxGrid_GetCurrentRect(_arg0
));
1516 wxPy_END_ALLOW_THREADS
;
1517 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
1518 _resultobj
= Py_BuildValue("s",_ptemp
);
1522 #define wxGrid_GetCursorColumn(_swigobj) (_swigobj->GetCursorColumn())
1523 static PyObject
*_wrap_wxGrid_GetCursorColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1524 PyObject
* _resultobj
;
1527 PyObject
* _argo0
= 0;
1528 char *_kwnames
[] = { "self", NULL
};
1531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetCursorColumn",_kwnames
,&_argo0
))
1534 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1535 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
1536 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCursorColumn. Expected _wxGrid_p.");
1541 wxPy_BEGIN_ALLOW_THREADS
;
1542 _result
= (int )wxGrid_GetCursorColumn(_arg0
);
1544 wxPy_END_ALLOW_THREADS
;
1545 } _resultobj
= Py_BuildValue("i",_result
);
1549 #define wxGrid_GetCursorRow(_swigobj) (_swigobj->GetCursorRow())
1550 static PyObject
*_wrap_wxGrid_GetCursorRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1551 PyObject
* _resultobj
;
1554 PyObject
* _argo0
= 0;
1555 char *_kwnames
[] = { "self", NULL
};
1558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetCursorRow",_kwnames
,&_argo0
))
1561 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1562 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
1563 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCursorRow. Expected _wxGrid_p.");
1568 wxPy_BEGIN_ALLOW_THREADS
;
1569 _result
= (int )wxGrid_GetCursorRow(_arg0
);
1571 wxPy_END_ALLOW_THREADS
;
1572 } _resultobj
= Py_BuildValue("i",_result
);
1576 #define wxGrid_GetEditable(_swigobj) (_swigobj->GetEditable())
1577 static PyObject
*_wrap_wxGrid_GetEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1578 PyObject
* _resultobj
;
1581 PyObject
* _argo0
= 0;
1582 char *_kwnames
[] = { "self", NULL
};
1585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetEditable",_kwnames
,&_argo0
))
1588 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1589 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
1590 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetEditable. Expected _wxGrid_p.");
1595 wxPy_BEGIN_ALLOW_THREADS
;
1596 _result
= (bool )wxGrid_GetEditable(_arg0
);
1598 wxPy_END_ALLOW_THREADS
;
1599 } _resultobj
= Py_BuildValue("i",_result
);
1603 #define wxGrid_GetHorizScrollBar(_swigobj) (_swigobj->GetHorizScrollBar())
1604 static PyObject
*_wrap_wxGrid_GetHorizScrollBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1605 PyObject
* _resultobj
;
1606 wxScrollBar
* _result
;
1608 PyObject
* _argo0
= 0;
1609 char *_kwnames
[] = { "self", NULL
};
1613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetHorizScrollBar",_kwnames
,&_argo0
))
1616 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1617 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
1618 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetHorizScrollBar. Expected _wxGrid_p.");
1623 wxPy_BEGIN_ALLOW_THREADS
;
1624 _result
= (wxScrollBar
*)wxGrid_GetHorizScrollBar(_arg0
);
1626 wxPy_END_ALLOW_THREADS
;
1628 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScrollBar_p");
1629 _resultobj
= Py_BuildValue("s",_ptemp
);
1632 _resultobj
= Py_None
;
1637 #define wxGrid_GetLabelAlignment(_swigobj,_swigarg0) (_swigobj->GetLabelAlignment(_swigarg0))
1638 static PyObject
*_wrap_wxGrid_GetLabelAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1639 PyObject
* _resultobj
;
1643 PyObject
* _argo0
= 0;
1644 char *_kwnames
[] = { "self","orientation", NULL
};
1647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_GetLabelAlignment",_kwnames
,&_argo0
,&_arg1
))
1650 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1651 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
1652 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetLabelAlignment. Expected _wxGrid_p.");
1657 wxPy_BEGIN_ALLOW_THREADS
;
1658 _result
= (int )wxGrid_GetLabelAlignment(_arg0
,_arg1
);
1660 wxPy_END_ALLOW_THREADS
;
1661 } _resultobj
= Py_BuildValue("i",_result
);
1665 #define wxGrid_GetLabelBackgroundColour(_swigobj) (_swigobj->GetLabelBackgroundColour())
1666 static PyObject
*_wrap_wxGrid_GetLabelBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1667 PyObject
* _resultobj
;
1670 PyObject
* _argo0
= 0;
1671 char *_kwnames
[] = { "self", NULL
};
1675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetLabelBackgroundColour",_kwnames
,&_argo0
))
1678 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1679 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
1680 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetLabelBackgroundColour. Expected _wxGrid_p.");
1685 wxPy_BEGIN_ALLOW_THREADS
;
1686 wxColour
& _result_ref
= wxGrid_GetLabelBackgroundColour(_arg0
);
1687 _result
= (wxColour
*) &_result_ref
;
1689 wxPy_END_ALLOW_THREADS
;
1691 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
1692 _resultobj
= Py_BuildValue("s",_ptemp
);
1695 _resultobj
= Py_None
;
1700 #define wxGrid_GetLabelSize(_swigobj,_swigarg0) (_swigobj->GetLabelSize(_swigarg0))
1701 static PyObject
*_wrap_wxGrid_GetLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1702 PyObject
* _resultobj
;
1706 PyObject
* _argo0
= 0;
1707 char *_kwnames
[] = { "self","orientation", NULL
};
1710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_GetLabelSize",_kwnames
,&_argo0
,&_arg1
))
1713 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1714 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
1715 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetLabelSize. Expected _wxGrid_p.");
1720 wxPy_BEGIN_ALLOW_THREADS
;
1721 _result
= (int )wxGrid_GetLabelSize(_arg0
,_arg1
);
1723 wxPy_END_ALLOW_THREADS
;
1724 } _resultobj
= Py_BuildValue("i",_result
);
1728 #define wxGrid_GetLabelTextColour(_swigobj) (_swigobj->GetLabelTextColour())
1729 static PyObject
*_wrap_wxGrid_GetLabelTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1730 PyObject
* _resultobj
;
1733 PyObject
* _argo0
= 0;
1734 char *_kwnames
[] = { "self", NULL
};
1738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetLabelTextColour",_kwnames
,&_argo0
))
1741 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1742 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
1743 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetLabelTextColour. Expected _wxGrid_p.");
1748 wxPy_BEGIN_ALLOW_THREADS
;
1749 wxColour
& _result_ref
= wxGrid_GetLabelTextColour(_arg0
);
1750 _result
= (wxColour
*) &_result_ref
;
1752 wxPy_END_ALLOW_THREADS
;
1754 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
1755 _resultobj
= Py_BuildValue("s",_ptemp
);
1758 _resultobj
= Py_None
;
1763 #define wxGrid_GetLabelTextFont(_swigobj) (_swigobj->GetLabelTextFont())
1764 static PyObject
*_wrap_wxGrid_GetLabelTextFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1765 PyObject
* _resultobj
;
1768 PyObject
* _argo0
= 0;
1769 char *_kwnames
[] = { "self", NULL
};
1773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetLabelTextFont",_kwnames
,&_argo0
))
1776 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1777 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
1778 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetLabelTextFont. Expected _wxGrid_p.");
1783 wxPy_BEGIN_ALLOW_THREADS
;
1784 wxFont
& _result_ref
= wxGrid_GetLabelTextFont(_arg0
);
1785 _result
= (wxFont
*) &_result_ref
;
1787 wxPy_END_ALLOW_THREADS
;
1789 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
1790 _resultobj
= Py_BuildValue("s",_ptemp
);
1793 _resultobj
= Py_None
;
1798 #define wxGrid_GetLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetLabelValue(_swigarg0,_swigarg1))
1799 static PyObject
*_wrap_wxGrid_GetLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1800 PyObject
* _resultobj
;
1805 PyObject
* _argo0
= 0;
1806 char *_kwnames
[] = { "self","orientation","pos", NULL
};
1809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_GetLabelValue",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
1812 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1813 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
1814 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetLabelValue. Expected _wxGrid_p.");
1819 wxPy_BEGIN_ALLOW_THREADS
;
1820 wxString
& _result_ref
= wxGrid_GetLabelValue(_arg0
,_arg1
,_arg2
);
1821 _result
= (wxString
*) &_result_ref
;
1823 wxPy_END_ALLOW_THREADS
;
1825 _resultobj
= PyString_FromString(WXSTRINGCAST (*_result
));
1830 #define wxGrid_GetRowHeight(_swigobj,_swigarg0) (_swigobj->GetRowHeight(_swigarg0))
1831 static PyObject
*_wrap_wxGrid_GetRowHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1832 PyObject
* _resultobj
;
1836 PyObject
* _argo0
= 0;
1837 char *_kwnames
[] = { "self","row", NULL
};
1840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_GetRowHeight",_kwnames
,&_argo0
,&_arg1
))
1843 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1844 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
1845 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetRowHeight. Expected _wxGrid_p.");
1850 wxPy_BEGIN_ALLOW_THREADS
;
1851 _result
= (int )wxGrid_GetRowHeight(_arg0
,_arg1
);
1853 wxPy_END_ALLOW_THREADS
;
1854 } _resultobj
= Py_BuildValue("i",_result
);
1858 #define wxGrid_GetRows(_swigobj) (_swigobj->GetRows())
1859 static PyObject
*_wrap_wxGrid_GetRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1860 PyObject
* _resultobj
;
1863 PyObject
* _argo0
= 0;
1864 char *_kwnames
[] = { "self", NULL
};
1867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetRows",_kwnames
,&_argo0
))
1870 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1871 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
1872 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetRows. Expected _wxGrid_p.");
1877 wxPy_BEGIN_ALLOW_THREADS
;
1878 _result
= (int )wxGrid_GetRows(_arg0
);
1880 wxPy_END_ALLOW_THREADS
;
1881 } _resultobj
= Py_BuildValue("i",_result
);
1885 #define wxGrid_GetScrollPosX(_swigobj) (_swigobj->GetScrollPosX())
1886 static PyObject
*_wrap_wxGrid_GetScrollPosX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1887 PyObject
* _resultobj
;
1890 PyObject
* _argo0
= 0;
1891 char *_kwnames
[] = { "self", NULL
};
1894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetScrollPosX",_kwnames
,&_argo0
))
1897 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1898 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
1899 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetScrollPosX. Expected _wxGrid_p.");
1904 wxPy_BEGIN_ALLOW_THREADS
;
1905 _result
= (int )wxGrid_GetScrollPosX(_arg0
);
1907 wxPy_END_ALLOW_THREADS
;
1908 } _resultobj
= Py_BuildValue("i",_result
);
1912 #define wxGrid_GetScrollPosY(_swigobj) (_swigobj->GetScrollPosY())
1913 static PyObject
*_wrap_wxGrid_GetScrollPosY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1914 PyObject
* _resultobj
;
1917 PyObject
* _argo0
= 0;
1918 char *_kwnames
[] = { "self", NULL
};
1921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetScrollPosY",_kwnames
,&_argo0
))
1924 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1925 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
1926 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetScrollPosY. Expected _wxGrid_p.");
1931 wxPy_BEGIN_ALLOW_THREADS
;
1932 _result
= (int )wxGrid_GetScrollPosY(_arg0
);
1934 wxPy_END_ALLOW_THREADS
;
1935 } _resultobj
= Py_BuildValue("i",_result
);
1939 #define wxGrid_GetTextItem(_swigobj) (_swigobj->GetTextItem())
1940 static PyObject
*_wrap_wxGrid_GetTextItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1941 PyObject
* _resultobj
;
1942 wxTextCtrl
* _result
;
1944 PyObject
* _argo0
= 0;
1945 char *_kwnames
[] = { "self", NULL
};
1949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetTextItem",_kwnames
,&_argo0
))
1952 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1953 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
1954 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetTextItem. Expected _wxGrid_p.");
1959 wxPy_BEGIN_ALLOW_THREADS
;
1960 _result
= (wxTextCtrl
*)wxGrid_GetTextItem(_arg0
);
1962 wxPy_END_ALLOW_THREADS
;
1964 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTextCtrl_p");
1965 _resultobj
= Py_BuildValue("s",_ptemp
);
1968 _resultobj
= Py_None
;
1973 #define wxGrid_GetVertScrollBar(_swigobj) (_swigobj->GetVertScrollBar())
1974 static PyObject
*_wrap_wxGrid_GetVertScrollBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1975 PyObject
* _resultobj
;
1976 wxScrollBar
* _result
;
1978 PyObject
* _argo0
= 0;
1979 char *_kwnames
[] = { "self", NULL
};
1983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetVertScrollBar",_kwnames
,&_argo0
))
1986 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1987 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
1988 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetVertScrollBar. Expected _wxGrid_p.");
1993 wxPy_BEGIN_ALLOW_THREADS
;
1994 _result
= (wxScrollBar
*)wxGrid_GetVertScrollBar(_arg0
);
1996 wxPy_END_ALLOW_THREADS
;
1998 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScrollBar_p");
1999 _resultobj
= Py_BuildValue("s",_ptemp
);
2002 _resultobj
= Py_None
;
2007 #define wxGrid_InsertCols(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertCols(_swigarg0,_swigarg1,_swigarg2))
2008 static PyObject
*_wrap_wxGrid_InsertCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2009 PyObject
* _resultobj
;
2012 int _arg1
= (int ) 0;
2013 int _arg2
= (int ) 1;
2014 bool _arg3
= (bool ) TRUE
;
2015 PyObject
* _argo0
= 0;
2016 int tempbool3
= (int) TRUE
;
2017 char *_kwnames
[] = { "self","pos","n","updateLabels", NULL
};
2020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iii:wxGrid_InsertCols",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
2023 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2024 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
2025 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_InsertCols. Expected _wxGrid_p.");
2029 _arg3
= (bool ) tempbool3
;
2031 wxPy_BEGIN_ALLOW_THREADS
;
2032 _result
= (bool )wxGrid_InsertCols(_arg0
,_arg1
,_arg2
,_arg3
);
2034 wxPy_END_ALLOW_THREADS
;
2035 } _resultobj
= Py_BuildValue("i",_result
);
2039 #define wxGrid_InsertRows(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertRows(_swigarg0,_swigarg1,_swigarg2))
2040 static PyObject
*_wrap_wxGrid_InsertRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2041 PyObject
* _resultobj
;
2044 int _arg1
= (int ) 0;
2045 int _arg2
= (int ) 1;
2046 bool _arg3
= (bool ) TRUE
;
2047 PyObject
* _argo0
= 0;
2048 int tempbool3
= (int) TRUE
;
2049 char *_kwnames
[] = { "self","pos","n","updateLabels", NULL
};
2052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iii:wxGrid_InsertRows",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
2055 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2056 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
2057 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_InsertRows. Expected _wxGrid_p.");
2061 _arg3
= (bool ) tempbool3
;
2063 wxPy_BEGIN_ALLOW_THREADS
;
2064 _result
= (bool )wxGrid_InsertRows(_arg0
,_arg1
,_arg2
,_arg3
);
2066 wxPy_END_ALLOW_THREADS
;
2067 } _resultobj
= Py_BuildValue("i",_result
);
2071 #define wxGrid_OnActivate(_swigobj,_swigarg0) (_swigobj->OnActivate(_swigarg0))
2072 static PyObject
*_wrap_wxGrid_OnActivate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2073 PyObject
* _resultobj
;
2076 PyObject
* _argo0
= 0;
2078 char *_kwnames
[] = { "self","active", NULL
};
2081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_OnActivate",_kwnames
,&_argo0
,&tempbool1
))
2084 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2085 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
2086 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_OnActivate. Expected _wxGrid_p.");
2090 _arg1
= (bool ) tempbool1
;
2092 wxPy_BEGIN_ALLOW_THREADS
;
2093 wxGrid_OnActivate(_arg0
,_arg1
);
2095 wxPy_END_ALLOW_THREADS
;
2096 } Py_INCREF(Py_None
);
2097 _resultobj
= Py_None
;
2101 #define wxGrid_SetCellAlignment(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellAlignment(_swigarg0,_swigarg1,_swigarg2))
2102 static PyObject
*_wrap_wxGrid_SetCellAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2103 PyObject
* _resultobj
;
2108 PyObject
* _argo0
= 0;
2109 char *_kwnames
[] = { "self","alignment","row","col", NULL
};
2112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiii:wxGrid_SetCellAlignment",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
2115 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2116 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
2117 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellAlignment. Expected _wxGrid_p.");
2122 wxPy_BEGIN_ALLOW_THREADS
;
2123 wxGrid_SetCellAlignment(_arg0
,_arg1
,_arg2
,_arg3
);
2125 wxPy_END_ALLOW_THREADS
;
2126 } Py_INCREF(Py_None
);
2127 _resultobj
= Py_None
;
2131 #define wxGrid_SetDefCellAlignment(_swigobj,_swigarg0) (_swigobj->SetCellAlignment(_swigarg0))
2132 static PyObject
*_wrap_wxGrid_SetDefCellAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2133 PyObject
* _resultobj
;
2136 PyObject
* _argo0
= 0;
2137 char *_kwnames
[] = { "self","alignment", NULL
};
2140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_SetDefCellAlignment",_kwnames
,&_argo0
,&_arg1
))
2143 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2144 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
2145 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetDefCellAlignment. Expected _wxGrid_p.");
2150 wxPy_BEGIN_ALLOW_THREADS
;
2151 wxGrid_SetDefCellAlignment(_arg0
,_arg1
);
2153 wxPy_END_ALLOW_THREADS
;
2154 } Py_INCREF(Py_None
);
2155 _resultobj
= Py_None
;
2159 #define wxGrid_SetCellBackgroundColour(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellBackgroundColour(_swigarg0,_swigarg1,_swigarg2))
2160 static PyObject
*_wrap_wxGrid_SetCellBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2161 PyObject
* _resultobj
;
2166 PyObject
* _argo0
= 0;
2167 PyObject
* _argo1
= 0;
2168 char *_kwnames
[] = { "self","colour","row","col", NULL
};
2171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxGrid_SetCellBackgroundColour",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
2174 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2175 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
2176 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellBackgroundColour. Expected _wxGrid_p.");
2181 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2182 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxColour_p")) {
2183 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_SetCellBackgroundColour. Expected _wxColour_p.");
2188 wxPy_BEGIN_ALLOW_THREADS
;
2189 wxGrid_SetCellBackgroundColour(_arg0
,*_arg1
,_arg2
,_arg3
);
2191 wxPy_END_ALLOW_THREADS
;
2192 } Py_INCREF(Py_None
);
2193 _resultobj
= Py_None
;
2197 #define wxGrid_SetDefCellBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetCellBackgroundColour(_swigarg0))
2198 static PyObject
*_wrap_wxGrid_SetDefCellBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2199 PyObject
* _resultobj
;
2202 PyObject
* _argo0
= 0;
2203 PyObject
* _argo1
= 0;
2204 char *_kwnames
[] = { "self","colour", NULL
};
2207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetDefCellBackgroundColour",_kwnames
,&_argo0
,&_argo1
))
2210 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2211 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
2212 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetDefCellBackgroundColour. Expected _wxGrid_p.");
2217 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2218 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxColour_p")) {
2219 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_SetDefCellBackgroundColour. Expected _wxColour_p.");
2224 wxPy_BEGIN_ALLOW_THREADS
;
2225 wxGrid_SetDefCellBackgroundColour(_arg0
,*_arg1
);
2227 wxPy_END_ALLOW_THREADS
;
2228 } Py_INCREF(Py_None
);
2229 _resultobj
= Py_None
;
2233 #define wxGrid_SetCellTextColour(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellTextColour(_swigarg0,_swigarg1,_swigarg2))
2234 static PyObject
*_wrap_wxGrid_SetCellTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2235 PyObject
* _resultobj
;
2240 PyObject
* _argo0
= 0;
2241 PyObject
* _argo1
= 0;
2242 char *_kwnames
[] = { "self","colour","row","col", NULL
};
2245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxGrid_SetCellTextColour",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
2248 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2249 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
2250 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellTextColour. Expected _wxGrid_p.");
2255 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2256 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxColour_p")) {
2257 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_SetCellTextColour. Expected _wxColour_p.");
2262 wxPy_BEGIN_ALLOW_THREADS
;
2263 wxGrid_SetCellTextColour(_arg0
,*_arg1
,_arg2
,_arg3
);
2265 wxPy_END_ALLOW_THREADS
;
2266 } Py_INCREF(Py_None
);
2267 _resultobj
= Py_None
;
2271 #define wxGrid_SetDefCellTextColour(_swigobj,_swigarg0) (_swigobj->SetCellTextColour(_swigarg0))
2272 static PyObject
*_wrap_wxGrid_SetDefCellTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2273 PyObject
* _resultobj
;
2276 PyObject
* _argo0
= 0;
2277 PyObject
* _argo1
= 0;
2278 char *_kwnames
[] = { "self","colour", NULL
};
2281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetDefCellTextColour",_kwnames
,&_argo0
,&_argo1
))
2284 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2285 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
2286 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetDefCellTextColour. Expected _wxGrid_p.");
2291 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2292 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxColour_p")) {
2293 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_SetDefCellTextColour. Expected _wxColour_p.");
2298 wxPy_BEGIN_ALLOW_THREADS
;
2299 wxGrid_SetDefCellTextColour(_arg0
,*_arg1
);
2301 wxPy_END_ALLOW_THREADS
;
2302 } Py_INCREF(Py_None
);
2303 _resultobj
= Py_None
;
2307 #define wxGrid_SetCellTextFont(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellTextFont(_swigarg0,_swigarg1,_swigarg2))
2308 static PyObject
*_wrap_wxGrid_SetCellTextFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2309 PyObject
* _resultobj
;
2314 PyObject
* _argo0
= 0;
2315 PyObject
* _argo1
= 0;
2316 char *_kwnames
[] = { "self","font","row","col", NULL
};
2319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxGrid_SetCellTextFont",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
2322 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2323 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
2324 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellTextFont. Expected _wxGrid_p.");
2329 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2330 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
2331 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_SetCellTextFont. Expected _wxFont_p.");
2336 wxPy_BEGIN_ALLOW_THREADS
;
2337 wxGrid_SetCellTextFont(_arg0
,*_arg1
,_arg2
,_arg3
);
2339 wxPy_END_ALLOW_THREADS
;
2340 } Py_INCREF(Py_None
);
2341 _resultobj
= Py_None
;
2345 #define wxGrid_SetDefCellTextFont(_swigobj,_swigarg0) (_swigobj->SetCellTextFont(_swigarg0))
2346 static PyObject
*_wrap_wxGrid_SetDefCellTextFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2347 PyObject
* _resultobj
;
2350 PyObject
* _argo0
= 0;
2351 PyObject
* _argo1
= 0;
2352 char *_kwnames
[] = { "self","font", NULL
};
2355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetDefCellTextFont",_kwnames
,&_argo0
,&_argo1
))
2358 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2359 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
2360 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetDefCellTextFont. Expected _wxGrid_p.");
2365 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2366 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
2367 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_SetDefCellTextFont. Expected _wxFont_p.");
2372 wxPy_BEGIN_ALLOW_THREADS
;
2373 wxGrid_SetDefCellTextFont(_arg0
,*_arg1
);
2375 wxPy_END_ALLOW_THREADS
;
2376 } Py_INCREF(Py_None
);
2377 _resultobj
= Py_None
;
2381 #define wxGrid_SetCellValue(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellValue(_swigarg0,_swigarg1,_swigarg2))
2382 static PyObject
*_wrap_wxGrid_SetCellValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2383 PyObject
* _resultobj
;
2388 PyObject
* _argo0
= 0;
2389 PyObject
* _obj1
= 0;
2390 char *_kwnames
[] = { "self","val","row","col", NULL
};
2393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxGrid_SetCellValue",_kwnames
,&_argo0
,&_obj1
,&_arg2
,&_arg3
))
2396 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2397 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
2398 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellValue. Expected _wxGrid_p.");
2403 if (!PyString_Check(_obj1
)) {
2404 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2407 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
2410 wxPy_BEGIN_ALLOW_THREADS
;
2411 wxGrid_SetCellValue(_arg0
,*_arg1
,_arg2
,_arg3
);
2413 wxPy_END_ALLOW_THREADS
;
2414 } Py_INCREF(Py_None
);
2415 _resultobj
= Py_None
;
2423 #define wxGrid_SetColumnWidth(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColumnWidth(_swigarg0,_swigarg1))
2424 static PyObject
*_wrap_wxGrid_SetColumnWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2425 PyObject
* _resultobj
;
2429 PyObject
* _argo0
= 0;
2430 char *_kwnames
[] = { "self","col","width", NULL
};
2433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_SetColumnWidth",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2436 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2437 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
2438 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetColumnWidth. Expected _wxGrid_p.");
2443 wxPy_BEGIN_ALLOW_THREADS
;
2444 wxGrid_SetColumnWidth(_arg0
,_arg1
,_arg2
);
2446 wxPy_END_ALLOW_THREADS
;
2447 } Py_INCREF(Py_None
);
2448 _resultobj
= Py_None
;
2452 #define wxGrid_SetDividerPen(_swigobj,_swigarg0) (_swigobj->SetDividerPen(_swigarg0))
2453 static PyObject
*_wrap_wxGrid_SetDividerPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2454 PyObject
* _resultobj
;
2457 PyObject
* _argo0
= 0;
2458 PyObject
* _argo1
= 0;
2459 char *_kwnames
[] = { "self","pen", NULL
};
2462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetDividerPen",_kwnames
,&_argo0
,&_argo1
))
2465 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2466 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
2467 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetDividerPen. Expected _wxGrid_p.");
2472 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2473 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPen_p")) {
2474 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_SetDividerPen. Expected _wxPen_p.");
2479 wxPy_BEGIN_ALLOW_THREADS
;
2480 wxGrid_SetDividerPen(_arg0
,*_arg1
);
2482 wxPy_END_ALLOW_THREADS
;
2483 } Py_INCREF(Py_None
);
2484 _resultobj
= Py_None
;
2488 #define wxGrid_SetEditable(_swigobj,_swigarg0) (_swigobj->SetEditable(_swigarg0))
2489 static PyObject
*_wrap_wxGrid_SetEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2490 PyObject
* _resultobj
;
2493 PyObject
* _argo0
= 0;
2495 char *_kwnames
[] = { "self","editable", NULL
};
2498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_SetEditable",_kwnames
,&_argo0
,&tempbool1
))
2501 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2502 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
2503 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetEditable. Expected _wxGrid_p.");
2507 _arg1
= (bool ) tempbool1
;
2509 wxPy_BEGIN_ALLOW_THREADS
;
2510 wxGrid_SetEditable(_arg0
,_arg1
);
2512 wxPy_END_ALLOW_THREADS
;
2513 } Py_INCREF(Py_None
);
2514 _resultobj
= Py_None
;
2518 #define wxGrid_SetGridCursor(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetGridCursor(_swigarg0,_swigarg1))
2519 static PyObject
*_wrap_wxGrid_SetGridCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2520 PyObject
* _resultobj
;
2524 PyObject
* _argo0
= 0;
2525 char *_kwnames
[] = { "self","row","col", NULL
};
2528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_SetGridCursor",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2531 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2532 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
2533 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetGridCursor. Expected _wxGrid_p.");
2538 wxPy_BEGIN_ALLOW_THREADS
;
2539 wxGrid_SetGridCursor(_arg0
,_arg1
,_arg2
);
2541 wxPy_END_ALLOW_THREADS
;
2542 } Py_INCREF(Py_None
);
2543 _resultobj
= Py_None
;
2547 #define wxGrid_SetLabelAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabelAlignment(_swigarg0,_swigarg1))
2548 static PyObject
*_wrap_wxGrid_SetLabelAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2549 PyObject
* _resultobj
;
2553 PyObject
* _argo0
= 0;
2554 char *_kwnames
[] = { "self","orientation","alignment", NULL
};
2557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_SetLabelAlignment",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2560 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2561 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
2562 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetLabelAlignment. Expected _wxGrid_p.");
2567 wxPy_BEGIN_ALLOW_THREADS
;
2568 wxGrid_SetLabelAlignment(_arg0
,_arg1
,_arg2
);
2570 wxPy_END_ALLOW_THREADS
;
2571 } Py_INCREF(Py_None
);
2572 _resultobj
= Py_None
;
2576 #define wxGrid_SetLabelBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetLabelBackgroundColour(_swigarg0))
2577 static PyObject
*_wrap_wxGrid_SetLabelBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2578 PyObject
* _resultobj
;
2581 PyObject
* _argo0
= 0;
2582 PyObject
* _argo1
= 0;
2583 char *_kwnames
[] = { "self","value", NULL
};
2586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetLabelBackgroundColour",_kwnames
,&_argo0
,&_argo1
))
2589 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2590 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
2591 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetLabelBackgroundColour. Expected _wxGrid_p.");
2596 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2597 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxColour_p")) {
2598 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_SetLabelBackgroundColour. Expected _wxColour_p.");
2603 wxPy_BEGIN_ALLOW_THREADS
;
2604 wxGrid_SetLabelBackgroundColour(_arg0
,*_arg1
);
2606 wxPy_END_ALLOW_THREADS
;
2607 } Py_INCREF(Py_None
);
2608 _resultobj
= Py_None
;
2612 #define wxGrid_SetLabelSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabelSize(_swigarg0,_swigarg1))
2613 static PyObject
*_wrap_wxGrid_SetLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2614 PyObject
* _resultobj
;
2618 PyObject
* _argo0
= 0;
2619 char *_kwnames
[] = { "self","orientation","size", NULL
};
2622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_SetLabelSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2625 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2626 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
2627 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetLabelSize. Expected _wxGrid_p.");
2632 wxPy_BEGIN_ALLOW_THREADS
;
2633 wxGrid_SetLabelSize(_arg0
,_arg1
,_arg2
);
2635 wxPy_END_ALLOW_THREADS
;
2636 } Py_INCREF(Py_None
);
2637 _resultobj
= Py_None
;
2641 #define wxGrid_SetLabelTextColour(_swigobj,_swigarg0) (_swigobj->SetLabelTextColour(_swigarg0))
2642 static PyObject
*_wrap_wxGrid_SetLabelTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2643 PyObject
* _resultobj
;
2646 PyObject
* _argo0
= 0;
2647 PyObject
* _argo1
= 0;
2648 char *_kwnames
[] = { "self","value", NULL
};
2651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetLabelTextColour",_kwnames
,&_argo0
,&_argo1
))
2654 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2655 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
2656 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetLabelTextColour. Expected _wxGrid_p.");
2661 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2662 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxColour_p")) {
2663 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_SetLabelTextColour. Expected _wxColour_p.");
2668 wxPy_BEGIN_ALLOW_THREADS
;
2669 wxGrid_SetLabelTextColour(_arg0
,*_arg1
);
2671 wxPy_END_ALLOW_THREADS
;
2672 } Py_INCREF(Py_None
);
2673 _resultobj
= Py_None
;
2677 #define wxGrid_SetLabelTextFont(_swigobj,_swigarg0) (_swigobj->SetLabelTextFont(_swigarg0))
2678 static PyObject
*_wrap_wxGrid_SetLabelTextFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2679 PyObject
* _resultobj
;
2682 PyObject
* _argo0
= 0;
2683 PyObject
* _argo1
= 0;
2684 char *_kwnames
[] = { "self","font", NULL
};
2687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetLabelTextFont",_kwnames
,&_argo0
,&_argo1
))
2690 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2691 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
2692 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetLabelTextFont. Expected _wxGrid_p.");
2697 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2698 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
2699 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_SetLabelTextFont. Expected _wxFont_p.");
2704 wxPy_BEGIN_ALLOW_THREADS
;
2705 wxGrid_SetLabelTextFont(_arg0
,*_arg1
);
2707 wxPy_END_ALLOW_THREADS
;
2708 } Py_INCREF(Py_None
);
2709 _resultobj
= Py_None
;
2713 #define wxGrid_SetLabelValue(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetLabelValue(_swigarg0,_swigarg1,_swigarg2))
2714 static PyObject
*_wrap_wxGrid_SetLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2715 PyObject
* _resultobj
;
2720 PyObject
* _argo0
= 0;
2721 PyObject
* _obj2
= 0;
2722 char *_kwnames
[] = { "self","orientation","value","pos", NULL
};
2725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOi:wxGrid_SetLabelValue",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_arg3
))
2728 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2729 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
2730 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetLabelValue. Expected _wxGrid_p.");
2735 if (!PyString_Check(_obj2
)) {
2736 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2739 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
2742 wxPy_BEGIN_ALLOW_THREADS
;
2743 wxGrid_SetLabelValue(_arg0
,_arg1
,*_arg2
,_arg3
);
2745 wxPy_END_ALLOW_THREADS
;
2746 } Py_INCREF(Py_None
);
2747 _resultobj
= Py_None
;
2755 #define wxGrid_SetRowHeight(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowHeight(_swigarg0,_swigarg1))
2756 static PyObject
*_wrap_wxGrid_SetRowHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2757 PyObject
* _resultobj
;
2761 PyObject
* _argo0
= 0;
2762 char *_kwnames
[] = { "self","row","height", NULL
};
2765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_SetRowHeight",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2768 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2769 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
2770 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetRowHeight. Expected _wxGrid_p.");
2775 wxPy_BEGIN_ALLOW_THREADS
;
2776 wxGrid_SetRowHeight(_arg0
,_arg1
,_arg2
);
2778 wxPy_END_ALLOW_THREADS
;
2779 } Py_INCREF(Py_None
);
2780 _resultobj
= Py_None
;
2784 #define wxGrid_UpdateDimensions(_swigobj) (_swigobj->UpdateDimensions())
2785 static PyObject
*_wrap_wxGrid_UpdateDimensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2786 PyObject
* _resultobj
;
2788 PyObject
* _argo0
= 0;
2789 char *_kwnames
[] = { "self", NULL
};
2792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_UpdateDimensions",_kwnames
,&_argo0
))
2795 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2796 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
2797 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_UpdateDimensions. Expected _wxGrid_p.");
2802 wxPy_BEGIN_ALLOW_THREADS
;
2803 wxGrid_UpdateDimensions(_arg0
);
2805 wxPy_END_ALLOW_THREADS
;
2806 } Py_INCREF(Py_None
);
2807 _resultobj
= Py_None
;
2811 #define wxGrid_GetEditInPlace(_swigobj) (_swigobj->GetEditInPlace())
2812 static PyObject
*_wrap_wxGrid_GetEditInPlace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2813 PyObject
* _resultobj
;
2816 PyObject
* _argo0
= 0;
2817 char *_kwnames
[] = { "self", NULL
};
2820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetEditInPlace",_kwnames
,&_argo0
))
2823 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2824 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
2825 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetEditInPlace. Expected _wxGrid_p.");
2830 wxPy_BEGIN_ALLOW_THREADS
;
2831 _result
= (bool )wxGrid_GetEditInPlace(_arg0
);
2833 wxPy_END_ALLOW_THREADS
;
2834 } _resultobj
= Py_BuildValue("i",_result
);
2838 #define wxGrid_SetEditInPlace(_swigobj,_swigarg0) (_swigobj->SetEditInPlace(_swigarg0))
2839 static PyObject
*_wrap_wxGrid_SetEditInPlace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2840 PyObject
* _resultobj
;
2842 int _arg1
= (int ) TRUE
;
2843 PyObject
* _argo0
= 0;
2844 char *_kwnames
[] = { "self","edit", NULL
};
2847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxGrid_SetEditInPlace",_kwnames
,&_argo0
,&_arg1
))
2850 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2851 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
2852 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetEditInPlace. Expected _wxGrid_p.");
2857 wxPy_BEGIN_ALLOW_THREADS
;
2858 wxGrid_SetEditInPlace(_arg0
,_arg1
);
2860 wxPy_END_ALLOW_THREADS
;
2861 } Py_INCREF(Py_None
);
2862 _resultobj
= Py_None
;
2866 static void *SwigwxGridEventTowxEvent(void *ptr
) {
2869 src
= (wxGridEvent
*) ptr
;
2870 dest
= (wxEvent
*) src
;
2871 return (void *) dest
;
2874 #define wxGridEvent_m_row_set(_swigobj,_swigval) (_swigobj->m_row = _swigval,_swigval)
2875 static PyObject
*_wrap_wxGridEvent_m_row_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2876 PyObject
* _resultobj
;
2878 wxGridEvent
* _arg0
;
2880 PyObject
* _argo0
= 0;
2881 char *_kwnames
[] = { "self","m_row", NULL
};
2884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridEvent_m_row_set",_kwnames
,&_argo0
,&_arg1
))
2887 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2888 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
2889 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_m_row_set. Expected _wxGridEvent_p.");
2894 wxPy_BEGIN_ALLOW_THREADS
;
2895 _result
= (int )wxGridEvent_m_row_set(_arg0
,_arg1
);
2897 wxPy_END_ALLOW_THREADS
;
2898 } _resultobj
= Py_BuildValue("i",_result
);
2902 #define wxGridEvent_m_row_get(_swigobj) ((int ) _swigobj->m_row)
2903 static PyObject
*_wrap_wxGridEvent_m_row_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2904 PyObject
* _resultobj
;
2906 wxGridEvent
* _arg0
;
2907 PyObject
* _argo0
= 0;
2908 char *_kwnames
[] = { "self", NULL
};
2911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_m_row_get",_kwnames
,&_argo0
))
2914 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2915 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
2916 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_m_row_get. Expected _wxGridEvent_p.");
2921 wxPy_BEGIN_ALLOW_THREADS
;
2922 _result
= (int )wxGridEvent_m_row_get(_arg0
);
2924 wxPy_END_ALLOW_THREADS
;
2925 } _resultobj
= Py_BuildValue("i",_result
);
2929 #define wxGridEvent_m_col_set(_swigobj,_swigval) (_swigobj->m_col = _swigval,_swigval)
2930 static PyObject
*_wrap_wxGridEvent_m_col_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2931 PyObject
* _resultobj
;
2933 wxGridEvent
* _arg0
;
2935 PyObject
* _argo0
= 0;
2936 char *_kwnames
[] = { "self","m_col", NULL
};
2939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridEvent_m_col_set",_kwnames
,&_argo0
,&_arg1
))
2942 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2943 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
2944 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_m_col_set. Expected _wxGridEvent_p.");
2949 wxPy_BEGIN_ALLOW_THREADS
;
2950 _result
= (int )wxGridEvent_m_col_set(_arg0
,_arg1
);
2952 wxPy_END_ALLOW_THREADS
;
2953 } _resultobj
= Py_BuildValue("i",_result
);
2957 #define wxGridEvent_m_col_get(_swigobj) ((int ) _swigobj->m_col)
2958 static PyObject
*_wrap_wxGridEvent_m_col_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2959 PyObject
* _resultobj
;
2961 wxGridEvent
* _arg0
;
2962 PyObject
* _argo0
= 0;
2963 char *_kwnames
[] = { "self", NULL
};
2966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_m_col_get",_kwnames
,&_argo0
))
2969 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2970 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
2971 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_m_col_get. Expected _wxGridEvent_p.");
2976 wxPy_BEGIN_ALLOW_THREADS
;
2977 _result
= (int )wxGridEvent_m_col_get(_arg0
);
2979 wxPy_END_ALLOW_THREADS
;
2980 } _resultobj
= Py_BuildValue("i",_result
);
2984 #define wxGridEvent_m_x_set(_swigobj,_swigval) (_swigobj->m_x = _swigval,_swigval)
2985 static PyObject
*_wrap_wxGridEvent_m_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2986 PyObject
* _resultobj
;
2988 wxGridEvent
* _arg0
;
2990 PyObject
* _argo0
= 0;
2991 char *_kwnames
[] = { "self","m_x", NULL
};
2994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridEvent_m_x_set",_kwnames
,&_argo0
,&_arg1
))
2997 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2998 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
2999 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_m_x_set. Expected _wxGridEvent_p.");
3004 wxPy_BEGIN_ALLOW_THREADS
;
3005 _result
= (int )wxGridEvent_m_x_set(_arg0
,_arg1
);
3007 wxPy_END_ALLOW_THREADS
;
3008 } _resultobj
= Py_BuildValue("i",_result
);
3012 #define wxGridEvent_m_x_get(_swigobj) ((int ) _swigobj->m_x)
3013 static PyObject
*_wrap_wxGridEvent_m_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3014 PyObject
* _resultobj
;
3016 wxGridEvent
* _arg0
;
3017 PyObject
* _argo0
= 0;
3018 char *_kwnames
[] = { "self", NULL
};
3021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_m_x_get",_kwnames
,&_argo0
))
3024 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3025 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
3026 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_m_x_get. Expected _wxGridEvent_p.");
3031 wxPy_BEGIN_ALLOW_THREADS
;
3032 _result
= (int )wxGridEvent_m_x_get(_arg0
);
3034 wxPy_END_ALLOW_THREADS
;
3035 } _resultobj
= Py_BuildValue("i",_result
);
3039 #define wxGridEvent_m_y_set(_swigobj,_swigval) (_swigobj->m_y = _swigval,_swigval)
3040 static PyObject
*_wrap_wxGridEvent_m_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3041 PyObject
* _resultobj
;
3043 wxGridEvent
* _arg0
;
3045 PyObject
* _argo0
= 0;
3046 char *_kwnames
[] = { "self","m_y", NULL
};
3049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridEvent_m_y_set",_kwnames
,&_argo0
,&_arg1
))
3052 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3053 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
3054 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_m_y_set. Expected _wxGridEvent_p.");
3059 wxPy_BEGIN_ALLOW_THREADS
;
3060 _result
= (int )wxGridEvent_m_y_set(_arg0
,_arg1
);
3062 wxPy_END_ALLOW_THREADS
;
3063 } _resultobj
= Py_BuildValue("i",_result
);
3067 #define wxGridEvent_m_y_get(_swigobj) ((int ) _swigobj->m_y)
3068 static PyObject
*_wrap_wxGridEvent_m_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3069 PyObject
* _resultobj
;
3071 wxGridEvent
* _arg0
;
3072 PyObject
* _argo0
= 0;
3073 char *_kwnames
[] = { "self", NULL
};
3076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_m_y_get",_kwnames
,&_argo0
))
3079 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3080 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
3081 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_m_y_get. Expected _wxGridEvent_p.");
3086 wxPy_BEGIN_ALLOW_THREADS
;
3087 _result
= (int )wxGridEvent_m_y_get(_arg0
);
3089 wxPy_END_ALLOW_THREADS
;
3090 } _resultobj
= Py_BuildValue("i",_result
);
3094 #define wxGridEvent_m_control_set(_swigobj,_swigval) (_swigobj->m_control = _swigval,_swigval)
3095 static PyObject
*_wrap_wxGridEvent_m_control_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3096 PyObject
* _resultobj
;
3098 wxGridEvent
* _arg0
;
3100 PyObject
* _argo0
= 0;
3102 char *_kwnames
[] = { "self","m_control", NULL
};
3105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridEvent_m_control_set",_kwnames
,&_argo0
,&tempbool1
))
3108 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3109 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
3110 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_m_control_set. Expected _wxGridEvent_p.");
3114 _arg1
= (bool ) tempbool1
;
3116 wxPy_BEGIN_ALLOW_THREADS
;
3117 _result
= (bool )wxGridEvent_m_control_set(_arg0
,_arg1
);
3119 wxPy_END_ALLOW_THREADS
;
3120 } _resultobj
= Py_BuildValue("i",_result
);
3124 #define wxGridEvent_m_control_get(_swigobj) ((bool ) _swigobj->m_control)
3125 static PyObject
*_wrap_wxGridEvent_m_control_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3126 PyObject
* _resultobj
;
3128 wxGridEvent
* _arg0
;
3129 PyObject
* _argo0
= 0;
3130 char *_kwnames
[] = { "self", NULL
};
3133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_m_control_get",_kwnames
,&_argo0
))
3136 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3137 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
3138 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_m_control_get. Expected _wxGridEvent_p.");
3143 wxPy_BEGIN_ALLOW_THREADS
;
3144 _result
= (bool )wxGridEvent_m_control_get(_arg0
);
3146 wxPy_END_ALLOW_THREADS
;
3147 } _resultobj
= Py_BuildValue("i",_result
);
3151 #define wxGridEvent_m_shift_set(_swigobj,_swigval) (_swigobj->m_shift = _swigval,_swigval)
3152 static PyObject
*_wrap_wxGridEvent_m_shift_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3153 PyObject
* _resultobj
;
3155 wxGridEvent
* _arg0
;
3157 PyObject
* _argo0
= 0;
3159 char *_kwnames
[] = { "self","m_shift", NULL
};
3162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridEvent_m_shift_set",_kwnames
,&_argo0
,&tempbool1
))
3165 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3166 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
3167 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_m_shift_set. Expected _wxGridEvent_p.");
3171 _arg1
= (bool ) tempbool1
;
3173 wxPy_BEGIN_ALLOW_THREADS
;
3174 _result
= (bool )wxGridEvent_m_shift_set(_arg0
,_arg1
);
3176 wxPy_END_ALLOW_THREADS
;
3177 } _resultobj
= Py_BuildValue("i",_result
);
3181 #define wxGridEvent_m_shift_get(_swigobj) ((bool ) _swigobj->m_shift)
3182 static PyObject
*_wrap_wxGridEvent_m_shift_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3183 PyObject
* _resultobj
;
3185 wxGridEvent
* _arg0
;
3186 PyObject
* _argo0
= 0;
3187 char *_kwnames
[] = { "self", NULL
};
3190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_m_shift_get",_kwnames
,&_argo0
))
3193 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3194 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
3195 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_m_shift_get. Expected _wxGridEvent_p.");
3200 wxPy_BEGIN_ALLOW_THREADS
;
3201 _result
= (bool )wxGridEvent_m_shift_get(_arg0
);
3203 wxPy_END_ALLOW_THREADS
;
3204 } _resultobj
= Py_BuildValue("i",_result
);
3208 #define wxGridEvent_m_cell_set(_swigobj,_swigval) (_swigobj->m_cell = _swigval,_swigval)
3209 static PyObject
*_wrap_wxGridEvent_m_cell_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3210 PyObject
* _resultobj
;
3211 wxGridCell
* _result
;
3212 wxGridEvent
* _arg0
;
3214 PyObject
* _argo0
= 0;
3215 PyObject
* _argo1
= 0;
3216 char *_kwnames
[] = { "self","m_cell", NULL
};
3220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridEvent_m_cell_set",_kwnames
,&_argo0
,&_argo1
))
3223 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3224 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
3225 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_m_cell_set. Expected _wxGridEvent_p.");
3230 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3231 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCell_p")) {
3232 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridEvent_m_cell_set. Expected _wxGridCell_p.");
3237 wxPy_BEGIN_ALLOW_THREADS
;
3238 _result
= (wxGridCell
*)wxGridEvent_m_cell_set(_arg0
,_arg1
);
3240 wxPy_END_ALLOW_THREADS
;
3242 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCell_p");
3243 _resultobj
= Py_BuildValue("s",_ptemp
);
3246 _resultobj
= Py_None
;
3251 #define wxGridEvent_m_cell_get(_swigobj) ((wxGridCell *) _swigobj->m_cell)
3252 static PyObject
*_wrap_wxGridEvent_m_cell_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3253 PyObject
* _resultobj
;
3254 wxGridCell
* _result
;
3255 wxGridEvent
* _arg0
;
3256 PyObject
* _argo0
= 0;
3257 char *_kwnames
[] = { "self", NULL
};
3261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_m_cell_get",_kwnames
,&_argo0
))
3264 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3265 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
3266 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_m_cell_get. Expected _wxGridEvent_p.");
3271 wxPy_BEGIN_ALLOW_THREADS
;
3272 _result
= (wxGridCell
*)wxGridEvent_m_cell_get(_arg0
);
3274 wxPy_END_ALLOW_THREADS
;
3276 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCell_p");
3277 _resultobj
= Py_BuildValue("s",_ptemp
);
3280 _resultobj
= Py_None
;
3285 #define wxGridEvent_GetRow(_swigobj) (_swigobj->GetRow())
3286 static PyObject
*_wrap_wxGridEvent_GetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3287 PyObject
* _resultobj
;
3289 wxGridEvent
* _arg0
;
3290 PyObject
* _argo0
= 0;
3291 char *_kwnames
[] = { "self", NULL
};
3294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_GetRow",_kwnames
,&_argo0
))
3297 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3298 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
3299 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_GetRow. Expected _wxGridEvent_p.");
3304 wxPy_BEGIN_ALLOW_THREADS
;
3305 _result
= (int )wxGridEvent_GetRow(_arg0
);
3307 wxPy_END_ALLOW_THREADS
;
3308 } _resultobj
= Py_BuildValue("i",_result
);
3312 #define wxGridEvent_GetCol(_swigobj) (_swigobj->GetCol())
3313 static PyObject
*_wrap_wxGridEvent_GetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3314 PyObject
* _resultobj
;
3316 wxGridEvent
* _arg0
;
3317 PyObject
* _argo0
= 0;
3318 char *_kwnames
[] = { "self", NULL
};
3321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_GetCol",_kwnames
,&_argo0
))
3324 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3325 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
3326 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_GetCol. Expected _wxGridEvent_p.");
3331 wxPy_BEGIN_ALLOW_THREADS
;
3332 _result
= (int )wxGridEvent_GetCol(_arg0
);
3334 wxPy_END_ALLOW_THREADS
;
3335 } _resultobj
= Py_BuildValue("i",_result
);
3339 #define wxGridEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
3340 static PyObject
*_wrap_wxGridEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3341 PyObject
* _resultobj
;
3343 wxGridEvent
* _arg0
;
3344 PyObject
* _argo0
= 0;
3345 char *_kwnames
[] = { "self", NULL
};
3349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_GetPosition",_kwnames
,&_argo0
))
3352 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3353 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
3354 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_GetPosition. Expected _wxGridEvent_p.");
3359 wxPy_BEGIN_ALLOW_THREADS
;
3360 _result
= new wxPoint (wxGridEvent_GetPosition(_arg0
));
3362 wxPy_END_ALLOW_THREADS
;
3363 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
3364 _resultobj
= Py_BuildValue("s",_ptemp
);
3368 #define wxGridEvent_ControlDown(_swigobj) (_swigobj->ControlDown())
3369 static PyObject
*_wrap_wxGridEvent_ControlDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3370 PyObject
* _resultobj
;
3372 wxGridEvent
* _arg0
;
3373 PyObject
* _argo0
= 0;
3374 char *_kwnames
[] = { "self", NULL
};
3377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_ControlDown",_kwnames
,&_argo0
))
3380 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3381 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
3382 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_ControlDown. Expected _wxGridEvent_p.");
3387 wxPy_BEGIN_ALLOW_THREADS
;
3388 _result
= (bool )wxGridEvent_ControlDown(_arg0
);
3390 wxPy_END_ALLOW_THREADS
;
3391 } _resultobj
= Py_BuildValue("i",_result
);
3395 #define wxGridEvent_ShiftDown(_swigobj) (_swigobj->ShiftDown())
3396 static PyObject
*_wrap_wxGridEvent_ShiftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3397 PyObject
* _resultobj
;
3399 wxGridEvent
* _arg0
;
3400 PyObject
* _argo0
= 0;
3401 char *_kwnames
[] = { "self", NULL
};
3404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_ShiftDown",_kwnames
,&_argo0
))
3407 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3408 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
3409 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_ShiftDown. Expected _wxGridEvent_p.");
3414 wxPy_BEGIN_ALLOW_THREADS
;
3415 _result
= (bool )wxGridEvent_ShiftDown(_arg0
);
3417 wxPy_END_ALLOW_THREADS
;
3418 } _resultobj
= Py_BuildValue("i",_result
);
3422 #define wxGridEvent_GetCell(_swigobj) (_swigobj->GetCell())
3423 static PyObject
*_wrap_wxGridEvent_GetCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3424 PyObject
* _resultobj
;
3425 wxGridCell
* _result
;
3426 wxGridEvent
* _arg0
;
3427 PyObject
* _argo0
= 0;
3428 char *_kwnames
[] = { "self", NULL
};
3432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_GetCell",_kwnames
,&_argo0
))
3435 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3436 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
3437 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_GetCell. Expected _wxGridEvent_p.");
3442 wxPy_BEGIN_ALLOW_THREADS
;
3443 _result
= (wxGridCell
*)wxGridEvent_GetCell(_arg0
);
3445 wxPy_END_ALLOW_THREADS
;
3447 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCell_p");
3448 _resultobj
= Py_BuildValue("s",_ptemp
);
3451 _resultobj
= Py_None
;
3456 static void *SwigwxNotebookEventTowxNotifyEvent(void *ptr
) {
3457 wxNotebookEvent
*src
;
3458 wxNotifyEvent
*dest
;
3459 src
= (wxNotebookEvent
*) ptr
;
3460 dest
= (wxNotifyEvent
*) src
;
3461 return (void *) dest
;
3464 static void *SwigwxNotebookEventTowxCommandEvent(void *ptr
) {
3465 wxNotebookEvent
*src
;
3466 wxCommandEvent
*dest
;
3467 src
= (wxNotebookEvent
*) ptr
;
3468 dest
= (wxCommandEvent
*) src
;
3469 return (void *) dest
;
3472 static void *SwigwxNotebookEventTowxEvent(void *ptr
) {
3473 wxNotebookEvent
*src
;
3475 src
= (wxNotebookEvent
*) ptr
;
3476 dest
= (wxEvent
*) src
;
3477 return (void *) dest
;
3480 #define wxNotebookEvent_GetSelection(_swigobj) (_swigobj->GetSelection())
3481 static PyObject
*_wrap_wxNotebookEvent_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3482 PyObject
* _resultobj
;
3484 wxNotebookEvent
* _arg0
;
3485 PyObject
* _argo0
= 0;
3486 char *_kwnames
[] = { "self", NULL
};
3489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebookEvent_GetSelection",_kwnames
,&_argo0
))
3492 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3493 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebookEvent_p")) {
3494 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebookEvent_GetSelection. Expected _wxNotebookEvent_p.");
3499 wxPy_BEGIN_ALLOW_THREADS
;
3500 _result
= (int )wxNotebookEvent_GetSelection(_arg0
);
3502 wxPy_END_ALLOW_THREADS
;
3503 } _resultobj
= Py_BuildValue("i",_result
);
3507 #define wxNotebookEvent_GetOldSelection(_swigobj) (_swigobj->GetOldSelection())
3508 static PyObject
*_wrap_wxNotebookEvent_GetOldSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3509 PyObject
* _resultobj
;
3511 wxNotebookEvent
* _arg0
;
3512 PyObject
* _argo0
= 0;
3513 char *_kwnames
[] = { "self", NULL
};
3516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebookEvent_GetOldSelection",_kwnames
,&_argo0
))
3519 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3520 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebookEvent_p")) {
3521 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebookEvent_GetOldSelection. Expected _wxNotebookEvent_p.");
3526 wxPy_BEGIN_ALLOW_THREADS
;
3527 _result
= (int )wxNotebookEvent_GetOldSelection(_arg0
);
3529 wxPy_END_ALLOW_THREADS
;
3530 } _resultobj
= Py_BuildValue("i",_result
);
3534 #define wxNotebookEvent_SetOldSelection(_swigobj,_swigarg0) (_swigobj->SetOldSelection(_swigarg0))
3535 static PyObject
*_wrap_wxNotebookEvent_SetOldSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3536 PyObject
* _resultobj
;
3537 wxNotebookEvent
* _arg0
;
3539 PyObject
* _argo0
= 0;
3540 char *_kwnames
[] = { "self","page", NULL
};
3543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNotebookEvent_SetOldSelection",_kwnames
,&_argo0
,&_arg1
))
3546 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3547 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebookEvent_p")) {
3548 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebookEvent_SetOldSelection. Expected _wxNotebookEvent_p.");
3553 wxPy_BEGIN_ALLOW_THREADS
;
3554 wxNotebookEvent_SetOldSelection(_arg0
,_arg1
);
3556 wxPy_END_ALLOW_THREADS
;
3557 } Py_INCREF(Py_None
);
3558 _resultobj
= Py_None
;
3562 #define wxNotebookEvent_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
3563 static PyObject
*_wrap_wxNotebookEvent_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3564 PyObject
* _resultobj
;
3565 wxNotebookEvent
* _arg0
;
3567 PyObject
* _argo0
= 0;
3568 char *_kwnames
[] = { "self","page", NULL
};
3571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNotebookEvent_SetSelection",_kwnames
,&_argo0
,&_arg1
))
3574 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3575 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebookEvent_p")) {
3576 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebookEvent_SetSelection. Expected _wxNotebookEvent_p.");
3581 wxPy_BEGIN_ALLOW_THREADS
;
3582 wxNotebookEvent_SetSelection(_arg0
,_arg1
);
3584 wxPy_END_ALLOW_THREADS
;
3585 } Py_INCREF(Py_None
);
3586 _resultobj
= Py_None
;
3590 static void *SwigwxNotebookTowxControl(void *ptr
) {
3593 src
= (wxNotebook
*) ptr
;
3594 dest
= (wxControl
*) src
;
3595 return (void *) dest
;
3598 static void *SwigwxNotebookTowxWindow(void *ptr
) {
3601 src
= (wxNotebook
*) ptr
;
3602 dest
= (wxWindow
*) src
;
3603 return (void *) dest
;
3606 static void *SwigwxNotebookTowxEvtHandler(void *ptr
) {
3609 src
= (wxNotebook
*) ptr
;
3610 dest
= (wxEvtHandler
*) src
;
3611 return (void *) dest
;
3614 #define new_wxNotebook(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxNotebook(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
3615 static PyObject
*_wrap_new_wxNotebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3616 PyObject
* _resultobj
;
3617 wxNotebook
* _result
;
3620 wxPoint
* _arg2
= (wxPoint
*) &wxPyDefaultPosition
;
3621 wxSize
* _arg3
= (wxSize
*) &wxPyDefaultSize
;
3622 long _arg4
= (long ) 0;
3623 char * _arg5
= (char *) "notebook";
3624 PyObject
* _argo0
= 0;
3625 PyObject
* _argo2
= 0;
3626 PyObject
* _argo3
= 0;
3627 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
3631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOls:new_wxNotebook",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_argo3
,&_arg4
,&_arg5
))
3634 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3635 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3636 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxNotebook. Expected _wxWindow_p.");
3641 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3642 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPoint_p")) {
3643 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxNotebook. Expected _wxPoint_p.");
3648 if (_argo3
== Py_None
) { _arg3
= NULL
; }
3649 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxSize_p")) {
3650 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of new_wxNotebook. Expected _wxSize_p.");
3655 wxPy_BEGIN_ALLOW_THREADS
;
3656 _result
= (wxNotebook
*)new_wxNotebook(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
3658 wxPy_END_ALLOW_THREADS
;
3660 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxNotebook_p");
3661 _resultobj
= Py_BuildValue("s",_ptemp
);
3664 _resultobj
= Py_None
;
3669 #define wxNotebook_GetPageCount(_swigobj) (_swigobj->GetPageCount())
3670 static PyObject
*_wrap_wxNotebook_GetPageCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3671 PyObject
* _resultobj
;
3674 PyObject
* _argo0
= 0;
3675 char *_kwnames
[] = { "self", NULL
};
3678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebook_GetPageCount",_kwnames
,&_argo0
))
3681 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3682 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
3683 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_GetPageCount. Expected _wxNotebook_p.");
3688 wxPy_BEGIN_ALLOW_THREADS
;
3689 _result
= (int )wxNotebook_GetPageCount(_arg0
);
3691 wxPy_END_ALLOW_THREADS
;
3692 } _resultobj
= Py_BuildValue("i",_result
);
3696 #define wxNotebook_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
3697 static PyObject
*_wrap_wxNotebook_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3698 PyObject
* _resultobj
;
3702 PyObject
* _argo0
= 0;
3703 char *_kwnames
[] = { "self","nPage", NULL
};
3706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNotebook_SetSelection",_kwnames
,&_argo0
,&_arg1
))
3709 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3710 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
3711 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_SetSelection. Expected _wxNotebook_p.");
3716 wxPy_BEGIN_ALLOW_THREADS
;
3717 _result
= (int )wxNotebook_SetSelection(_arg0
,_arg1
);
3719 wxPy_END_ALLOW_THREADS
;
3720 } _resultobj
= Py_BuildValue("i",_result
);
3724 #define wxNotebook_AdvanceSelection(_swigobj,_swigarg0) (_swigobj->AdvanceSelection(_swigarg0))
3725 static PyObject
*_wrap_wxNotebook_AdvanceSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3726 PyObject
* _resultobj
;
3728 bool _arg1
= (bool ) TRUE
;
3729 PyObject
* _argo0
= 0;
3730 int tempbool1
= (int) TRUE
;
3731 char *_kwnames
[] = { "self","bForward", NULL
};
3734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxNotebook_AdvanceSelection",_kwnames
,&_argo0
,&tempbool1
))
3737 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3738 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
3739 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_AdvanceSelection. Expected _wxNotebook_p.");
3743 _arg1
= (bool ) tempbool1
;
3745 wxPy_BEGIN_ALLOW_THREADS
;
3746 wxNotebook_AdvanceSelection(_arg0
,_arg1
);
3748 wxPy_END_ALLOW_THREADS
;
3749 } Py_INCREF(Py_None
);
3750 _resultobj
= Py_None
;
3754 #define wxNotebook_GetSelection(_swigobj) (_swigobj->GetSelection())
3755 static PyObject
*_wrap_wxNotebook_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3756 PyObject
* _resultobj
;
3759 PyObject
* _argo0
= 0;
3760 char *_kwnames
[] = { "self", NULL
};
3763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebook_GetSelection",_kwnames
,&_argo0
))
3766 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3767 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
3768 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_GetSelection. Expected _wxNotebook_p.");
3773 wxPy_BEGIN_ALLOW_THREADS
;
3774 _result
= (int )wxNotebook_GetSelection(_arg0
);
3776 wxPy_END_ALLOW_THREADS
;
3777 } _resultobj
= Py_BuildValue("i",_result
);
3781 #define wxNotebook_SetPageText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetPageText(_swigarg0,_swigarg1))
3782 static PyObject
*_wrap_wxNotebook_SetPageText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3783 PyObject
* _resultobj
;
3788 PyObject
* _argo0
= 0;
3789 PyObject
* _obj2
= 0;
3790 char *_kwnames
[] = { "self","nPage","strText", NULL
};
3793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxNotebook_SetPageText",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
3796 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3797 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
3798 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_SetPageText. Expected _wxNotebook_p.");
3803 if (!PyString_Check(_obj2
)) {
3804 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3807 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
3810 wxPy_BEGIN_ALLOW_THREADS
;
3811 _result
= (bool )wxNotebook_SetPageText(_arg0
,_arg1
,*_arg2
);
3813 wxPy_END_ALLOW_THREADS
;
3814 } _resultobj
= Py_BuildValue("i",_result
);
3822 #define wxNotebook_GetPageText(_swigobj,_swigarg0) (_swigobj->GetPageText(_swigarg0))
3823 static PyObject
*_wrap_wxNotebook_GetPageText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3824 PyObject
* _resultobj
;
3828 PyObject
* _argo0
= 0;
3829 char *_kwnames
[] = { "self","nPage", NULL
};
3832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNotebook_GetPageText",_kwnames
,&_argo0
,&_arg1
))
3835 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3836 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
3837 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_GetPageText. Expected _wxNotebook_p.");
3842 wxPy_BEGIN_ALLOW_THREADS
;
3843 _result
= new wxString (wxNotebook_GetPageText(_arg0
,_arg1
));
3845 wxPy_END_ALLOW_THREADS
;
3847 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
3855 #define wxNotebook_SetImageList(_swigobj,_swigarg0) (_swigobj->SetImageList(_swigarg0))
3856 static PyObject
*_wrap_wxNotebook_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3857 PyObject
* _resultobj
;
3859 wxImageList
* _arg1
;
3860 PyObject
* _argo0
= 0;
3861 PyObject
* _argo1
= 0;
3862 char *_kwnames
[] = { "self","imageList", NULL
};
3865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxNotebook_SetImageList",_kwnames
,&_argo0
,&_argo1
))
3868 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3869 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
3870 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_SetImageList. Expected _wxNotebook_p.");
3875 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3876 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImageList_p")) {
3877 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxNotebook_SetImageList. Expected _wxImageList_p.");
3882 wxPy_BEGIN_ALLOW_THREADS
;
3883 wxNotebook_SetImageList(_arg0
,_arg1
);
3885 wxPy_END_ALLOW_THREADS
;
3886 } Py_INCREF(Py_None
);
3887 _resultobj
= Py_None
;
3891 #define wxNotebook_GetImageList(_swigobj) (_swigobj->GetImageList())
3892 static PyObject
*_wrap_wxNotebook_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3893 PyObject
* _resultobj
;
3894 wxImageList
* _result
;
3896 PyObject
* _argo0
= 0;
3897 char *_kwnames
[] = { "self", NULL
};
3901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebook_GetImageList",_kwnames
,&_argo0
))
3904 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3905 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
3906 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_GetImageList. Expected _wxNotebook_p.");
3911 wxPy_BEGIN_ALLOW_THREADS
;
3912 _result
= (wxImageList
*)wxNotebook_GetImageList(_arg0
);
3914 wxPy_END_ALLOW_THREADS
;
3916 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxImageList_p");
3917 _resultobj
= Py_BuildValue("s",_ptemp
);
3920 _resultobj
= Py_None
;
3925 #define wxNotebook_GetPageImage(_swigobj,_swigarg0) (_swigobj->GetPageImage(_swigarg0))
3926 static PyObject
*_wrap_wxNotebook_GetPageImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3927 PyObject
* _resultobj
;
3931 PyObject
* _argo0
= 0;
3932 char *_kwnames
[] = { "self","nPage", NULL
};
3935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNotebook_GetPageImage",_kwnames
,&_argo0
,&_arg1
))
3938 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3939 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
3940 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_GetPageImage. Expected _wxNotebook_p.");
3945 wxPy_BEGIN_ALLOW_THREADS
;
3946 _result
= (int )wxNotebook_GetPageImage(_arg0
,_arg1
);
3948 wxPy_END_ALLOW_THREADS
;
3949 } _resultobj
= Py_BuildValue("i",_result
);
3953 #define wxNotebook_SetPageImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetPageImage(_swigarg0,_swigarg1))
3954 static PyObject
*_wrap_wxNotebook_SetPageImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3955 PyObject
* _resultobj
;
3960 PyObject
* _argo0
= 0;
3961 char *_kwnames
[] = { "self","nPage","nImage", NULL
};
3964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxNotebook_SetPageImage",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3967 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3968 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
3969 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_SetPageImage. Expected _wxNotebook_p.");
3974 wxPy_BEGIN_ALLOW_THREADS
;
3975 _result
= (bool )wxNotebook_SetPageImage(_arg0
,_arg1
,_arg2
);
3977 wxPy_END_ALLOW_THREADS
;
3978 } _resultobj
= Py_BuildValue("i",_result
);
3982 #define wxNotebook_GetRowCount(_swigobj) (_swigobj->GetRowCount())
3983 static PyObject
*_wrap_wxNotebook_GetRowCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3984 PyObject
* _resultobj
;
3987 PyObject
* _argo0
= 0;
3988 char *_kwnames
[] = { "self", NULL
};
3991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebook_GetRowCount",_kwnames
,&_argo0
))
3994 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3995 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
3996 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_GetRowCount. Expected _wxNotebook_p.");
4001 wxPy_BEGIN_ALLOW_THREADS
;
4002 _result
= (int )wxNotebook_GetRowCount(_arg0
);
4004 wxPy_END_ALLOW_THREADS
;
4005 } _resultobj
= Py_BuildValue("i",_result
);
4009 #define wxNotebook_DeletePage(_swigobj,_swigarg0) (_swigobj->DeletePage(_swigarg0))
4010 static PyObject
*_wrap_wxNotebook_DeletePage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4011 PyObject
* _resultobj
;
4015 PyObject
* _argo0
= 0;
4016 char *_kwnames
[] = { "self","nPage", NULL
};
4019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNotebook_DeletePage",_kwnames
,&_argo0
,&_arg1
))
4022 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4023 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
4024 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_DeletePage. Expected _wxNotebook_p.");
4029 wxPy_BEGIN_ALLOW_THREADS
;
4030 _result
= (bool )wxNotebook_DeletePage(_arg0
,_arg1
);
4032 wxPy_END_ALLOW_THREADS
;
4033 } _resultobj
= Py_BuildValue("i",_result
);
4037 #define wxNotebook_RemovePage(_swigobj,_swigarg0) (_swigobj->RemovePage(_swigarg0))
4038 static PyObject
*_wrap_wxNotebook_RemovePage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4039 PyObject
* _resultobj
;
4043 PyObject
* _argo0
= 0;
4044 char *_kwnames
[] = { "self","nPage", NULL
};
4047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNotebook_RemovePage",_kwnames
,&_argo0
,&_arg1
))
4050 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4051 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
4052 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_RemovePage. Expected _wxNotebook_p.");
4057 wxPy_BEGIN_ALLOW_THREADS
;
4058 _result
= (bool )wxNotebook_RemovePage(_arg0
,_arg1
);
4060 wxPy_END_ALLOW_THREADS
;
4061 } _resultobj
= Py_BuildValue("i",_result
);
4065 #define wxNotebook_DeleteAllPages(_swigobj) (_swigobj->DeleteAllPages())
4066 static PyObject
*_wrap_wxNotebook_DeleteAllPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4067 PyObject
* _resultobj
;
4070 PyObject
* _argo0
= 0;
4071 char *_kwnames
[] = { "self", NULL
};
4074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebook_DeleteAllPages",_kwnames
,&_argo0
))
4077 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4078 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
4079 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_DeleteAllPages. Expected _wxNotebook_p.");
4084 wxPy_BEGIN_ALLOW_THREADS
;
4085 _result
= (bool )wxNotebook_DeleteAllPages(_arg0
);
4087 wxPy_END_ALLOW_THREADS
;
4088 } _resultobj
= Py_BuildValue("i",_result
);
4092 #define wxNotebook_AddPage(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->AddPage(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4093 static PyObject
*_wrap_wxNotebook_AddPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4094 PyObject
* _resultobj
;
4099 int _arg3
= (int ) FALSE
;
4100 int _arg4
= (int ) -1;
4101 PyObject
* _argo0
= 0;
4102 PyObject
* _argo1
= 0;
4103 PyObject
* _obj2
= 0;
4104 char *_kwnames
[] = { "self","pPage","strText","bSelect","imageId", NULL
};
4107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|ii:wxNotebook_AddPage",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_arg3
,&_arg4
))
4110 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4111 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
4112 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_AddPage. Expected _wxNotebook_p.");
4117 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4118 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4119 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxNotebook_AddPage. Expected _wxWindow_p.");
4124 if (!PyString_Check(_obj2
)) {
4125 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4128 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
4131 wxPy_BEGIN_ALLOW_THREADS
;
4132 _result
= (bool )wxNotebook_AddPage(_arg0
,_arg1
,*_arg2
,_arg3
,_arg4
);
4134 wxPy_END_ALLOW_THREADS
;
4135 } _resultobj
= Py_BuildValue("i",_result
);
4143 #define wxNotebook_GetPage(_swigobj,_swigarg0) (_swigobj->GetPage(_swigarg0))
4144 static PyObject
*_wrap_wxNotebook_GetPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4145 PyObject
* _resultobj
;
4149 PyObject
* _argo0
= 0;
4150 char *_kwnames
[] = { "self","nPage", NULL
};
4154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNotebook_GetPage",_kwnames
,&_argo0
,&_arg1
))
4157 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4158 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
4159 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_GetPage. Expected _wxNotebook_p.");
4164 wxPy_BEGIN_ALLOW_THREADS
;
4165 _result
= (wxWindow
*)wxNotebook_GetPage(_arg0
,_arg1
);
4167 wxPy_END_ALLOW_THREADS
;
4169 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
4170 _resultobj
= Py_BuildValue("s",_ptemp
);
4173 _resultobj
= Py_None
;
4178 static void wxNotebook_ResizeChildren(wxNotebook
*self
) {
4179 wxSizeEvent
evt(self
->GetClientSize());
4180 self
->GetEventHandler()->ProcessEvent(evt
);
4182 static PyObject
*_wrap_wxNotebook_ResizeChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4183 PyObject
* _resultobj
;
4185 PyObject
* _argo0
= 0;
4186 char *_kwnames
[] = { "self", NULL
};
4189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebook_ResizeChildren",_kwnames
,&_argo0
))
4192 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4193 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
4194 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_ResizeChildren. Expected _wxNotebook_p.");
4199 wxPy_BEGIN_ALLOW_THREADS
;
4200 wxNotebook_ResizeChildren(_arg0
);
4202 wxPy_END_ALLOW_THREADS
;
4203 } Py_INCREF(Py_None
);
4204 _resultobj
= Py_None
;
4208 static void *SwigwxSplitterEventTowxCommandEvent(void *ptr
) {
4209 wxSplitterEvent
*src
;
4210 wxCommandEvent
*dest
;
4211 src
= (wxSplitterEvent
*) ptr
;
4212 dest
= (wxCommandEvent
*) src
;
4213 return (void *) dest
;
4216 static void *SwigwxSplitterEventTowxEvent(void *ptr
) {
4217 wxSplitterEvent
*src
;
4219 src
= (wxSplitterEvent
*) ptr
;
4220 dest
= (wxEvent
*) src
;
4221 return (void *) dest
;
4224 #define wxSplitterEvent_GetSashPosition(_swigobj) (_swigobj->GetSashPosition())
4225 static PyObject
*_wrap_wxSplitterEvent_GetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4226 PyObject
* _resultobj
;
4228 wxSplitterEvent
* _arg0
;
4229 PyObject
* _argo0
= 0;
4230 char *_kwnames
[] = { "self", NULL
};
4233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterEvent_GetSashPosition",_kwnames
,&_argo0
))
4236 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4237 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterEvent_p")) {
4238 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterEvent_GetSashPosition. Expected _wxSplitterEvent_p.");
4243 wxPy_BEGIN_ALLOW_THREADS
;
4244 _result
= (int )wxSplitterEvent_GetSashPosition(_arg0
);
4246 wxPy_END_ALLOW_THREADS
;
4247 } _resultobj
= Py_BuildValue("i",_result
);
4251 #define wxSplitterEvent_GetX(_swigobj) (_swigobj->GetX())
4252 static PyObject
*_wrap_wxSplitterEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4253 PyObject
* _resultobj
;
4255 wxSplitterEvent
* _arg0
;
4256 PyObject
* _argo0
= 0;
4257 char *_kwnames
[] = { "self", NULL
};
4260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterEvent_GetX",_kwnames
,&_argo0
))
4263 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4264 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterEvent_p")) {
4265 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterEvent_GetX. Expected _wxSplitterEvent_p.");
4270 wxPy_BEGIN_ALLOW_THREADS
;
4271 _result
= (int )wxSplitterEvent_GetX(_arg0
);
4273 wxPy_END_ALLOW_THREADS
;
4274 } _resultobj
= Py_BuildValue("i",_result
);
4278 #define wxSplitterEvent_GetY(_swigobj) (_swigobj->GetY())
4279 static PyObject
*_wrap_wxSplitterEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4280 PyObject
* _resultobj
;
4282 wxSplitterEvent
* _arg0
;
4283 PyObject
* _argo0
= 0;
4284 char *_kwnames
[] = { "self", NULL
};
4287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterEvent_GetY",_kwnames
,&_argo0
))
4290 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4291 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterEvent_p")) {
4292 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterEvent_GetY. Expected _wxSplitterEvent_p.");
4297 wxPy_BEGIN_ALLOW_THREADS
;
4298 _result
= (int )wxSplitterEvent_GetY(_arg0
);
4300 wxPy_END_ALLOW_THREADS
;
4301 } _resultobj
= Py_BuildValue("i",_result
);
4305 #define wxSplitterEvent_GetWindowBeingRemoved(_swigobj) (_swigobj->GetWindowBeingRemoved())
4306 static PyObject
*_wrap_wxSplitterEvent_GetWindowBeingRemoved(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4307 PyObject
* _resultobj
;
4309 wxSplitterEvent
* _arg0
;
4310 PyObject
* _argo0
= 0;
4311 char *_kwnames
[] = { "self", NULL
};
4315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterEvent_GetWindowBeingRemoved",_kwnames
,&_argo0
))
4318 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4319 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterEvent_p")) {
4320 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterEvent_GetWindowBeingRemoved. Expected _wxSplitterEvent_p.");
4325 wxPy_BEGIN_ALLOW_THREADS
;
4326 _result
= (wxWindow
*)wxSplitterEvent_GetWindowBeingRemoved(_arg0
);
4328 wxPy_END_ALLOW_THREADS
;
4330 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
4331 _resultobj
= Py_BuildValue("s",_ptemp
);
4334 _resultobj
= Py_None
;
4339 #define wxSplitterEvent_SetSashPosition(_swigobj,_swigarg0) (_swigobj->SetSashPosition(_swigarg0))
4340 static PyObject
*_wrap_wxSplitterEvent_SetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4341 PyObject
* _resultobj
;
4342 wxSplitterEvent
* _arg0
;
4344 PyObject
* _argo0
= 0;
4345 char *_kwnames
[] = { "self","pos", NULL
};
4348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSplitterEvent_SetSashPosition",_kwnames
,&_argo0
,&_arg1
))
4351 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4352 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterEvent_p")) {
4353 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterEvent_SetSashPosition. Expected _wxSplitterEvent_p.");
4358 wxPy_BEGIN_ALLOW_THREADS
;
4359 wxSplitterEvent_SetSashPosition(_arg0
,_arg1
);
4361 wxPy_END_ALLOW_THREADS
;
4362 } Py_INCREF(Py_None
);
4363 _resultobj
= Py_None
;
4367 static void *SwigwxSplitterWindowTowxWindow(void *ptr
) {
4368 wxSplitterWindow
*src
;
4370 src
= (wxSplitterWindow
*) ptr
;
4371 dest
= (wxWindow
*) src
;
4372 return (void *) dest
;
4375 static void *SwigwxSplitterWindowTowxEvtHandler(void *ptr
) {
4376 wxSplitterWindow
*src
;
4378 src
= (wxSplitterWindow
*) ptr
;
4379 dest
= (wxEvtHandler
*) src
;
4380 return (void *) dest
;
4383 #define new_wxSplitterWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxSplitterWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4384 static PyObject
*_wrap_new_wxSplitterWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4385 PyObject
* _resultobj
;
4386 wxSplitterWindow
* _result
;
4389 wxPoint
* _arg2
= (wxPoint
*) &wxPyDefaultPosition
;
4390 wxSize
* _arg3
= (wxSize
*) &wxPyDefaultSize
;
4391 long _arg4
= (long ) wxSP_3D
|wxCLIP_CHILDREN
;
4392 char * _arg5
= (char *) "splitterWindow";
4393 PyObject
* _argo0
= 0;
4394 PyObject
* _argo2
= 0;
4395 PyObject
* _argo3
= 0;
4396 char *_kwnames
[] = { "parent","id","point","size","style","name", NULL
};
4400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOls:new_wxSplitterWindow",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_argo3
,&_arg4
,&_arg5
))
4403 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4404 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4405 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxSplitterWindow. Expected _wxWindow_p.");
4410 if (_argo2
== Py_None
) { _arg2
= NULL
; }
4411 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPoint_p")) {
4412 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxSplitterWindow. Expected _wxPoint_p.");
4417 if (_argo3
== Py_None
) { _arg3
= NULL
; }
4418 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxSize_p")) {
4419 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of new_wxSplitterWindow. Expected _wxSize_p.");
4424 wxPy_BEGIN_ALLOW_THREADS
;
4425 _result
= (wxSplitterWindow
*)new_wxSplitterWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
4427 wxPy_END_ALLOW_THREADS
;
4429 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSplitterWindow_p");
4430 _resultobj
= Py_BuildValue("s",_ptemp
);
4433 _resultobj
= Py_None
;
4438 #define wxSplitterWindow_GetBorderSize(_swigobj) (_swigobj->GetBorderSize())
4439 static PyObject
*_wrap_wxSplitterWindow_GetBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4440 PyObject
* _resultobj
;
4442 wxSplitterWindow
* _arg0
;
4443 PyObject
* _argo0
= 0;
4444 char *_kwnames
[] = { "self", NULL
};
4447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_GetBorderSize",_kwnames
,&_argo0
))
4450 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4451 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
4452 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetBorderSize. Expected _wxSplitterWindow_p.");
4457 wxPy_BEGIN_ALLOW_THREADS
;
4458 _result
= (int )wxSplitterWindow_GetBorderSize(_arg0
);
4460 wxPy_END_ALLOW_THREADS
;
4461 } _resultobj
= Py_BuildValue("i",_result
);
4465 #define wxSplitterWindow_GetMinimumPaneSize(_swigobj) (_swigobj->GetMinimumPaneSize())
4466 static PyObject
*_wrap_wxSplitterWindow_GetMinimumPaneSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4467 PyObject
* _resultobj
;
4469 wxSplitterWindow
* _arg0
;
4470 PyObject
* _argo0
= 0;
4471 char *_kwnames
[] = { "self", NULL
};
4474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_GetMinimumPaneSize",_kwnames
,&_argo0
))
4477 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4478 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
4479 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetMinimumPaneSize. Expected _wxSplitterWindow_p.");
4484 wxPy_BEGIN_ALLOW_THREADS
;
4485 _result
= (int )wxSplitterWindow_GetMinimumPaneSize(_arg0
);
4487 wxPy_END_ALLOW_THREADS
;
4488 } _resultobj
= Py_BuildValue("i",_result
);
4492 #define wxSplitterWindow_GetSashPosition(_swigobj) (_swigobj->GetSashPosition())
4493 static PyObject
*_wrap_wxSplitterWindow_GetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4494 PyObject
* _resultobj
;
4496 wxSplitterWindow
* _arg0
;
4497 PyObject
* _argo0
= 0;
4498 char *_kwnames
[] = { "self", NULL
};
4501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_GetSashPosition",_kwnames
,&_argo0
))
4504 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4505 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
4506 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetSashPosition. Expected _wxSplitterWindow_p.");
4511 wxPy_BEGIN_ALLOW_THREADS
;
4512 _result
= (int )wxSplitterWindow_GetSashPosition(_arg0
);
4514 wxPy_END_ALLOW_THREADS
;
4515 } _resultobj
= Py_BuildValue("i",_result
);
4519 #define wxSplitterWindow_GetSashSize(_swigobj) (_swigobj->GetSashSize())
4520 static PyObject
*_wrap_wxSplitterWindow_GetSashSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4521 PyObject
* _resultobj
;
4523 wxSplitterWindow
* _arg0
;
4524 PyObject
* _argo0
= 0;
4525 char *_kwnames
[] = { "self", NULL
};
4528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_GetSashSize",_kwnames
,&_argo0
))
4531 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4532 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
4533 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetSashSize. Expected _wxSplitterWindow_p.");
4538 wxPy_BEGIN_ALLOW_THREADS
;
4539 _result
= (int )wxSplitterWindow_GetSashSize(_arg0
);
4541 wxPy_END_ALLOW_THREADS
;
4542 } _resultobj
= Py_BuildValue("i",_result
);
4546 #define wxSplitterWindow_GetSplitMode(_swigobj) (_swigobj->GetSplitMode())
4547 static PyObject
*_wrap_wxSplitterWindow_GetSplitMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4548 PyObject
* _resultobj
;
4550 wxSplitterWindow
* _arg0
;
4551 PyObject
* _argo0
= 0;
4552 char *_kwnames
[] = { "self", NULL
};
4555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_GetSplitMode",_kwnames
,&_argo0
))
4558 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4559 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
4560 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetSplitMode. Expected _wxSplitterWindow_p.");
4565 wxPy_BEGIN_ALLOW_THREADS
;
4566 _result
= (int )wxSplitterWindow_GetSplitMode(_arg0
);
4568 wxPy_END_ALLOW_THREADS
;
4569 } _resultobj
= Py_BuildValue("i",_result
);
4573 #define wxSplitterWindow_GetWindow1(_swigobj) (_swigobj->GetWindow1())
4574 static PyObject
*_wrap_wxSplitterWindow_GetWindow1(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4575 PyObject
* _resultobj
;
4577 wxSplitterWindow
* _arg0
;
4578 PyObject
* _argo0
= 0;
4579 char *_kwnames
[] = { "self", NULL
};
4583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_GetWindow1",_kwnames
,&_argo0
))
4586 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4587 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
4588 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetWindow1. Expected _wxSplitterWindow_p.");
4593 wxPy_BEGIN_ALLOW_THREADS
;
4594 _result
= (wxWindow
*)wxSplitterWindow_GetWindow1(_arg0
);
4596 wxPy_END_ALLOW_THREADS
;
4598 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
4599 _resultobj
= Py_BuildValue("s",_ptemp
);
4602 _resultobj
= Py_None
;
4607 #define wxSplitterWindow_GetWindow2(_swigobj) (_swigobj->GetWindow2())
4608 static PyObject
*_wrap_wxSplitterWindow_GetWindow2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4609 PyObject
* _resultobj
;
4611 wxSplitterWindow
* _arg0
;
4612 PyObject
* _argo0
= 0;
4613 char *_kwnames
[] = { "self", NULL
};
4617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_GetWindow2",_kwnames
,&_argo0
))
4620 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4621 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
4622 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetWindow2. Expected _wxSplitterWindow_p.");
4627 wxPy_BEGIN_ALLOW_THREADS
;
4628 _result
= (wxWindow
*)wxSplitterWindow_GetWindow2(_arg0
);
4630 wxPy_END_ALLOW_THREADS
;
4632 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
4633 _resultobj
= Py_BuildValue("s",_ptemp
);
4636 _resultobj
= Py_None
;
4641 #define wxSplitterWindow_Initialize(_swigobj,_swigarg0) (_swigobj->Initialize(_swigarg0))
4642 static PyObject
*_wrap_wxSplitterWindow_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4643 PyObject
* _resultobj
;
4644 wxSplitterWindow
* _arg0
;
4646 PyObject
* _argo0
= 0;
4647 PyObject
* _argo1
= 0;
4648 char *_kwnames
[] = { "self","window", NULL
};
4651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxSplitterWindow_Initialize",_kwnames
,&_argo0
,&_argo1
))
4654 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4655 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
4656 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_Initialize. Expected _wxSplitterWindow_p.");
4661 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4662 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4663 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSplitterWindow_Initialize. Expected _wxWindow_p.");
4668 wxPy_BEGIN_ALLOW_THREADS
;
4669 wxSplitterWindow_Initialize(_arg0
,_arg1
);
4671 wxPy_END_ALLOW_THREADS
;
4672 } Py_INCREF(Py_None
);
4673 _resultobj
= Py_None
;
4677 #define wxSplitterWindow_IsSplit(_swigobj) (_swigobj->IsSplit())
4678 static PyObject
*_wrap_wxSplitterWindow_IsSplit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4679 PyObject
* _resultobj
;
4681 wxSplitterWindow
* _arg0
;
4682 PyObject
* _argo0
= 0;
4683 char *_kwnames
[] = { "self", NULL
};
4686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_IsSplit",_kwnames
,&_argo0
))
4689 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4690 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
4691 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_IsSplit. Expected _wxSplitterWindow_p.");
4696 wxPy_BEGIN_ALLOW_THREADS
;
4697 _result
= (bool )wxSplitterWindow_IsSplit(_arg0
);
4699 wxPy_END_ALLOW_THREADS
;
4700 } _resultobj
= Py_BuildValue("i",_result
);
4704 #define wxSplitterWindow_SetBorderSize(_swigobj,_swigarg0) (_swigobj->SetBorderSize(_swigarg0))
4705 static PyObject
*_wrap_wxSplitterWindow_SetBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4706 PyObject
* _resultobj
;
4707 wxSplitterWindow
* _arg0
;
4709 PyObject
* _argo0
= 0;
4710 char *_kwnames
[] = { "self","width", NULL
};
4713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSplitterWindow_SetBorderSize",_kwnames
,&_argo0
,&_arg1
))
4716 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4717 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
4718 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SetBorderSize. Expected _wxSplitterWindow_p.");
4723 wxPy_BEGIN_ALLOW_THREADS
;
4724 wxSplitterWindow_SetBorderSize(_arg0
,_arg1
);
4726 wxPy_END_ALLOW_THREADS
;
4727 } Py_INCREF(Py_None
);
4728 _resultobj
= Py_None
;
4732 #define wxSplitterWindow_SetSashPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSashPosition(_swigarg0,_swigarg1))
4733 static PyObject
*_wrap_wxSplitterWindow_SetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4734 PyObject
* _resultobj
;
4735 wxSplitterWindow
* _arg0
;
4737 int _arg2
= (int ) TRUE
;
4738 PyObject
* _argo0
= 0;
4739 char *_kwnames
[] = { "self","position","redraw", NULL
};
4742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxSplitterWindow_SetSashPosition",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4745 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4746 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
4747 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SetSashPosition. Expected _wxSplitterWindow_p.");
4752 wxPy_BEGIN_ALLOW_THREADS
;
4753 wxSplitterWindow_SetSashPosition(_arg0
,_arg1
,_arg2
);
4755 wxPy_END_ALLOW_THREADS
;
4756 } Py_INCREF(Py_None
);
4757 _resultobj
= Py_None
;
4761 #define wxSplitterWindow_SetSashSize(_swigobj,_swigarg0) (_swigobj->SetSashSize(_swigarg0))
4762 static PyObject
*_wrap_wxSplitterWindow_SetSashSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4763 PyObject
* _resultobj
;
4764 wxSplitterWindow
* _arg0
;
4766 PyObject
* _argo0
= 0;
4767 char *_kwnames
[] = { "self","width", NULL
};
4770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSplitterWindow_SetSashSize",_kwnames
,&_argo0
,&_arg1
))
4773 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4774 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
4775 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SetSashSize. Expected _wxSplitterWindow_p.");
4780 wxPy_BEGIN_ALLOW_THREADS
;
4781 wxSplitterWindow_SetSashSize(_arg0
,_arg1
);
4783 wxPy_END_ALLOW_THREADS
;
4784 } Py_INCREF(Py_None
);
4785 _resultobj
= Py_None
;
4789 #define wxSplitterWindow_SetMinimumPaneSize(_swigobj,_swigarg0) (_swigobj->SetMinimumPaneSize(_swigarg0))
4790 static PyObject
*_wrap_wxSplitterWindow_SetMinimumPaneSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4791 PyObject
* _resultobj
;
4792 wxSplitterWindow
* _arg0
;
4794 PyObject
* _argo0
= 0;
4795 char *_kwnames
[] = { "self","paneSize", NULL
};
4798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSplitterWindow_SetMinimumPaneSize",_kwnames
,&_argo0
,&_arg1
))
4801 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4802 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
4803 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SetMinimumPaneSize. Expected _wxSplitterWindow_p.");
4808 wxPy_BEGIN_ALLOW_THREADS
;
4809 wxSplitterWindow_SetMinimumPaneSize(_arg0
,_arg1
);
4811 wxPy_END_ALLOW_THREADS
;
4812 } Py_INCREF(Py_None
);
4813 _resultobj
= Py_None
;
4817 #define wxSplitterWindow_SetSplitMode(_swigobj,_swigarg0) (_swigobj->SetSplitMode(_swigarg0))
4818 static PyObject
*_wrap_wxSplitterWindow_SetSplitMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4819 PyObject
* _resultobj
;
4820 wxSplitterWindow
* _arg0
;
4822 PyObject
* _argo0
= 0;
4823 char *_kwnames
[] = { "self","mode", NULL
};
4826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSplitterWindow_SetSplitMode",_kwnames
,&_argo0
,&_arg1
))
4829 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4830 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
4831 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SetSplitMode. Expected _wxSplitterWindow_p.");
4836 wxPy_BEGIN_ALLOW_THREADS
;
4837 wxSplitterWindow_SetSplitMode(_arg0
,_arg1
);
4839 wxPy_END_ALLOW_THREADS
;
4840 } Py_INCREF(Py_None
);
4841 _resultobj
= Py_None
;
4845 #define wxSplitterWindow_SplitHorizontally(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SplitHorizontally(_swigarg0,_swigarg1,_swigarg2))
4846 static PyObject
*_wrap_wxSplitterWindow_SplitHorizontally(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4847 PyObject
* _resultobj
;
4849 wxSplitterWindow
* _arg0
;
4852 int _arg3
= (int ) 0;
4853 PyObject
* _argo0
= 0;
4854 PyObject
* _argo1
= 0;
4855 PyObject
* _argo2
= 0;
4856 char *_kwnames
[] = { "self","window1","window2","sashPosition", NULL
};
4859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|i:wxSplitterWindow_SplitHorizontally",_kwnames
,&_argo0
,&_argo1
,&_argo2
,&_arg3
))
4862 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4863 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
4864 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SplitHorizontally. Expected _wxSplitterWindow_p.");
4869 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4870 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4871 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSplitterWindow_SplitHorizontally. Expected _wxWindow_p.");
4876 if (_argo2
== Py_None
) { _arg2
= NULL
; }
4877 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
4878 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxSplitterWindow_SplitHorizontally. Expected _wxWindow_p.");
4883 wxPy_BEGIN_ALLOW_THREADS
;
4884 _result
= (bool )wxSplitterWindow_SplitHorizontally(_arg0
,_arg1
,_arg2
,_arg3
);
4886 wxPy_END_ALLOW_THREADS
;
4887 } _resultobj
= Py_BuildValue("i",_result
);
4891 #define wxSplitterWindow_SplitVertically(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SplitVertically(_swigarg0,_swigarg1,_swigarg2))
4892 static PyObject
*_wrap_wxSplitterWindow_SplitVertically(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4893 PyObject
* _resultobj
;
4895 wxSplitterWindow
* _arg0
;
4898 int _arg3
= (int ) 0;
4899 PyObject
* _argo0
= 0;
4900 PyObject
* _argo1
= 0;
4901 PyObject
* _argo2
= 0;
4902 char *_kwnames
[] = { "self","window1","window2","sashPosition", NULL
};
4905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|i:wxSplitterWindow_SplitVertically",_kwnames
,&_argo0
,&_argo1
,&_argo2
,&_arg3
))
4908 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4909 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
4910 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SplitVertically. Expected _wxSplitterWindow_p.");
4915 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4916 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4917 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSplitterWindow_SplitVertically. Expected _wxWindow_p.");
4922 if (_argo2
== Py_None
) { _arg2
= NULL
; }
4923 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
4924 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxSplitterWindow_SplitVertically. Expected _wxWindow_p.");
4929 wxPy_BEGIN_ALLOW_THREADS
;
4930 _result
= (bool )wxSplitterWindow_SplitVertically(_arg0
,_arg1
,_arg2
,_arg3
);
4932 wxPy_END_ALLOW_THREADS
;
4933 } _resultobj
= Py_BuildValue("i",_result
);
4937 #define wxSplitterWindow_Unsplit(_swigobj,_swigarg0) (_swigobj->Unsplit(_swigarg0))
4938 static PyObject
*_wrap_wxSplitterWindow_Unsplit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4939 PyObject
* _resultobj
;
4941 wxSplitterWindow
* _arg0
;
4942 wxWindow
* _arg1
= (wxWindow
*) NULL
;
4943 PyObject
* _argo0
= 0;
4944 PyObject
* _argo1
= 0;
4945 char *_kwnames
[] = { "self","toRemove", NULL
};
4948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxSplitterWindow_Unsplit",_kwnames
,&_argo0
,&_argo1
))
4951 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4952 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
4953 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_Unsplit. Expected _wxSplitterWindow_p.");
4958 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4959 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4960 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSplitterWindow_Unsplit. Expected _wxWindow_p.");
4965 wxPy_BEGIN_ALLOW_THREADS
;
4966 _result
= (bool )wxSplitterWindow_Unsplit(_arg0
,_arg1
);
4968 wxPy_END_ALLOW_THREADS
;
4969 } _resultobj
= Py_BuildValue("i",_result
);
4973 static PyMethodDef windows2cMethods
[] = {
4974 { "wxSplitterWindow_Unsplit", (PyCFunction
) _wrap_wxSplitterWindow_Unsplit
, METH_VARARGS
| METH_KEYWORDS
},
4975 { "wxSplitterWindow_SplitVertically", (PyCFunction
) _wrap_wxSplitterWindow_SplitVertically
, METH_VARARGS
| METH_KEYWORDS
},
4976 { "wxSplitterWindow_SplitHorizontally", (PyCFunction
) _wrap_wxSplitterWindow_SplitHorizontally
, METH_VARARGS
| METH_KEYWORDS
},
4977 { "wxSplitterWindow_SetSplitMode", (PyCFunction
) _wrap_wxSplitterWindow_SetSplitMode
, METH_VARARGS
| METH_KEYWORDS
},
4978 { "wxSplitterWindow_SetMinimumPaneSize", (PyCFunction
) _wrap_wxSplitterWindow_SetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
},
4979 { "wxSplitterWindow_SetSashSize", (PyCFunction
) _wrap_wxSplitterWindow_SetSashSize
, METH_VARARGS
| METH_KEYWORDS
},
4980 { "wxSplitterWindow_SetSashPosition", (PyCFunction
) _wrap_wxSplitterWindow_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
4981 { "wxSplitterWindow_SetBorderSize", (PyCFunction
) _wrap_wxSplitterWindow_SetBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
4982 { "wxSplitterWindow_IsSplit", (PyCFunction
) _wrap_wxSplitterWindow_IsSplit
, METH_VARARGS
| METH_KEYWORDS
},
4983 { "wxSplitterWindow_Initialize", (PyCFunction
) _wrap_wxSplitterWindow_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
4984 { "wxSplitterWindow_GetWindow2", (PyCFunction
) _wrap_wxSplitterWindow_GetWindow2
, METH_VARARGS
| METH_KEYWORDS
},
4985 { "wxSplitterWindow_GetWindow1", (PyCFunction
) _wrap_wxSplitterWindow_GetWindow1
, METH_VARARGS
| METH_KEYWORDS
},
4986 { "wxSplitterWindow_GetSplitMode", (PyCFunction
) _wrap_wxSplitterWindow_GetSplitMode
, METH_VARARGS
| METH_KEYWORDS
},
4987 { "wxSplitterWindow_GetSashSize", (PyCFunction
) _wrap_wxSplitterWindow_GetSashSize
, METH_VARARGS
| METH_KEYWORDS
},
4988 { "wxSplitterWindow_GetSashPosition", (PyCFunction
) _wrap_wxSplitterWindow_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
4989 { "wxSplitterWindow_GetMinimumPaneSize", (PyCFunction
) _wrap_wxSplitterWindow_GetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
},
4990 { "wxSplitterWindow_GetBorderSize", (PyCFunction
) _wrap_wxSplitterWindow_GetBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
4991 { "new_wxSplitterWindow", (PyCFunction
) _wrap_new_wxSplitterWindow
, METH_VARARGS
| METH_KEYWORDS
},
4992 { "wxSplitterEvent_SetSashPosition", (PyCFunction
) _wrap_wxSplitterEvent_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
4993 { "wxSplitterEvent_GetWindowBeingRemoved", (PyCFunction
) _wrap_wxSplitterEvent_GetWindowBeingRemoved
, METH_VARARGS
| METH_KEYWORDS
},
4994 { "wxSplitterEvent_GetY", (PyCFunction
) _wrap_wxSplitterEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
4995 { "wxSplitterEvent_GetX", (PyCFunction
) _wrap_wxSplitterEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
4996 { "wxSplitterEvent_GetSashPosition", (PyCFunction
) _wrap_wxSplitterEvent_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
4997 { "wxNotebook_ResizeChildren", (PyCFunction
) _wrap_wxNotebook_ResizeChildren
, METH_VARARGS
| METH_KEYWORDS
},
4998 { "wxNotebook_GetPage", (PyCFunction
) _wrap_wxNotebook_GetPage
, METH_VARARGS
| METH_KEYWORDS
},
4999 { "wxNotebook_AddPage", (PyCFunction
) _wrap_wxNotebook_AddPage
, METH_VARARGS
| METH_KEYWORDS
},
5000 { "wxNotebook_DeleteAllPages", (PyCFunction
) _wrap_wxNotebook_DeleteAllPages
, METH_VARARGS
| METH_KEYWORDS
},
5001 { "wxNotebook_RemovePage", (PyCFunction
) _wrap_wxNotebook_RemovePage
, METH_VARARGS
| METH_KEYWORDS
},
5002 { "wxNotebook_DeletePage", (PyCFunction
) _wrap_wxNotebook_DeletePage
, METH_VARARGS
| METH_KEYWORDS
},
5003 { "wxNotebook_GetRowCount", (PyCFunction
) _wrap_wxNotebook_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
},
5004 { "wxNotebook_SetPageImage", (PyCFunction
) _wrap_wxNotebook_SetPageImage
, METH_VARARGS
| METH_KEYWORDS
},
5005 { "wxNotebook_GetPageImage", (PyCFunction
) _wrap_wxNotebook_GetPageImage
, METH_VARARGS
| METH_KEYWORDS
},
5006 { "wxNotebook_GetImageList", (PyCFunction
) _wrap_wxNotebook_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
5007 { "wxNotebook_SetImageList", (PyCFunction
) _wrap_wxNotebook_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
5008 { "wxNotebook_GetPageText", (PyCFunction
) _wrap_wxNotebook_GetPageText
, METH_VARARGS
| METH_KEYWORDS
},
5009 { "wxNotebook_SetPageText", (PyCFunction
) _wrap_wxNotebook_SetPageText
, METH_VARARGS
| METH_KEYWORDS
},
5010 { "wxNotebook_GetSelection", (PyCFunction
) _wrap_wxNotebook_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
5011 { "wxNotebook_AdvanceSelection", (PyCFunction
) _wrap_wxNotebook_AdvanceSelection
, METH_VARARGS
| METH_KEYWORDS
},
5012 { "wxNotebook_SetSelection", (PyCFunction
) _wrap_wxNotebook_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
5013 { "wxNotebook_GetPageCount", (PyCFunction
) _wrap_wxNotebook_GetPageCount
, METH_VARARGS
| METH_KEYWORDS
},
5014 { "new_wxNotebook", (PyCFunction
) _wrap_new_wxNotebook
, METH_VARARGS
| METH_KEYWORDS
},
5015 { "wxNotebookEvent_SetSelection", (PyCFunction
) _wrap_wxNotebookEvent_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
5016 { "wxNotebookEvent_SetOldSelection", (PyCFunction
) _wrap_wxNotebookEvent_SetOldSelection
, METH_VARARGS
| METH_KEYWORDS
},
5017 { "wxNotebookEvent_GetOldSelection", (PyCFunction
) _wrap_wxNotebookEvent_GetOldSelection
, METH_VARARGS
| METH_KEYWORDS
},
5018 { "wxNotebookEvent_GetSelection", (PyCFunction
) _wrap_wxNotebookEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
5019 { "wxGridEvent_GetCell", (PyCFunction
) _wrap_wxGridEvent_GetCell
, METH_VARARGS
| METH_KEYWORDS
},
5020 { "wxGridEvent_ShiftDown", (PyCFunction
) _wrap_wxGridEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
},
5021 { "wxGridEvent_ControlDown", (PyCFunction
) _wrap_wxGridEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
},
5022 { "wxGridEvent_GetPosition", (PyCFunction
) _wrap_wxGridEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
5023 { "wxGridEvent_GetCol", (PyCFunction
) _wrap_wxGridEvent_GetCol
, METH_VARARGS
| METH_KEYWORDS
},
5024 { "wxGridEvent_GetRow", (PyCFunction
) _wrap_wxGridEvent_GetRow
, METH_VARARGS
| METH_KEYWORDS
},
5025 { "wxGridEvent_m_cell_get", (PyCFunction
) _wrap_wxGridEvent_m_cell_get
, METH_VARARGS
| METH_KEYWORDS
},
5026 { "wxGridEvent_m_cell_set", (PyCFunction
) _wrap_wxGridEvent_m_cell_set
, METH_VARARGS
| METH_KEYWORDS
},
5027 { "wxGridEvent_m_shift_get", (PyCFunction
) _wrap_wxGridEvent_m_shift_get
, METH_VARARGS
| METH_KEYWORDS
},
5028 { "wxGridEvent_m_shift_set", (PyCFunction
) _wrap_wxGridEvent_m_shift_set
, METH_VARARGS
| METH_KEYWORDS
},
5029 { "wxGridEvent_m_control_get", (PyCFunction
) _wrap_wxGridEvent_m_control_get
, METH_VARARGS
| METH_KEYWORDS
},
5030 { "wxGridEvent_m_control_set", (PyCFunction
) _wrap_wxGridEvent_m_control_set
, METH_VARARGS
| METH_KEYWORDS
},
5031 { "wxGridEvent_m_y_get", (PyCFunction
) _wrap_wxGridEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
},
5032 { "wxGridEvent_m_y_set", (PyCFunction
) _wrap_wxGridEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
},
5033 { "wxGridEvent_m_x_get", (PyCFunction
) _wrap_wxGridEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
},
5034 { "wxGridEvent_m_x_set", (PyCFunction
) _wrap_wxGridEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
},
5035 { "wxGridEvent_m_col_get", (PyCFunction
) _wrap_wxGridEvent_m_col_get
, METH_VARARGS
| METH_KEYWORDS
},
5036 { "wxGridEvent_m_col_set", (PyCFunction
) _wrap_wxGridEvent_m_col_set
, METH_VARARGS
| METH_KEYWORDS
},
5037 { "wxGridEvent_m_row_get", (PyCFunction
) _wrap_wxGridEvent_m_row_get
, METH_VARARGS
| METH_KEYWORDS
},
5038 { "wxGridEvent_m_row_set", (PyCFunction
) _wrap_wxGridEvent_m_row_set
, METH_VARARGS
| METH_KEYWORDS
},
5039 { "wxGrid_SetEditInPlace", (PyCFunction
) _wrap_wxGrid_SetEditInPlace
, METH_VARARGS
| METH_KEYWORDS
},
5040 { "wxGrid_GetEditInPlace", (PyCFunction
) _wrap_wxGrid_GetEditInPlace
, METH_VARARGS
| METH_KEYWORDS
},
5041 { "wxGrid_UpdateDimensions", (PyCFunction
) _wrap_wxGrid_UpdateDimensions
, METH_VARARGS
| METH_KEYWORDS
},
5042 { "wxGrid_SetRowHeight", (PyCFunction
) _wrap_wxGrid_SetRowHeight
, METH_VARARGS
| METH_KEYWORDS
},
5043 { "wxGrid_SetLabelValue", (PyCFunction
) _wrap_wxGrid_SetLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
5044 { "wxGrid_SetLabelTextFont", (PyCFunction
) _wrap_wxGrid_SetLabelTextFont
, METH_VARARGS
| METH_KEYWORDS
},
5045 { "wxGrid_SetLabelTextColour", (PyCFunction
) _wrap_wxGrid_SetLabelTextColour
, METH_VARARGS
| METH_KEYWORDS
},
5046 { "wxGrid_SetLabelSize", (PyCFunction
) _wrap_wxGrid_SetLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
5047 { "wxGrid_SetLabelBackgroundColour", (PyCFunction
) _wrap_wxGrid_SetLabelBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
5048 { "wxGrid_SetLabelAlignment", (PyCFunction
) _wrap_wxGrid_SetLabelAlignment
, METH_VARARGS
| METH_KEYWORDS
},
5049 { "wxGrid_SetGridCursor", (PyCFunction
) _wrap_wxGrid_SetGridCursor
, METH_VARARGS
| METH_KEYWORDS
},
5050 { "wxGrid_SetEditable", (PyCFunction
) _wrap_wxGrid_SetEditable
, METH_VARARGS
| METH_KEYWORDS
},
5051 { "wxGrid_SetDividerPen", (PyCFunction
) _wrap_wxGrid_SetDividerPen
, METH_VARARGS
| METH_KEYWORDS
},
5052 { "wxGrid_SetColumnWidth", (PyCFunction
) _wrap_wxGrid_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
},
5053 { "wxGrid_SetCellValue", (PyCFunction
) _wrap_wxGrid_SetCellValue
, METH_VARARGS
| METH_KEYWORDS
},
5054 { "wxGrid_SetDefCellTextFont", (PyCFunction
) _wrap_wxGrid_SetDefCellTextFont
, METH_VARARGS
| METH_KEYWORDS
},
5055 { "wxGrid_SetCellTextFont", (PyCFunction
) _wrap_wxGrid_SetCellTextFont
, METH_VARARGS
| METH_KEYWORDS
},
5056 { "wxGrid_SetDefCellTextColour", (PyCFunction
) _wrap_wxGrid_SetDefCellTextColour
, METH_VARARGS
| METH_KEYWORDS
},
5057 { "wxGrid_SetCellTextColour", (PyCFunction
) _wrap_wxGrid_SetCellTextColour
, METH_VARARGS
| METH_KEYWORDS
},
5058 { "wxGrid_SetDefCellBackgroundColour", (PyCFunction
) _wrap_wxGrid_SetDefCellBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
5059 { "wxGrid_SetCellBackgroundColour", (PyCFunction
) _wrap_wxGrid_SetCellBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
5060 { "wxGrid_SetDefCellAlignment", (PyCFunction
) _wrap_wxGrid_SetDefCellAlignment
, METH_VARARGS
| METH_KEYWORDS
},
5061 { "wxGrid_SetCellAlignment", (PyCFunction
) _wrap_wxGrid_SetCellAlignment
, METH_VARARGS
| METH_KEYWORDS
},
5062 { "wxGrid_OnActivate", (PyCFunction
) _wrap_wxGrid_OnActivate
, METH_VARARGS
| METH_KEYWORDS
},
5063 { "wxGrid_InsertRows", (PyCFunction
) _wrap_wxGrid_InsertRows
, METH_VARARGS
| METH_KEYWORDS
},
5064 { "wxGrid_InsertCols", (PyCFunction
) _wrap_wxGrid_InsertCols
, METH_VARARGS
| METH_KEYWORDS
},
5065 { "wxGrid_GetVertScrollBar", (PyCFunction
) _wrap_wxGrid_GetVertScrollBar
, METH_VARARGS
| METH_KEYWORDS
},
5066 { "wxGrid_GetTextItem", (PyCFunction
) _wrap_wxGrid_GetTextItem
, METH_VARARGS
| METH_KEYWORDS
},
5067 { "wxGrid_GetScrollPosY", (PyCFunction
) _wrap_wxGrid_GetScrollPosY
, METH_VARARGS
| METH_KEYWORDS
},
5068 { "wxGrid_GetScrollPosX", (PyCFunction
) _wrap_wxGrid_GetScrollPosX
, METH_VARARGS
| METH_KEYWORDS
},
5069 { "wxGrid_GetRows", (PyCFunction
) _wrap_wxGrid_GetRows
, METH_VARARGS
| METH_KEYWORDS
},
5070 { "wxGrid_GetRowHeight", (PyCFunction
) _wrap_wxGrid_GetRowHeight
, METH_VARARGS
| METH_KEYWORDS
},
5071 { "wxGrid_GetLabelValue", (PyCFunction
) _wrap_wxGrid_GetLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
5072 { "wxGrid_GetLabelTextFont", (PyCFunction
) _wrap_wxGrid_GetLabelTextFont
, METH_VARARGS
| METH_KEYWORDS
},
5073 { "wxGrid_GetLabelTextColour", (PyCFunction
) _wrap_wxGrid_GetLabelTextColour
, METH_VARARGS
| METH_KEYWORDS
},
5074 { "wxGrid_GetLabelSize", (PyCFunction
) _wrap_wxGrid_GetLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
5075 { "wxGrid_GetLabelBackgroundColour", (PyCFunction
) _wrap_wxGrid_GetLabelBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
5076 { "wxGrid_GetLabelAlignment", (PyCFunction
) _wrap_wxGrid_GetLabelAlignment
, METH_VARARGS
| METH_KEYWORDS
},
5077 { "wxGrid_GetHorizScrollBar", (PyCFunction
) _wrap_wxGrid_GetHorizScrollBar
, METH_VARARGS
| METH_KEYWORDS
},
5078 { "wxGrid_GetEditable", (PyCFunction
) _wrap_wxGrid_GetEditable
, METH_VARARGS
| METH_KEYWORDS
},
5079 { "wxGrid_GetCursorRow", (PyCFunction
) _wrap_wxGrid_GetCursorRow
, METH_VARARGS
| METH_KEYWORDS
},
5080 { "wxGrid_GetCursorColumn", (PyCFunction
) _wrap_wxGrid_GetCursorColumn
, METH_VARARGS
| METH_KEYWORDS
},
5081 { "wxGrid_GetCurrentRect", (PyCFunction
) _wrap_wxGrid_GetCurrentRect
, METH_VARARGS
| METH_KEYWORDS
},
5082 { "wxGrid_GetColumnWidth", (PyCFunction
) _wrap_wxGrid_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
},
5083 { "wxGrid_GetCols", (PyCFunction
) _wrap_wxGrid_GetCols
, METH_VARARGS
| METH_KEYWORDS
},
5084 { "wxGrid_GetCellValue", (PyCFunction
) _wrap_wxGrid_GetCellValue
, METH_VARARGS
| METH_KEYWORDS
},
5085 { "wxGrid_GetDefCellTextFont", (PyCFunction
) _wrap_wxGrid_GetDefCellTextFont
, METH_VARARGS
| METH_KEYWORDS
},
5086 { "wxGrid_GetCellTextFont", (PyCFunction
) _wrap_wxGrid_GetCellTextFont
, METH_VARARGS
| METH_KEYWORDS
},
5087 { "wxGrid_GetDefCellTextColour", (PyCFunction
) _wrap_wxGrid_GetDefCellTextColour
, METH_VARARGS
| METH_KEYWORDS
},
5088 { "wxGrid_GetCellTextColour", (PyCFunction
) _wrap_wxGrid_GetCellTextColour
, METH_VARARGS
| METH_KEYWORDS
},
5089 { "wxGrid_GetCells", (PyCFunction
) _wrap_wxGrid_GetCells
, METH_VARARGS
| METH_KEYWORDS
},
5090 { "wxGrid_GetDefCellBackgroundColour", (PyCFunction
) _wrap_wxGrid_GetDefCellBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
5091 { "wxGrid_GetCellBackgroundColour", (PyCFunction
) _wrap_wxGrid_GetCellBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
5092 { "wxGrid_GetDefCellAlignment", (PyCFunction
) _wrap_wxGrid_GetDefCellAlignment
, METH_VARARGS
| METH_KEYWORDS
},
5093 { "wxGrid_GetCellAlignment", (PyCFunction
) _wrap_wxGrid_GetCellAlignment
, METH_VARARGS
| METH_KEYWORDS
},
5094 { "wxGrid_GetCell", (PyCFunction
) _wrap_wxGrid_GetCell
, METH_VARARGS
| METH_KEYWORDS
},
5095 { "wxGrid_GetBatchCount", (PyCFunction
) _wrap_wxGrid_GetBatchCount
, METH_VARARGS
| METH_KEYWORDS
},
5096 { "wxGrid_EndBatch", (PyCFunction
) _wrap_wxGrid_EndBatch
, METH_VARARGS
| METH_KEYWORDS
},
5097 { "wxGrid_DeleteRows", (PyCFunction
) _wrap_wxGrid_DeleteRows
, METH_VARARGS
| METH_KEYWORDS
},
5098 { "wxGrid_DeleteCols", (PyCFunction
) _wrap_wxGrid_DeleteCols
, METH_VARARGS
| METH_KEYWORDS
},
5099 { "wxGrid_CurrentCellVisible", (PyCFunction
) _wrap_wxGrid_CurrentCellVisible
, METH_VARARGS
| METH_KEYWORDS
},
5100 { "wxGrid_CreateGrid", (PyCFunction
) _wrap_wxGrid_CreateGrid
, METH_VARARGS
| METH_KEYWORDS
},
5101 { "wxGrid_CellHitTest", (PyCFunction
) _wrap_wxGrid_CellHitTest
, METH_VARARGS
| METH_KEYWORDS
},
5102 { "wxGrid_BeginBatch", (PyCFunction
) _wrap_wxGrid_BeginBatch
, METH_VARARGS
| METH_KEYWORDS
},
5103 { "wxGrid_AppendRows", (PyCFunction
) _wrap_wxGrid_AppendRows
, METH_VARARGS
| METH_KEYWORDS
},
5104 { "wxGrid_AppendCols", (PyCFunction
) _wrap_wxGrid_AppendCols
, METH_VARARGS
| METH_KEYWORDS
},
5105 { "wxGrid_AdjustScrollbars", (PyCFunction
) _wrap_wxGrid_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
5106 { "new_wxGrid", (PyCFunction
) _wrap_new_wxGrid
, METH_VARARGS
| METH_KEYWORDS
},
5107 { "wxGridCell_SetCellBitmap", (PyCFunction
) _wrap_wxGridCell_SetCellBitmap
, METH_VARARGS
| METH_KEYWORDS
},
5108 { "wxGridCell_GetCellBitmap", (PyCFunction
) _wrap_wxGridCell_GetCellBitmap
, METH_VARARGS
| METH_KEYWORDS
},
5109 { "wxGridCell_SetAlignment", (PyCFunction
) _wrap_wxGridCell_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
5110 { "wxGridCell_GetAlignment", (PyCFunction
) _wrap_wxGridCell_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
5111 { "wxGridCell_GetBackgroundBrush", (PyCFunction
) _wrap_wxGridCell_GetBackgroundBrush
, METH_VARARGS
| METH_KEYWORDS
},
5112 { "wxGridCell_SetBackgroundColour", (PyCFunction
) _wrap_wxGridCell_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
5113 { "wxGridCell_GetBackgroundColour", (PyCFunction
) _wrap_wxGridCell_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
5114 { "wxGridCell_SetTextColour", (PyCFunction
) _wrap_wxGridCell_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
5115 { "wxGridCell_GetTextColour", (PyCFunction
) _wrap_wxGridCell_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
5116 { "wxGridCell_SetFont", (PyCFunction
) _wrap_wxGridCell_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
5117 { "wxGridCell_GetFont", (PyCFunction
) _wrap_wxGridCell_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
5118 { "wxGridCell_SetTextValue", (PyCFunction
) _wrap_wxGridCell_SetTextValue
, METH_VARARGS
| METH_KEYWORDS
},
5119 { "wxGridCell_GetTextValue", (PyCFunction
) _wrap_wxGridCell_GetTextValue
, METH_VARARGS
| METH_KEYWORDS
},
5120 { "delete_wxGridCell", (PyCFunction
) _wrap_delete_wxGridCell
, METH_VARARGS
| METH_KEYWORDS
},
5121 { "new_wxGridCell", (PyCFunction
) _wrap_new_wxGridCell
, METH_VARARGS
| METH_KEYWORDS
},
5128 * This table is used by the pointer type-checker
5130 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
5131 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
5132 { "_wxEvent","_class_wxSplitterEvent",SwigwxSplitterEventTowxEvent
},
5133 { "_wxEvent","_wxSplitterEvent",SwigwxSplitterEventTowxEvent
},
5134 { "_wxEvent","_class_wxNotebookEvent",SwigwxNotebookEventTowxEvent
},
5135 { "_wxEvent","_wxNotebookEvent",SwigwxNotebookEventTowxEvent
},
5136 { "_wxEvent","_class_wxGridEvent",SwigwxGridEventTowxEvent
},
5137 { "_wxEvent","_wxGridEvent",SwigwxGridEventTowxEvent
},
5138 { "_wxEvent","_class_wxEvent",0},
5139 { "_class_wxActivateEvent","_wxActivateEvent",0},
5140 { "_signed_long","_long",0},
5141 { "_wxMenuEvent","_class_wxMenuEvent",0},
5142 { "_wxPrintQuality","_int",0},
5143 { "_wxPrintQuality","_signed_int",0},
5144 { "_wxPrintQuality","_unsigned_int",0},
5145 { "_wxPrintQuality","_wxWindowID",0},
5146 { "_wxPrintQuality","_uint",0},
5147 { "_wxPrintQuality","_EBool",0},
5148 { "_wxPrintQuality","_size_t",0},
5149 { "_class_wxRegionIterator","_wxRegionIterator",0},
5150 { "_class_wxMenuBar","_wxMenuBar",0},
5151 { "_class_wxEvtHandler","_class_wxSplitterWindow",SwigwxSplitterWindowTowxEvtHandler
},
5152 { "_class_wxEvtHandler","_wxSplitterWindow",SwigwxSplitterWindowTowxEvtHandler
},
5153 { "_class_wxEvtHandler","_class_wxNotebook",SwigwxNotebookTowxEvtHandler
},
5154 { "_class_wxEvtHandler","_wxNotebook",SwigwxNotebookTowxEvtHandler
},
5155 { "_class_wxEvtHandler","_class_wxGrid",SwigwxGridTowxEvtHandler
},
5156 { "_class_wxEvtHandler","_wxGrid",SwigwxGridTowxEvtHandler
},
5157 { "_class_wxEvtHandler","_wxEvtHandler",0},
5158 { "_wxPaintEvent","_class_wxPaintEvent",0},
5159 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
5160 { "_wxCursor","_class_wxCursor",0},
5161 { "_wxNotifyEvent","_class_wxNotebookEvent",SwigwxNotebookEventTowxNotifyEvent
},
5162 { "_wxNotifyEvent","_wxNotebookEvent",SwigwxNotebookEventTowxNotifyEvent
},
5163 { "_wxNotifyEvent","_class_wxNotifyEvent",0},
5164 { "_wxMask","_class_wxMask",0},
5165 { "_wxGrid","_class_wxGrid",0},
5166 { "_wxPen","_class_wxPen",0},
5167 { "_wxUpdateUIEvent","_class_wxUpdateUIEvent",0},
5168 { "_byte","_unsigned_char",0},
5169 { "_wxStaticBox","_class_wxStaticBox",0},
5170 { "_wxChoice","_class_wxChoice",0},
5171 { "_wxSlider","_class_wxSlider",0},
5172 { "_wxNotebookEvent","_class_wxNotebookEvent",0},
5173 { "_long","_wxDash",0},
5174 { "_long","_unsigned_long",0},
5175 { "_long","_signed_long",0},
5176 { "_wxImageList","_class_wxImageList",0},
5177 { "_wxDropFilesEvent","_class_wxDropFilesEvent",0},
5178 { "_wxBitmapButton","_class_wxBitmapButton",0},
5179 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
5180 { "_class_wxGauge","_wxGauge",0},
5181 { "_wxDC","_class_wxDC",0},
5182 { "_wxSpinEvent","_class_wxSpinEvent",0},
5183 { "_size_t","_wxPrintQuality",0},
5184 { "_size_t","_unsigned_int",0},
5185 { "_size_t","_int",0},
5186 { "_size_t","_wxWindowID",0},
5187 { "_size_t","_uint",0},
5188 { "_class_wxRealPoint","_wxRealPoint",0},
5189 { "_class_wxMenuItem","_wxMenuItem",0},
5190 { "_class_wxPaintEvent","_wxPaintEvent",0},
5191 { "_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0},
5192 { "_class_wxPostScriptDC","_wxPostScriptDC",0},
5193 { "_wxPanel","_class_wxGrid",SwigwxGridTowxPanel
},
5194 { "_wxPanel","_wxGrid",SwigwxGridTowxPanel
},
5195 { "_wxPanel","_class_wxPanel",0},
5196 { "_wxInitDialogEvent","_class_wxInitDialogEvent",0},
5197 { "_wxCheckBox","_class_wxCheckBox",0},
5198 { "_wxPyEvent","_class_wxPyEvent",0},
5199 { "_wxTextCtrl","_class_wxTextCtrl",0},
5200 { "_class_wxMask","_wxMask",0},
5201 { "_class_wxKeyEvent","_wxKeyEvent",0},
5202 { "_class_wxGrid","_wxGrid",0},
5203 { "_wxColour","_class_wxColour",0},
5204 { "_class_wxDialog","_wxDialog",0},
5205 { "_wxIdleEvent","_class_wxIdleEvent",0},
5206 { "_class_wxUpdateUIEvent","_wxUpdateUIEvent",0},
5207 { "_wxStaticLine","_class_wxStaticLine",0},
5208 { "_wxBrush","_class_wxBrush",0},
5209 { "_class_wxNotebookEvent","_wxNotebookEvent",0},
5210 { "_wxShowEvent","_class_wxShowEvent",0},
5211 { "_uint","_wxPrintQuality",0},
5212 { "_uint","_size_t",0},
5213 { "_uint","_unsigned_int",0},
5214 { "_uint","_int",0},
5215 { "_uint","_wxWindowID",0},
5216 { "_class_wxEvent","_class_wxSplitterEvent",SwigwxSplitterEventTowxEvent
},
5217 { "_class_wxEvent","_wxSplitterEvent",SwigwxSplitterEventTowxEvent
},
5218 { "_class_wxEvent","_class_wxNotebookEvent",SwigwxNotebookEventTowxEvent
},
5219 { "_class_wxEvent","_wxNotebookEvent",SwigwxNotebookEventTowxEvent
},
5220 { "_class_wxEvent","_class_wxGridEvent",SwigwxGridEventTowxEvent
},
5221 { "_class_wxEvent","_wxGridEvent",SwigwxGridEventTowxEvent
},
5222 { "_class_wxEvent","_wxEvent",0},
5223 { "_wxCheckListBox","_class_wxCheckListBox",0},
5224 { "_wxSplitterEvent","_class_wxSplitterEvent",0},
5225 { "_wxGridEvent","_class_wxGridEvent",0},
5226 { "_wxRect","_class_wxRect",0},
5227 { "_wxCommandEvent","_class_wxSplitterEvent",SwigwxSplitterEventTowxCommandEvent
},
5228 { "_wxCommandEvent","_wxSplitterEvent",SwigwxSplitterEventTowxCommandEvent
},
5229 { "_wxCommandEvent","_class_wxNotebookEvent",SwigwxNotebookEventTowxCommandEvent
},
5230 { "_wxCommandEvent","_wxNotebookEvent",SwigwxNotebookEventTowxCommandEvent
},
5231 { "_wxCommandEvent","_class_wxCommandEvent",0},
5232 { "_wxSizeEvent","_class_wxSizeEvent",0},
5233 { "_wxPoint","_class_wxPoint",0},
5234 { "_class_wxButton","_wxButton",0},
5235 { "_wxRadioBox","_class_wxRadioBox",0},
5236 { "_wxBitmap","_class_wxBitmap",0},
5237 { "_wxPyTimer","_class_wxPyTimer",0},
5238 { "_wxWindowDC","_class_wxWindowDC",0},
5239 { "_wxScrollBar","_class_wxScrollBar",0},
5240 { "_wxSpinButton","_class_wxSpinButton",0},
5241 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
5242 { "_class_wxNotifyEvent","_class_wxNotebookEvent",SwigwxNotebookEventTowxNotifyEvent
},
5243 { "_class_wxNotifyEvent","_wxNotebookEvent",SwigwxNotebookEventTowxNotifyEvent
},
5244 { "_class_wxNotifyEvent","_wxNotifyEvent",0},
5245 { "_class_wxPyEvent","_wxPyEvent",0},
5246 { "_class_wxIconizeEvent","_wxIconizeEvent",0},
5247 { "_class_wxStaticBitmap","_wxStaticBitmap",0},
5248 { "_class_wxStaticLine","_wxStaticLine",0},
5249 { "_wxScrollEvent","_class_wxScrollEvent",0},
5250 { "_EBool","_wxPrintQuality",0},
5251 { "_EBool","_signed_int",0},
5252 { "_EBool","_int",0},
5253 { "_EBool","_wxWindowID",0},
5254 { "_class_wxRegion","_wxRegion",0},
5255 { "_class_wxDropFilesEvent","_wxDropFilesEvent",0},
5256 { "_wxStaticText","_class_wxStaticText",0},
5257 { "_wxFont","_class_wxFont",0},
5258 { "_wxCloseEvent","_class_wxCloseEvent",0},
5259 { "_class_wxSplitterEvent","_wxSplitterEvent",0},
5260 { "_wxNotebook","_class_wxNotebook",0},
5261 { "_unsigned_long","_wxDash",0},
5262 { "_unsigned_long","_long",0},
5263 { "_class_wxRect","_wxRect",0},
5264 { "_class_wxDC","_wxDC",0},
5265 { "_class_wxPyTimer","_wxPyTimer",0},
5266 { "_wxFocusEvent","_class_wxFocusEvent",0},
5267 { "_wxMaximizeEvent","_class_wxMaximizeEvent",0},
5268 { "_class_wxSpinButton","_wxSpinButton",0},
5269 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
5270 { "_class_wxPanel","_class_wxGrid",SwigwxGridTowxPanel
},
5271 { "_class_wxPanel","_wxGrid",SwigwxGridTowxPanel
},
5272 { "_class_wxPanel","_wxPanel",0},
5273 { "_class_wxCheckBox","_wxCheckBox",0},
5274 { "_wxComboBox","_class_wxComboBox",0},
5275 { "_wxRadioButton","_class_wxRadioButton",0},
5276 { "_signed_int","_wxPrintQuality",0},
5277 { "_signed_int","_EBool",0},
5278 { "_signed_int","_wxWindowID",0},
5279 { "_signed_int","_int",0},
5280 { "_class_wxTextCtrl","_wxTextCtrl",0},
5281 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
5282 { "_wxMenu","_class_wxMenu",0},
5283 { "_class_wxMoveEvent","_wxMoveEvent",0},
5284 { "_wxListBox","_class_wxListBox",0},
5285 { "_wxScreenDC","_class_wxScreenDC",0},
5286 { "_WXTYPE","_short",0},
5287 { "_WXTYPE","_signed_short",0},
5288 { "_WXTYPE","_unsigned_short",0},
5289 { "_class_wxBrush","_wxBrush",0},
5290 { "_unsigned_short","_WXTYPE",0},
5291 { "_unsigned_short","_short",0},
5292 { "_class_wxWindow","_class_wxSplitterWindow",SwigwxSplitterWindowTowxWindow
},
5293 { "_class_wxWindow","_wxSplitterWindow",SwigwxSplitterWindowTowxWindow
},
5294 { "_class_wxWindow","_class_wxNotebook",SwigwxNotebookTowxWindow
},
5295 { "_class_wxWindow","_wxNotebook",SwigwxNotebookTowxWindow
},
5296 { "_class_wxWindow","_class_wxGrid",SwigwxGridTowxWindow
},
5297 { "_class_wxWindow","_wxGrid",SwigwxGridTowxWindow
},
5298 { "_class_wxWindow","_wxWindow",0},
5299 { "_wxSplitterWindow","_class_wxSplitterWindow",0},
5300 { "_class_wxStaticText","_wxStaticText",0},
5301 { "_class_wxFont","_wxFont",0},
5302 { "_class_wxCloseEvent","_wxCloseEvent",0},
5303 { "_class_wxMenuEvent","_wxMenuEvent",0},
5304 { "_wxClientDC","_class_wxClientDC",0},
5305 { "_wxMouseEvent","_class_wxMouseEvent",0},
5306 { "_class_wxPoint","_wxPoint",0},
5307 { "_wxRealPoint","_class_wxRealPoint",0},
5308 { "_class_wxRadioBox","_wxRadioBox",0},
5309 { "_wxGridCell","_class_wxGridCell",0},
5310 { "_signed_short","_WXTYPE",0},
5311 { "_signed_short","_short",0},
5312 { "_wxMemoryDC","_class_wxMemoryDC",0},
5313 { "_wxPaintDC","_class_wxPaintDC",0},
5314 { "_class_wxWindowDC","_wxWindowDC",0},
5315 { "_class_wxFocusEvent","_wxFocusEvent",0},
5316 { "_class_wxMaximizeEvent","_wxMaximizeEvent",0},
5317 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
5318 { "_class_wxCursor","_wxCursor",0},
5319 { "_wxPostScriptDC","_class_wxPostScriptDC",0},
5320 { "_wxScrolledWindow","_class_wxScrolledWindow",0},
5321 { "_unsigned_char","_byte",0},
5322 { "_class_wxMenu","_wxMenu",0},
5323 { "_wxControl","_class_wxNotebook",SwigwxNotebookTowxControl
},
5324 { "_wxControl","_wxNotebook",SwigwxNotebookTowxControl
},
5325 { "_wxControl","_class_wxControl",0},
5326 { "_class_wxListBox","_wxListBox",0},
5327 { "_unsigned_int","_wxPrintQuality",0},
5328 { "_unsigned_int","_size_t",0},
5329 { "_unsigned_int","_uint",0},
5330 { "_unsigned_int","_wxWindowID",0},
5331 { "_unsigned_int","_int",0},
5332 { "_wxIcon","_class_wxIcon",0},
5333 { "_wxDialog","_class_wxDialog",0},
5334 { "_class_wxPen","_wxPen",0},
5335 { "_short","_WXTYPE",0},
5336 { "_short","_unsigned_short",0},
5337 { "_short","_signed_short",0},
5338 { "_class_wxStaticBox","_wxStaticBox",0},
5339 { "_class_wxScrollEvent","_wxScrollEvent",0},
5340 { "_wxJoystickEvent","_class_wxJoystickEvent",0},
5341 { "_class_wxChoice","_wxChoice",0},
5342 { "_class_wxSlider","_wxSlider",0},
5343 { "_class_wxImageList","_wxImageList",0},
5344 { "_class_wxBitmapButton","_wxBitmapButton",0},
5345 { "_class_wxNotebook","_wxNotebook",0},
5346 { "_wxWindowID","_wxPrintQuality",0},
5347 { "_wxWindowID","_size_t",0},
5348 { "_wxWindowID","_EBool",0},
5349 { "_wxWindowID","_uint",0},
5350 { "_wxWindowID","_int",0},
5351 { "_wxWindowID","_signed_int",0},
5352 { "_wxWindowID","_unsigned_int",0},
5353 { "_int","_wxPrintQuality",0},
5354 { "_int","_size_t",0},
5355 { "_int","_EBool",0},
5356 { "_int","_uint",0},
5357 { "_int","_wxWindowID",0},
5358 { "_int","_unsigned_int",0},
5359 { "_int","_signed_int",0},
5360 { "_class_wxMouseEvent","_wxMouseEvent",0},
5361 { "_class_wxSpinEvent","_wxSpinEvent",0},
5362 { "_wxButton","_class_wxButton",0},
5363 { "_wxSize","_class_wxSize",0},
5364 { "_wxRegionIterator","_class_wxRegionIterator",0},
5365 { "_class_wxPaintDC","_wxPaintDC",0},
5366 { "_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0},
5367 { "_class_wxInitDialogEvent","_wxInitDialogEvent",0},
5368 { "_class_wxComboBox","_wxComboBox",0},
5369 { "_class_wxRadioButton","_wxRadioButton",0},
5370 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
5371 { "_wxIconizeEvent","_class_wxIconizeEvent",0},
5372 { "_class_wxControl","_class_wxNotebook",SwigwxNotebookTowxControl
},
5373 { "_class_wxControl","_wxNotebook",SwigwxNotebookTowxControl
},
5374 { "_class_wxControl","_wxControl",0},
5375 { "_wxStaticBitmap","_class_wxStaticBitmap",0},
5376 { "_class_wxIcon","_wxIcon",0},
5377 { "_class_wxColour","_wxColour",0},
5378 { "_class_wxScreenDC","_wxScreenDC",0},
5379 { "_wxPalette","_class_wxPalette",0},
5380 { "_class_wxIdleEvent","_wxIdleEvent",0},
5381 { "_wxEraseEvent","_class_wxEraseEvent",0},
5382 { "_class_wxJoystickEvent","_wxJoystickEvent",0},
5383 { "_wxRegion","_class_wxRegion",0},
5384 { "_class_wxSplitterWindow","_wxSplitterWindow",0},
5385 { "_class_wxShowEvent","_wxShowEvent",0},
5386 { "_wxActivateEvent","_class_wxActivateEvent",0},
5387 { "_wxGauge","_class_wxGauge",0},
5388 { "_class_wxCheckListBox","_wxCheckListBox",0},
5389 { "_class_wxGridEvent","_wxGridEvent",0},
5390 { "_class_wxCommandEvent","_class_wxSplitterEvent",SwigwxSplitterEventTowxCommandEvent
},
5391 { "_class_wxCommandEvent","_wxSplitterEvent",SwigwxSplitterEventTowxCommandEvent
},
5392 { "_class_wxCommandEvent","_class_wxNotebookEvent",SwigwxNotebookEventTowxCommandEvent
},
5393 { "_class_wxCommandEvent","_wxNotebookEvent",SwigwxNotebookEventTowxCommandEvent
},
5394 { "_class_wxCommandEvent","_wxCommandEvent",0},
5395 { "_class_wxClientDC","_wxClientDC",0},
5396 { "_class_wxSizeEvent","_wxSizeEvent",0},
5397 { "_class_wxGridCell","_wxGridCell",0},
5398 { "_class_wxSize","_wxSize",0},
5399 { "_class_wxBitmap","_wxBitmap",0},
5400 { "_class_wxMemoryDC","_wxMemoryDC",0},
5401 { "_wxMenuBar","_class_wxMenuBar",0},
5402 { "_wxEvtHandler","_class_wxSplitterWindow",SwigwxSplitterWindowTowxEvtHandler
},
5403 { "_wxEvtHandler","_wxSplitterWindow",SwigwxSplitterWindowTowxEvtHandler
},
5404 { "_wxEvtHandler","_class_wxNotebook",SwigwxNotebookTowxEvtHandler
},
5405 { "_wxEvtHandler","_wxNotebook",SwigwxNotebookTowxEvtHandler
},
5406 { "_wxEvtHandler","_class_wxGrid",SwigwxGridTowxEvtHandler
},
5407 { "_wxEvtHandler","_wxGrid",SwigwxGridTowxEvtHandler
},
5408 { "_wxEvtHandler","_class_wxEvtHandler",0},
5409 { "_wxMenuItem","_class_wxMenuItem",0},
5410 { "_class_wxScrollBar","_wxScrollBar",0},
5411 { "_wxDash","_unsigned_long",0},
5412 { "_wxDash","_long",0},
5413 { "_class_wxScrolledWindow","_wxScrolledWindow",0},
5414 { "_wxKeyEvent","_class_wxKeyEvent",0},
5415 { "_wxMoveEvent","_class_wxMoveEvent",0},
5416 { "_class_wxPalette","_wxPalette",0},
5417 { "_class_wxEraseEvent","_wxEraseEvent",0},
5418 { "_wxWindow","_class_wxSplitterWindow",SwigwxSplitterWindowTowxWindow
},
5419 { "_wxWindow","_wxSplitterWindow",SwigwxSplitterWindowTowxWindow
},
5420 { "_wxWindow","_class_wxNotebook",SwigwxNotebookTowxWindow
},
5421 { "_wxWindow","_wxNotebook",SwigwxNotebookTowxWindow
},
5422 { "_wxWindow","_class_wxGrid",SwigwxGridTowxWindow
},
5423 { "_wxWindow","_wxGrid",SwigwxGridTowxWindow
},
5424 { "_wxWindow","_class_wxWindow",0},
5427 static PyObject
*SWIG_globals
;
5431 SWIGEXPORT(void) initwindows2c() {
5433 SWIG_globals
= SWIG_newvarlink();
5434 m
= Py_InitModule("windows2c", windows2cMethods
);
5435 d
= PyModule_GetDict(m
);
5436 PyDict_SetItemString(d
,"wxGRID_TEXT_CTRL", PyInt_FromLong((long) wxGRID_TEXT_CTRL
));
5437 PyDict_SetItemString(d
,"wxGRID_HSCROLL", PyInt_FromLong((long) wxGRID_HSCROLL
));
5438 PyDict_SetItemString(d
,"wxGRID_VSCROLL", PyInt_FromLong((long) wxGRID_VSCROLL
));
5439 PyDict_SetItemString(d
,"wxEVT_GRID_SELECT_CELL", PyInt_FromLong((long) wxEVT_GRID_SELECT_CELL
));
5440 PyDict_SetItemString(d
,"wxEVT_GRID_CREATE_CELL", PyInt_FromLong((long) wxEVT_GRID_CREATE_CELL
));
5441 PyDict_SetItemString(d
,"wxEVT_GRID_CHANGE_LABELS", PyInt_FromLong((long) wxEVT_GRID_CHANGE_LABELS
));
5442 PyDict_SetItemString(d
,"wxEVT_GRID_CHANGE_SEL_LABEL", PyInt_FromLong((long) wxEVT_GRID_CHANGE_SEL_LABEL
));
5443 PyDict_SetItemString(d
,"wxEVT_GRID_CELL_CHANGE", PyInt_FromLong((long) wxEVT_GRID_CELL_CHANGE
));
5444 PyDict_SetItemString(d
,"wxEVT_GRID_CELL_LCLICK", PyInt_FromLong((long) wxEVT_GRID_CELL_LCLICK
));
5445 PyDict_SetItemString(d
,"wxEVT_GRID_CELL_RCLICK", PyInt_FromLong((long) wxEVT_GRID_CELL_RCLICK
));
5446 PyDict_SetItemString(d
,"wxEVT_GRID_LABEL_LCLICK", PyInt_FromLong((long) wxEVT_GRID_LABEL_LCLICK
));
5447 PyDict_SetItemString(d
,"wxEVT_GRID_LABEL_RCLICK", PyInt_FromLong((long) wxEVT_GRID_LABEL_RCLICK
));
5450 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
5451 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);