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
) {
128 PyObject
* _resultobj
;
129 wxGridCell
* _result
;
133 if(!PyArg_ParseTuple(args
,":new_wxGridCell"))
136 wxPy_BEGIN_ALLOW_THREADS
;
137 _result
= (wxGridCell
*)new_wxGridCell();
139 wxPy_END_ALLOW_THREADS
;
141 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCell_p");
142 _resultobj
= Py_BuildValue("s",_ptemp
);
145 _resultobj
= Py_None
;
150 #define delete_wxGridCell(_swigobj) (delete _swigobj)
151 static PyObject
*_wrap_delete_wxGridCell(PyObject
*self
, PyObject
*args
) {
152 PyObject
* _resultobj
;
154 PyObject
* _argo0
= 0;
157 if(!PyArg_ParseTuple(args
,"O:delete_wxGridCell",&_argo0
))
160 if (_argo0
== Py_None
) { _arg0
= NULL
; }
161 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCell_p")) {
162 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxGridCell. Expected _wxGridCell_p.");
167 wxPy_BEGIN_ALLOW_THREADS
;
168 delete_wxGridCell(_arg0
);
170 wxPy_END_ALLOW_THREADS
;
171 } Py_INCREF(Py_None
);
172 _resultobj
= Py_None
;
176 #define wxGridCell_GetTextValue(_swigobj) (_swigobj->GetTextValue())
177 static PyObject
*_wrap_wxGridCell_GetTextValue(PyObject
*self
, PyObject
*args
) {
178 PyObject
* _resultobj
;
181 PyObject
* _argo0
= 0;
184 if(!PyArg_ParseTuple(args
,"O:wxGridCell_GetTextValue",&_argo0
))
187 if (_argo0
== Py_None
) { _arg0
= NULL
; }
188 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCell_p")) {
189 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCell_GetTextValue. Expected _wxGridCell_p.");
194 wxPy_BEGIN_ALLOW_THREADS
;
195 wxString
& _result_ref
= wxGridCell_GetTextValue(_arg0
);
196 _result
= (wxString
*) &_result_ref
;
198 wxPy_END_ALLOW_THREADS
;
200 _resultobj
= PyString_FromString(WXSTRINGCAST (*_result
));
205 #define wxGridCell_SetTextValue(_swigobj,_swigarg0) (_swigobj->SetTextValue(_swigarg0))
206 static PyObject
*_wrap_wxGridCell_SetTextValue(PyObject
*self
, PyObject
*args
) {
207 PyObject
* _resultobj
;
210 PyObject
* _argo0
= 0;
211 PyObject
* _obj1
= 0;
214 if(!PyArg_ParseTuple(args
,"OO:wxGridCell_SetTextValue",&_argo0
,&_obj1
))
217 if (_argo0
== Py_None
) { _arg0
= NULL
; }
218 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCell_p")) {
219 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCell_SetTextValue. Expected _wxGridCell_p.");
224 if (!PyString_Check(_obj1
)) {
225 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
228 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
231 wxPy_BEGIN_ALLOW_THREADS
;
232 wxGridCell_SetTextValue(_arg0
,*_arg1
);
234 wxPy_END_ALLOW_THREADS
;
235 } Py_INCREF(Py_None
);
236 _resultobj
= Py_None
;
244 #define wxGridCell_GetFont(_swigobj) (_swigobj->GetFont())
245 static PyObject
*_wrap_wxGridCell_GetFont(PyObject
*self
, PyObject
*args
) {
246 PyObject
* _resultobj
;
249 PyObject
* _argo0
= 0;
253 if(!PyArg_ParseTuple(args
,"O:wxGridCell_GetFont",&_argo0
))
256 if (_argo0
== Py_None
) { _arg0
= NULL
; }
257 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCell_p")) {
258 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCell_GetFont. Expected _wxGridCell_p.");
263 wxPy_BEGIN_ALLOW_THREADS
;
264 wxFont
& _result_ref
= wxGridCell_GetFont(_arg0
);
265 _result
= (wxFont
*) &_result_ref
;
267 wxPy_END_ALLOW_THREADS
;
269 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
270 _resultobj
= Py_BuildValue("s",_ptemp
);
273 _resultobj
= Py_None
;
278 #define wxGridCell_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
279 static PyObject
*_wrap_wxGridCell_SetFont(PyObject
*self
, PyObject
*args
) {
280 PyObject
* _resultobj
;
283 PyObject
* _argo0
= 0;
284 PyObject
* _argo1
= 0;
287 if(!PyArg_ParseTuple(args
,"OO:wxGridCell_SetFont",&_argo0
,&_argo1
))
290 if (_argo0
== Py_None
) { _arg0
= NULL
; }
291 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCell_p")) {
292 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCell_SetFont. Expected _wxGridCell_p.");
297 if (_argo1
== Py_None
) { _arg1
= NULL
; }
298 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
299 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCell_SetFont. Expected _wxFont_p.");
304 wxPy_BEGIN_ALLOW_THREADS
;
305 wxGridCell_SetFont(_arg0
,*_arg1
);
307 wxPy_END_ALLOW_THREADS
;
308 } Py_INCREF(Py_None
);
309 _resultobj
= Py_None
;
313 #define wxGridCell_GetTextColour(_swigobj) (_swigobj->GetTextColour())
314 static PyObject
*_wrap_wxGridCell_GetTextColour(PyObject
*self
, PyObject
*args
) {
315 PyObject
* _resultobj
;
318 PyObject
* _argo0
= 0;
322 if(!PyArg_ParseTuple(args
,"O:wxGridCell_GetTextColour",&_argo0
))
325 if (_argo0
== Py_None
) { _arg0
= NULL
; }
326 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCell_p")) {
327 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCell_GetTextColour. Expected _wxGridCell_p.");
332 wxPy_BEGIN_ALLOW_THREADS
;
333 wxColour
& _result_ref
= wxGridCell_GetTextColour(_arg0
);
334 _result
= (wxColour
*) &_result_ref
;
336 wxPy_END_ALLOW_THREADS
;
338 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
339 _resultobj
= Py_BuildValue("s",_ptemp
);
342 _resultobj
= Py_None
;
347 #define wxGridCell_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
348 static PyObject
*_wrap_wxGridCell_SetTextColour(PyObject
*self
, PyObject
*args
) {
349 PyObject
* _resultobj
;
352 PyObject
* _argo0
= 0;
353 PyObject
* _argo1
= 0;
356 if(!PyArg_ParseTuple(args
,"OO:wxGridCell_SetTextColour",&_argo0
,&_argo1
))
359 if (_argo0
== Py_None
) { _arg0
= NULL
; }
360 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCell_p")) {
361 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCell_SetTextColour. Expected _wxGridCell_p.");
366 if (_argo1
== Py_None
) { _arg1
= NULL
; }
367 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxColour_p")) {
368 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCell_SetTextColour. Expected _wxColour_p.");
373 wxPy_BEGIN_ALLOW_THREADS
;
374 wxGridCell_SetTextColour(_arg0
,*_arg1
);
376 wxPy_END_ALLOW_THREADS
;
377 } Py_INCREF(Py_None
);
378 _resultobj
= Py_None
;
382 #define wxGridCell_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
383 static PyObject
*_wrap_wxGridCell_GetBackgroundColour(PyObject
*self
, PyObject
*args
) {
384 PyObject
* _resultobj
;
387 PyObject
* _argo0
= 0;
391 if(!PyArg_ParseTuple(args
,"O:wxGridCell_GetBackgroundColour",&_argo0
))
394 if (_argo0
== Py_None
) { _arg0
= NULL
; }
395 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCell_p")) {
396 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCell_GetBackgroundColour. Expected _wxGridCell_p.");
401 wxPy_BEGIN_ALLOW_THREADS
;
402 wxColour
& _result_ref
= wxGridCell_GetBackgroundColour(_arg0
);
403 _result
= (wxColour
*) &_result_ref
;
405 wxPy_END_ALLOW_THREADS
;
407 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
408 _resultobj
= Py_BuildValue("s",_ptemp
);
411 _resultobj
= Py_None
;
416 #define wxGridCell_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
417 static PyObject
*_wrap_wxGridCell_SetBackgroundColour(PyObject
*self
, PyObject
*args
) {
418 PyObject
* _resultobj
;
421 PyObject
* _argo0
= 0;
422 PyObject
* _argo1
= 0;
425 if(!PyArg_ParseTuple(args
,"OO:wxGridCell_SetBackgroundColour",&_argo0
,&_argo1
))
428 if (_argo0
== Py_None
) { _arg0
= NULL
; }
429 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCell_p")) {
430 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCell_SetBackgroundColour. Expected _wxGridCell_p.");
435 if (_argo1
== Py_None
) { _arg1
= NULL
; }
436 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxColour_p")) {
437 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCell_SetBackgroundColour. Expected _wxColour_p.");
442 wxPy_BEGIN_ALLOW_THREADS
;
443 wxGridCell_SetBackgroundColour(_arg0
,*_arg1
);
445 wxPy_END_ALLOW_THREADS
;
446 } Py_INCREF(Py_None
);
447 _resultobj
= Py_None
;
451 #define wxGridCell_GetBackgroundBrush(_swigobj) (_swigobj->GetBackgroundBrush())
452 static PyObject
*_wrap_wxGridCell_GetBackgroundBrush(PyObject
*self
, PyObject
*args
) {
453 PyObject
* _resultobj
;
456 PyObject
* _argo0
= 0;
460 if(!PyArg_ParseTuple(args
,"O:wxGridCell_GetBackgroundBrush",&_argo0
))
463 if (_argo0
== Py_None
) { _arg0
= NULL
; }
464 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCell_p")) {
465 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCell_GetBackgroundBrush. Expected _wxGridCell_p.");
470 wxPy_BEGIN_ALLOW_THREADS
;
471 wxBrush
& _result_ref
= wxGridCell_GetBackgroundBrush(_arg0
);
472 _result
= (wxBrush
*) &_result_ref
;
474 wxPy_END_ALLOW_THREADS
;
476 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBrush_p");
477 _resultobj
= Py_BuildValue("s",_ptemp
);
480 _resultobj
= Py_None
;
485 #define wxGridCell_GetAlignment(_swigobj) (_swigobj->GetAlignment())
486 static PyObject
*_wrap_wxGridCell_GetAlignment(PyObject
*self
, PyObject
*args
) {
487 PyObject
* _resultobj
;
490 PyObject
* _argo0
= 0;
493 if(!PyArg_ParseTuple(args
,"O:wxGridCell_GetAlignment",&_argo0
))
496 if (_argo0
== Py_None
) { _arg0
= NULL
; }
497 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCell_p")) {
498 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCell_GetAlignment. Expected _wxGridCell_p.");
503 wxPy_BEGIN_ALLOW_THREADS
;
504 _result
= (int )wxGridCell_GetAlignment(_arg0
);
506 wxPy_END_ALLOW_THREADS
;
507 } _resultobj
= Py_BuildValue("i",_result
);
511 #define wxGridCell_SetAlignment(_swigobj,_swigarg0) (_swigobj->SetAlignment(_swigarg0))
512 static PyObject
*_wrap_wxGridCell_SetAlignment(PyObject
*self
, PyObject
*args
) {
513 PyObject
* _resultobj
;
516 PyObject
* _argo0
= 0;
519 if(!PyArg_ParseTuple(args
,"Oi:wxGridCell_SetAlignment",&_argo0
,&_arg1
))
522 if (_argo0
== Py_None
) { _arg0
= NULL
; }
523 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCell_p")) {
524 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCell_SetAlignment. Expected _wxGridCell_p.");
529 wxPy_BEGIN_ALLOW_THREADS
;
530 wxGridCell_SetAlignment(_arg0
,_arg1
);
532 wxPy_END_ALLOW_THREADS
;
533 } Py_INCREF(Py_None
);
534 _resultobj
= Py_None
;
538 #define wxGridCell_GetCellBitmap(_swigobj) (_swigobj->GetCellBitmap())
539 static PyObject
*_wrap_wxGridCell_GetCellBitmap(PyObject
*self
, PyObject
*args
) {
540 PyObject
* _resultobj
;
543 PyObject
* _argo0
= 0;
547 if(!PyArg_ParseTuple(args
,"O:wxGridCell_GetCellBitmap",&_argo0
))
550 if (_argo0
== Py_None
) { _arg0
= NULL
; }
551 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCell_p")) {
552 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCell_GetCellBitmap. Expected _wxGridCell_p.");
557 wxPy_BEGIN_ALLOW_THREADS
;
558 _result
= (wxBitmap
*)wxGridCell_GetCellBitmap(_arg0
);
560 wxPy_END_ALLOW_THREADS
;
562 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
563 _resultobj
= Py_BuildValue("s",_ptemp
);
566 _resultobj
= Py_None
;
571 #define wxGridCell_SetCellBitmap(_swigobj,_swigarg0) (_swigobj->SetCellBitmap(_swigarg0))
572 static PyObject
*_wrap_wxGridCell_SetCellBitmap(PyObject
*self
, PyObject
*args
) {
573 PyObject
* _resultobj
;
576 PyObject
* _argo0
= 0;
577 PyObject
* _argo1
= 0;
580 if(!PyArg_ParseTuple(args
,"OO:wxGridCell_SetCellBitmap",&_argo0
,&_argo1
))
583 if (_argo0
== Py_None
) { _arg0
= NULL
; }
584 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCell_p")) {
585 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCell_SetCellBitmap. Expected _wxGridCell_p.");
590 if (_argo1
== Py_None
) { _arg1
= NULL
; }
591 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
592 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCell_SetCellBitmap. Expected _wxBitmap_p.");
597 wxPy_BEGIN_ALLOW_THREADS
;
598 wxGridCell_SetCellBitmap(_arg0
,_arg1
);
600 wxPy_END_ALLOW_THREADS
;
601 } Py_INCREF(Py_None
);
602 _resultobj
= Py_None
;
606 static void *SwigwxGridTowxPanel(void *ptr
) {
609 src
= (wxGrid
*) ptr
;
610 dest
= (wxPanel
*) src
;
611 return (void *) dest
;
614 static void *SwigwxGridTowxWindow(void *ptr
) {
617 src
= (wxGrid
*) ptr
;
618 dest
= (wxWindow
*) src
;
619 return (void *) dest
;
622 static void *SwigwxGridTowxEvtHandler(void *ptr
) {
625 src
= (wxGrid
*) ptr
;
626 dest
= (wxEvtHandler
*) src
;
627 return (void *) dest
;
630 #define new_wxGrid(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxGrid(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
631 static PyObject
*_wrap_new_wxGrid(PyObject
*self
, PyObject
*args
) {
632 PyObject
* _resultobj
;
636 wxPoint
* _arg2
= (wxPoint
*) &wxPyDefaultPosition
;
637 wxSize
* _arg3
= (wxSize
*) &wxPyDefaultSize
;
638 long _arg4
= (long ) 0;
639 char * _arg5
= (char *) "grid";
640 PyObject
* _argo0
= 0;
641 PyObject
* _argo2
= 0;
642 PyObject
* _argo3
= 0;
646 if(!PyArg_ParseTuple(args
,"Oi|OOls:new_wxGrid",&_argo0
,&_arg1
,&_argo2
,&_argo3
,&_arg4
,&_arg5
))
649 if (_argo0
== Py_None
) { _arg0
= NULL
; }
650 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
651 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxGrid. Expected _wxWindow_p.");
656 if (_argo2
== Py_None
) { _arg2
= NULL
; }
657 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPoint_p")) {
658 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxGrid. Expected _wxPoint_p.");
663 if (_argo3
== Py_None
) { _arg3
= NULL
; }
664 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxSize_p")) {
665 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of new_wxGrid. Expected _wxSize_p.");
670 wxPy_BEGIN_ALLOW_THREADS
;
671 _result
= (wxGrid
*)new_wxGrid(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
673 wxPy_END_ALLOW_THREADS
;
675 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGrid_p");
676 _resultobj
= Py_BuildValue("s",_ptemp
);
679 _resultobj
= Py_None
;
684 #define wxGrid_AdjustScrollbars(_swigobj) (_swigobj->AdjustScrollbars())
685 static PyObject
*_wrap_wxGrid_AdjustScrollbars(PyObject
*self
, PyObject
*args
) {
686 PyObject
* _resultobj
;
688 PyObject
* _argo0
= 0;
691 if(!PyArg_ParseTuple(args
,"O:wxGrid_AdjustScrollbars",&_argo0
))
694 if (_argo0
== Py_None
) { _arg0
= NULL
; }
695 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
696 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_AdjustScrollbars. Expected _wxGrid_p.");
701 wxPy_BEGIN_ALLOW_THREADS
;
702 wxGrid_AdjustScrollbars(_arg0
);
704 wxPy_END_ALLOW_THREADS
;
705 } Py_INCREF(Py_None
);
706 _resultobj
= Py_None
;
710 #define wxGrid_AppendCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->AppendCols(_swigarg0,_swigarg1))
711 static PyObject
*_wrap_wxGrid_AppendCols(PyObject
*self
, PyObject
*args
) {
712 PyObject
* _resultobj
;
715 int _arg1
= (int ) 1;
716 bool _arg2
= (bool ) TRUE
;
717 PyObject
* _argo0
= 0;
718 int tempbool2
= (int) TRUE
;
721 if(!PyArg_ParseTuple(args
,"O|ii:wxGrid_AppendCols",&_argo0
,&_arg1
,&tempbool2
))
724 if (_argo0
== Py_None
) { _arg0
= NULL
; }
725 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
726 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_AppendCols. Expected _wxGrid_p.");
730 _arg2
= (bool ) tempbool2
;
732 wxPy_BEGIN_ALLOW_THREADS
;
733 _result
= (bool )wxGrid_AppendCols(_arg0
,_arg1
,_arg2
);
735 wxPy_END_ALLOW_THREADS
;
736 } _resultobj
= Py_BuildValue("i",_result
);
740 #define wxGrid_AppendRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->AppendRows(_swigarg0,_swigarg1))
741 static PyObject
*_wrap_wxGrid_AppendRows(PyObject
*self
, PyObject
*args
) {
742 PyObject
* _resultobj
;
745 int _arg1
= (int ) 1;
746 bool _arg2
= (bool ) TRUE
;
747 PyObject
* _argo0
= 0;
748 int tempbool2
= (int) TRUE
;
751 if(!PyArg_ParseTuple(args
,"O|ii:wxGrid_AppendRows",&_argo0
,&_arg1
,&tempbool2
))
754 if (_argo0
== Py_None
) { _arg0
= NULL
; }
755 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
756 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_AppendRows. Expected _wxGrid_p.");
760 _arg2
= (bool ) tempbool2
;
762 wxPy_BEGIN_ALLOW_THREADS
;
763 _result
= (bool )wxGrid_AppendRows(_arg0
,_arg1
,_arg2
);
765 wxPy_END_ALLOW_THREADS
;
766 } _resultobj
= Py_BuildValue("i",_result
);
770 #define wxGrid_BeginBatch(_swigobj) (_swigobj->BeginBatch())
771 static PyObject
*_wrap_wxGrid_BeginBatch(PyObject
*self
, PyObject
*args
) {
772 PyObject
* _resultobj
;
774 PyObject
* _argo0
= 0;
777 if(!PyArg_ParseTuple(args
,"O:wxGrid_BeginBatch",&_argo0
))
780 if (_argo0
== Py_None
) { _arg0
= NULL
; }
781 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
782 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_BeginBatch. Expected _wxGrid_p.");
787 wxPy_BEGIN_ALLOW_THREADS
;
788 wxGrid_BeginBatch(_arg0
);
790 wxPy_END_ALLOW_THREADS
;
791 } Py_INCREF(Py_None
);
792 _resultobj
= Py_None
;
796 #define wxGrid_CellHitTest(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->CellHitTest(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
797 static PyObject
*_wrap_wxGrid_CellHitTest(PyObject
*self
, PyObject
*args
) {
798 PyObject
* _resultobj
;
807 PyObject
* _argo0
= 0;
816 if(!PyArg_ParseTuple(args
,"Oii:wxGrid_CellHitTest",&_argo0
,&_arg1
,&_arg2
))
819 if (_argo0
== Py_None
) { _arg0
= NULL
; }
820 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
821 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_CellHitTest. Expected _wxGrid_p.");
826 wxPy_BEGIN_ALLOW_THREADS
;
827 _result
= (bool )wxGrid_CellHitTest(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
829 wxPy_END_ALLOW_THREADS
;
830 } _resultobj
= Py_BuildValue("i",_result
);
833 o
= PyInt_FromLong((long) (*_arg3
));
834 _resultobj
= t_output_helper(_resultobj
, o
);
838 o
= PyInt_FromLong((long) (*_arg4
));
839 _resultobj
= t_output_helper(_resultobj
, o
);
844 static bool wxGrid_CreateGrid(wxGrid
*self
,int rows
,int cols
,short defaultWidth
,short defaultHeight
) {
845 return self
->CreateGrid(rows
, cols
, NULL
, NULL
,
846 defaultWidth
, defaultHeight
);
848 static PyObject
*_wrap_wxGrid_CreateGrid(PyObject
*self
, PyObject
*args
) {
849 PyObject
* _resultobj
;
854 short _arg3
= (short ) wxGRID_DEFAULT_CELL_WIDTH
;
855 short _arg4
= (short ) wxGRID_DEFAULT_CELL_HEIGHT
;
856 PyObject
* _argo0
= 0;
859 if(!PyArg_ParseTuple(args
,"Oii|hh:wxGrid_CreateGrid",&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
862 if (_argo0
== Py_None
) { _arg0
= NULL
; }
863 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
864 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_CreateGrid. Expected _wxGrid_p.");
869 wxPy_BEGIN_ALLOW_THREADS
;
870 _result
= (bool )wxGrid_CreateGrid(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
872 wxPy_END_ALLOW_THREADS
;
873 } _resultobj
= Py_BuildValue("i",_result
);
877 #define wxGrid_CurrentCellVisible(_swigobj) (_swigobj->CurrentCellVisible())
878 static PyObject
*_wrap_wxGrid_CurrentCellVisible(PyObject
*self
, PyObject
*args
) {
879 PyObject
* _resultobj
;
882 PyObject
* _argo0
= 0;
885 if(!PyArg_ParseTuple(args
,"O:wxGrid_CurrentCellVisible",&_argo0
))
888 if (_argo0
== Py_None
) { _arg0
= NULL
; }
889 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
890 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_CurrentCellVisible. Expected _wxGrid_p.");
895 wxPy_BEGIN_ALLOW_THREADS
;
896 _result
= (bool )wxGrid_CurrentCellVisible(_arg0
);
898 wxPy_END_ALLOW_THREADS
;
899 } _resultobj
= Py_BuildValue("i",_result
);
903 #define wxGrid_DeleteCols(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DeleteCols(_swigarg0,_swigarg1,_swigarg2))
904 static PyObject
*_wrap_wxGrid_DeleteCols(PyObject
*self
, PyObject
*args
) {
905 PyObject
* _resultobj
;
908 int _arg1
= (int ) 0;
909 int _arg2
= (int ) 1;
910 bool _arg3
= (bool ) TRUE
;
911 PyObject
* _argo0
= 0;
912 int tempbool3
= (int) TRUE
;
915 if(!PyArg_ParseTuple(args
,"O|iii:wxGrid_DeleteCols",&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
918 if (_argo0
== Py_None
) { _arg0
= NULL
; }
919 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
920 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_DeleteCols. Expected _wxGrid_p.");
924 _arg3
= (bool ) tempbool3
;
926 wxPy_BEGIN_ALLOW_THREADS
;
927 _result
= (bool )wxGrid_DeleteCols(_arg0
,_arg1
,_arg2
,_arg3
);
929 wxPy_END_ALLOW_THREADS
;
930 } _resultobj
= Py_BuildValue("i",_result
);
934 #define wxGrid_DeleteRows(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DeleteRows(_swigarg0,_swigarg1,_swigarg2))
935 static PyObject
*_wrap_wxGrid_DeleteRows(PyObject
*self
, PyObject
*args
) {
936 PyObject
* _resultobj
;
939 int _arg1
= (int ) 0;
940 int _arg2
= (int ) 1;
941 bool _arg3
= (bool ) TRUE
;
942 PyObject
* _argo0
= 0;
943 int tempbool3
= (int) TRUE
;
946 if(!PyArg_ParseTuple(args
,"O|iii:wxGrid_DeleteRows",&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
949 if (_argo0
== Py_None
) { _arg0
= NULL
; }
950 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
951 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_DeleteRows. Expected _wxGrid_p.");
955 _arg3
= (bool ) tempbool3
;
957 wxPy_BEGIN_ALLOW_THREADS
;
958 _result
= (bool )wxGrid_DeleteRows(_arg0
,_arg1
,_arg2
,_arg3
);
960 wxPy_END_ALLOW_THREADS
;
961 } _resultobj
= Py_BuildValue("i",_result
);
965 #define wxGrid_EndBatch(_swigobj) (_swigobj->EndBatch())
966 static PyObject
*_wrap_wxGrid_EndBatch(PyObject
*self
, PyObject
*args
) {
967 PyObject
* _resultobj
;
969 PyObject
* _argo0
= 0;
972 if(!PyArg_ParseTuple(args
,"O:wxGrid_EndBatch",&_argo0
))
975 if (_argo0
== Py_None
) { _arg0
= NULL
; }
976 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
977 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_EndBatch. Expected _wxGrid_p.");
982 wxPy_BEGIN_ALLOW_THREADS
;
983 wxGrid_EndBatch(_arg0
);
985 wxPy_END_ALLOW_THREADS
;
986 } Py_INCREF(Py_None
);
987 _resultobj
= Py_None
;
991 #define wxGrid_GetBatchCount(_swigobj) (_swigobj->GetBatchCount())
992 static PyObject
*_wrap_wxGrid_GetBatchCount(PyObject
*self
, PyObject
*args
) {
993 PyObject
* _resultobj
;
996 PyObject
* _argo0
= 0;
999 if(!PyArg_ParseTuple(args
,"O:wxGrid_GetBatchCount",&_argo0
))
1002 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1003 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
1004 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetBatchCount. Expected _wxGrid_p.");
1009 wxPy_BEGIN_ALLOW_THREADS
;
1010 _result
= (int )wxGrid_GetBatchCount(_arg0
);
1012 wxPy_END_ALLOW_THREADS
;
1013 } _resultobj
= Py_BuildValue("i",_result
);
1017 #define wxGrid_GetCell(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCell(_swigarg0,_swigarg1))
1018 static PyObject
*_wrap_wxGrid_GetCell(PyObject
*self
, PyObject
*args
) {
1019 PyObject
* _resultobj
;
1020 wxGridCell
* _result
;
1024 PyObject
* _argo0
= 0;
1028 if(!PyArg_ParseTuple(args
,"Oii:wxGrid_GetCell",&_argo0
,&_arg1
,&_arg2
))
1031 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1032 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
1033 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCell. Expected _wxGrid_p.");
1038 wxPy_BEGIN_ALLOW_THREADS
;
1039 _result
= (wxGridCell
*)wxGrid_GetCell(_arg0
,_arg1
,_arg2
);
1041 wxPy_END_ALLOW_THREADS
;
1043 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCell_p");
1044 _resultobj
= Py_BuildValue("s",_ptemp
);
1047 _resultobj
= Py_None
;
1052 #define wxGrid_GetCellAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellAlignment(_swigarg0,_swigarg1))
1053 static PyObject
*_wrap_wxGrid_GetCellAlignment(PyObject
*self
, PyObject
*args
) {
1054 PyObject
* _resultobj
;
1059 PyObject
* _argo0
= 0;
1062 if(!PyArg_ParseTuple(args
,"Oii:wxGrid_GetCellAlignment",&_argo0
,&_arg1
,&_arg2
))
1065 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1066 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
1067 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellAlignment. Expected _wxGrid_p.");
1072 wxPy_BEGIN_ALLOW_THREADS
;
1073 _result
= (int )wxGrid_GetCellAlignment(_arg0
,_arg1
,_arg2
);
1075 wxPy_END_ALLOW_THREADS
;
1076 } _resultobj
= Py_BuildValue("i",_result
);
1080 #define wxGrid_GetDefCellAlignment(_swigobj) (_swigobj->GetCellAlignment())
1081 static PyObject
*_wrap_wxGrid_GetDefCellAlignment(PyObject
*self
, PyObject
*args
) {
1082 PyObject
* _resultobj
;
1085 PyObject
* _argo0
= 0;
1088 if(!PyArg_ParseTuple(args
,"O:wxGrid_GetDefCellAlignment",&_argo0
))
1091 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1092 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
1093 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefCellAlignment. Expected _wxGrid_p.");
1098 wxPy_BEGIN_ALLOW_THREADS
;
1099 _result
= (int )wxGrid_GetDefCellAlignment(_arg0
);
1101 wxPy_END_ALLOW_THREADS
;
1102 } _resultobj
= Py_BuildValue("i",_result
);
1106 #define wxGrid_GetCellBackgroundColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellBackgroundColour(_swigarg0,_swigarg1))
1107 static PyObject
*_wrap_wxGrid_GetCellBackgroundColour(PyObject
*self
, PyObject
*args
) {
1108 PyObject
* _resultobj
;
1113 PyObject
* _argo0
= 0;
1117 if(!PyArg_ParseTuple(args
,"Oii:wxGrid_GetCellBackgroundColour",&_argo0
,&_arg1
,&_arg2
))
1120 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1121 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
1122 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellBackgroundColour. Expected _wxGrid_p.");
1127 wxPy_BEGIN_ALLOW_THREADS
;
1128 wxColour
& _result_ref
= wxGrid_GetCellBackgroundColour(_arg0
,_arg1
,_arg2
);
1129 _result
= (wxColour
*) &_result_ref
;
1131 wxPy_END_ALLOW_THREADS
;
1133 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
1134 _resultobj
= Py_BuildValue("s",_ptemp
);
1137 _resultobj
= Py_None
;
1142 #define wxGrid_GetDefCellBackgroundColour(_swigobj) (_swigobj->GetCellBackgroundColour())
1143 static PyObject
*_wrap_wxGrid_GetDefCellBackgroundColour(PyObject
*self
, PyObject
*args
) {
1144 PyObject
* _resultobj
;
1147 PyObject
* _argo0
= 0;
1151 if(!PyArg_ParseTuple(args
,"O:wxGrid_GetDefCellBackgroundColour",&_argo0
))
1154 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1155 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
1156 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefCellBackgroundColour. Expected _wxGrid_p.");
1161 wxPy_BEGIN_ALLOW_THREADS
;
1162 wxColour
& _result_ref
= wxGrid_GetDefCellBackgroundColour(_arg0
);
1163 _result
= (wxColour
*) &_result_ref
;
1165 wxPy_END_ALLOW_THREADS
;
1167 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
1168 _resultobj
= Py_BuildValue("s",_ptemp
);
1171 _resultobj
= Py_None
;
1176 static PyObject
* wxGrid_GetCells(wxGrid
*self
) {
1178 PyObject
* rows
= PyList_New(0);
1179 for (row
=0; row
< self
->GetRows(); row
++) {
1180 PyObject
* rowList
= PyList_New(0);
1181 for (col
=0; col
< self
->GetCols(); col
++) {
1182 wxGridCell
* cell
= self
->GetCell(row
, col
);
1184 #ifdef WXP_WITH_THREAD
1185 PyEval_RestoreThread(wxPyEventThreadState
);
1188 PyObject
* pyCell
= wxPyConstructObject(cell
, "wxGridCell");
1189 #ifdef WXP_WITH_THREAD
1190 PyEval_SaveThread();
1191 wxPyInEvent
= false;
1194 if (PyList_Append(rowList
, pyCell
) == -1)
1197 if (PyList_Append(rows
, rowList
) == -1)
1202 static PyObject
*_wrap_wxGrid_GetCells(PyObject
*self
, PyObject
*args
) {
1203 PyObject
* _resultobj
;
1206 PyObject
* _argo0
= 0;
1209 if(!PyArg_ParseTuple(args
,"O:wxGrid_GetCells",&_argo0
))
1212 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1213 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
1214 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCells. Expected _wxGrid_p.");
1219 wxPy_BEGIN_ALLOW_THREADS
;
1220 _result
= (PyObject
*)wxGrid_GetCells(_arg0
);
1222 wxPy_END_ALLOW_THREADS
;
1224 _resultobj
= _result
;
1229 #define wxGrid_GetCellTextColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellTextColour(_swigarg0,_swigarg1))
1230 static PyObject
*_wrap_wxGrid_GetCellTextColour(PyObject
*self
, PyObject
*args
) {
1231 PyObject
* _resultobj
;
1236 PyObject
* _argo0
= 0;
1240 if(!PyArg_ParseTuple(args
,"Oii:wxGrid_GetCellTextColour",&_argo0
,&_arg1
,&_arg2
))
1243 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1244 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
1245 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellTextColour. Expected _wxGrid_p.");
1250 wxPy_BEGIN_ALLOW_THREADS
;
1251 wxColour
& _result_ref
= wxGrid_GetCellTextColour(_arg0
,_arg1
,_arg2
);
1252 _result
= (wxColour
*) &_result_ref
;
1254 wxPy_END_ALLOW_THREADS
;
1256 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
1257 _resultobj
= Py_BuildValue("s",_ptemp
);
1260 _resultobj
= Py_None
;
1265 #define wxGrid_GetDefCellTextColour(_swigobj) (_swigobj->GetCellTextColour())
1266 static PyObject
*_wrap_wxGrid_GetDefCellTextColour(PyObject
*self
, PyObject
*args
) {
1267 PyObject
* _resultobj
;
1270 PyObject
* _argo0
= 0;
1274 if(!PyArg_ParseTuple(args
,"O:wxGrid_GetDefCellTextColour",&_argo0
))
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_GetDefCellTextColour. Expected _wxGrid_p.");
1284 wxPy_BEGIN_ALLOW_THREADS
;
1285 wxColour
& _result_ref
= wxGrid_GetDefCellTextColour(_arg0
);
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_GetCellTextFont(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellTextFont(_swigarg0,_swigarg1))
1300 static PyObject
*_wrap_wxGrid_GetCellTextFont(PyObject
*self
, PyObject
*args
) {
1301 PyObject
* _resultobj
;
1306 PyObject
* _argo0
= 0;
1310 if(!PyArg_ParseTuple(args
,"Oii:wxGrid_GetCellTextFont",&_argo0
,&_arg1
,&_arg2
))
1313 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1314 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
1315 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellTextFont. Expected _wxGrid_p.");
1320 wxPy_BEGIN_ALLOW_THREADS
;
1321 wxFont
& _result_ref
= wxGrid_GetCellTextFont(_arg0
,_arg1
,_arg2
);
1322 _result
= (wxFont
*) &_result_ref
;
1324 wxPy_END_ALLOW_THREADS
;
1326 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
1327 _resultobj
= Py_BuildValue("s",_ptemp
);
1330 _resultobj
= Py_None
;
1335 #define wxGrid_GetDefCellTextFont(_swigobj) (_swigobj->GetCellTextFont())
1336 static PyObject
*_wrap_wxGrid_GetDefCellTextFont(PyObject
*self
, PyObject
*args
) {
1337 PyObject
* _resultobj
;
1340 PyObject
* _argo0
= 0;
1344 if(!PyArg_ParseTuple(args
,"O:wxGrid_GetDefCellTextFont",&_argo0
))
1347 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1348 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
1349 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefCellTextFont. Expected _wxGrid_p.");
1354 wxPy_BEGIN_ALLOW_THREADS
;
1355 wxFont
& _result_ref
= wxGrid_GetDefCellTextFont(_arg0
);
1356 _result
= (wxFont
*) &_result_ref
;
1358 wxPy_END_ALLOW_THREADS
;
1360 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
1361 _resultobj
= Py_BuildValue("s",_ptemp
);
1364 _resultobj
= Py_None
;
1369 #define wxGrid_GetCellValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellValue(_swigarg0,_swigarg1))
1370 static PyObject
*_wrap_wxGrid_GetCellValue(PyObject
*self
, PyObject
*args
) {
1371 PyObject
* _resultobj
;
1376 PyObject
* _argo0
= 0;
1379 if(!PyArg_ParseTuple(args
,"Oii:wxGrid_GetCellValue",&_argo0
,&_arg1
,&_arg2
))
1382 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1383 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
1384 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellValue. Expected _wxGrid_p.");
1389 wxPy_BEGIN_ALLOW_THREADS
;
1390 wxString
& _result_ref
= wxGrid_GetCellValue(_arg0
,_arg1
,_arg2
);
1391 _result
= (wxString
*) &_result_ref
;
1393 wxPy_END_ALLOW_THREADS
;
1395 _resultobj
= PyString_FromString(WXSTRINGCAST (*_result
));
1400 #define wxGrid_GetCols(_swigobj) (_swigobj->GetCols())
1401 static PyObject
*_wrap_wxGrid_GetCols(PyObject
*self
, PyObject
*args
) {
1402 PyObject
* _resultobj
;
1405 PyObject
* _argo0
= 0;
1408 if(!PyArg_ParseTuple(args
,"O:wxGrid_GetCols",&_argo0
))
1411 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1412 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
1413 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCols. Expected _wxGrid_p.");
1418 wxPy_BEGIN_ALLOW_THREADS
;
1419 _result
= (int )wxGrid_GetCols(_arg0
);
1421 wxPy_END_ALLOW_THREADS
;
1422 } _resultobj
= Py_BuildValue("i",_result
);
1426 #define wxGrid_GetColumnWidth(_swigobj,_swigarg0) (_swigobj->GetColumnWidth(_swigarg0))
1427 static PyObject
*_wrap_wxGrid_GetColumnWidth(PyObject
*self
, PyObject
*args
) {
1428 PyObject
* _resultobj
;
1432 PyObject
* _argo0
= 0;
1435 if(!PyArg_ParseTuple(args
,"Oi:wxGrid_GetColumnWidth",&_argo0
,&_arg1
))
1438 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1439 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
1440 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetColumnWidth. Expected _wxGrid_p.");
1445 wxPy_BEGIN_ALLOW_THREADS
;
1446 _result
= (int )wxGrid_GetColumnWidth(_arg0
,_arg1
);
1448 wxPy_END_ALLOW_THREADS
;
1449 } _resultobj
= Py_BuildValue("i",_result
);
1453 #define wxGrid_GetCurrentRect(_swigobj) (_swigobj->GetCurrentRect())
1454 static PyObject
*_wrap_wxGrid_GetCurrentRect(PyObject
*self
, PyObject
*args
) {
1455 PyObject
* _resultobj
;
1458 PyObject
* _argo0
= 0;
1462 if(!PyArg_ParseTuple(args
,"O:wxGrid_GetCurrentRect",&_argo0
))
1465 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1466 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
1467 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCurrentRect. Expected _wxGrid_p.");
1472 wxPy_BEGIN_ALLOW_THREADS
;
1473 _result
= new wxRect (wxGrid_GetCurrentRect(_arg0
));
1475 wxPy_END_ALLOW_THREADS
;
1476 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
1477 _resultobj
= Py_BuildValue("s",_ptemp
);
1481 #define wxGrid_GetCursorColumn(_swigobj) (_swigobj->GetCursorColumn())
1482 static PyObject
*_wrap_wxGrid_GetCursorColumn(PyObject
*self
, PyObject
*args
) {
1483 PyObject
* _resultobj
;
1486 PyObject
* _argo0
= 0;
1489 if(!PyArg_ParseTuple(args
,"O:wxGrid_GetCursorColumn",&_argo0
))
1492 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1493 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
1494 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCursorColumn. Expected _wxGrid_p.");
1499 wxPy_BEGIN_ALLOW_THREADS
;
1500 _result
= (int )wxGrid_GetCursorColumn(_arg0
);
1502 wxPy_END_ALLOW_THREADS
;
1503 } _resultobj
= Py_BuildValue("i",_result
);
1507 #define wxGrid_GetCursorRow(_swigobj) (_swigobj->GetCursorRow())
1508 static PyObject
*_wrap_wxGrid_GetCursorRow(PyObject
*self
, PyObject
*args
) {
1509 PyObject
* _resultobj
;
1512 PyObject
* _argo0
= 0;
1515 if(!PyArg_ParseTuple(args
,"O:wxGrid_GetCursorRow",&_argo0
))
1518 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1519 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
1520 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCursorRow. Expected _wxGrid_p.");
1525 wxPy_BEGIN_ALLOW_THREADS
;
1526 _result
= (int )wxGrid_GetCursorRow(_arg0
);
1528 wxPy_END_ALLOW_THREADS
;
1529 } _resultobj
= Py_BuildValue("i",_result
);
1533 #define wxGrid_GetEditable(_swigobj) (_swigobj->GetEditable())
1534 static PyObject
*_wrap_wxGrid_GetEditable(PyObject
*self
, PyObject
*args
) {
1535 PyObject
* _resultobj
;
1538 PyObject
* _argo0
= 0;
1541 if(!PyArg_ParseTuple(args
,"O:wxGrid_GetEditable",&_argo0
))
1544 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1545 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
1546 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetEditable. Expected _wxGrid_p.");
1551 wxPy_BEGIN_ALLOW_THREADS
;
1552 _result
= (bool )wxGrid_GetEditable(_arg0
);
1554 wxPy_END_ALLOW_THREADS
;
1555 } _resultobj
= Py_BuildValue("i",_result
);
1559 #define wxGrid_GetHorizScrollBar(_swigobj) (_swigobj->GetHorizScrollBar())
1560 static PyObject
*_wrap_wxGrid_GetHorizScrollBar(PyObject
*self
, PyObject
*args
) {
1561 PyObject
* _resultobj
;
1562 wxScrollBar
* _result
;
1564 PyObject
* _argo0
= 0;
1568 if(!PyArg_ParseTuple(args
,"O:wxGrid_GetHorizScrollBar",&_argo0
))
1571 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1572 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
1573 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetHorizScrollBar. Expected _wxGrid_p.");
1578 wxPy_BEGIN_ALLOW_THREADS
;
1579 _result
= (wxScrollBar
*)wxGrid_GetHorizScrollBar(_arg0
);
1581 wxPy_END_ALLOW_THREADS
;
1583 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScrollBar_p");
1584 _resultobj
= Py_BuildValue("s",_ptemp
);
1587 _resultobj
= Py_None
;
1592 #define wxGrid_GetLabelAlignment(_swigobj,_swigarg0) (_swigobj->GetLabelAlignment(_swigarg0))
1593 static PyObject
*_wrap_wxGrid_GetLabelAlignment(PyObject
*self
, PyObject
*args
) {
1594 PyObject
* _resultobj
;
1598 PyObject
* _argo0
= 0;
1601 if(!PyArg_ParseTuple(args
,"Oi:wxGrid_GetLabelAlignment",&_argo0
,&_arg1
))
1604 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1605 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
1606 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetLabelAlignment. Expected _wxGrid_p.");
1611 wxPy_BEGIN_ALLOW_THREADS
;
1612 _result
= (int )wxGrid_GetLabelAlignment(_arg0
,_arg1
);
1614 wxPy_END_ALLOW_THREADS
;
1615 } _resultobj
= Py_BuildValue("i",_result
);
1619 #define wxGrid_GetLabelBackgroundColour(_swigobj) (_swigobj->GetLabelBackgroundColour())
1620 static PyObject
*_wrap_wxGrid_GetLabelBackgroundColour(PyObject
*self
, PyObject
*args
) {
1621 PyObject
* _resultobj
;
1624 PyObject
* _argo0
= 0;
1628 if(!PyArg_ParseTuple(args
,"O:wxGrid_GetLabelBackgroundColour",&_argo0
))
1631 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1632 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
1633 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetLabelBackgroundColour. Expected _wxGrid_p.");
1638 wxPy_BEGIN_ALLOW_THREADS
;
1639 wxColour
& _result_ref
= wxGrid_GetLabelBackgroundColour(_arg0
);
1640 _result
= (wxColour
*) &_result_ref
;
1642 wxPy_END_ALLOW_THREADS
;
1644 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
1645 _resultobj
= Py_BuildValue("s",_ptemp
);
1648 _resultobj
= Py_None
;
1653 #define wxGrid_GetLabelSize(_swigobj,_swigarg0) (_swigobj->GetLabelSize(_swigarg0))
1654 static PyObject
*_wrap_wxGrid_GetLabelSize(PyObject
*self
, PyObject
*args
) {
1655 PyObject
* _resultobj
;
1659 PyObject
* _argo0
= 0;
1662 if(!PyArg_ParseTuple(args
,"Oi:wxGrid_GetLabelSize",&_argo0
,&_arg1
))
1665 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1666 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
1667 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetLabelSize. Expected _wxGrid_p.");
1672 wxPy_BEGIN_ALLOW_THREADS
;
1673 _result
= (int )wxGrid_GetLabelSize(_arg0
,_arg1
);
1675 wxPy_END_ALLOW_THREADS
;
1676 } _resultobj
= Py_BuildValue("i",_result
);
1680 #define wxGrid_GetLabelTextColour(_swigobj) (_swigobj->GetLabelTextColour())
1681 static PyObject
*_wrap_wxGrid_GetLabelTextColour(PyObject
*self
, PyObject
*args
) {
1682 PyObject
* _resultobj
;
1685 PyObject
* _argo0
= 0;
1689 if(!PyArg_ParseTuple(args
,"O:wxGrid_GetLabelTextColour",&_argo0
))
1692 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1693 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
1694 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetLabelTextColour. Expected _wxGrid_p.");
1699 wxPy_BEGIN_ALLOW_THREADS
;
1700 wxColour
& _result_ref
= wxGrid_GetLabelTextColour(_arg0
);
1701 _result
= (wxColour
*) &_result_ref
;
1703 wxPy_END_ALLOW_THREADS
;
1705 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
1706 _resultobj
= Py_BuildValue("s",_ptemp
);
1709 _resultobj
= Py_None
;
1714 #define wxGrid_GetLabelTextFont(_swigobj) (_swigobj->GetLabelTextFont())
1715 static PyObject
*_wrap_wxGrid_GetLabelTextFont(PyObject
*self
, PyObject
*args
) {
1716 PyObject
* _resultobj
;
1719 PyObject
* _argo0
= 0;
1723 if(!PyArg_ParseTuple(args
,"O:wxGrid_GetLabelTextFont",&_argo0
))
1726 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1727 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
1728 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetLabelTextFont. Expected _wxGrid_p.");
1733 wxPy_BEGIN_ALLOW_THREADS
;
1734 wxFont
& _result_ref
= wxGrid_GetLabelTextFont(_arg0
);
1735 _result
= (wxFont
*) &_result_ref
;
1737 wxPy_END_ALLOW_THREADS
;
1739 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
1740 _resultobj
= Py_BuildValue("s",_ptemp
);
1743 _resultobj
= Py_None
;
1748 #define wxGrid_GetLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetLabelValue(_swigarg0,_swigarg1))
1749 static PyObject
*_wrap_wxGrid_GetLabelValue(PyObject
*self
, PyObject
*args
) {
1750 PyObject
* _resultobj
;
1755 PyObject
* _argo0
= 0;
1758 if(!PyArg_ParseTuple(args
,"Oii:wxGrid_GetLabelValue",&_argo0
,&_arg1
,&_arg2
))
1761 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1762 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
1763 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetLabelValue. Expected _wxGrid_p.");
1768 wxPy_BEGIN_ALLOW_THREADS
;
1769 wxString
& _result_ref
= wxGrid_GetLabelValue(_arg0
,_arg1
,_arg2
);
1770 _result
= (wxString
*) &_result_ref
;
1772 wxPy_END_ALLOW_THREADS
;
1774 _resultobj
= PyString_FromString(WXSTRINGCAST (*_result
));
1779 #define wxGrid_GetRowHeight(_swigobj,_swigarg0) (_swigobj->GetRowHeight(_swigarg0))
1780 static PyObject
*_wrap_wxGrid_GetRowHeight(PyObject
*self
, PyObject
*args
) {
1781 PyObject
* _resultobj
;
1785 PyObject
* _argo0
= 0;
1788 if(!PyArg_ParseTuple(args
,"Oi:wxGrid_GetRowHeight",&_argo0
,&_arg1
))
1791 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1792 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
1793 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetRowHeight. Expected _wxGrid_p.");
1798 wxPy_BEGIN_ALLOW_THREADS
;
1799 _result
= (int )wxGrid_GetRowHeight(_arg0
,_arg1
);
1801 wxPy_END_ALLOW_THREADS
;
1802 } _resultobj
= Py_BuildValue("i",_result
);
1806 #define wxGrid_GetRows(_swigobj) (_swigobj->GetRows())
1807 static PyObject
*_wrap_wxGrid_GetRows(PyObject
*self
, PyObject
*args
) {
1808 PyObject
* _resultobj
;
1811 PyObject
* _argo0
= 0;
1814 if(!PyArg_ParseTuple(args
,"O:wxGrid_GetRows",&_argo0
))
1817 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1818 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
1819 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetRows. Expected _wxGrid_p.");
1824 wxPy_BEGIN_ALLOW_THREADS
;
1825 _result
= (int )wxGrid_GetRows(_arg0
);
1827 wxPy_END_ALLOW_THREADS
;
1828 } _resultobj
= Py_BuildValue("i",_result
);
1832 #define wxGrid_GetScrollPosX(_swigobj) (_swigobj->GetScrollPosX())
1833 static PyObject
*_wrap_wxGrid_GetScrollPosX(PyObject
*self
, PyObject
*args
) {
1834 PyObject
* _resultobj
;
1837 PyObject
* _argo0
= 0;
1840 if(!PyArg_ParseTuple(args
,"O:wxGrid_GetScrollPosX",&_argo0
))
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_GetScrollPosX. Expected _wxGrid_p.");
1850 wxPy_BEGIN_ALLOW_THREADS
;
1851 _result
= (int )wxGrid_GetScrollPosX(_arg0
);
1853 wxPy_END_ALLOW_THREADS
;
1854 } _resultobj
= Py_BuildValue("i",_result
);
1858 #define wxGrid_GetScrollPosY(_swigobj) (_swigobj->GetScrollPosY())
1859 static PyObject
*_wrap_wxGrid_GetScrollPosY(PyObject
*self
, PyObject
*args
) {
1860 PyObject
* _resultobj
;
1863 PyObject
* _argo0
= 0;
1866 if(!PyArg_ParseTuple(args
,"O:wxGrid_GetScrollPosY",&_argo0
))
1869 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1870 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
1871 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetScrollPosY. Expected _wxGrid_p.");
1876 wxPy_BEGIN_ALLOW_THREADS
;
1877 _result
= (int )wxGrid_GetScrollPosY(_arg0
);
1879 wxPy_END_ALLOW_THREADS
;
1880 } _resultobj
= Py_BuildValue("i",_result
);
1884 #define wxGrid_GetTextItem(_swigobj) (_swigobj->GetTextItem())
1885 static PyObject
*_wrap_wxGrid_GetTextItem(PyObject
*self
, PyObject
*args
) {
1886 PyObject
* _resultobj
;
1887 wxTextCtrl
* _result
;
1889 PyObject
* _argo0
= 0;
1893 if(!PyArg_ParseTuple(args
,"O:wxGrid_GetTextItem",&_argo0
))
1896 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1897 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
1898 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetTextItem. Expected _wxGrid_p.");
1903 wxPy_BEGIN_ALLOW_THREADS
;
1904 _result
= (wxTextCtrl
*)wxGrid_GetTextItem(_arg0
);
1906 wxPy_END_ALLOW_THREADS
;
1908 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTextCtrl_p");
1909 _resultobj
= Py_BuildValue("s",_ptemp
);
1912 _resultobj
= Py_None
;
1917 #define wxGrid_GetVertScrollBar(_swigobj) (_swigobj->GetVertScrollBar())
1918 static PyObject
*_wrap_wxGrid_GetVertScrollBar(PyObject
*self
, PyObject
*args
) {
1919 PyObject
* _resultobj
;
1920 wxScrollBar
* _result
;
1922 PyObject
* _argo0
= 0;
1926 if(!PyArg_ParseTuple(args
,"O:wxGrid_GetVertScrollBar",&_argo0
))
1929 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1930 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
1931 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetVertScrollBar. Expected _wxGrid_p.");
1936 wxPy_BEGIN_ALLOW_THREADS
;
1937 _result
= (wxScrollBar
*)wxGrid_GetVertScrollBar(_arg0
);
1939 wxPy_END_ALLOW_THREADS
;
1941 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScrollBar_p");
1942 _resultobj
= Py_BuildValue("s",_ptemp
);
1945 _resultobj
= Py_None
;
1950 #define wxGrid_InsertCols(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertCols(_swigarg0,_swigarg1,_swigarg2))
1951 static PyObject
*_wrap_wxGrid_InsertCols(PyObject
*self
, PyObject
*args
) {
1952 PyObject
* _resultobj
;
1955 int _arg1
= (int ) 0;
1956 int _arg2
= (int ) 1;
1957 bool _arg3
= (bool ) TRUE
;
1958 PyObject
* _argo0
= 0;
1959 int tempbool3
= (int) TRUE
;
1962 if(!PyArg_ParseTuple(args
,"O|iii:wxGrid_InsertCols",&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
1965 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1966 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
1967 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_InsertCols. Expected _wxGrid_p.");
1971 _arg3
= (bool ) tempbool3
;
1973 wxPy_BEGIN_ALLOW_THREADS
;
1974 _result
= (bool )wxGrid_InsertCols(_arg0
,_arg1
,_arg2
,_arg3
);
1976 wxPy_END_ALLOW_THREADS
;
1977 } _resultobj
= Py_BuildValue("i",_result
);
1981 #define wxGrid_InsertRows(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertRows(_swigarg0,_swigarg1,_swigarg2))
1982 static PyObject
*_wrap_wxGrid_InsertRows(PyObject
*self
, PyObject
*args
) {
1983 PyObject
* _resultobj
;
1986 int _arg1
= (int ) 0;
1987 int _arg2
= (int ) 1;
1988 bool _arg3
= (bool ) TRUE
;
1989 PyObject
* _argo0
= 0;
1990 int tempbool3
= (int) TRUE
;
1993 if(!PyArg_ParseTuple(args
,"O|iii:wxGrid_InsertRows",&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
1996 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1997 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
1998 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_InsertRows. Expected _wxGrid_p.");
2002 _arg3
= (bool ) tempbool3
;
2004 wxPy_BEGIN_ALLOW_THREADS
;
2005 _result
= (bool )wxGrid_InsertRows(_arg0
,_arg1
,_arg2
,_arg3
);
2007 wxPy_END_ALLOW_THREADS
;
2008 } _resultobj
= Py_BuildValue("i",_result
);
2012 #define wxGrid_OnActivate(_swigobj,_swigarg0) (_swigobj->OnActivate(_swigarg0))
2013 static PyObject
*_wrap_wxGrid_OnActivate(PyObject
*self
, PyObject
*args
) {
2014 PyObject
* _resultobj
;
2017 PyObject
* _argo0
= 0;
2021 if(!PyArg_ParseTuple(args
,"Oi:wxGrid_OnActivate",&_argo0
,&tempbool1
))
2024 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2025 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
2026 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_OnActivate. Expected _wxGrid_p.");
2030 _arg1
= (bool ) tempbool1
;
2032 wxPy_BEGIN_ALLOW_THREADS
;
2033 wxGrid_OnActivate(_arg0
,_arg1
);
2035 wxPy_END_ALLOW_THREADS
;
2036 } Py_INCREF(Py_None
);
2037 _resultobj
= Py_None
;
2041 #define wxGrid_SetCellAlignment(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellAlignment(_swigarg0,_swigarg1,_swigarg2))
2042 static PyObject
*_wrap_wxGrid_SetCellAlignment(PyObject
*self
, PyObject
*args
) {
2043 PyObject
* _resultobj
;
2048 PyObject
* _argo0
= 0;
2051 if(!PyArg_ParseTuple(args
,"Oiii:wxGrid_SetCellAlignment",&_argo0
,&_arg1
,&_arg2
,&_arg3
))
2054 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2055 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
2056 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellAlignment. Expected _wxGrid_p.");
2061 wxPy_BEGIN_ALLOW_THREADS
;
2062 wxGrid_SetCellAlignment(_arg0
,_arg1
,_arg2
,_arg3
);
2064 wxPy_END_ALLOW_THREADS
;
2065 } Py_INCREF(Py_None
);
2066 _resultobj
= Py_None
;
2070 #define wxGrid_SetDefCellAlignment(_swigobj,_swigarg0) (_swigobj->SetCellAlignment(_swigarg0))
2071 static PyObject
*_wrap_wxGrid_SetDefCellAlignment(PyObject
*self
, PyObject
*args
) {
2072 PyObject
* _resultobj
;
2075 PyObject
* _argo0
= 0;
2078 if(!PyArg_ParseTuple(args
,"Oi:wxGrid_SetDefCellAlignment",&_argo0
,&_arg1
))
2081 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2082 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
2083 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetDefCellAlignment. Expected _wxGrid_p.");
2088 wxPy_BEGIN_ALLOW_THREADS
;
2089 wxGrid_SetDefCellAlignment(_arg0
,_arg1
);
2091 wxPy_END_ALLOW_THREADS
;
2092 } Py_INCREF(Py_None
);
2093 _resultobj
= Py_None
;
2097 #define wxGrid_SetCellBackgroundColour(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellBackgroundColour(_swigarg0,_swigarg1,_swigarg2))
2098 static PyObject
*_wrap_wxGrid_SetCellBackgroundColour(PyObject
*self
, PyObject
*args
) {
2099 PyObject
* _resultobj
;
2104 PyObject
* _argo0
= 0;
2105 PyObject
* _argo1
= 0;
2108 if(!PyArg_ParseTuple(args
,"OOii:wxGrid_SetCellBackgroundColour",&_argo0
,&_argo1
,&_arg2
,&_arg3
))
2111 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2112 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
2113 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellBackgroundColour. Expected _wxGrid_p.");
2118 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2119 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxColour_p")) {
2120 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_SetCellBackgroundColour. Expected _wxColour_p.");
2125 wxPy_BEGIN_ALLOW_THREADS
;
2126 wxGrid_SetCellBackgroundColour(_arg0
,*_arg1
,_arg2
,_arg3
);
2128 wxPy_END_ALLOW_THREADS
;
2129 } Py_INCREF(Py_None
);
2130 _resultobj
= Py_None
;
2134 #define wxGrid_SetDefCellBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetCellBackgroundColour(_swigarg0))
2135 static PyObject
*_wrap_wxGrid_SetDefCellBackgroundColour(PyObject
*self
, PyObject
*args
) {
2136 PyObject
* _resultobj
;
2139 PyObject
* _argo0
= 0;
2140 PyObject
* _argo1
= 0;
2143 if(!PyArg_ParseTuple(args
,"OO:wxGrid_SetDefCellBackgroundColour",&_argo0
,&_argo1
))
2146 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2147 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
2148 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetDefCellBackgroundColour. Expected _wxGrid_p.");
2153 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2154 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxColour_p")) {
2155 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_SetDefCellBackgroundColour. Expected _wxColour_p.");
2160 wxPy_BEGIN_ALLOW_THREADS
;
2161 wxGrid_SetDefCellBackgroundColour(_arg0
,*_arg1
);
2163 wxPy_END_ALLOW_THREADS
;
2164 } Py_INCREF(Py_None
);
2165 _resultobj
= Py_None
;
2169 #define wxGrid_SetCellTextColour(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellTextColour(_swigarg0,_swigarg1,_swigarg2))
2170 static PyObject
*_wrap_wxGrid_SetCellTextColour(PyObject
*self
, PyObject
*args
) {
2171 PyObject
* _resultobj
;
2176 PyObject
* _argo0
= 0;
2177 PyObject
* _argo1
= 0;
2180 if(!PyArg_ParseTuple(args
,"OOii:wxGrid_SetCellTextColour",&_argo0
,&_argo1
,&_arg2
,&_arg3
))
2183 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2184 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
2185 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellTextColour. Expected _wxGrid_p.");
2190 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2191 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxColour_p")) {
2192 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_SetCellTextColour. Expected _wxColour_p.");
2197 wxPy_BEGIN_ALLOW_THREADS
;
2198 wxGrid_SetCellTextColour(_arg0
,*_arg1
,_arg2
,_arg3
);
2200 wxPy_END_ALLOW_THREADS
;
2201 } Py_INCREF(Py_None
);
2202 _resultobj
= Py_None
;
2206 #define wxGrid_SetDefCellTextColour(_swigobj,_swigarg0) (_swigobj->SetCellTextColour(_swigarg0))
2207 static PyObject
*_wrap_wxGrid_SetDefCellTextColour(PyObject
*self
, PyObject
*args
) {
2208 PyObject
* _resultobj
;
2211 PyObject
* _argo0
= 0;
2212 PyObject
* _argo1
= 0;
2215 if(!PyArg_ParseTuple(args
,"OO:wxGrid_SetDefCellTextColour",&_argo0
,&_argo1
))
2218 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2219 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
2220 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetDefCellTextColour. Expected _wxGrid_p.");
2225 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2226 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxColour_p")) {
2227 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_SetDefCellTextColour. Expected _wxColour_p.");
2232 wxPy_BEGIN_ALLOW_THREADS
;
2233 wxGrid_SetDefCellTextColour(_arg0
,*_arg1
);
2235 wxPy_END_ALLOW_THREADS
;
2236 } Py_INCREF(Py_None
);
2237 _resultobj
= Py_None
;
2241 #define wxGrid_SetCellTextFont(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellTextFont(_swigarg0,_swigarg1,_swigarg2))
2242 static PyObject
*_wrap_wxGrid_SetCellTextFont(PyObject
*self
, PyObject
*args
) {
2243 PyObject
* _resultobj
;
2248 PyObject
* _argo0
= 0;
2249 PyObject
* _argo1
= 0;
2252 if(!PyArg_ParseTuple(args
,"OOii:wxGrid_SetCellTextFont",&_argo0
,&_argo1
,&_arg2
,&_arg3
))
2255 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2256 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
2257 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellTextFont. Expected _wxGrid_p.");
2262 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2263 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
2264 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_SetCellTextFont. Expected _wxFont_p.");
2269 wxPy_BEGIN_ALLOW_THREADS
;
2270 wxGrid_SetCellTextFont(_arg0
,*_arg1
,_arg2
,_arg3
);
2272 wxPy_END_ALLOW_THREADS
;
2273 } Py_INCREF(Py_None
);
2274 _resultobj
= Py_None
;
2278 #define wxGrid_SetDefCellTextFont(_swigobj,_swigarg0) (_swigobj->SetCellTextFont(_swigarg0))
2279 static PyObject
*_wrap_wxGrid_SetDefCellTextFont(PyObject
*self
, PyObject
*args
) {
2280 PyObject
* _resultobj
;
2283 PyObject
* _argo0
= 0;
2284 PyObject
* _argo1
= 0;
2287 if(!PyArg_ParseTuple(args
,"OO:wxGrid_SetDefCellTextFont",&_argo0
,&_argo1
))
2290 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2291 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
2292 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetDefCellTextFont. Expected _wxGrid_p.");
2297 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2298 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
2299 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_SetDefCellTextFont. Expected _wxFont_p.");
2304 wxPy_BEGIN_ALLOW_THREADS
;
2305 wxGrid_SetDefCellTextFont(_arg0
,*_arg1
);
2307 wxPy_END_ALLOW_THREADS
;
2308 } Py_INCREF(Py_None
);
2309 _resultobj
= Py_None
;
2313 #define wxGrid_SetCellValue(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellValue(_swigarg0,_swigarg1,_swigarg2))
2314 static PyObject
*_wrap_wxGrid_SetCellValue(PyObject
*self
, PyObject
*args
) {
2315 PyObject
* _resultobj
;
2320 PyObject
* _argo0
= 0;
2321 PyObject
* _obj1
= 0;
2324 if(!PyArg_ParseTuple(args
,"OOii:wxGrid_SetCellValue",&_argo0
,&_obj1
,&_arg2
,&_arg3
))
2327 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2328 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
2329 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellValue. Expected _wxGrid_p.");
2334 if (!PyString_Check(_obj1
)) {
2335 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2338 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
2341 wxPy_BEGIN_ALLOW_THREADS
;
2342 wxGrid_SetCellValue(_arg0
,*_arg1
,_arg2
,_arg3
);
2344 wxPy_END_ALLOW_THREADS
;
2345 } Py_INCREF(Py_None
);
2346 _resultobj
= Py_None
;
2354 #define wxGrid_SetColumnWidth(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColumnWidth(_swigarg0,_swigarg1))
2355 static PyObject
*_wrap_wxGrid_SetColumnWidth(PyObject
*self
, PyObject
*args
) {
2356 PyObject
* _resultobj
;
2360 PyObject
* _argo0
= 0;
2363 if(!PyArg_ParseTuple(args
,"Oii:wxGrid_SetColumnWidth",&_argo0
,&_arg1
,&_arg2
))
2366 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2367 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
2368 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetColumnWidth. Expected _wxGrid_p.");
2373 wxPy_BEGIN_ALLOW_THREADS
;
2374 wxGrid_SetColumnWidth(_arg0
,_arg1
,_arg2
);
2376 wxPy_END_ALLOW_THREADS
;
2377 } Py_INCREF(Py_None
);
2378 _resultobj
= Py_None
;
2382 #define wxGrid_SetDividerPen(_swigobj,_swigarg0) (_swigobj->SetDividerPen(_swigarg0))
2383 static PyObject
*_wrap_wxGrid_SetDividerPen(PyObject
*self
, PyObject
*args
) {
2384 PyObject
* _resultobj
;
2387 PyObject
* _argo0
= 0;
2388 PyObject
* _argo1
= 0;
2391 if(!PyArg_ParseTuple(args
,"OO:wxGrid_SetDividerPen",&_argo0
,&_argo1
))
2394 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2395 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
2396 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetDividerPen. Expected _wxGrid_p.");
2401 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2402 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPen_p")) {
2403 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_SetDividerPen. Expected _wxPen_p.");
2408 wxPy_BEGIN_ALLOW_THREADS
;
2409 wxGrid_SetDividerPen(_arg0
,*_arg1
);
2411 wxPy_END_ALLOW_THREADS
;
2412 } Py_INCREF(Py_None
);
2413 _resultobj
= Py_None
;
2417 #define wxGrid_SetEditable(_swigobj,_swigarg0) (_swigobj->SetEditable(_swigarg0))
2418 static PyObject
*_wrap_wxGrid_SetEditable(PyObject
*self
, PyObject
*args
) {
2419 PyObject
* _resultobj
;
2422 PyObject
* _argo0
= 0;
2426 if(!PyArg_ParseTuple(args
,"Oi:wxGrid_SetEditable",&_argo0
,&tempbool1
))
2429 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2430 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
2431 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetEditable. Expected _wxGrid_p.");
2435 _arg1
= (bool ) tempbool1
;
2437 wxPy_BEGIN_ALLOW_THREADS
;
2438 wxGrid_SetEditable(_arg0
,_arg1
);
2440 wxPy_END_ALLOW_THREADS
;
2441 } Py_INCREF(Py_None
);
2442 _resultobj
= Py_None
;
2446 #define wxGrid_SetGridCursor(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetGridCursor(_swigarg0,_swigarg1))
2447 static PyObject
*_wrap_wxGrid_SetGridCursor(PyObject
*self
, PyObject
*args
) {
2448 PyObject
* _resultobj
;
2452 PyObject
* _argo0
= 0;
2455 if(!PyArg_ParseTuple(args
,"Oii:wxGrid_SetGridCursor",&_argo0
,&_arg1
,&_arg2
))
2458 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2459 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
2460 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetGridCursor. Expected _wxGrid_p.");
2465 wxPy_BEGIN_ALLOW_THREADS
;
2466 wxGrid_SetGridCursor(_arg0
,_arg1
,_arg2
);
2468 wxPy_END_ALLOW_THREADS
;
2469 } Py_INCREF(Py_None
);
2470 _resultobj
= Py_None
;
2474 #define wxGrid_SetLabelAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabelAlignment(_swigarg0,_swigarg1))
2475 static PyObject
*_wrap_wxGrid_SetLabelAlignment(PyObject
*self
, PyObject
*args
) {
2476 PyObject
* _resultobj
;
2480 PyObject
* _argo0
= 0;
2483 if(!PyArg_ParseTuple(args
,"Oii:wxGrid_SetLabelAlignment",&_argo0
,&_arg1
,&_arg2
))
2486 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2487 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
2488 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetLabelAlignment. Expected _wxGrid_p.");
2493 wxPy_BEGIN_ALLOW_THREADS
;
2494 wxGrid_SetLabelAlignment(_arg0
,_arg1
,_arg2
);
2496 wxPy_END_ALLOW_THREADS
;
2497 } Py_INCREF(Py_None
);
2498 _resultobj
= Py_None
;
2502 #define wxGrid_SetLabelBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetLabelBackgroundColour(_swigarg0))
2503 static PyObject
*_wrap_wxGrid_SetLabelBackgroundColour(PyObject
*self
, PyObject
*args
) {
2504 PyObject
* _resultobj
;
2507 PyObject
* _argo0
= 0;
2508 PyObject
* _argo1
= 0;
2511 if(!PyArg_ParseTuple(args
,"OO:wxGrid_SetLabelBackgroundColour",&_argo0
,&_argo1
))
2514 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2515 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
2516 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetLabelBackgroundColour. Expected _wxGrid_p.");
2521 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2522 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxColour_p")) {
2523 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_SetLabelBackgroundColour. Expected _wxColour_p.");
2528 wxPy_BEGIN_ALLOW_THREADS
;
2529 wxGrid_SetLabelBackgroundColour(_arg0
,*_arg1
);
2531 wxPy_END_ALLOW_THREADS
;
2532 } Py_INCREF(Py_None
);
2533 _resultobj
= Py_None
;
2537 #define wxGrid_SetLabelSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabelSize(_swigarg0,_swigarg1))
2538 static PyObject
*_wrap_wxGrid_SetLabelSize(PyObject
*self
, PyObject
*args
) {
2539 PyObject
* _resultobj
;
2543 PyObject
* _argo0
= 0;
2546 if(!PyArg_ParseTuple(args
,"Oii:wxGrid_SetLabelSize",&_argo0
,&_arg1
,&_arg2
))
2549 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2550 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
2551 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetLabelSize. Expected _wxGrid_p.");
2556 wxPy_BEGIN_ALLOW_THREADS
;
2557 wxGrid_SetLabelSize(_arg0
,_arg1
,_arg2
);
2559 wxPy_END_ALLOW_THREADS
;
2560 } Py_INCREF(Py_None
);
2561 _resultobj
= Py_None
;
2565 #define wxGrid_SetLabelTextColour(_swigobj,_swigarg0) (_swigobj->SetLabelTextColour(_swigarg0))
2566 static PyObject
*_wrap_wxGrid_SetLabelTextColour(PyObject
*self
, PyObject
*args
) {
2567 PyObject
* _resultobj
;
2570 PyObject
* _argo0
= 0;
2571 PyObject
* _argo1
= 0;
2574 if(!PyArg_ParseTuple(args
,"OO:wxGrid_SetLabelTextColour",&_argo0
,&_argo1
))
2577 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2578 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
2579 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetLabelTextColour. Expected _wxGrid_p.");
2584 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2585 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxColour_p")) {
2586 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_SetLabelTextColour. Expected _wxColour_p.");
2591 wxPy_BEGIN_ALLOW_THREADS
;
2592 wxGrid_SetLabelTextColour(_arg0
,*_arg1
);
2594 wxPy_END_ALLOW_THREADS
;
2595 } Py_INCREF(Py_None
);
2596 _resultobj
= Py_None
;
2600 #define wxGrid_SetLabelTextFont(_swigobj,_swigarg0) (_swigobj->SetLabelTextFont(_swigarg0))
2601 static PyObject
*_wrap_wxGrid_SetLabelTextFont(PyObject
*self
, PyObject
*args
) {
2602 PyObject
* _resultobj
;
2605 PyObject
* _argo0
= 0;
2606 PyObject
* _argo1
= 0;
2609 if(!PyArg_ParseTuple(args
,"OO:wxGrid_SetLabelTextFont",&_argo0
,&_argo1
))
2612 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2613 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
2614 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetLabelTextFont. Expected _wxGrid_p.");
2619 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2620 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
2621 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_SetLabelTextFont. Expected _wxFont_p.");
2626 wxPy_BEGIN_ALLOW_THREADS
;
2627 wxGrid_SetLabelTextFont(_arg0
,*_arg1
);
2629 wxPy_END_ALLOW_THREADS
;
2630 } Py_INCREF(Py_None
);
2631 _resultobj
= Py_None
;
2635 #define wxGrid_SetLabelValue(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetLabelValue(_swigarg0,_swigarg1,_swigarg2))
2636 static PyObject
*_wrap_wxGrid_SetLabelValue(PyObject
*self
, PyObject
*args
) {
2637 PyObject
* _resultobj
;
2642 PyObject
* _argo0
= 0;
2643 PyObject
* _obj2
= 0;
2646 if(!PyArg_ParseTuple(args
,"OiOi:wxGrid_SetLabelValue",&_argo0
,&_arg1
,&_obj2
,&_arg3
))
2649 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2650 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
2651 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetLabelValue. Expected _wxGrid_p.");
2656 if (!PyString_Check(_obj2
)) {
2657 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2660 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
2663 wxPy_BEGIN_ALLOW_THREADS
;
2664 wxGrid_SetLabelValue(_arg0
,_arg1
,*_arg2
,_arg3
);
2666 wxPy_END_ALLOW_THREADS
;
2667 } Py_INCREF(Py_None
);
2668 _resultobj
= Py_None
;
2676 #define wxGrid_SetRowHeight(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowHeight(_swigarg0,_swigarg1))
2677 static PyObject
*_wrap_wxGrid_SetRowHeight(PyObject
*self
, PyObject
*args
) {
2678 PyObject
* _resultobj
;
2682 PyObject
* _argo0
= 0;
2685 if(!PyArg_ParseTuple(args
,"Oii:wxGrid_SetRowHeight",&_argo0
,&_arg1
,&_arg2
))
2688 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2689 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
2690 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetRowHeight. Expected _wxGrid_p.");
2695 wxPy_BEGIN_ALLOW_THREADS
;
2696 wxGrid_SetRowHeight(_arg0
,_arg1
,_arg2
);
2698 wxPy_END_ALLOW_THREADS
;
2699 } Py_INCREF(Py_None
);
2700 _resultobj
= Py_None
;
2704 #define wxGrid_UpdateDimensions(_swigobj) (_swigobj->UpdateDimensions())
2705 static PyObject
*_wrap_wxGrid_UpdateDimensions(PyObject
*self
, PyObject
*args
) {
2706 PyObject
* _resultobj
;
2708 PyObject
* _argo0
= 0;
2711 if(!PyArg_ParseTuple(args
,"O:wxGrid_UpdateDimensions",&_argo0
))
2714 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2715 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
2716 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_UpdateDimensions. Expected _wxGrid_p.");
2721 wxPy_BEGIN_ALLOW_THREADS
;
2722 wxGrid_UpdateDimensions(_arg0
);
2724 wxPy_END_ALLOW_THREADS
;
2725 } Py_INCREF(Py_None
);
2726 _resultobj
= Py_None
;
2730 #define wxGrid_GetEditInPlace(_swigobj) (_swigobj->GetEditInPlace())
2731 static PyObject
*_wrap_wxGrid_GetEditInPlace(PyObject
*self
, PyObject
*args
) {
2732 PyObject
* _resultobj
;
2735 PyObject
* _argo0
= 0;
2738 if(!PyArg_ParseTuple(args
,"O:wxGrid_GetEditInPlace",&_argo0
))
2741 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2742 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
2743 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetEditInPlace. Expected _wxGrid_p.");
2748 wxPy_BEGIN_ALLOW_THREADS
;
2749 _result
= (bool )wxGrid_GetEditInPlace(_arg0
);
2751 wxPy_END_ALLOW_THREADS
;
2752 } _resultobj
= Py_BuildValue("i",_result
);
2756 #define wxGrid_SetEditInPlace(_swigobj,_swigarg0) (_swigobj->SetEditInPlace(_swigarg0))
2757 static PyObject
*_wrap_wxGrid_SetEditInPlace(PyObject
*self
, PyObject
*args
) {
2758 PyObject
* _resultobj
;
2760 int _arg1
= (int ) TRUE
;
2761 PyObject
* _argo0
= 0;
2764 if(!PyArg_ParseTuple(args
,"O|i:wxGrid_SetEditInPlace",&_argo0
,&_arg1
))
2767 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2768 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
2769 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetEditInPlace. Expected _wxGrid_p.");
2774 wxPy_BEGIN_ALLOW_THREADS
;
2775 wxGrid_SetEditInPlace(_arg0
,_arg1
);
2777 wxPy_END_ALLOW_THREADS
;
2778 } Py_INCREF(Py_None
);
2779 _resultobj
= Py_None
;
2783 static void *SwigwxGridEventTowxEvent(void *ptr
) {
2786 src
= (wxGridEvent
*) ptr
;
2787 dest
= (wxEvent
*) src
;
2788 return (void *) dest
;
2791 #define wxGridEvent_m_row_set(_swigobj,_swigval) (_swigobj->m_row = _swigval,_swigval)
2792 static PyObject
*_wrap_wxGridEvent_m_row_set(PyObject
*self
, PyObject
*args
) {
2793 PyObject
* _resultobj
;
2795 wxGridEvent
* _arg0
;
2797 PyObject
* _argo0
= 0;
2800 if(!PyArg_ParseTuple(args
,"Oi:wxGridEvent_m_row_set",&_argo0
,&_arg1
))
2803 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2804 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
2805 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_m_row_set. Expected _wxGridEvent_p.");
2810 wxPy_BEGIN_ALLOW_THREADS
;
2811 _result
= (int )wxGridEvent_m_row_set(_arg0
,_arg1
);
2813 wxPy_END_ALLOW_THREADS
;
2814 } _resultobj
= Py_BuildValue("i",_result
);
2818 #define wxGridEvent_m_row_get(_swigobj) ((int ) _swigobj->m_row)
2819 static PyObject
*_wrap_wxGridEvent_m_row_get(PyObject
*self
, PyObject
*args
) {
2820 PyObject
* _resultobj
;
2822 wxGridEvent
* _arg0
;
2823 PyObject
* _argo0
= 0;
2826 if(!PyArg_ParseTuple(args
,"O:wxGridEvent_m_row_get",&_argo0
))
2829 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2830 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
2831 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_m_row_get. Expected _wxGridEvent_p.");
2836 wxPy_BEGIN_ALLOW_THREADS
;
2837 _result
= (int )wxGridEvent_m_row_get(_arg0
);
2839 wxPy_END_ALLOW_THREADS
;
2840 } _resultobj
= Py_BuildValue("i",_result
);
2844 #define wxGridEvent_m_col_set(_swigobj,_swigval) (_swigobj->m_col = _swigval,_swigval)
2845 static PyObject
*_wrap_wxGridEvent_m_col_set(PyObject
*self
, PyObject
*args
) {
2846 PyObject
* _resultobj
;
2848 wxGridEvent
* _arg0
;
2850 PyObject
* _argo0
= 0;
2853 if(!PyArg_ParseTuple(args
,"Oi:wxGridEvent_m_col_set",&_argo0
,&_arg1
))
2856 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2857 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
2858 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_m_col_set. Expected _wxGridEvent_p.");
2863 wxPy_BEGIN_ALLOW_THREADS
;
2864 _result
= (int )wxGridEvent_m_col_set(_arg0
,_arg1
);
2866 wxPy_END_ALLOW_THREADS
;
2867 } _resultobj
= Py_BuildValue("i",_result
);
2871 #define wxGridEvent_m_col_get(_swigobj) ((int ) _swigobj->m_col)
2872 static PyObject
*_wrap_wxGridEvent_m_col_get(PyObject
*self
, PyObject
*args
) {
2873 PyObject
* _resultobj
;
2875 wxGridEvent
* _arg0
;
2876 PyObject
* _argo0
= 0;
2879 if(!PyArg_ParseTuple(args
,"O:wxGridEvent_m_col_get",&_argo0
))
2882 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2883 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
2884 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_m_col_get. Expected _wxGridEvent_p.");
2889 wxPy_BEGIN_ALLOW_THREADS
;
2890 _result
= (int )wxGridEvent_m_col_get(_arg0
);
2892 wxPy_END_ALLOW_THREADS
;
2893 } _resultobj
= Py_BuildValue("i",_result
);
2897 #define wxGridEvent_m_x_set(_swigobj,_swigval) (_swigobj->m_x = _swigval,_swigval)
2898 static PyObject
*_wrap_wxGridEvent_m_x_set(PyObject
*self
, PyObject
*args
) {
2899 PyObject
* _resultobj
;
2901 wxGridEvent
* _arg0
;
2903 PyObject
* _argo0
= 0;
2906 if(!PyArg_ParseTuple(args
,"Oi:wxGridEvent_m_x_set",&_argo0
,&_arg1
))
2909 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2910 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
2911 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_m_x_set. Expected _wxGridEvent_p.");
2916 wxPy_BEGIN_ALLOW_THREADS
;
2917 _result
= (int )wxGridEvent_m_x_set(_arg0
,_arg1
);
2919 wxPy_END_ALLOW_THREADS
;
2920 } _resultobj
= Py_BuildValue("i",_result
);
2924 #define wxGridEvent_m_x_get(_swigobj) ((int ) _swigobj->m_x)
2925 static PyObject
*_wrap_wxGridEvent_m_x_get(PyObject
*self
, PyObject
*args
) {
2926 PyObject
* _resultobj
;
2928 wxGridEvent
* _arg0
;
2929 PyObject
* _argo0
= 0;
2932 if(!PyArg_ParseTuple(args
,"O:wxGridEvent_m_x_get",&_argo0
))
2935 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2936 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
2937 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_m_x_get. Expected _wxGridEvent_p.");
2942 wxPy_BEGIN_ALLOW_THREADS
;
2943 _result
= (int )wxGridEvent_m_x_get(_arg0
);
2945 wxPy_END_ALLOW_THREADS
;
2946 } _resultobj
= Py_BuildValue("i",_result
);
2950 #define wxGridEvent_m_y_set(_swigobj,_swigval) (_swigobj->m_y = _swigval,_swigval)
2951 static PyObject
*_wrap_wxGridEvent_m_y_set(PyObject
*self
, PyObject
*args
) {
2952 PyObject
* _resultobj
;
2954 wxGridEvent
* _arg0
;
2956 PyObject
* _argo0
= 0;
2959 if(!PyArg_ParseTuple(args
,"Oi:wxGridEvent_m_y_set",&_argo0
,&_arg1
))
2962 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2963 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
2964 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_m_y_set. Expected _wxGridEvent_p.");
2969 wxPy_BEGIN_ALLOW_THREADS
;
2970 _result
= (int )wxGridEvent_m_y_set(_arg0
,_arg1
);
2972 wxPy_END_ALLOW_THREADS
;
2973 } _resultobj
= Py_BuildValue("i",_result
);
2977 #define wxGridEvent_m_y_get(_swigobj) ((int ) _swigobj->m_y)
2978 static PyObject
*_wrap_wxGridEvent_m_y_get(PyObject
*self
, PyObject
*args
) {
2979 PyObject
* _resultobj
;
2981 wxGridEvent
* _arg0
;
2982 PyObject
* _argo0
= 0;
2985 if(!PyArg_ParseTuple(args
,"O:wxGridEvent_m_y_get",&_argo0
))
2988 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2989 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
2990 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_m_y_get. Expected _wxGridEvent_p.");
2995 wxPy_BEGIN_ALLOW_THREADS
;
2996 _result
= (int )wxGridEvent_m_y_get(_arg0
);
2998 wxPy_END_ALLOW_THREADS
;
2999 } _resultobj
= Py_BuildValue("i",_result
);
3003 #define wxGridEvent_m_control_set(_swigobj,_swigval) (_swigobj->m_control = _swigval,_swigval)
3004 static PyObject
*_wrap_wxGridEvent_m_control_set(PyObject
*self
, PyObject
*args
) {
3005 PyObject
* _resultobj
;
3007 wxGridEvent
* _arg0
;
3009 PyObject
* _argo0
= 0;
3013 if(!PyArg_ParseTuple(args
,"Oi:wxGridEvent_m_control_set",&_argo0
,&tempbool1
))
3016 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3017 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
3018 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_m_control_set. Expected _wxGridEvent_p.");
3022 _arg1
= (bool ) tempbool1
;
3024 wxPy_BEGIN_ALLOW_THREADS
;
3025 _result
= (bool )wxGridEvent_m_control_set(_arg0
,_arg1
);
3027 wxPy_END_ALLOW_THREADS
;
3028 } _resultobj
= Py_BuildValue("i",_result
);
3032 #define wxGridEvent_m_control_get(_swigobj) ((bool ) _swigobj->m_control)
3033 static PyObject
*_wrap_wxGridEvent_m_control_get(PyObject
*self
, PyObject
*args
) {
3034 PyObject
* _resultobj
;
3036 wxGridEvent
* _arg0
;
3037 PyObject
* _argo0
= 0;
3040 if(!PyArg_ParseTuple(args
,"O:wxGridEvent_m_control_get",&_argo0
))
3043 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3044 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
3045 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_m_control_get. Expected _wxGridEvent_p.");
3050 wxPy_BEGIN_ALLOW_THREADS
;
3051 _result
= (bool )wxGridEvent_m_control_get(_arg0
);
3053 wxPy_END_ALLOW_THREADS
;
3054 } _resultobj
= Py_BuildValue("i",_result
);
3058 #define wxGridEvent_m_shift_set(_swigobj,_swigval) (_swigobj->m_shift = _swigval,_swigval)
3059 static PyObject
*_wrap_wxGridEvent_m_shift_set(PyObject
*self
, PyObject
*args
) {
3060 PyObject
* _resultobj
;
3062 wxGridEvent
* _arg0
;
3064 PyObject
* _argo0
= 0;
3068 if(!PyArg_ParseTuple(args
,"Oi:wxGridEvent_m_shift_set",&_argo0
,&tempbool1
))
3071 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3072 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
3073 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_m_shift_set. Expected _wxGridEvent_p.");
3077 _arg1
= (bool ) tempbool1
;
3079 wxPy_BEGIN_ALLOW_THREADS
;
3080 _result
= (bool )wxGridEvent_m_shift_set(_arg0
,_arg1
);
3082 wxPy_END_ALLOW_THREADS
;
3083 } _resultobj
= Py_BuildValue("i",_result
);
3087 #define wxGridEvent_m_shift_get(_swigobj) ((bool ) _swigobj->m_shift)
3088 static PyObject
*_wrap_wxGridEvent_m_shift_get(PyObject
*self
, PyObject
*args
) {
3089 PyObject
* _resultobj
;
3091 wxGridEvent
* _arg0
;
3092 PyObject
* _argo0
= 0;
3095 if(!PyArg_ParseTuple(args
,"O:wxGridEvent_m_shift_get",&_argo0
))
3098 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3099 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
3100 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_m_shift_get. Expected _wxGridEvent_p.");
3105 wxPy_BEGIN_ALLOW_THREADS
;
3106 _result
= (bool )wxGridEvent_m_shift_get(_arg0
);
3108 wxPy_END_ALLOW_THREADS
;
3109 } _resultobj
= Py_BuildValue("i",_result
);
3113 #define wxGridEvent_m_cell_set(_swigobj,_swigval) (_swigobj->m_cell = _swigval,_swigval)
3114 static PyObject
*_wrap_wxGridEvent_m_cell_set(PyObject
*self
, PyObject
*args
) {
3115 PyObject
* _resultobj
;
3116 wxGridCell
* _result
;
3117 wxGridEvent
* _arg0
;
3119 PyObject
* _argo0
= 0;
3120 PyObject
* _argo1
= 0;
3124 if(!PyArg_ParseTuple(args
,"OO:wxGridEvent_m_cell_set",&_argo0
,&_argo1
))
3127 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3128 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
3129 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_m_cell_set. Expected _wxGridEvent_p.");
3134 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3135 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCell_p")) {
3136 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridEvent_m_cell_set. Expected _wxGridCell_p.");
3141 wxPy_BEGIN_ALLOW_THREADS
;
3142 _result
= (wxGridCell
*)wxGridEvent_m_cell_set(_arg0
,_arg1
);
3144 wxPy_END_ALLOW_THREADS
;
3146 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCell_p");
3147 _resultobj
= Py_BuildValue("s",_ptemp
);
3150 _resultobj
= Py_None
;
3155 #define wxGridEvent_m_cell_get(_swigobj) ((wxGridCell *) _swigobj->m_cell)
3156 static PyObject
*_wrap_wxGridEvent_m_cell_get(PyObject
*self
, PyObject
*args
) {
3157 PyObject
* _resultobj
;
3158 wxGridCell
* _result
;
3159 wxGridEvent
* _arg0
;
3160 PyObject
* _argo0
= 0;
3164 if(!PyArg_ParseTuple(args
,"O:wxGridEvent_m_cell_get",&_argo0
))
3167 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3168 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
3169 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_m_cell_get. Expected _wxGridEvent_p.");
3174 wxPy_BEGIN_ALLOW_THREADS
;
3175 _result
= (wxGridCell
*)wxGridEvent_m_cell_get(_arg0
);
3177 wxPy_END_ALLOW_THREADS
;
3179 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCell_p");
3180 _resultobj
= Py_BuildValue("s",_ptemp
);
3183 _resultobj
= Py_None
;
3188 #define wxGridEvent_GetRow(_swigobj) (_swigobj->GetRow())
3189 static PyObject
*_wrap_wxGridEvent_GetRow(PyObject
*self
, PyObject
*args
) {
3190 PyObject
* _resultobj
;
3192 wxGridEvent
* _arg0
;
3193 PyObject
* _argo0
= 0;
3196 if(!PyArg_ParseTuple(args
,"O:wxGridEvent_GetRow",&_argo0
))
3199 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3200 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
3201 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_GetRow. Expected _wxGridEvent_p.");
3206 wxPy_BEGIN_ALLOW_THREADS
;
3207 _result
= (int )wxGridEvent_GetRow(_arg0
);
3209 wxPy_END_ALLOW_THREADS
;
3210 } _resultobj
= Py_BuildValue("i",_result
);
3214 #define wxGridEvent_GetCol(_swigobj) (_swigobj->GetCol())
3215 static PyObject
*_wrap_wxGridEvent_GetCol(PyObject
*self
, PyObject
*args
) {
3216 PyObject
* _resultobj
;
3218 wxGridEvent
* _arg0
;
3219 PyObject
* _argo0
= 0;
3222 if(!PyArg_ParseTuple(args
,"O:wxGridEvent_GetCol",&_argo0
))
3225 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3226 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
3227 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_GetCol. Expected _wxGridEvent_p.");
3232 wxPy_BEGIN_ALLOW_THREADS
;
3233 _result
= (int )wxGridEvent_GetCol(_arg0
);
3235 wxPy_END_ALLOW_THREADS
;
3236 } _resultobj
= Py_BuildValue("i",_result
);
3240 #define wxGridEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
3241 static PyObject
*_wrap_wxGridEvent_GetPosition(PyObject
*self
, PyObject
*args
) {
3242 PyObject
* _resultobj
;
3244 wxGridEvent
* _arg0
;
3245 PyObject
* _argo0
= 0;
3249 if(!PyArg_ParseTuple(args
,"O:wxGridEvent_GetPosition",&_argo0
))
3252 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3253 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
3254 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_GetPosition. Expected _wxGridEvent_p.");
3259 wxPy_BEGIN_ALLOW_THREADS
;
3260 _result
= new wxPoint (wxGridEvent_GetPosition(_arg0
));
3262 wxPy_END_ALLOW_THREADS
;
3263 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
3264 _resultobj
= Py_BuildValue("s",_ptemp
);
3268 #define wxGridEvent_ControlDown(_swigobj) (_swigobj->ControlDown())
3269 static PyObject
*_wrap_wxGridEvent_ControlDown(PyObject
*self
, PyObject
*args
) {
3270 PyObject
* _resultobj
;
3272 wxGridEvent
* _arg0
;
3273 PyObject
* _argo0
= 0;
3276 if(!PyArg_ParseTuple(args
,"O:wxGridEvent_ControlDown",&_argo0
))
3279 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3280 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
3281 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_ControlDown. Expected _wxGridEvent_p.");
3286 wxPy_BEGIN_ALLOW_THREADS
;
3287 _result
= (bool )wxGridEvent_ControlDown(_arg0
);
3289 wxPy_END_ALLOW_THREADS
;
3290 } _resultobj
= Py_BuildValue("i",_result
);
3294 #define wxGridEvent_ShiftDown(_swigobj) (_swigobj->ShiftDown())
3295 static PyObject
*_wrap_wxGridEvent_ShiftDown(PyObject
*self
, PyObject
*args
) {
3296 PyObject
* _resultobj
;
3298 wxGridEvent
* _arg0
;
3299 PyObject
* _argo0
= 0;
3302 if(!PyArg_ParseTuple(args
,"O:wxGridEvent_ShiftDown",&_argo0
))
3305 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3306 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
3307 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_ShiftDown. Expected _wxGridEvent_p.");
3312 wxPy_BEGIN_ALLOW_THREADS
;
3313 _result
= (bool )wxGridEvent_ShiftDown(_arg0
);
3315 wxPy_END_ALLOW_THREADS
;
3316 } _resultobj
= Py_BuildValue("i",_result
);
3320 #define wxGridEvent_GetCell(_swigobj) (_swigobj->GetCell())
3321 static PyObject
*_wrap_wxGridEvent_GetCell(PyObject
*self
, PyObject
*args
) {
3322 PyObject
* _resultobj
;
3323 wxGridCell
* _result
;
3324 wxGridEvent
* _arg0
;
3325 PyObject
* _argo0
= 0;
3329 if(!PyArg_ParseTuple(args
,"O:wxGridEvent_GetCell",&_argo0
))
3332 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3333 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
3334 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_GetCell. Expected _wxGridEvent_p.");
3339 wxPy_BEGIN_ALLOW_THREADS
;
3340 _result
= (wxGridCell
*)wxGridEvent_GetCell(_arg0
);
3342 wxPy_END_ALLOW_THREADS
;
3344 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCell_p");
3345 _resultobj
= Py_BuildValue("s",_ptemp
);
3348 _resultobj
= Py_None
;
3353 static void *SwigwxNotebookEventTowxNotifyEvent(void *ptr
) {
3354 wxNotebookEvent
*src
;
3355 wxNotifyEvent
*dest
;
3356 src
= (wxNotebookEvent
*) ptr
;
3357 dest
= (wxNotifyEvent
*) src
;
3358 return (void *) dest
;
3361 static void *SwigwxNotebookEventTowxCommandEvent(void *ptr
) {
3362 wxNotebookEvent
*src
;
3363 wxCommandEvent
*dest
;
3364 src
= (wxNotebookEvent
*) ptr
;
3365 dest
= (wxCommandEvent
*) src
;
3366 return (void *) dest
;
3369 static void *SwigwxNotebookEventTowxEvent(void *ptr
) {
3370 wxNotebookEvent
*src
;
3372 src
= (wxNotebookEvent
*) ptr
;
3373 dest
= (wxEvent
*) src
;
3374 return (void *) dest
;
3377 #define wxNotebookEvent_GetSelection(_swigobj) (_swigobj->GetSelection())
3378 static PyObject
*_wrap_wxNotebookEvent_GetSelection(PyObject
*self
, PyObject
*args
) {
3379 PyObject
* _resultobj
;
3381 wxNotebookEvent
* _arg0
;
3382 PyObject
* _argo0
= 0;
3385 if(!PyArg_ParseTuple(args
,"O:wxNotebookEvent_GetSelection",&_argo0
))
3388 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3389 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebookEvent_p")) {
3390 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebookEvent_GetSelection. Expected _wxNotebookEvent_p.");
3395 wxPy_BEGIN_ALLOW_THREADS
;
3396 _result
= (int )wxNotebookEvent_GetSelection(_arg0
);
3398 wxPy_END_ALLOW_THREADS
;
3399 } _resultobj
= Py_BuildValue("i",_result
);
3403 #define wxNotebookEvent_GetOldSelection(_swigobj) (_swigobj->GetOldSelection())
3404 static PyObject
*_wrap_wxNotebookEvent_GetOldSelection(PyObject
*self
, PyObject
*args
) {
3405 PyObject
* _resultobj
;
3407 wxNotebookEvent
* _arg0
;
3408 PyObject
* _argo0
= 0;
3411 if(!PyArg_ParseTuple(args
,"O:wxNotebookEvent_GetOldSelection",&_argo0
))
3414 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3415 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebookEvent_p")) {
3416 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebookEvent_GetOldSelection. Expected _wxNotebookEvent_p.");
3421 wxPy_BEGIN_ALLOW_THREADS
;
3422 _result
= (int )wxNotebookEvent_GetOldSelection(_arg0
);
3424 wxPy_END_ALLOW_THREADS
;
3425 } _resultobj
= Py_BuildValue("i",_result
);
3429 #define wxNotebookEvent_SetOldSelection(_swigobj,_swigarg0) (_swigobj->SetOldSelection(_swigarg0))
3430 static PyObject
*_wrap_wxNotebookEvent_SetOldSelection(PyObject
*self
, PyObject
*args
) {
3431 PyObject
* _resultobj
;
3432 wxNotebookEvent
* _arg0
;
3434 PyObject
* _argo0
= 0;
3437 if(!PyArg_ParseTuple(args
,"Oi:wxNotebookEvent_SetOldSelection",&_argo0
,&_arg1
))
3440 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3441 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebookEvent_p")) {
3442 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebookEvent_SetOldSelection. Expected _wxNotebookEvent_p.");
3447 wxPy_BEGIN_ALLOW_THREADS
;
3448 wxNotebookEvent_SetOldSelection(_arg0
,_arg1
);
3450 wxPy_END_ALLOW_THREADS
;
3451 } Py_INCREF(Py_None
);
3452 _resultobj
= Py_None
;
3456 #define wxNotebookEvent_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
3457 static PyObject
*_wrap_wxNotebookEvent_SetSelection(PyObject
*self
, PyObject
*args
) {
3458 PyObject
* _resultobj
;
3459 wxNotebookEvent
* _arg0
;
3461 PyObject
* _argo0
= 0;
3464 if(!PyArg_ParseTuple(args
,"Oi:wxNotebookEvent_SetSelection",&_argo0
,&_arg1
))
3467 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3468 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebookEvent_p")) {
3469 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebookEvent_SetSelection. Expected _wxNotebookEvent_p.");
3474 wxPy_BEGIN_ALLOW_THREADS
;
3475 wxNotebookEvent_SetSelection(_arg0
,_arg1
);
3477 wxPy_END_ALLOW_THREADS
;
3478 } Py_INCREF(Py_None
);
3479 _resultobj
= Py_None
;
3483 static void *SwigwxNotebookTowxControl(void *ptr
) {
3486 src
= (wxNotebook
*) ptr
;
3487 dest
= (wxControl
*) src
;
3488 return (void *) dest
;
3491 static void *SwigwxNotebookTowxWindow(void *ptr
) {
3494 src
= (wxNotebook
*) ptr
;
3495 dest
= (wxWindow
*) src
;
3496 return (void *) dest
;
3499 static void *SwigwxNotebookTowxEvtHandler(void *ptr
) {
3502 src
= (wxNotebook
*) ptr
;
3503 dest
= (wxEvtHandler
*) src
;
3504 return (void *) dest
;
3507 #define new_wxNotebook(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxNotebook(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
3508 static PyObject
*_wrap_new_wxNotebook(PyObject
*self
, PyObject
*args
) {
3509 PyObject
* _resultobj
;
3510 wxNotebook
* _result
;
3513 wxPoint
* _arg2
= (wxPoint
*) &wxPyDefaultPosition
;
3514 wxSize
* _arg3
= (wxSize
*) &wxPyDefaultSize
;
3515 long _arg4
= (long ) 0;
3516 char * _arg5
= (char *) "notebook";
3517 PyObject
* _argo0
= 0;
3518 PyObject
* _argo2
= 0;
3519 PyObject
* _argo3
= 0;
3523 if(!PyArg_ParseTuple(args
,"Oi|OOls:new_wxNotebook",&_argo0
,&_arg1
,&_argo2
,&_argo3
,&_arg4
,&_arg5
))
3526 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3527 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3528 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxNotebook. Expected _wxWindow_p.");
3533 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3534 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPoint_p")) {
3535 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxNotebook. Expected _wxPoint_p.");
3540 if (_argo3
== Py_None
) { _arg3
= NULL
; }
3541 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxSize_p")) {
3542 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of new_wxNotebook. Expected _wxSize_p.");
3547 wxPy_BEGIN_ALLOW_THREADS
;
3548 _result
= (wxNotebook
*)new_wxNotebook(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
3550 wxPy_END_ALLOW_THREADS
;
3552 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxNotebook_p");
3553 _resultobj
= Py_BuildValue("s",_ptemp
);
3556 _resultobj
= Py_None
;
3561 #define wxNotebook_GetPageCount(_swigobj) (_swigobj->GetPageCount())
3562 static PyObject
*_wrap_wxNotebook_GetPageCount(PyObject
*self
, PyObject
*args
) {
3563 PyObject
* _resultobj
;
3566 PyObject
* _argo0
= 0;
3569 if(!PyArg_ParseTuple(args
,"O:wxNotebook_GetPageCount",&_argo0
))
3572 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3573 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
3574 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_GetPageCount. Expected _wxNotebook_p.");
3579 wxPy_BEGIN_ALLOW_THREADS
;
3580 _result
= (int )wxNotebook_GetPageCount(_arg0
);
3582 wxPy_END_ALLOW_THREADS
;
3583 } _resultobj
= Py_BuildValue("i",_result
);
3587 #define wxNotebook_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
3588 static PyObject
*_wrap_wxNotebook_SetSelection(PyObject
*self
, PyObject
*args
) {
3589 PyObject
* _resultobj
;
3593 PyObject
* _argo0
= 0;
3596 if(!PyArg_ParseTuple(args
,"Oi:wxNotebook_SetSelection",&_argo0
,&_arg1
))
3599 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3600 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
3601 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_SetSelection. Expected _wxNotebook_p.");
3606 wxPy_BEGIN_ALLOW_THREADS
;
3607 _result
= (int )wxNotebook_SetSelection(_arg0
,_arg1
);
3609 wxPy_END_ALLOW_THREADS
;
3610 } _resultobj
= Py_BuildValue("i",_result
);
3614 #define wxNotebook_AdvanceSelection(_swigobj,_swigarg0) (_swigobj->AdvanceSelection(_swigarg0))
3615 static PyObject
*_wrap_wxNotebook_AdvanceSelection(PyObject
*self
, PyObject
*args
) {
3616 PyObject
* _resultobj
;
3618 bool _arg1
= (bool ) TRUE
;
3619 PyObject
* _argo0
= 0;
3620 int tempbool1
= (int) TRUE
;
3623 if(!PyArg_ParseTuple(args
,"O|i:wxNotebook_AdvanceSelection",&_argo0
,&tempbool1
))
3626 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3627 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
3628 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_AdvanceSelection. Expected _wxNotebook_p.");
3632 _arg1
= (bool ) tempbool1
;
3634 wxPy_BEGIN_ALLOW_THREADS
;
3635 wxNotebook_AdvanceSelection(_arg0
,_arg1
);
3637 wxPy_END_ALLOW_THREADS
;
3638 } Py_INCREF(Py_None
);
3639 _resultobj
= Py_None
;
3643 #define wxNotebook_GetSelection(_swigobj) (_swigobj->GetSelection())
3644 static PyObject
*_wrap_wxNotebook_GetSelection(PyObject
*self
, PyObject
*args
) {
3645 PyObject
* _resultobj
;
3648 PyObject
* _argo0
= 0;
3651 if(!PyArg_ParseTuple(args
,"O:wxNotebook_GetSelection",&_argo0
))
3654 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3655 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
3656 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_GetSelection. Expected _wxNotebook_p.");
3661 wxPy_BEGIN_ALLOW_THREADS
;
3662 _result
= (int )wxNotebook_GetSelection(_arg0
);
3664 wxPy_END_ALLOW_THREADS
;
3665 } _resultobj
= Py_BuildValue("i",_result
);
3669 #define wxNotebook_SetPageText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetPageText(_swigarg0,_swigarg1))
3670 static PyObject
*_wrap_wxNotebook_SetPageText(PyObject
*self
, PyObject
*args
) {
3671 PyObject
* _resultobj
;
3676 PyObject
* _argo0
= 0;
3677 PyObject
* _obj2
= 0;
3680 if(!PyArg_ParseTuple(args
,"OiO:wxNotebook_SetPageText",&_argo0
,&_arg1
,&_obj2
))
3683 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3684 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
3685 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_SetPageText. Expected _wxNotebook_p.");
3690 if (!PyString_Check(_obj2
)) {
3691 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3694 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
3697 wxPy_BEGIN_ALLOW_THREADS
;
3698 _result
= (bool )wxNotebook_SetPageText(_arg0
,_arg1
,*_arg2
);
3700 wxPy_END_ALLOW_THREADS
;
3701 } _resultobj
= Py_BuildValue("i",_result
);
3709 #define wxNotebook_GetPageText(_swigobj,_swigarg0) (_swigobj->GetPageText(_swigarg0))
3710 static PyObject
*_wrap_wxNotebook_GetPageText(PyObject
*self
, PyObject
*args
) {
3711 PyObject
* _resultobj
;
3715 PyObject
* _argo0
= 0;
3718 if(!PyArg_ParseTuple(args
,"Oi:wxNotebook_GetPageText",&_argo0
,&_arg1
))
3721 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3722 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
3723 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_GetPageText. Expected _wxNotebook_p.");
3728 wxPy_BEGIN_ALLOW_THREADS
;
3729 _result
= new wxString (wxNotebook_GetPageText(_arg0
,_arg1
));
3731 wxPy_END_ALLOW_THREADS
;
3733 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
3741 #define wxNotebook_SetImageList(_swigobj,_swigarg0) (_swigobj->SetImageList(_swigarg0))
3742 static PyObject
*_wrap_wxNotebook_SetImageList(PyObject
*self
, PyObject
*args
) {
3743 PyObject
* _resultobj
;
3745 wxImageList
* _arg1
;
3746 PyObject
* _argo0
= 0;
3747 PyObject
* _argo1
= 0;
3750 if(!PyArg_ParseTuple(args
,"OO:wxNotebook_SetImageList",&_argo0
,&_argo1
))
3753 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3754 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
3755 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_SetImageList. Expected _wxNotebook_p.");
3760 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3761 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImageList_p")) {
3762 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxNotebook_SetImageList. Expected _wxImageList_p.");
3767 wxPy_BEGIN_ALLOW_THREADS
;
3768 wxNotebook_SetImageList(_arg0
,_arg1
);
3770 wxPy_END_ALLOW_THREADS
;
3771 } Py_INCREF(Py_None
);
3772 _resultobj
= Py_None
;
3776 #define wxNotebook_GetImageList(_swigobj) (_swigobj->GetImageList())
3777 static PyObject
*_wrap_wxNotebook_GetImageList(PyObject
*self
, PyObject
*args
) {
3778 PyObject
* _resultobj
;
3779 wxImageList
* _result
;
3781 PyObject
* _argo0
= 0;
3785 if(!PyArg_ParseTuple(args
,"O:wxNotebook_GetImageList",&_argo0
))
3788 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3789 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
3790 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_GetImageList. Expected _wxNotebook_p.");
3795 wxPy_BEGIN_ALLOW_THREADS
;
3796 _result
= (wxImageList
*)wxNotebook_GetImageList(_arg0
);
3798 wxPy_END_ALLOW_THREADS
;
3800 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxImageList_p");
3801 _resultobj
= Py_BuildValue("s",_ptemp
);
3804 _resultobj
= Py_None
;
3809 #define wxNotebook_GetPageImage(_swigobj,_swigarg0) (_swigobj->GetPageImage(_swigarg0))
3810 static PyObject
*_wrap_wxNotebook_GetPageImage(PyObject
*self
, PyObject
*args
) {
3811 PyObject
* _resultobj
;
3815 PyObject
* _argo0
= 0;
3818 if(!PyArg_ParseTuple(args
,"Oi:wxNotebook_GetPageImage",&_argo0
,&_arg1
))
3821 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3822 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
3823 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_GetPageImage. Expected _wxNotebook_p.");
3828 wxPy_BEGIN_ALLOW_THREADS
;
3829 _result
= (int )wxNotebook_GetPageImage(_arg0
,_arg1
);
3831 wxPy_END_ALLOW_THREADS
;
3832 } _resultobj
= Py_BuildValue("i",_result
);
3836 #define wxNotebook_SetPageImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetPageImage(_swigarg0,_swigarg1))
3837 static PyObject
*_wrap_wxNotebook_SetPageImage(PyObject
*self
, PyObject
*args
) {
3838 PyObject
* _resultobj
;
3843 PyObject
* _argo0
= 0;
3846 if(!PyArg_ParseTuple(args
,"Oii:wxNotebook_SetPageImage",&_argo0
,&_arg1
,&_arg2
))
3849 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3850 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
3851 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_SetPageImage. Expected _wxNotebook_p.");
3856 wxPy_BEGIN_ALLOW_THREADS
;
3857 _result
= (bool )wxNotebook_SetPageImage(_arg0
,_arg1
,_arg2
);
3859 wxPy_END_ALLOW_THREADS
;
3860 } _resultobj
= Py_BuildValue("i",_result
);
3864 #define wxNotebook_GetRowCount(_swigobj) (_swigobj->GetRowCount())
3865 static PyObject
*_wrap_wxNotebook_GetRowCount(PyObject
*self
, PyObject
*args
) {
3866 PyObject
* _resultobj
;
3869 PyObject
* _argo0
= 0;
3872 if(!PyArg_ParseTuple(args
,"O:wxNotebook_GetRowCount",&_argo0
))
3875 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3876 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
3877 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_GetRowCount. Expected _wxNotebook_p.");
3882 wxPy_BEGIN_ALLOW_THREADS
;
3883 _result
= (int )wxNotebook_GetRowCount(_arg0
);
3885 wxPy_END_ALLOW_THREADS
;
3886 } _resultobj
= Py_BuildValue("i",_result
);
3890 #define wxNotebook_DeletePage(_swigobj,_swigarg0) (_swigobj->DeletePage(_swigarg0))
3891 static PyObject
*_wrap_wxNotebook_DeletePage(PyObject
*self
, PyObject
*args
) {
3892 PyObject
* _resultobj
;
3896 PyObject
* _argo0
= 0;
3899 if(!PyArg_ParseTuple(args
,"Oi:wxNotebook_DeletePage",&_argo0
,&_arg1
))
3902 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3903 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
3904 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_DeletePage. Expected _wxNotebook_p.");
3909 wxPy_BEGIN_ALLOW_THREADS
;
3910 _result
= (bool )wxNotebook_DeletePage(_arg0
,_arg1
);
3912 wxPy_END_ALLOW_THREADS
;
3913 } _resultobj
= Py_BuildValue("i",_result
);
3917 #define wxNotebook_RemovePage(_swigobj,_swigarg0) (_swigobj->RemovePage(_swigarg0))
3918 static PyObject
*_wrap_wxNotebook_RemovePage(PyObject
*self
, PyObject
*args
) {
3919 PyObject
* _resultobj
;
3923 PyObject
* _argo0
= 0;
3926 if(!PyArg_ParseTuple(args
,"Oi:wxNotebook_RemovePage",&_argo0
,&_arg1
))
3929 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3930 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
3931 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_RemovePage. Expected _wxNotebook_p.");
3936 wxPy_BEGIN_ALLOW_THREADS
;
3937 _result
= (bool )wxNotebook_RemovePage(_arg0
,_arg1
);
3939 wxPy_END_ALLOW_THREADS
;
3940 } _resultobj
= Py_BuildValue("i",_result
);
3944 #define wxNotebook_DeleteAllPages(_swigobj) (_swigobj->DeleteAllPages())
3945 static PyObject
*_wrap_wxNotebook_DeleteAllPages(PyObject
*self
, PyObject
*args
) {
3946 PyObject
* _resultobj
;
3949 PyObject
* _argo0
= 0;
3952 if(!PyArg_ParseTuple(args
,"O:wxNotebook_DeleteAllPages",&_argo0
))
3955 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3956 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
3957 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_DeleteAllPages. Expected _wxNotebook_p.");
3962 wxPy_BEGIN_ALLOW_THREADS
;
3963 _result
= (bool )wxNotebook_DeleteAllPages(_arg0
);
3965 wxPy_END_ALLOW_THREADS
;
3966 } _resultobj
= Py_BuildValue("i",_result
);
3970 #define wxNotebook_AddPage(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->AddPage(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3971 static PyObject
*_wrap_wxNotebook_AddPage(PyObject
*self
, PyObject
*args
) {
3972 PyObject
* _resultobj
;
3977 int _arg3
= (int ) FALSE
;
3978 int _arg4
= (int ) -1;
3979 PyObject
* _argo0
= 0;
3980 PyObject
* _argo1
= 0;
3981 PyObject
* _obj2
= 0;
3984 if(!PyArg_ParseTuple(args
,"OOO|ii:wxNotebook_AddPage",&_argo0
,&_argo1
,&_obj2
,&_arg3
,&_arg4
))
3987 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3988 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
3989 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_AddPage. Expected _wxNotebook_p.");
3994 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3995 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3996 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxNotebook_AddPage. Expected _wxWindow_p.");
4001 if (!PyString_Check(_obj2
)) {
4002 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4005 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
4008 wxPy_BEGIN_ALLOW_THREADS
;
4009 _result
= (bool )wxNotebook_AddPage(_arg0
,_arg1
,*_arg2
,_arg3
,_arg4
);
4011 wxPy_END_ALLOW_THREADS
;
4012 } _resultobj
= Py_BuildValue("i",_result
);
4020 #define wxNotebook_GetPage(_swigobj,_swigarg0) (_swigobj->GetPage(_swigarg0))
4021 static PyObject
*_wrap_wxNotebook_GetPage(PyObject
*self
, PyObject
*args
) {
4022 PyObject
* _resultobj
;
4026 PyObject
* _argo0
= 0;
4030 if(!PyArg_ParseTuple(args
,"Oi:wxNotebook_GetPage",&_argo0
,&_arg1
))
4033 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4034 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
4035 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_GetPage. Expected _wxNotebook_p.");
4040 wxPy_BEGIN_ALLOW_THREADS
;
4041 _result
= (wxWindow
*)wxNotebook_GetPage(_arg0
,_arg1
);
4043 wxPy_END_ALLOW_THREADS
;
4045 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
4046 _resultobj
= Py_BuildValue("s",_ptemp
);
4049 _resultobj
= Py_None
;
4054 static void wxNotebook_ResizeChildren(wxNotebook
*self
) {
4055 wxSizeEvent
evt(self
->GetClientSize());
4056 self
->GetEventHandler()->ProcessEvent(evt
);
4058 static PyObject
*_wrap_wxNotebook_ResizeChildren(PyObject
*self
, PyObject
*args
) {
4059 PyObject
* _resultobj
;
4061 PyObject
* _argo0
= 0;
4064 if(!PyArg_ParseTuple(args
,"O:wxNotebook_ResizeChildren",&_argo0
))
4067 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4068 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
4069 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_ResizeChildren. Expected _wxNotebook_p.");
4074 wxPy_BEGIN_ALLOW_THREADS
;
4075 wxNotebook_ResizeChildren(_arg0
);
4077 wxPy_END_ALLOW_THREADS
;
4078 } Py_INCREF(Py_None
);
4079 _resultobj
= Py_None
;
4083 static void *SwigwxSplitterEventTowxCommandEvent(void *ptr
) {
4084 wxSplitterEvent
*src
;
4085 wxCommandEvent
*dest
;
4086 src
= (wxSplitterEvent
*) ptr
;
4087 dest
= (wxCommandEvent
*) src
;
4088 return (void *) dest
;
4091 static void *SwigwxSplitterEventTowxEvent(void *ptr
) {
4092 wxSplitterEvent
*src
;
4094 src
= (wxSplitterEvent
*) ptr
;
4095 dest
= (wxEvent
*) src
;
4096 return (void *) dest
;
4099 #define wxSplitterEvent_GetSashPosition(_swigobj) (_swigobj->GetSashPosition())
4100 static PyObject
*_wrap_wxSplitterEvent_GetSashPosition(PyObject
*self
, PyObject
*args
) {
4101 PyObject
* _resultobj
;
4103 wxSplitterEvent
* _arg0
;
4104 PyObject
* _argo0
= 0;
4107 if(!PyArg_ParseTuple(args
,"O:wxSplitterEvent_GetSashPosition",&_argo0
))
4110 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4111 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterEvent_p")) {
4112 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterEvent_GetSashPosition. Expected _wxSplitterEvent_p.");
4117 wxPy_BEGIN_ALLOW_THREADS
;
4118 _result
= (int )wxSplitterEvent_GetSashPosition(_arg0
);
4120 wxPy_END_ALLOW_THREADS
;
4121 } _resultobj
= Py_BuildValue("i",_result
);
4125 #define wxSplitterEvent_GetX(_swigobj) (_swigobj->GetX())
4126 static PyObject
*_wrap_wxSplitterEvent_GetX(PyObject
*self
, PyObject
*args
) {
4127 PyObject
* _resultobj
;
4129 wxSplitterEvent
* _arg0
;
4130 PyObject
* _argo0
= 0;
4133 if(!PyArg_ParseTuple(args
,"O:wxSplitterEvent_GetX",&_argo0
))
4136 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4137 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterEvent_p")) {
4138 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterEvent_GetX. Expected _wxSplitterEvent_p.");
4143 wxPy_BEGIN_ALLOW_THREADS
;
4144 _result
= (int )wxSplitterEvent_GetX(_arg0
);
4146 wxPy_END_ALLOW_THREADS
;
4147 } _resultobj
= Py_BuildValue("i",_result
);
4151 #define wxSplitterEvent_GetY(_swigobj) (_swigobj->GetY())
4152 static PyObject
*_wrap_wxSplitterEvent_GetY(PyObject
*self
, PyObject
*args
) {
4153 PyObject
* _resultobj
;
4155 wxSplitterEvent
* _arg0
;
4156 PyObject
* _argo0
= 0;
4159 if(!PyArg_ParseTuple(args
,"O:wxSplitterEvent_GetY",&_argo0
))
4162 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4163 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterEvent_p")) {
4164 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterEvent_GetY. Expected _wxSplitterEvent_p.");
4169 wxPy_BEGIN_ALLOW_THREADS
;
4170 _result
= (int )wxSplitterEvent_GetY(_arg0
);
4172 wxPy_END_ALLOW_THREADS
;
4173 } _resultobj
= Py_BuildValue("i",_result
);
4177 #define wxSplitterEvent_GetWindowBeingRemoved(_swigobj) (_swigobj->GetWindowBeingRemoved())
4178 static PyObject
*_wrap_wxSplitterEvent_GetWindowBeingRemoved(PyObject
*self
, PyObject
*args
) {
4179 PyObject
* _resultobj
;
4181 wxSplitterEvent
* _arg0
;
4182 PyObject
* _argo0
= 0;
4186 if(!PyArg_ParseTuple(args
,"O:wxSplitterEvent_GetWindowBeingRemoved",&_argo0
))
4189 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4190 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterEvent_p")) {
4191 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterEvent_GetWindowBeingRemoved. Expected _wxSplitterEvent_p.");
4196 wxPy_BEGIN_ALLOW_THREADS
;
4197 _result
= (wxWindow
*)wxSplitterEvent_GetWindowBeingRemoved(_arg0
);
4199 wxPy_END_ALLOW_THREADS
;
4201 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
4202 _resultobj
= Py_BuildValue("s",_ptemp
);
4205 _resultobj
= Py_None
;
4210 #define wxSplitterEvent_SetSashPosition(_swigobj,_swigarg0) (_swigobj->SetSashPosition(_swigarg0))
4211 static PyObject
*_wrap_wxSplitterEvent_SetSashPosition(PyObject
*self
, PyObject
*args
) {
4212 PyObject
* _resultobj
;
4213 wxSplitterEvent
* _arg0
;
4215 PyObject
* _argo0
= 0;
4218 if(!PyArg_ParseTuple(args
,"Oi:wxSplitterEvent_SetSashPosition",&_argo0
,&_arg1
))
4221 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4222 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterEvent_p")) {
4223 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterEvent_SetSashPosition. Expected _wxSplitterEvent_p.");
4228 wxPy_BEGIN_ALLOW_THREADS
;
4229 wxSplitterEvent_SetSashPosition(_arg0
,_arg1
);
4231 wxPy_END_ALLOW_THREADS
;
4232 } Py_INCREF(Py_None
);
4233 _resultobj
= Py_None
;
4237 static void *SwigwxSplitterWindowTowxWindow(void *ptr
) {
4238 wxSplitterWindow
*src
;
4240 src
= (wxSplitterWindow
*) ptr
;
4241 dest
= (wxWindow
*) src
;
4242 return (void *) dest
;
4245 static void *SwigwxSplitterWindowTowxEvtHandler(void *ptr
) {
4246 wxSplitterWindow
*src
;
4248 src
= (wxSplitterWindow
*) ptr
;
4249 dest
= (wxEvtHandler
*) src
;
4250 return (void *) dest
;
4253 #define new_wxSplitterWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxSplitterWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4254 static PyObject
*_wrap_new_wxSplitterWindow(PyObject
*self
, PyObject
*args
) {
4255 PyObject
* _resultobj
;
4256 wxSplitterWindow
* _result
;
4259 wxPoint
* _arg2
= (wxPoint
*) &wxPyDefaultPosition
;
4260 wxSize
* _arg3
= (wxSize
*) &wxPyDefaultSize
;
4261 long _arg4
= (long ) wxSP_3D
|wxCLIP_CHILDREN
;
4262 char * _arg5
= (char *) "splitterWindow";
4263 PyObject
* _argo0
= 0;
4264 PyObject
* _argo2
= 0;
4265 PyObject
* _argo3
= 0;
4269 if(!PyArg_ParseTuple(args
,"Oi|OOls:new_wxSplitterWindow",&_argo0
,&_arg1
,&_argo2
,&_argo3
,&_arg4
,&_arg5
))
4272 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4273 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4274 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxSplitterWindow. Expected _wxWindow_p.");
4279 if (_argo2
== Py_None
) { _arg2
= NULL
; }
4280 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPoint_p")) {
4281 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxSplitterWindow. Expected _wxPoint_p.");
4286 if (_argo3
== Py_None
) { _arg3
= NULL
; }
4287 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxSize_p")) {
4288 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of new_wxSplitterWindow. Expected _wxSize_p.");
4293 wxPy_BEGIN_ALLOW_THREADS
;
4294 _result
= (wxSplitterWindow
*)new_wxSplitterWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
4296 wxPy_END_ALLOW_THREADS
;
4298 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSplitterWindow_p");
4299 _resultobj
= Py_BuildValue("s",_ptemp
);
4302 _resultobj
= Py_None
;
4307 #define wxSplitterWindow_GetBorderSize(_swigobj) (_swigobj->GetBorderSize())
4308 static PyObject
*_wrap_wxSplitterWindow_GetBorderSize(PyObject
*self
, PyObject
*args
) {
4309 PyObject
* _resultobj
;
4311 wxSplitterWindow
* _arg0
;
4312 PyObject
* _argo0
= 0;
4315 if(!PyArg_ParseTuple(args
,"O:wxSplitterWindow_GetBorderSize",&_argo0
))
4318 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4319 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
4320 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetBorderSize. Expected _wxSplitterWindow_p.");
4325 wxPy_BEGIN_ALLOW_THREADS
;
4326 _result
= (int )wxSplitterWindow_GetBorderSize(_arg0
);
4328 wxPy_END_ALLOW_THREADS
;
4329 } _resultobj
= Py_BuildValue("i",_result
);
4333 #define wxSplitterWindow_GetMinimumPaneSize(_swigobj) (_swigobj->GetMinimumPaneSize())
4334 static PyObject
*_wrap_wxSplitterWindow_GetMinimumPaneSize(PyObject
*self
, PyObject
*args
) {
4335 PyObject
* _resultobj
;
4337 wxSplitterWindow
* _arg0
;
4338 PyObject
* _argo0
= 0;
4341 if(!PyArg_ParseTuple(args
,"O:wxSplitterWindow_GetMinimumPaneSize",&_argo0
))
4344 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4345 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
4346 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetMinimumPaneSize. Expected _wxSplitterWindow_p.");
4351 wxPy_BEGIN_ALLOW_THREADS
;
4352 _result
= (int )wxSplitterWindow_GetMinimumPaneSize(_arg0
);
4354 wxPy_END_ALLOW_THREADS
;
4355 } _resultobj
= Py_BuildValue("i",_result
);
4359 #define wxSplitterWindow_GetSashPosition(_swigobj) (_swigobj->GetSashPosition())
4360 static PyObject
*_wrap_wxSplitterWindow_GetSashPosition(PyObject
*self
, PyObject
*args
) {
4361 PyObject
* _resultobj
;
4363 wxSplitterWindow
* _arg0
;
4364 PyObject
* _argo0
= 0;
4367 if(!PyArg_ParseTuple(args
,"O:wxSplitterWindow_GetSashPosition",&_argo0
))
4370 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4371 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
4372 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetSashPosition. Expected _wxSplitterWindow_p.");
4377 wxPy_BEGIN_ALLOW_THREADS
;
4378 _result
= (int )wxSplitterWindow_GetSashPosition(_arg0
);
4380 wxPy_END_ALLOW_THREADS
;
4381 } _resultobj
= Py_BuildValue("i",_result
);
4385 #define wxSplitterWindow_GetSashSize(_swigobj) (_swigobj->GetSashSize())
4386 static PyObject
*_wrap_wxSplitterWindow_GetSashSize(PyObject
*self
, PyObject
*args
) {
4387 PyObject
* _resultobj
;
4389 wxSplitterWindow
* _arg0
;
4390 PyObject
* _argo0
= 0;
4393 if(!PyArg_ParseTuple(args
,"O:wxSplitterWindow_GetSashSize",&_argo0
))
4396 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4397 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
4398 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetSashSize. Expected _wxSplitterWindow_p.");
4403 wxPy_BEGIN_ALLOW_THREADS
;
4404 _result
= (int )wxSplitterWindow_GetSashSize(_arg0
);
4406 wxPy_END_ALLOW_THREADS
;
4407 } _resultobj
= Py_BuildValue("i",_result
);
4411 #define wxSplitterWindow_GetSplitMode(_swigobj) (_swigobj->GetSplitMode())
4412 static PyObject
*_wrap_wxSplitterWindow_GetSplitMode(PyObject
*self
, PyObject
*args
) {
4413 PyObject
* _resultobj
;
4415 wxSplitterWindow
* _arg0
;
4416 PyObject
* _argo0
= 0;
4419 if(!PyArg_ParseTuple(args
,"O:wxSplitterWindow_GetSplitMode",&_argo0
))
4422 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4423 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
4424 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetSplitMode. Expected _wxSplitterWindow_p.");
4429 wxPy_BEGIN_ALLOW_THREADS
;
4430 _result
= (int )wxSplitterWindow_GetSplitMode(_arg0
);
4432 wxPy_END_ALLOW_THREADS
;
4433 } _resultobj
= Py_BuildValue("i",_result
);
4437 #define wxSplitterWindow_GetWindow1(_swigobj) (_swigobj->GetWindow1())
4438 static PyObject
*_wrap_wxSplitterWindow_GetWindow1(PyObject
*self
, PyObject
*args
) {
4439 PyObject
* _resultobj
;
4441 wxSplitterWindow
* _arg0
;
4442 PyObject
* _argo0
= 0;
4446 if(!PyArg_ParseTuple(args
,"O:wxSplitterWindow_GetWindow1",&_argo0
))
4449 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4450 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
4451 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetWindow1. Expected _wxSplitterWindow_p.");
4456 wxPy_BEGIN_ALLOW_THREADS
;
4457 _result
= (wxWindow
*)wxSplitterWindow_GetWindow1(_arg0
);
4459 wxPy_END_ALLOW_THREADS
;
4461 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
4462 _resultobj
= Py_BuildValue("s",_ptemp
);
4465 _resultobj
= Py_None
;
4470 #define wxSplitterWindow_GetWindow2(_swigobj) (_swigobj->GetWindow2())
4471 static PyObject
*_wrap_wxSplitterWindow_GetWindow2(PyObject
*self
, PyObject
*args
) {
4472 PyObject
* _resultobj
;
4474 wxSplitterWindow
* _arg0
;
4475 PyObject
* _argo0
= 0;
4479 if(!PyArg_ParseTuple(args
,"O:wxSplitterWindow_GetWindow2",&_argo0
))
4482 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4483 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
4484 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetWindow2. Expected _wxSplitterWindow_p.");
4489 wxPy_BEGIN_ALLOW_THREADS
;
4490 _result
= (wxWindow
*)wxSplitterWindow_GetWindow2(_arg0
);
4492 wxPy_END_ALLOW_THREADS
;
4494 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
4495 _resultobj
= Py_BuildValue("s",_ptemp
);
4498 _resultobj
= Py_None
;
4503 #define wxSplitterWindow_Initialize(_swigobj,_swigarg0) (_swigobj->Initialize(_swigarg0))
4504 static PyObject
*_wrap_wxSplitterWindow_Initialize(PyObject
*self
, PyObject
*args
) {
4505 PyObject
* _resultobj
;
4506 wxSplitterWindow
* _arg0
;
4508 PyObject
* _argo0
= 0;
4509 PyObject
* _argo1
= 0;
4512 if(!PyArg_ParseTuple(args
,"OO:wxSplitterWindow_Initialize",&_argo0
,&_argo1
))
4515 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4516 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
4517 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_Initialize. Expected _wxSplitterWindow_p.");
4522 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4523 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4524 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSplitterWindow_Initialize. Expected _wxWindow_p.");
4529 wxPy_BEGIN_ALLOW_THREADS
;
4530 wxSplitterWindow_Initialize(_arg0
,_arg1
);
4532 wxPy_END_ALLOW_THREADS
;
4533 } Py_INCREF(Py_None
);
4534 _resultobj
= Py_None
;
4538 #define wxSplitterWindow_IsSplit(_swigobj) (_swigobj->IsSplit())
4539 static PyObject
*_wrap_wxSplitterWindow_IsSplit(PyObject
*self
, PyObject
*args
) {
4540 PyObject
* _resultobj
;
4542 wxSplitterWindow
* _arg0
;
4543 PyObject
* _argo0
= 0;
4546 if(!PyArg_ParseTuple(args
,"O:wxSplitterWindow_IsSplit",&_argo0
))
4549 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4550 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
4551 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_IsSplit. Expected _wxSplitterWindow_p.");
4556 wxPy_BEGIN_ALLOW_THREADS
;
4557 _result
= (bool )wxSplitterWindow_IsSplit(_arg0
);
4559 wxPy_END_ALLOW_THREADS
;
4560 } _resultobj
= Py_BuildValue("i",_result
);
4564 #define wxSplitterWindow_SetBorderSize(_swigobj,_swigarg0) (_swigobj->SetBorderSize(_swigarg0))
4565 static PyObject
*_wrap_wxSplitterWindow_SetBorderSize(PyObject
*self
, PyObject
*args
) {
4566 PyObject
* _resultobj
;
4567 wxSplitterWindow
* _arg0
;
4569 PyObject
* _argo0
= 0;
4572 if(!PyArg_ParseTuple(args
,"Oi:wxSplitterWindow_SetBorderSize",&_argo0
,&_arg1
))
4575 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4576 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
4577 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SetBorderSize. Expected _wxSplitterWindow_p.");
4582 wxPy_BEGIN_ALLOW_THREADS
;
4583 wxSplitterWindow_SetBorderSize(_arg0
,_arg1
);
4585 wxPy_END_ALLOW_THREADS
;
4586 } Py_INCREF(Py_None
);
4587 _resultobj
= Py_None
;
4591 #define wxSplitterWindow_SetSashPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSashPosition(_swigarg0,_swigarg1))
4592 static PyObject
*_wrap_wxSplitterWindow_SetSashPosition(PyObject
*self
, PyObject
*args
) {
4593 PyObject
* _resultobj
;
4594 wxSplitterWindow
* _arg0
;
4596 int _arg2
= (int ) TRUE
;
4597 PyObject
* _argo0
= 0;
4600 if(!PyArg_ParseTuple(args
,"Oi|i:wxSplitterWindow_SetSashPosition",&_argo0
,&_arg1
,&_arg2
))
4603 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4604 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
4605 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SetSashPosition. Expected _wxSplitterWindow_p.");
4610 wxPy_BEGIN_ALLOW_THREADS
;
4611 wxSplitterWindow_SetSashPosition(_arg0
,_arg1
,_arg2
);
4613 wxPy_END_ALLOW_THREADS
;
4614 } Py_INCREF(Py_None
);
4615 _resultobj
= Py_None
;
4619 #define wxSplitterWindow_SetSashSize(_swigobj,_swigarg0) (_swigobj->SetSashSize(_swigarg0))
4620 static PyObject
*_wrap_wxSplitterWindow_SetSashSize(PyObject
*self
, PyObject
*args
) {
4621 PyObject
* _resultobj
;
4622 wxSplitterWindow
* _arg0
;
4624 PyObject
* _argo0
= 0;
4627 if(!PyArg_ParseTuple(args
,"Oi:wxSplitterWindow_SetSashSize",&_argo0
,&_arg1
))
4630 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4631 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
4632 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SetSashSize. Expected _wxSplitterWindow_p.");
4637 wxPy_BEGIN_ALLOW_THREADS
;
4638 wxSplitterWindow_SetSashSize(_arg0
,_arg1
);
4640 wxPy_END_ALLOW_THREADS
;
4641 } Py_INCREF(Py_None
);
4642 _resultobj
= Py_None
;
4646 #define wxSplitterWindow_SetMinimumPaneSize(_swigobj,_swigarg0) (_swigobj->SetMinimumPaneSize(_swigarg0))
4647 static PyObject
*_wrap_wxSplitterWindow_SetMinimumPaneSize(PyObject
*self
, PyObject
*args
) {
4648 PyObject
* _resultobj
;
4649 wxSplitterWindow
* _arg0
;
4651 PyObject
* _argo0
= 0;
4654 if(!PyArg_ParseTuple(args
,"Oi:wxSplitterWindow_SetMinimumPaneSize",&_argo0
,&_arg1
))
4657 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4658 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
4659 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SetMinimumPaneSize. Expected _wxSplitterWindow_p.");
4664 wxPy_BEGIN_ALLOW_THREADS
;
4665 wxSplitterWindow_SetMinimumPaneSize(_arg0
,_arg1
);
4667 wxPy_END_ALLOW_THREADS
;
4668 } Py_INCREF(Py_None
);
4669 _resultobj
= Py_None
;
4673 #define wxSplitterWindow_SetSplitMode(_swigobj,_swigarg0) (_swigobj->SetSplitMode(_swigarg0))
4674 static PyObject
*_wrap_wxSplitterWindow_SetSplitMode(PyObject
*self
, PyObject
*args
) {
4675 PyObject
* _resultobj
;
4676 wxSplitterWindow
* _arg0
;
4678 PyObject
* _argo0
= 0;
4681 if(!PyArg_ParseTuple(args
,"Oi:wxSplitterWindow_SetSplitMode",&_argo0
,&_arg1
))
4684 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4685 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
4686 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SetSplitMode. Expected _wxSplitterWindow_p.");
4691 wxPy_BEGIN_ALLOW_THREADS
;
4692 wxSplitterWindow_SetSplitMode(_arg0
,_arg1
);
4694 wxPy_END_ALLOW_THREADS
;
4695 } Py_INCREF(Py_None
);
4696 _resultobj
= Py_None
;
4700 #define wxSplitterWindow_SplitHorizontally(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SplitHorizontally(_swigarg0,_swigarg1,_swigarg2))
4701 static PyObject
*_wrap_wxSplitterWindow_SplitHorizontally(PyObject
*self
, PyObject
*args
) {
4702 PyObject
* _resultobj
;
4704 wxSplitterWindow
* _arg0
;
4707 int _arg3
= (int ) 0;
4708 PyObject
* _argo0
= 0;
4709 PyObject
* _argo1
= 0;
4710 PyObject
* _argo2
= 0;
4713 if(!PyArg_ParseTuple(args
,"OOO|i:wxSplitterWindow_SplitHorizontally",&_argo0
,&_argo1
,&_argo2
,&_arg3
))
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_SplitHorizontally. Expected _wxSplitterWindow_p.");
4723 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4724 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4725 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSplitterWindow_SplitHorizontally. Expected _wxWindow_p.");
4730 if (_argo2
== Py_None
) { _arg2
= NULL
; }
4731 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
4732 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxSplitterWindow_SplitHorizontally. Expected _wxWindow_p.");
4737 wxPy_BEGIN_ALLOW_THREADS
;
4738 _result
= (bool )wxSplitterWindow_SplitHorizontally(_arg0
,_arg1
,_arg2
,_arg3
);
4740 wxPy_END_ALLOW_THREADS
;
4741 } _resultobj
= Py_BuildValue("i",_result
);
4745 #define wxSplitterWindow_SplitVertically(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SplitVertically(_swigarg0,_swigarg1,_swigarg2))
4746 static PyObject
*_wrap_wxSplitterWindow_SplitVertically(PyObject
*self
, PyObject
*args
) {
4747 PyObject
* _resultobj
;
4749 wxSplitterWindow
* _arg0
;
4752 int _arg3
= (int ) 0;
4753 PyObject
* _argo0
= 0;
4754 PyObject
* _argo1
= 0;
4755 PyObject
* _argo2
= 0;
4758 if(!PyArg_ParseTuple(args
,"OOO|i:wxSplitterWindow_SplitVertically",&_argo0
,&_argo1
,&_argo2
,&_arg3
))
4761 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4762 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
4763 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SplitVertically. Expected _wxSplitterWindow_p.");
4768 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4769 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4770 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSplitterWindow_SplitVertically. Expected _wxWindow_p.");
4775 if (_argo2
== Py_None
) { _arg2
= NULL
; }
4776 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
4777 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxSplitterWindow_SplitVertically. Expected _wxWindow_p.");
4782 wxPy_BEGIN_ALLOW_THREADS
;
4783 _result
= (bool )wxSplitterWindow_SplitVertically(_arg0
,_arg1
,_arg2
,_arg3
);
4785 wxPy_END_ALLOW_THREADS
;
4786 } _resultobj
= Py_BuildValue("i",_result
);
4790 #define wxSplitterWindow_Unsplit(_swigobj,_swigarg0) (_swigobj->Unsplit(_swigarg0))
4791 static PyObject
*_wrap_wxSplitterWindow_Unsplit(PyObject
*self
, PyObject
*args
) {
4792 PyObject
* _resultobj
;
4794 wxSplitterWindow
* _arg0
;
4795 wxWindow
* _arg1
= (wxWindow
*) NULL
;
4796 PyObject
* _argo0
= 0;
4797 PyObject
* _argo1
= 0;
4800 if(!PyArg_ParseTuple(args
,"O|O:wxSplitterWindow_Unsplit",&_argo0
,&_argo1
))
4803 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4804 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
4805 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_Unsplit. Expected _wxSplitterWindow_p.");
4810 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4811 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4812 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSplitterWindow_Unsplit. Expected _wxWindow_p.");
4817 wxPy_BEGIN_ALLOW_THREADS
;
4818 _result
= (bool )wxSplitterWindow_Unsplit(_arg0
,_arg1
);
4820 wxPy_END_ALLOW_THREADS
;
4821 } _resultobj
= Py_BuildValue("i",_result
);
4825 static PyMethodDef windows2cMethods
[] = {
4826 { "wxSplitterWindow_Unsplit", _wrap_wxSplitterWindow_Unsplit
, METH_VARARGS
},
4827 { "wxSplitterWindow_SplitVertically", _wrap_wxSplitterWindow_SplitVertically
, METH_VARARGS
},
4828 { "wxSplitterWindow_SplitHorizontally", _wrap_wxSplitterWindow_SplitHorizontally
, METH_VARARGS
},
4829 { "wxSplitterWindow_SetSplitMode", _wrap_wxSplitterWindow_SetSplitMode
, METH_VARARGS
},
4830 { "wxSplitterWindow_SetMinimumPaneSize", _wrap_wxSplitterWindow_SetMinimumPaneSize
, METH_VARARGS
},
4831 { "wxSplitterWindow_SetSashSize", _wrap_wxSplitterWindow_SetSashSize
, METH_VARARGS
},
4832 { "wxSplitterWindow_SetSashPosition", _wrap_wxSplitterWindow_SetSashPosition
, METH_VARARGS
},
4833 { "wxSplitterWindow_SetBorderSize", _wrap_wxSplitterWindow_SetBorderSize
, METH_VARARGS
},
4834 { "wxSplitterWindow_IsSplit", _wrap_wxSplitterWindow_IsSplit
, METH_VARARGS
},
4835 { "wxSplitterWindow_Initialize", _wrap_wxSplitterWindow_Initialize
, METH_VARARGS
},
4836 { "wxSplitterWindow_GetWindow2", _wrap_wxSplitterWindow_GetWindow2
, METH_VARARGS
},
4837 { "wxSplitterWindow_GetWindow1", _wrap_wxSplitterWindow_GetWindow1
, METH_VARARGS
},
4838 { "wxSplitterWindow_GetSplitMode", _wrap_wxSplitterWindow_GetSplitMode
, METH_VARARGS
},
4839 { "wxSplitterWindow_GetSashSize", _wrap_wxSplitterWindow_GetSashSize
, METH_VARARGS
},
4840 { "wxSplitterWindow_GetSashPosition", _wrap_wxSplitterWindow_GetSashPosition
, METH_VARARGS
},
4841 { "wxSplitterWindow_GetMinimumPaneSize", _wrap_wxSplitterWindow_GetMinimumPaneSize
, METH_VARARGS
},
4842 { "wxSplitterWindow_GetBorderSize", _wrap_wxSplitterWindow_GetBorderSize
, METH_VARARGS
},
4843 { "new_wxSplitterWindow", _wrap_new_wxSplitterWindow
, METH_VARARGS
},
4844 { "wxSplitterEvent_SetSashPosition", _wrap_wxSplitterEvent_SetSashPosition
, METH_VARARGS
},
4845 { "wxSplitterEvent_GetWindowBeingRemoved", _wrap_wxSplitterEvent_GetWindowBeingRemoved
, METH_VARARGS
},
4846 { "wxSplitterEvent_GetY", _wrap_wxSplitterEvent_GetY
, METH_VARARGS
},
4847 { "wxSplitterEvent_GetX", _wrap_wxSplitterEvent_GetX
, METH_VARARGS
},
4848 { "wxSplitterEvent_GetSashPosition", _wrap_wxSplitterEvent_GetSashPosition
, METH_VARARGS
},
4849 { "wxNotebook_ResizeChildren", _wrap_wxNotebook_ResizeChildren
, METH_VARARGS
},
4850 { "wxNotebook_GetPage", _wrap_wxNotebook_GetPage
, METH_VARARGS
},
4851 { "wxNotebook_AddPage", _wrap_wxNotebook_AddPage
, METH_VARARGS
},
4852 { "wxNotebook_DeleteAllPages", _wrap_wxNotebook_DeleteAllPages
, METH_VARARGS
},
4853 { "wxNotebook_RemovePage", _wrap_wxNotebook_RemovePage
, METH_VARARGS
},
4854 { "wxNotebook_DeletePage", _wrap_wxNotebook_DeletePage
, METH_VARARGS
},
4855 { "wxNotebook_GetRowCount", _wrap_wxNotebook_GetRowCount
, METH_VARARGS
},
4856 { "wxNotebook_SetPageImage", _wrap_wxNotebook_SetPageImage
, METH_VARARGS
},
4857 { "wxNotebook_GetPageImage", _wrap_wxNotebook_GetPageImage
, METH_VARARGS
},
4858 { "wxNotebook_GetImageList", _wrap_wxNotebook_GetImageList
, METH_VARARGS
},
4859 { "wxNotebook_SetImageList", _wrap_wxNotebook_SetImageList
, METH_VARARGS
},
4860 { "wxNotebook_GetPageText", _wrap_wxNotebook_GetPageText
, METH_VARARGS
},
4861 { "wxNotebook_SetPageText", _wrap_wxNotebook_SetPageText
, METH_VARARGS
},
4862 { "wxNotebook_GetSelection", _wrap_wxNotebook_GetSelection
, METH_VARARGS
},
4863 { "wxNotebook_AdvanceSelection", _wrap_wxNotebook_AdvanceSelection
, METH_VARARGS
},
4864 { "wxNotebook_SetSelection", _wrap_wxNotebook_SetSelection
, METH_VARARGS
},
4865 { "wxNotebook_GetPageCount", _wrap_wxNotebook_GetPageCount
, METH_VARARGS
},
4866 { "new_wxNotebook", _wrap_new_wxNotebook
, METH_VARARGS
},
4867 { "wxNotebookEvent_SetSelection", _wrap_wxNotebookEvent_SetSelection
, METH_VARARGS
},
4868 { "wxNotebookEvent_SetOldSelection", _wrap_wxNotebookEvent_SetOldSelection
, METH_VARARGS
},
4869 { "wxNotebookEvent_GetOldSelection", _wrap_wxNotebookEvent_GetOldSelection
, METH_VARARGS
},
4870 { "wxNotebookEvent_GetSelection", _wrap_wxNotebookEvent_GetSelection
, METH_VARARGS
},
4871 { "wxGridEvent_GetCell", _wrap_wxGridEvent_GetCell
, METH_VARARGS
},
4872 { "wxGridEvent_ShiftDown", _wrap_wxGridEvent_ShiftDown
, METH_VARARGS
},
4873 { "wxGridEvent_ControlDown", _wrap_wxGridEvent_ControlDown
, METH_VARARGS
},
4874 { "wxGridEvent_GetPosition", _wrap_wxGridEvent_GetPosition
, METH_VARARGS
},
4875 { "wxGridEvent_GetCol", _wrap_wxGridEvent_GetCol
, METH_VARARGS
},
4876 { "wxGridEvent_GetRow", _wrap_wxGridEvent_GetRow
, METH_VARARGS
},
4877 { "wxGridEvent_m_cell_get", _wrap_wxGridEvent_m_cell_get
, METH_VARARGS
},
4878 { "wxGridEvent_m_cell_set", _wrap_wxGridEvent_m_cell_set
, METH_VARARGS
},
4879 { "wxGridEvent_m_shift_get", _wrap_wxGridEvent_m_shift_get
, METH_VARARGS
},
4880 { "wxGridEvent_m_shift_set", _wrap_wxGridEvent_m_shift_set
, METH_VARARGS
},
4881 { "wxGridEvent_m_control_get", _wrap_wxGridEvent_m_control_get
, METH_VARARGS
},
4882 { "wxGridEvent_m_control_set", _wrap_wxGridEvent_m_control_set
, METH_VARARGS
},
4883 { "wxGridEvent_m_y_get", _wrap_wxGridEvent_m_y_get
, METH_VARARGS
},
4884 { "wxGridEvent_m_y_set", _wrap_wxGridEvent_m_y_set
, METH_VARARGS
},
4885 { "wxGridEvent_m_x_get", _wrap_wxGridEvent_m_x_get
, METH_VARARGS
},
4886 { "wxGridEvent_m_x_set", _wrap_wxGridEvent_m_x_set
, METH_VARARGS
},
4887 { "wxGridEvent_m_col_get", _wrap_wxGridEvent_m_col_get
, METH_VARARGS
},
4888 { "wxGridEvent_m_col_set", _wrap_wxGridEvent_m_col_set
, METH_VARARGS
},
4889 { "wxGridEvent_m_row_get", _wrap_wxGridEvent_m_row_get
, METH_VARARGS
},
4890 { "wxGridEvent_m_row_set", _wrap_wxGridEvent_m_row_set
, METH_VARARGS
},
4891 { "wxGrid_SetEditInPlace", _wrap_wxGrid_SetEditInPlace
, METH_VARARGS
},
4892 { "wxGrid_GetEditInPlace", _wrap_wxGrid_GetEditInPlace
, METH_VARARGS
},
4893 { "wxGrid_UpdateDimensions", _wrap_wxGrid_UpdateDimensions
, METH_VARARGS
},
4894 { "wxGrid_SetRowHeight", _wrap_wxGrid_SetRowHeight
, METH_VARARGS
},
4895 { "wxGrid_SetLabelValue", _wrap_wxGrid_SetLabelValue
, METH_VARARGS
},
4896 { "wxGrid_SetLabelTextFont", _wrap_wxGrid_SetLabelTextFont
, METH_VARARGS
},
4897 { "wxGrid_SetLabelTextColour", _wrap_wxGrid_SetLabelTextColour
, METH_VARARGS
},
4898 { "wxGrid_SetLabelSize", _wrap_wxGrid_SetLabelSize
, METH_VARARGS
},
4899 { "wxGrid_SetLabelBackgroundColour", _wrap_wxGrid_SetLabelBackgroundColour
, METH_VARARGS
},
4900 { "wxGrid_SetLabelAlignment", _wrap_wxGrid_SetLabelAlignment
, METH_VARARGS
},
4901 { "wxGrid_SetGridCursor", _wrap_wxGrid_SetGridCursor
, METH_VARARGS
},
4902 { "wxGrid_SetEditable", _wrap_wxGrid_SetEditable
, METH_VARARGS
},
4903 { "wxGrid_SetDividerPen", _wrap_wxGrid_SetDividerPen
, METH_VARARGS
},
4904 { "wxGrid_SetColumnWidth", _wrap_wxGrid_SetColumnWidth
, METH_VARARGS
},
4905 { "wxGrid_SetCellValue", _wrap_wxGrid_SetCellValue
, METH_VARARGS
},
4906 { "wxGrid_SetDefCellTextFont", _wrap_wxGrid_SetDefCellTextFont
, METH_VARARGS
},
4907 { "wxGrid_SetCellTextFont", _wrap_wxGrid_SetCellTextFont
, METH_VARARGS
},
4908 { "wxGrid_SetDefCellTextColour", _wrap_wxGrid_SetDefCellTextColour
, METH_VARARGS
},
4909 { "wxGrid_SetCellTextColour", _wrap_wxGrid_SetCellTextColour
, METH_VARARGS
},
4910 { "wxGrid_SetDefCellBackgroundColour", _wrap_wxGrid_SetDefCellBackgroundColour
, METH_VARARGS
},
4911 { "wxGrid_SetCellBackgroundColour", _wrap_wxGrid_SetCellBackgroundColour
, METH_VARARGS
},
4912 { "wxGrid_SetDefCellAlignment", _wrap_wxGrid_SetDefCellAlignment
, METH_VARARGS
},
4913 { "wxGrid_SetCellAlignment", _wrap_wxGrid_SetCellAlignment
, METH_VARARGS
},
4914 { "wxGrid_OnActivate", _wrap_wxGrid_OnActivate
, METH_VARARGS
},
4915 { "wxGrid_InsertRows", _wrap_wxGrid_InsertRows
, METH_VARARGS
},
4916 { "wxGrid_InsertCols", _wrap_wxGrid_InsertCols
, METH_VARARGS
},
4917 { "wxGrid_GetVertScrollBar", _wrap_wxGrid_GetVertScrollBar
, METH_VARARGS
},
4918 { "wxGrid_GetTextItem", _wrap_wxGrid_GetTextItem
, METH_VARARGS
},
4919 { "wxGrid_GetScrollPosY", _wrap_wxGrid_GetScrollPosY
, METH_VARARGS
},
4920 { "wxGrid_GetScrollPosX", _wrap_wxGrid_GetScrollPosX
, METH_VARARGS
},
4921 { "wxGrid_GetRows", _wrap_wxGrid_GetRows
, METH_VARARGS
},
4922 { "wxGrid_GetRowHeight", _wrap_wxGrid_GetRowHeight
, METH_VARARGS
},
4923 { "wxGrid_GetLabelValue", _wrap_wxGrid_GetLabelValue
, METH_VARARGS
},
4924 { "wxGrid_GetLabelTextFont", _wrap_wxGrid_GetLabelTextFont
, METH_VARARGS
},
4925 { "wxGrid_GetLabelTextColour", _wrap_wxGrid_GetLabelTextColour
, METH_VARARGS
},
4926 { "wxGrid_GetLabelSize", _wrap_wxGrid_GetLabelSize
, METH_VARARGS
},
4927 { "wxGrid_GetLabelBackgroundColour", _wrap_wxGrid_GetLabelBackgroundColour
, METH_VARARGS
},
4928 { "wxGrid_GetLabelAlignment", _wrap_wxGrid_GetLabelAlignment
, METH_VARARGS
},
4929 { "wxGrid_GetHorizScrollBar", _wrap_wxGrid_GetHorizScrollBar
, METH_VARARGS
},
4930 { "wxGrid_GetEditable", _wrap_wxGrid_GetEditable
, METH_VARARGS
},
4931 { "wxGrid_GetCursorRow", _wrap_wxGrid_GetCursorRow
, METH_VARARGS
},
4932 { "wxGrid_GetCursorColumn", _wrap_wxGrid_GetCursorColumn
, METH_VARARGS
},
4933 { "wxGrid_GetCurrentRect", _wrap_wxGrid_GetCurrentRect
, METH_VARARGS
},
4934 { "wxGrid_GetColumnWidth", _wrap_wxGrid_GetColumnWidth
, METH_VARARGS
},
4935 { "wxGrid_GetCols", _wrap_wxGrid_GetCols
, METH_VARARGS
},
4936 { "wxGrid_GetCellValue", _wrap_wxGrid_GetCellValue
, METH_VARARGS
},
4937 { "wxGrid_GetDefCellTextFont", _wrap_wxGrid_GetDefCellTextFont
, METH_VARARGS
},
4938 { "wxGrid_GetCellTextFont", _wrap_wxGrid_GetCellTextFont
, METH_VARARGS
},
4939 { "wxGrid_GetDefCellTextColour", _wrap_wxGrid_GetDefCellTextColour
, METH_VARARGS
},
4940 { "wxGrid_GetCellTextColour", _wrap_wxGrid_GetCellTextColour
, METH_VARARGS
},
4941 { "wxGrid_GetCells", _wrap_wxGrid_GetCells
, METH_VARARGS
},
4942 { "wxGrid_GetDefCellBackgroundColour", _wrap_wxGrid_GetDefCellBackgroundColour
, METH_VARARGS
},
4943 { "wxGrid_GetCellBackgroundColour", _wrap_wxGrid_GetCellBackgroundColour
, METH_VARARGS
},
4944 { "wxGrid_GetDefCellAlignment", _wrap_wxGrid_GetDefCellAlignment
, METH_VARARGS
},
4945 { "wxGrid_GetCellAlignment", _wrap_wxGrid_GetCellAlignment
, METH_VARARGS
},
4946 { "wxGrid_GetCell", _wrap_wxGrid_GetCell
, METH_VARARGS
},
4947 { "wxGrid_GetBatchCount", _wrap_wxGrid_GetBatchCount
, METH_VARARGS
},
4948 { "wxGrid_EndBatch", _wrap_wxGrid_EndBatch
, METH_VARARGS
},
4949 { "wxGrid_DeleteRows", _wrap_wxGrid_DeleteRows
, METH_VARARGS
},
4950 { "wxGrid_DeleteCols", _wrap_wxGrid_DeleteCols
, METH_VARARGS
},
4951 { "wxGrid_CurrentCellVisible", _wrap_wxGrid_CurrentCellVisible
, METH_VARARGS
},
4952 { "wxGrid_CreateGrid", _wrap_wxGrid_CreateGrid
, METH_VARARGS
},
4953 { "wxGrid_CellHitTest", _wrap_wxGrid_CellHitTest
, METH_VARARGS
},
4954 { "wxGrid_BeginBatch", _wrap_wxGrid_BeginBatch
, METH_VARARGS
},
4955 { "wxGrid_AppendRows", _wrap_wxGrid_AppendRows
, METH_VARARGS
},
4956 { "wxGrid_AppendCols", _wrap_wxGrid_AppendCols
, METH_VARARGS
},
4957 { "wxGrid_AdjustScrollbars", _wrap_wxGrid_AdjustScrollbars
, METH_VARARGS
},
4958 { "new_wxGrid", _wrap_new_wxGrid
, METH_VARARGS
},
4959 { "wxGridCell_SetCellBitmap", _wrap_wxGridCell_SetCellBitmap
, METH_VARARGS
},
4960 { "wxGridCell_GetCellBitmap", _wrap_wxGridCell_GetCellBitmap
, METH_VARARGS
},
4961 { "wxGridCell_SetAlignment", _wrap_wxGridCell_SetAlignment
, METH_VARARGS
},
4962 { "wxGridCell_GetAlignment", _wrap_wxGridCell_GetAlignment
, METH_VARARGS
},
4963 { "wxGridCell_GetBackgroundBrush", _wrap_wxGridCell_GetBackgroundBrush
, METH_VARARGS
},
4964 { "wxGridCell_SetBackgroundColour", _wrap_wxGridCell_SetBackgroundColour
, METH_VARARGS
},
4965 { "wxGridCell_GetBackgroundColour", _wrap_wxGridCell_GetBackgroundColour
, METH_VARARGS
},
4966 { "wxGridCell_SetTextColour", _wrap_wxGridCell_SetTextColour
, METH_VARARGS
},
4967 { "wxGridCell_GetTextColour", _wrap_wxGridCell_GetTextColour
, METH_VARARGS
},
4968 { "wxGridCell_SetFont", _wrap_wxGridCell_SetFont
, METH_VARARGS
},
4969 { "wxGridCell_GetFont", _wrap_wxGridCell_GetFont
, METH_VARARGS
},
4970 { "wxGridCell_SetTextValue", _wrap_wxGridCell_SetTextValue
, METH_VARARGS
},
4971 { "wxGridCell_GetTextValue", _wrap_wxGridCell_GetTextValue
, METH_VARARGS
},
4972 { "delete_wxGridCell", _wrap_delete_wxGridCell
, METH_VARARGS
},
4973 { "new_wxGridCell", _wrap_new_wxGridCell
, METH_VARARGS
},
4980 * This table is used by the pointer type-checker
4982 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
4983 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
4984 { "_wxEvent","_class_wxSplitterEvent",SwigwxSplitterEventTowxEvent
},
4985 { "_wxEvent","_wxSplitterEvent",SwigwxSplitterEventTowxEvent
},
4986 { "_wxEvent","_class_wxNotebookEvent",SwigwxNotebookEventTowxEvent
},
4987 { "_wxEvent","_wxNotebookEvent",SwigwxNotebookEventTowxEvent
},
4988 { "_wxEvent","_class_wxGridEvent",SwigwxGridEventTowxEvent
},
4989 { "_wxEvent","_wxGridEvent",SwigwxGridEventTowxEvent
},
4990 { "_wxEvent","_class_wxEvent",0},
4991 { "_class_wxActivateEvent","_wxActivateEvent",0},
4992 { "_signed_long","_long",0},
4993 { "_wxMenuEvent","_class_wxMenuEvent",0},
4994 { "_wxPrintQuality","_int",0},
4995 { "_wxPrintQuality","_signed_int",0},
4996 { "_wxPrintQuality","_unsigned_int",0},
4997 { "_wxPrintQuality","_wxWindowID",0},
4998 { "_wxPrintQuality","_uint",0},
4999 { "_wxPrintQuality","_EBool",0},
5000 { "_wxPrintQuality","_size_t",0},
5001 { "_class_wxRegionIterator","_wxRegionIterator",0},
5002 { "_class_wxMenuBar","_wxMenuBar",0},
5003 { "_class_wxEvtHandler","_class_wxSplitterWindow",SwigwxSplitterWindowTowxEvtHandler
},
5004 { "_class_wxEvtHandler","_wxSplitterWindow",SwigwxSplitterWindowTowxEvtHandler
},
5005 { "_class_wxEvtHandler","_class_wxNotebook",SwigwxNotebookTowxEvtHandler
},
5006 { "_class_wxEvtHandler","_wxNotebook",SwigwxNotebookTowxEvtHandler
},
5007 { "_class_wxEvtHandler","_class_wxGrid",SwigwxGridTowxEvtHandler
},
5008 { "_class_wxEvtHandler","_wxGrid",SwigwxGridTowxEvtHandler
},
5009 { "_class_wxEvtHandler","_wxEvtHandler",0},
5010 { "_wxPaintEvent","_class_wxPaintEvent",0},
5011 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
5012 { "_wxCursor","_class_wxCursor",0},
5013 { "_wxNotifyEvent","_class_wxNotebookEvent",SwigwxNotebookEventTowxNotifyEvent
},
5014 { "_wxNotifyEvent","_wxNotebookEvent",SwigwxNotebookEventTowxNotifyEvent
},
5015 { "_wxNotifyEvent","_class_wxNotifyEvent",0},
5016 { "_wxMask","_class_wxMask",0},
5017 { "_wxGrid","_class_wxGrid",0},
5018 { "_wxPen","_class_wxPen",0},
5019 { "_wxUpdateUIEvent","_class_wxUpdateUIEvent",0},
5020 { "_byte","_unsigned_char",0},
5021 { "_wxStaticBox","_class_wxStaticBox",0},
5022 { "_wxChoice","_class_wxChoice",0},
5023 { "_wxSlider","_class_wxSlider",0},
5024 { "_wxNotebookEvent","_class_wxNotebookEvent",0},
5025 { "_long","_wxDash",0},
5026 { "_long","_unsigned_long",0},
5027 { "_long","_signed_long",0},
5028 { "_wxImageList","_class_wxImageList",0},
5029 { "_wxDropFilesEvent","_class_wxDropFilesEvent",0},
5030 { "_wxBitmapButton","_class_wxBitmapButton",0},
5031 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
5032 { "_class_wxGauge","_wxGauge",0},
5033 { "_wxDC","_class_wxDC",0},
5034 { "_wxSpinEvent","_class_wxSpinEvent",0},
5035 { "_size_t","_wxPrintQuality",0},
5036 { "_size_t","_unsigned_int",0},
5037 { "_size_t","_int",0},
5038 { "_size_t","_wxWindowID",0},
5039 { "_size_t","_uint",0},
5040 { "_class_wxRealPoint","_wxRealPoint",0},
5041 { "_class_wxMenuItem","_wxMenuItem",0},
5042 { "_class_wxPaintEvent","_wxPaintEvent",0},
5043 { "_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0},
5044 { "_class_wxPostScriptDC","_wxPostScriptDC",0},
5045 { "_wxPanel","_class_wxGrid",SwigwxGridTowxPanel
},
5046 { "_wxPanel","_wxGrid",SwigwxGridTowxPanel
},
5047 { "_wxPanel","_class_wxPanel",0},
5048 { "_wxInitDialogEvent","_class_wxInitDialogEvent",0},
5049 { "_wxCheckBox","_class_wxCheckBox",0},
5050 { "_wxPyEvent","_class_wxPyEvent",0},
5051 { "_wxTextCtrl","_class_wxTextCtrl",0},
5052 { "_class_wxMask","_wxMask",0},
5053 { "_class_wxKeyEvent","_wxKeyEvent",0},
5054 { "_class_wxGrid","_wxGrid",0},
5055 { "_wxColour","_class_wxColour",0},
5056 { "_class_wxDialog","_wxDialog",0},
5057 { "_wxIdleEvent","_class_wxIdleEvent",0},
5058 { "_class_wxUpdateUIEvent","_wxUpdateUIEvent",0},
5059 { "_wxStaticLine","_class_wxStaticLine",0},
5060 { "_wxBrush","_class_wxBrush",0},
5061 { "_class_wxNotebookEvent","_wxNotebookEvent",0},
5062 { "_wxShowEvent","_class_wxShowEvent",0},
5063 { "_uint","_wxPrintQuality",0},
5064 { "_uint","_size_t",0},
5065 { "_uint","_unsigned_int",0},
5066 { "_uint","_int",0},
5067 { "_uint","_wxWindowID",0},
5068 { "_class_wxEvent","_class_wxSplitterEvent",SwigwxSplitterEventTowxEvent
},
5069 { "_class_wxEvent","_wxSplitterEvent",SwigwxSplitterEventTowxEvent
},
5070 { "_class_wxEvent","_class_wxNotebookEvent",SwigwxNotebookEventTowxEvent
},
5071 { "_class_wxEvent","_wxNotebookEvent",SwigwxNotebookEventTowxEvent
},
5072 { "_class_wxEvent","_class_wxGridEvent",SwigwxGridEventTowxEvent
},
5073 { "_class_wxEvent","_wxGridEvent",SwigwxGridEventTowxEvent
},
5074 { "_class_wxEvent","_wxEvent",0},
5075 { "_wxCheckListBox","_class_wxCheckListBox",0},
5076 { "_wxSplitterEvent","_class_wxSplitterEvent",0},
5077 { "_wxGridEvent","_class_wxGridEvent",0},
5078 { "_wxRect","_class_wxRect",0},
5079 { "_wxCommandEvent","_class_wxSplitterEvent",SwigwxSplitterEventTowxCommandEvent
},
5080 { "_wxCommandEvent","_wxSplitterEvent",SwigwxSplitterEventTowxCommandEvent
},
5081 { "_wxCommandEvent","_class_wxNotebookEvent",SwigwxNotebookEventTowxCommandEvent
},
5082 { "_wxCommandEvent","_wxNotebookEvent",SwigwxNotebookEventTowxCommandEvent
},
5083 { "_wxCommandEvent","_class_wxCommandEvent",0},
5084 { "_wxSizeEvent","_class_wxSizeEvent",0},
5085 { "_wxPoint","_class_wxPoint",0},
5086 { "_class_wxButton","_wxButton",0},
5087 { "_wxRadioBox","_class_wxRadioBox",0},
5088 { "_wxBitmap","_class_wxBitmap",0},
5089 { "_wxPyTimer","_class_wxPyTimer",0},
5090 { "_wxWindowDC","_class_wxWindowDC",0},
5091 { "_wxScrollBar","_class_wxScrollBar",0},
5092 { "_wxSpinButton","_class_wxSpinButton",0},
5093 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
5094 { "_class_wxNotifyEvent","_class_wxNotebookEvent",SwigwxNotebookEventTowxNotifyEvent
},
5095 { "_class_wxNotifyEvent","_wxNotebookEvent",SwigwxNotebookEventTowxNotifyEvent
},
5096 { "_class_wxNotifyEvent","_wxNotifyEvent",0},
5097 { "_class_wxPyEvent","_wxPyEvent",0},
5098 { "_class_wxIconizeEvent","_wxIconizeEvent",0},
5099 { "_class_wxStaticBitmap","_wxStaticBitmap",0},
5100 { "_class_wxStaticLine","_wxStaticLine",0},
5101 { "_wxScrollEvent","_class_wxScrollEvent",0},
5102 { "_EBool","_wxPrintQuality",0},
5103 { "_EBool","_signed_int",0},
5104 { "_EBool","_int",0},
5105 { "_EBool","_wxWindowID",0},
5106 { "_class_wxRegion","_wxRegion",0},
5107 { "_class_wxDropFilesEvent","_wxDropFilesEvent",0},
5108 { "_wxStaticText","_class_wxStaticText",0},
5109 { "_wxFont","_class_wxFont",0},
5110 { "_wxCloseEvent","_class_wxCloseEvent",0},
5111 { "_class_wxSplitterEvent","_wxSplitterEvent",0},
5112 { "_wxNotebook","_class_wxNotebook",0},
5113 { "_unsigned_long","_wxDash",0},
5114 { "_unsigned_long","_long",0},
5115 { "_class_wxRect","_wxRect",0},
5116 { "_class_wxDC","_wxDC",0},
5117 { "_class_wxPyTimer","_wxPyTimer",0},
5118 { "_wxFocusEvent","_class_wxFocusEvent",0},
5119 { "_wxMaximizeEvent","_class_wxMaximizeEvent",0},
5120 { "_class_wxSpinButton","_wxSpinButton",0},
5121 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
5122 { "_class_wxPanel","_class_wxGrid",SwigwxGridTowxPanel
},
5123 { "_class_wxPanel","_wxGrid",SwigwxGridTowxPanel
},
5124 { "_class_wxPanel","_wxPanel",0},
5125 { "_class_wxCheckBox","_wxCheckBox",0},
5126 { "_wxComboBox","_class_wxComboBox",0},
5127 { "_wxRadioButton","_class_wxRadioButton",0},
5128 { "_signed_int","_wxPrintQuality",0},
5129 { "_signed_int","_EBool",0},
5130 { "_signed_int","_wxWindowID",0},
5131 { "_signed_int","_int",0},
5132 { "_class_wxTextCtrl","_wxTextCtrl",0},
5133 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
5134 { "_wxMenu","_class_wxMenu",0},
5135 { "_class_wxMoveEvent","_wxMoveEvent",0},
5136 { "_wxListBox","_class_wxListBox",0},
5137 { "_wxScreenDC","_class_wxScreenDC",0},
5138 { "_WXTYPE","_short",0},
5139 { "_WXTYPE","_signed_short",0},
5140 { "_WXTYPE","_unsigned_short",0},
5141 { "_class_wxBrush","_wxBrush",0},
5142 { "_unsigned_short","_WXTYPE",0},
5143 { "_unsigned_short","_short",0},
5144 { "_class_wxWindow","_class_wxSplitterWindow",SwigwxSplitterWindowTowxWindow
},
5145 { "_class_wxWindow","_wxSplitterWindow",SwigwxSplitterWindowTowxWindow
},
5146 { "_class_wxWindow","_class_wxNotebook",SwigwxNotebookTowxWindow
},
5147 { "_class_wxWindow","_wxNotebook",SwigwxNotebookTowxWindow
},
5148 { "_class_wxWindow","_class_wxGrid",SwigwxGridTowxWindow
},
5149 { "_class_wxWindow","_wxGrid",SwigwxGridTowxWindow
},
5150 { "_class_wxWindow","_wxWindow",0},
5151 { "_wxSplitterWindow","_class_wxSplitterWindow",0},
5152 { "_class_wxStaticText","_wxStaticText",0},
5153 { "_class_wxFont","_wxFont",0},
5154 { "_class_wxCloseEvent","_wxCloseEvent",0},
5155 { "_class_wxMenuEvent","_wxMenuEvent",0},
5156 { "_wxClientDC","_class_wxClientDC",0},
5157 { "_wxMouseEvent","_class_wxMouseEvent",0},
5158 { "_class_wxPoint","_wxPoint",0},
5159 { "_wxRealPoint","_class_wxRealPoint",0},
5160 { "_class_wxRadioBox","_wxRadioBox",0},
5161 { "_wxGridCell","_class_wxGridCell",0},
5162 { "_signed_short","_WXTYPE",0},
5163 { "_signed_short","_short",0},
5164 { "_wxMemoryDC","_class_wxMemoryDC",0},
5165 { "_wxPaintDC","_class_wxPaintDC",0},
5166 { "_class_wxWindowDC","_wxWindowDC",0},
5167 { "_class_wxFocusEvent","_wxFocusEvent",0},
5168 { "_class_wxMaximizeEvent","_wxMaximizeEvent",0},
5169 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
5170 { "_class_wxCursor","_wxCursor",0},
5171 { "_wxPostScriptDC","_class_wxPostScriptDC",0},
5172 { "_wxScrolledWindow","_class_wxScrolledWindow",0},
5173 { "_unsigned_char","_byte",0},
5174 { "_class_wxMenu","_wxMenu",0},
5175 { "_wxControl","_class_wxNotebook",SwigwxNotebookTowxControl
},
5176 { "_wxControl","_wxNotebook",SwigwxNotebookTowxControl
},
5177 { "_wxControl","_class_wxControl",0},
5178 { "_class_wxListBox","_wxListBox",0},
5179 { "_unsigned_int","_wxPrintQuality",0},
5180 { "_unsigned_int","_size_t",0},
5181 { "_unsigned_int","_uint",0},
5182 { "_unsigned_int","_wxWindowID",0},
5183 { "_unsigned_int","_int",0},
5184 { "_wxIcon","_class_wxIcon",0},
5185 { "_wxDialog","_class_wxDialog",0},
5186 { "_class_wxPen","_wxPen",0},
5187 { "_short","_WXTYPE",0},
5188 { "_short","_unsigned_short",0},
5189 { "_short","_signed_short",0},
5190 { "_class_wxStaticBox","_wxStaticBox",0},
5191 { "_class_wxScrollEvent","_wxScrollEvent",0},
5192 { "_wxJoystickEvent","_class_wxJoystickEvent",0},
5193 { "_class_wxChoice","_wxChoice",0},
5194 { "_class_wxSlider","_wxSlider",0},
5195 { "_class_wxImageList","_wxImageList",0},
5196 { "_class_wxBitmapButton","_wxBitmapButton",0},
5197 { "_class_wxNotebook","_wxNotebook",0},
5198 { "_wxWindowID","_wxPrintQuality",0},
5199 { "_wxWindowID","_size_t",0},
5200 { "_wxWindowID","_EBool",0},
5201 { "_wxWindowID","_uint",0},
5202 { "_wxWindowID","_int",0},
5203 { "_wxWindowID","_signed_int",0},
5204 { "_wxWindowID","_unsigned_int",0},
5205 { "_int","_wxPrintQuality",0},
5206 { "_int","_size_t",0},
5207 { "_int","_EBool",0},
5208 { "_int","_uint",0},
5209 { "_int","_wxWindowID",0},
5210 { "_int","_unsigned_int",0},
5211 { "_int","_signed_int",0},
5212 { "_class_wxMouseEvent","_wxMouseEvent",0},
5213 { "_class_wxSpinEvent","_wxSpinEvent",0},
5214 { "_wxButton","_class_wxButton",0},
5215 { "_wxSize","_class_wxSize",0},
5216 { "_wxRegionIterator","_class_wxRegionIterator",0},
5217 { "_class_wxPaintDC","_wxPaintDC",0},
5218 { "_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0},
5219 { "_class_wxInitDialogEvent","_wxInitDialogEvent",0},
5220 { "_class_wxComboBox","_wxComboBox",0},
5221 { "_class_wxRadioButton","_wxRadioButton",0},
5222 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
5223 { "_wxIconizeEvent","_class_wxIconizeEvent",0},
5224 { "_class_wxControl","_class_wxNotebook",SwigwxNotebookTowxControl
},
5225 { "_class_wxControl","_wxNotebook",SwigwxNotebookTowxControl
},
5226 { "_class_wxControl","_wxControl",0},
5227 { "_wxStaticBitmap","_class_wxStaticBitmap",0},
5228 { "_class_wxIcon","_wxIcon",0},
5229 { "_class_wxColour","_wxColour",0},
5230 { "_class_wxScreenDC","_wxScreenDC",0},
5231 { "_wxPalette","_class_wxPalette",0},
5232 { "_class_wxIdleEvent","_wxIdleEvent",0},
5233 { "_wxEraseEvent","_class_wxEraseEvent",0},
5234 { "_class_wxJoystickEvent","_wxJoystickEvent",0},
5235 { "_wxRegion","_class_wxRegion",0},
5236 { "_class_wxSplitterWindow","_wxSplitterWindow",0},
5237 { "_class_wxShowEvent","_wxShowEvent",0},
5238 { "_wxActivateEvent","_class_wxActivateEvent",0},
5239 { "_wxGauge","_class_wxGauge",0},
5240 { "_class_wxCheckListBox","_wxCheckListBox",0},
5241 { "_class_wxGridEvent","_wxGridEvent",0},
5242 { "_class_wxCommandEvent","_class_wxSplitterEvent",SwigwxSplitterEventTowxCommandEvent
},
5243 { "_class_wxCommandEvent","_wxSplitterEvent",SwigwxSplitterEventTowxCommandEvent
},
5244 { "_class_wxCommandEvent","_class_wxNotebookEvent",SwigwxNotebookEventTowxCommandEvent
},
5245 { "_class_wxCommandEvent","_wxNotebookEvent",SwigwxNotebookEventTowxCommandEvent
},
5246 { "_class_wxCommandEvent","_wxCommandEvent",0},
5247 { "_class_wxClientDC","_wxClientDC",0},
5248 { "_class_wxSizeEvent","_wxSizeEvent",0},
5249 { "_class_wxGridCell","_wxGridCell",0},
5250 { "_class_wxSize","_wxSize",0},
5251 { "_class_wxBitmap","_wxBitmap",0},
5252 { "_class_wxMemoryDC","_wxMemoryDC",0},
5253 { "_wxMenuBar","_class_wxMenuBar",0},
5254 { "_wxEvtHandler","_class_wxSplitterWindow",SwigwxSplitterWindowTowxEvtHandler
},
5255 { "_wxEvtHandler","_wxSplitterWindow",SwigwxSplitterWindowTowxEvtHandler
},
5256 { "_wxEvtHandler","_class_wxNotebook",SwigwxNotebookTowxEvtHandler
},
5257 { "_wxEvtHandler","_wxNotebook",SwigwxNotebookTowxEvtHandler
},
5258 { "_wxEvtHandler","_class_wxGrid",SwigwxGridTowxEvtHandler
},
5259 { "_wxEvtHandler","_wxGrid",SwigwxGridTowxEvtHandler
},
5260 { "_wxEvtHandler","_class_wxEvtHandler",0},
5261 { "_wxMenuItem","_class_wxMenuItem",0},
5262 { "_class_wxScrollBar","_wxScrollBar",0},
5263 { "_wxDash","_unsigned_long",0},
5264 { "_wxDash","_long",0},
5265 { "_class_wxScrolledWindow","_wxScrolledWindow",0},
5266 { "_wxKeyEvent","_class_wxKeyEvent",0},
5267 { "_wxMoveEvent","_class_wxMoveEvent",0},
5268 { "_class_wxPalette","_wxPalette",0},
5269 { "_class_wxEraseEvent","_wxEraseEvent",0},
5270 { "_wxWindow","_class_wxSplitterWindow",SwigwxSplitterWindowTowxWindow
},
5271 { "_wxWindow","_wxSplitterWindow",SwigwxSplitterWindowTowxWindow
},
5272 { "_wxWindow","_class_wxNotebook",SwigwxNotebookTowxWindow
},
5273 { "_wxWindow","_wxNotebook",SwigwxNotebookTowxWindow
},
5274 { "_wxWindow","_class_wxGrid",SwigwxGridTowxWindow
},
5275 { "_wxWindow","_wxGrid",SwigwxGridTowxWindow
},
5276 { "_wxWindow","_class_wxWindow",0},
5279 static PyObject
*SWIG_globals
;
5283 SWIGEXPORT(void) initwindows2c() {
5285 SWIG_globals
= SWIG_newvarlink();
5286 m
= Py_InitModule("windows2c", windows2cMethods
);
5287 d
= PyModule_GetDict(m
);
5288 PyDict_SetItemString(d
,"wxGRID_TEXT_CTRL", PyInt_FromLong((long) wxGRID_TEXT_CTRL
));
5289 PyDict_SetItemString(d
,"wxGRID_HSCROLL", PyInt_FromLong((long) wxGRID_HSCROLL
));
5290 PyDict_SetItemString(d
,"wxGRID_VSCROLL", PyInt_FromLong((long) wxGRID_VSCROLL
));
5291 PyDict_SetItemString(d
,"wxEVT_GRID_SELECT_CELL", PyInt_FromLong((long) wxEVT_GRID_SELECT_CELL
));
5292 PyDict_SetItemString(d
,"wxEVT_GRID_CREATE_CELL", PyInt_FromLong((long) wxEVT_GRID_CREATE_CELL
));
5293 PyDict_SetItemString(d
,"wxEVT_GRID_CHANGE_LABELS", PyInt_FromLong((long) wxEVT_GRID_CHANGE_LABELS
));
5294 PyDict_SetItemString(d
,"wxEVT_GRID_CHANGE_SEL_LABEL", PyInt_FromLong((long) wxEVT_GRID_CHANGE_SEL_LABEL
));
5295 PyDict_SetItemString(d
,"wxEVT_GRID_CELL_CHANGE", PyInt_FromLong((long) wxEVT_GRID_CELL_CHANGE
));
5296 PyDict_SetItemString(d
,"wxEVT_GRID_CELL_LCLICK", PyInt_FromLong((long) wxEVT_GRID_CELL_LCLICK
));
5297 PyDict_SetItemString(d
,"wxEVT_GRID_CELL_RCLICK", PyInt_FromLong((long) wxEVT_GRID_CELL_RCLICK
));
5298 PyDict_SetItemString(d
,"wxEVT_GRID_LABEL_LCLICK", PyInt_FromLong((long) wxEVT_GRID_LABEL_LCLICK
));
5299 PyDict_SetItemString(d
,"wxEVT_GRID_LABEL_RCLICK", PyInt_FromLong((long) wxEVT_GRID_LABEL_RCLICK
));
5302 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
5303 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);