2 * FILE : gtk/windows2.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Patch 5)
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,b) __declspec(dllexport) a b
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a,b) a _export b
32 # define SWIGEXPORT(a,b) a b
36 # define SWIGEXPORT(a,b) a b
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 void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
47 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 static PyObject
* l_output_helper(PyObject
* target
, PyObject
* o
) {
66 } else if (target
== Py_None
) {
70 if (!PyList_Check(target
)) {
72 target
= PyList_New(0);
73 PyList_Append(target
, o2
);
76 PyList_Append(target
,o
);
82 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
88 } else if (target
== Py_None
) {
92 if (!PyTuple_Check(target
)) {
94 target
= PyTuple_New(1);
95 PyTuple_SetItem(target
, 0, o2
);
98 PyTuple_SetItem(o3
, 0, o
);
101 target
= PySequence_Concat(o2
, o3
);
109 extern int* int_LIST_helper(PyObject
* source
);
110 extern long* long_LIST_helper(PyObject
* source
);
111 extern char** string_LIST_helper(PyObject
* source
);
112 extern wxPoint
* wxPoint_LIST_helper(PyObject
* source
);
113 extern wxBitmap
** wxBitmap_LIST_helper(PyObject
* source
);
114 extern wxString
* wxString_LIST_helper(PyObject
* source
);
115 extern wxAcceleratorEntry
* wxAcceleratorEntry_LIST_helper(PyObject
* source
);
118 static char* wxStringErrorMsg
= "string type is required for parameter";
119 #define wxGridCell_GetTextValue(_swigobj) (_swigobj->GetTextValue())
120 static PyObject
*_wrap_wxGridCell_GetTextValue(PyObject
*self
, PyObject
*args
) {
121 PyObject
* _resultobj
;
127 if(!PyArg_ParseTuple(args
,"s:wxGridCell_GetTextValue",&_argc0
))
130 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGridCell_p")) {
131 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCell_GetTextValue. Expected _wxGridCell_p.");
135 wxString
& _result_ref
= wxGridCell_GetTextValue(_arg0
);
136 _result
= (wxString
*) &_result_ref
;
138 _resultobj
= PyString_FromString(WXSTRINGCAST (*_result
));
143 #define wxGridCell_SetTextValue(_swigobj,_swigarg0) (_swigobj->SetTextValue(_swigarg0))
144 static PyObject
*_wrap_wxGridCell_SetTextValue(PyObject
*self
, PyObject
*args
) {
145 PyObject
* _resultobj
;
149 PyObject
* _obj1
= 0;
152 if(!PyArg_ParseTuple(args
,"sO:wxGridCell_SetTextValue",&_argc0
,&_obj1
))
155 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGridCell_p")) {
156 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCell_SetTextValue. Expected _wxGridCell_p.");
161 if (!PyString_Check(_obj1
)) {
162 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
165 _arg1
= new wxString(PyString_AsString(_obj1
));
167 wxGridCell_SetTextValue(_arg0
,*_arg1
);
169 _resultobj
= Py_None
;
177 #define wxGridCell_GetFont(_swigobj) (_swigobj->GetFont())
178 static PyObject
*_wrap_wxGridCell_GetFont(PyObject
*self
, PyObject
*args
) {
179 PyObject
* _resultobj
;
186 if(!PyArg_ParseTuple(args
,"s:wxGridCell_GetFont",&_argc0
))
189 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGridCell_p")) {
190 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCell_GetFont. Expected _wxGridCell_p.");
194 _result
= (wxFont
*)wxGridCell_GetFont(_arg0
);
195 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
196 _resultobj
= Py_BuildValue("s",_ptemp
);
200 #define wxGridCell_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
201 static PyObject
*_wrap_wxGridCell_SetFont(PyObject
*self
, PyObject
*args
) {
202 PyObject
* _resultobj
;
209 if(!PyArg_ParseTuple(args
,"ss:wxGridCell_SetFont",&_argc0
,&_argc1
))
212 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGridCell_p")) {
213 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCell_SetFont. Expected _wxGridCell_p.");
218 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxFont_p")) {
219 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCell_SetFont. Expected _wxFont_p.");
223 wxGridCell_SetFont(_arg0
,_arg1
);
225 _resultobj
= Py_None
;
229 #define wxGridCell_GetTextColour(_swigobj) (_swigobj->GetTextColour())
230 static PyObject
*_wrap_wxGridCell_GetTextColour(PyObject
*self
, PyObject
*args
) {
231 PyObject
* _resultobj
;
238 if(!PyArg_ParseTuple(args
,"s:wxGridCell_GetTextColour",&_argc0
))
241 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGridCell_p")) {
242 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCell_GetTextColour. Expected _wxGridCell_p.");
246 wxColour
& _result_ref
= wxGridCell_GetTextColour(_arg0
);
247 _result
= (wxColour
*) &_result_ref
;
248 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
249 _resultobj
= Py_BuildValue("s",_ptemp
);
253 #define wxGridCell_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
254 static PyObject
*_wrap_wxGridCell_SetTextColour(PyObject
*self
, PyObject
*args
) {
255 PyObject
* _resultobj
;
262 if(!PyArg_ParseTuple(args
,"ss:wxGridCell_SetTextColour",&_argc0
,&_argc1
))
265 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGridCell_p")) {
266 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCell_SetTextColour. Expected _wxGridCell_p.");
271 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxColour_p")) {
272 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCell_SetTextColour. Expected _wxColour_p.");
276 wxGridCell_SetTextColour(_arg0
,*_arg1
);
278 _resultobj
= Py_None
;
282 #define wxGridCell_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
283 static PyObject
*_wrap_wxGridCell_GetBackgroundColour(PyObject
*self
, PyObject
*args
) {
284 PyObject
* _resultobj
;
291 if(!PyArg_ParseTuple(args
,"s:wxGridCell_GetBackgroundColour",&_argc0
))
294 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGridCell_p")) {
295 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCell_GetBackgroundColour. Expected _wxGridCell_p.");
299 wxColour
& _result_ref
= wxGridCell_GetBackgroundColour(_arg0
);
300 _result
= (wxColour
*) &_result_ref
;
301 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
302 _resultobj
= Py_BuildValue("s",_ptemp
);
306 #define wxGridCell_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
307 static PyObject
*_wrap_wxGridCell_SetBackgroundColour(PyObject
*self
, PyObject
*args
) {
308 PyObject
* _resultobj
;
315 if(!PyArg_ParseTuple(args
,"ss:wxGridCell_SetBackgroundColour",&_argc0
,&_argc1
))
318 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGridCell_p")) {
319 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCell_SetBackgroundColour. Expected _wxGridCell_p.");
324 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxColour_p")) {
325 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCell_SetBackgroundColour. Expected _wxColour_p.");
329 wxGridCell_SetBackgroundColour(_arg0
,*_arg1
);
331 _resultobj
= Py_None
;
335 #define wxGridCell_GetBackgroundBrush(_swigobj) (_swigobj->GetBackgroundBrush())
336 static PyObject
*_wrap_wxGridCell_GetBackgroundBrush(PyObject
*self
, PyObject
*args
) {
337 PyObject
* _resultobj
;
344 if(!PyArg_ParseTuple(args
,"s:wxGridCell_GetBackgroundBrush",&_argc0
))
347 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGridCell_p")) {
348 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCell_GetBackgroundBrush. Expected _wxGridCell_p.");
352 _result
= (wxBrush
*)wxGridCell_GetBackgroundBrush(_arg0
);
353 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBrush_p");
354 _resultobj
= Py_BuildValue("s",_ptemp
);
358 #define wxGridCell_GetAlignment(_swigobj) (_swigobj->GetAlignment())
359 static PyObject
*_wrap_wxGridCell_GetAlignment(PyObject
*self
, PyObject
*args
) {
360 PyObject
* _resultobj
;
366 if(!PyArg_ParseTuple(args
,"s:wxGridCell_GetAlignment",&_argc0
))
369 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGridCell_p")) {
370 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCell_GetAlignment. Expected _wxGridCell_p.");
374 _result
= (int )wxGridCell_GetAlignment(_arg0
);
375 _resultobj
= Py_BuildValue("i",_result
);
379 #define wxGridCell_SetAlignment(_swigobj,_swigarg0) (_swigobj->SetAlignment(_swigarg0))
380 static PyObject
*_wrap_wxGridCell_SetAlignment(PyObject
*self
, PyObject
*args
) {
381 PyObject
* _resultobj
;
387 if(!PyArg_ParseTuple(args
,"si:wxGridCell_SetAlignment",&_argc0
,&_arg1
))
390 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGridCell_p")) {
391 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCell_SetAlignment. Expected _wxGridCell_p.");
395 wxGridCell_SetAlignment(_arg0
,_arg1
);
397 _resultobj
= Py_None
;
401 #define wxGridCell_GetCellBitmap(_swigobj) (_swigobj->GetCellBitmap())
402 static PyObject
*_wrap_wxGridCell_GetCellBitmap(PyObject
*self
, PyObject
*args
) {
403 PyObject
* _resultobj
;
410 if(!PyArg_ParseTuple(args
,"s:wxGridCell_GetCellBitmap",&_argc0
))
413 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGridCell_p")) {
414 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCell_GetCellBitmap. Expected _wxGridCell_p.");
418 _result
= (wxBitmap
*)wxGridCell_GetCellBitmap(_arg0
);
419 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
420 _resultobj
= Py_BuildValue("s",_ptemp
);
424 #define wxGridCell_SetCellBitmap(_swigobj,_swigarg0) (_swigobj->SetCellBitmap(_swigarg0))
425 static PyObject
*_wrap_wxGridCell_SetCellBitmap(PyObject
*self
, PyObject
*args
) {
426 PyObject
* _resultobj
;
433 if(!PyArg_ParseTuple(args
,"ss:wxGridCell_SetCellBitmap",&_argc0
,&_argc1
))
436 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGridCell_p")) {
437 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCell_SetCellBitmap. Expected _wxGridCell_p.");
442 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxBitmap_p")) {
443 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCell_SetCellBitmap. Expected _wxBitmap_p.");
447 wxGridCell_SetCellBitmap(_arg0
,_arg1
);
449 _resultobj
= Py_None
;
453 static void *SwigwxGridTowxPanel(void *ptr
) {
456 src
= (wxGrid
*) ptr
;
457 dest
= (wxPanel
*) src
;
458 return (void *) dest
;
461 static void *SwigwxGridTowxWindow(void *ptr
) {
464 src
= (wxGrid
*) ptr
;
465 dest
= (wxWindow
*) src
;
466 return (void *) dest
;
469 static void *SwigwxGridTowxEvtHandler(void *ptr
) {
472 src
= (wxGrid
*) ptr
;
473 dest
= (wxEvtHandler
*) src
;
474 return (void *) dest
;
477 #define new_wxGrid(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxGrid(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
478 static PyObject
*_wrap_new_wxGrid(PyObject
*self
, PyObject
*args
) {
479 PyObject
* _resultobj
;
483 wxPoint
* _arg2
= &wxPyDefaultPosition
;
484 wxSize
* _arg3
= &wxPyDefaultSize
;
486 char * _arg5
= "grid";
493 if(!PyArg_ParseTuple(args
,"si|ssls:new_wxGrid",&_argc0
,&_arg1
,&_argc2
,&_argc3
,&_arg4
,&_arg5
))
496 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
497 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxGrid. Expected _wxWindow_p.");
502 if (SWIG_GetPtr(_argc2
,(void **) &_arg2
,"_wxPoint_p")) {
503 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxGrid. Expected _wxPoint_p.");
508 if (SWIG_GetPtr(_argc3
,(void **) &_arg3
,"_wxSize_p")) {
509 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of new_wxGrid. Expected _wxSize_p.");
513 _result
= (wxGrid
*)new_wxGrid(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
514 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGrid_p");
515 _resultobj
= Py_BuildValue("s",_ptemp
);
519 #define wxGrid_AdjustScrollbars(_swigobj) (_swigobj->AdjustScrollbars())
520 static PyObject
*_wrap_wxGrid_AdjustScrollbars(PyObject
*self
, PyObject
*args
) {
521 PyObject
* _resultobj
;
526 if(!PyArg_ParseTuple(args
,"s:wxGrid_AdjustScrollbars",&_argc0
))
529 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGrid_p")) {
530 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_AdjustScrollbars. Expected _wxGrid_p.");
534 wxGrid_AdjustScrollbars(_arg0
);
536 _resultobj
= Py_None
;
540 #define wxGrid_AppendCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->AppendCols(_swigarg0,_swigarg1))
541 static PyObject
*_wrap_wxGrid_AppendCols(PyObject
*self
, PyObject
*args
) {
542 PyObject
* _resultobj
;
551 if(!PyArg_ParseTuple(args
,"s|ii:wxGrid_AppendCols",&_argc0
,&_arg1
,&tempbool2
))
554 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGrid_p")) {
555 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_AppendCols. Expected _wxGrid_p.");
559 _arg2
= (bool ) tempbool2
;
560 _result
= (bool )wxGrid_AppendCols(_arg0
,_arg1
,_arg2
);
561 _resultobj
= Py_BuildValue("i",_result
);
565 #define wxGrid_AppendRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->AppendRows(_swigarg0,_swigarg1))
566 static PyObject
*_wrap_wxGrid_AppendRows(PyObject
*self
, PyObject
*args
) {
567 PyObject
* _resultobj
;
576 if(!PyArg_ParseTuple(args
,"s|ii:wxGrid_AppendRows",&_argc0
,&_arg1
,&tempbool2
))
579 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGrid_p")) {
580 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_AppendRows. Expected _wxGrid_p.");
584 _arg2
= (bool ) tempbool2
;
585 _result
= (bool )wxGrid_AppendRows(_arg0
,_arg1
,_arg2
);
586 _resultobj
= Py_BuildValue("i",_result
);
590 #define wxGrid_BeginBatch(_swigobj) (_swigobj->BeginBatch())
591 static PyObject
*_wrap_wxGrid_BeginBatch(PyObject
*self
, PyObject
*args
) {
592 PyObject
* _resultobj
;
597 if(!PyArg_ParseTuple(args
,"s:wxGrid_BeginBatch",&_argc0
))
600 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGrid_p")) {
601 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_BeginBatch. Expected _wxGrid_p.");
605 wxGrid_BeginBatch(_arg0
);
607 _resultobj
= Py_None
;
611 #define wxGrid_CellHitTest(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->CellHitTest(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
612 static PyObject
*_wrap_wxGrid_CellHitTest(PyObject
*self
, PyObject
*args
) {
613 PyObject
* _resultobj
;
631 if(!PyArg_ParseTuple(args
,"sii:wxGrid_CellHitTest",&_argc0
,&_arg1
,&_arg2
))
634 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGrid_p")) {
635 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_CellHitTest. Expected _wxGrid_p.");
639 _result
= (bool )wxGrid_CellHitTest(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
640 _resultobj
= Py_BuildValue("i",_result
);
643 o
= PyInt_FromLong((long) (*_arg3
));
644 _resultobj
= t_output_helper(_resultobj
, o
);
648 o
= PyInt_FromLong((long) (*_arg4
));
649 _resultobj
= t_output_helper(_resultobj
, o
);
654 static bool wxGrid_CreateGrid(wxGrid
*self
,int rows
,int cols
,short defaultWidth
,short defaultHeight
) {
655 return self
->CreateGrid(rows
, cols
, NULL
, NULL
,
656 defaultWidth
, defaultHeight
);
658 static PyObject
*_wrap_wxGrid_CreateGrid(PyObject
*self
, PyObject
*args
) {
659 PyObject
* _resultobj
;
664 short _arg3
= wxGRID_DEFAULT_CELL_WIDTH
;
665 short _arg4
= wxGRID_DEFAULT_CELL_HEIGHT
;
669 if(!PyArg_ParseTuple(args
,"sii|hh:wxGrid_CreateGrid",&_argc0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
672 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGrid_p")) {
673 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_CreateGrid. Expected _wxGrid_p.");
677 _result
= (bool )wxGrid_CreateGrid(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
678 _resultobj
= Py_BuildValue("i",_result
);
682 #define wxGrid_CurrentCellVisible(_swigobj) (_swigobj->CurrentCellVisible())
683 static PyObject
*_wrap_wxGrid_CurrentCellVisible(PyObject
*self
, PyObject
*args
) {
684 PyObject
* _resultobj
;
690 if(!PyArg_ParseTuple(args
,"s:wxGrid_CurrentCellVisible",&_argc0
))
693 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGrid_p")) {
694 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_CurrentCellVisible. Expected _wxGrid_p.");
698 _result
= (bool )wxGrid_CurrentCellVisible(_arg0
);
699 _resultobj
= Py_BuildValue("i",_result
);
703 #define wxGrid_DeleteCols(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DeleteCols(_swigarg0,_swigarg1,_swigarg2))
704 static PyObject
*_wrap_wxGrid_DeleteCols(PyObject
*self
, PyObject
*args
) {
705 PyObject
* _resultobj
;
715 if(!PyArg_ParseTuple(args
,"s|iii:wxGrid_DeleteCols",&_argc0
,&_arg1
,&_arg2
,&tempbool3
))
718 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGrid_p")) {
719 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_DeleteCols. Expected _wxGrid_p.");
723 _arg3
= (bool ) tempbool3
;
724 _result
= (bool )wxGrid_DeleteCols(_arg0
,_arg1
,_arg2
,_arg3
);
725 _resultobj
= Py_BuildValue("i",_result
);
729 #define wxGrid_DeleteRows(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DeleteRows(_swigarg0,_swigarg1,_swigarg2))
730 static PyObject
*_wrap_wxGrid_DeleteRows(PyObject
*self
, PyObject
*args
) {
731 PyObject
* _resultobj
;
741 if(!PyArg_ParseTuple(args
,"s|iii:wxGrid_DeleteRows",&_argc0
,&_arg1
,&_arg2
,&tempbool3
))
744 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGrid_p")) {
745 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_DeleteRows. Expected _wxGrid_p.");
749 _arg3
= (bool ) tempbool3
;
750 _result
= (bool )wxGrid_DeleteRows(_arg0
,_arg1
,_arg2
,_arg3
);
751 _resultobj
= Py_BuildValue("i",_result
);
755 #define wxGrid_EndBatch(_swigobj) (_swigobj->EndBatch())
756 static PyObject
*_wrap_wxGrid_EndBatch(PyObject
*self
, PyObject
*args
) {
757 PyObject
* _resultobj
;
762 if(!PyArg_ParseTuple(args
,"s:wxGrid_EndBatch",&_argc0
))
765 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGrid_p")) {
766 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_EndBatch. Expected _wxGrid_p.");
770 wxGrid_EndBatch(_arg0
);
772 _resultobj
= Py_None
;
776 #define wxGrid_GetBatchCount(_swigobj) (_swigobj->GetBatchCount())
777 static PyObject
*_wrap_wxGrid_GetBatchCount(PyObject
*self
, PyObject
*args
) {
778 PyObject
* _resultobj
;
784 if(!PyArg_ParseTuple(args
,"s:wxGrid_GetBatchCount",&_argc0
))
787 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGrid_p")) {
788 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetBatchCount. Expected _wxGrid_p.");
792 _result
= (int )wxGrid_GetBatchCount(_arg0
);
793 _resultobj
= Py_BuildValue("i",_result
);
797 #define wxGrid_GetCell(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCell(_swigarg0,_swigarg1))
798 static PyObject
*_wrap_wxGrid_GetCell(PyObject
*self
, PyObject
*args
) {
799 PyObject
* _resultobj
;
800 wxGridCell
* _result
;
808 if(!PyArg_ParseTuple(args
,"sii:wxGrid_GetCell",&_argc0
,&_arg1
,&_arg2
))
811 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGrid_p")) {
812 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCell. Expected _wxGrid_p.");
816 _result
= (wxGridCell
*)wxGrid_GetCell(_arg0
,_arg1
,_arg2
);
817 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCell_p");
818 _resultobj
= Py_BuildValue("s",_ptemp
);
822 #define wxGrid_GetCellAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellAlignment(_swigarg0,_swigarg1))
823 static PyObject
*_wrap_wxGrid_GetCellAlignment(PyObject
*self
, PyObject
*args
) {
824 PyObject
* _resultobj
;
832 if(!PyArg_ParseTuple(args
,"sii:wxGrid_GetCellAlignment",&_argc0
,&_arg1
,&_arg2
))
835 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGrid_p")) {
836 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellAlignment. Expected _wxGrid_p.");
840 _result
= (int )wxGrid_GetCellAlignment(_arg0
,_arg1
,_arg2
);
841 _resultobj
= Py_BuildValue("i",_result
);
845 #define wxGrid_GetDefCellAlignment(_swigobj) (_swigobj->GetCellAlignment())
846 static PyObject
*_wrap_wxGrid_GetDefCellAlignment(PyObject
*self
, PyObject
*args
) {
847 PyObject
* _resultobj
;
853 if(!PyArg_ParseTuple(args
,"s:wxGrid_GetDefCellAlignment",&_argc0
))
856 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGrid_p")) {
857 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefCellAlignment. Expected _wxGrid_p.");
861 _result
= (int )wxGrid_GetDefCellAlignment(_arg0
);
862 _resultobj
= Py_BuildValue("i",_result
);
866 #define wxGrid_GetCellBackgroundColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellBackgroundColour(_swigarg0,_swigarg1))
867 static PyObject
*_wrap_wxGrid_GetCellBackgroundColour(PyObject
*self
, PyObject
*args
) {
868 PyObject
* _resultobj
;
877 if(!PyArg_ParseTuple(args
,"sii:wxGrid_GetCellBackgroundColour",&_argc0
,&_arg1
,&_arg2
))
880 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGrid_p")) {
881 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellBackgroundColour. Expected _wxGrid_p.");
885 wxColour
& _result_ref
= wxGrid_GetCellBackgroundColour(_arg0
,_arg1
,_arg2
);
886 _result
= (wxColour
*) &_result_ref
;
887 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
888 _resultobj
= Py_BuildValue("s",_ptemp
);
892 #define wxGrid_GetDefCellBackgroundColour(_swigobj) (_swigobj->GetCellBackgroundColour())
893 static PyObject
*_wrap_wxGrid_GetDefCellBackgroundColour(PyObject
*self
, PyObject
*args
) {
894 PyObject
* _resultobj
;
901 if(!PyArg_ParseTuple(args
,"s:wxGrid_GetDefCellBackgroundColour",&_argc0
))
904 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGrid_p")) {
905 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefCellBackgroundColour. Expected _wxGrid_p.");
909 wxColour
& _result_ref
= wxGrid_GetDefCellBackgroundColour(_arg0
);
910 _result
= (wxColour
*) &_result_ref
;
911 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
912 _resultobj
= Py_BuildValue("s",_ptemp
);
916 #define wxGrid_GetCellTextColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellTextColour(_swigarg0,_swigarg1))
917 static PyObject
*_wrap_wxGrid_GetCellTextColour(PyObject
*self
, PyObject
*args
) {
918 PyObject
* _resultobj
;
927 if(!PyArg_ParseTuple(args
,"sii:wxGrid_GetCellTextColour",&_argc0
,&_arg1
,&_arg2
))
930 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGrid_p")) {
931 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellTextColour. Expected _wxGrid_p.");
935 wxColour
& _result_ref
= wxGrid_GetCellTextColour(_arg0
,_arg1
,_arg2
);
936 _result
= (wxColour
*) &_result_ref
;
937 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
938 _resultobj
= Py_BuildValue("s",_ptemp
);
942 #define wxGrid_GetDefCellTextColour(_swigobj) (_swigobj->GetCellTextColour())
943 static PyObject
*_wrap_wxGrid_GetDefCellTextColour(PyObject
*self
, PyObject
*args
) {
944 PyObject
* _resultobj
;
951 if(!PyArg_ParseTuple(args
,"s:wxGrid_GetDefCellTextColour",&_argc0
))
954 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGrid_p")) {
955 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefCellTextColour. Expected _wxGrid_p.");
959 wxColour
& _result_ref
= wxGrid_GetDefCellTextColour(_arg0
);
960 _result
= (wxColour
*) &_result_ref
;
961 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
962 _resultobj
= Py_BuildValue("s",_ptemp
);
966 #define wxGrid_GetCellTextFont(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellTextFont(_swigarg0,_swigarg1))
967 static PyObject
*_wrap_wxGrid_GetCellTextFont(PyObject
*self
, PyObject
*args
) {
968 PyObject
* _resultobj
;
977 if(!PyArg_ParseTuple(args
,"sii:wxGrid_GetCellTextFont",&_argc0
,&_arg1
,&_arg2
))
980 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGrid_p")) {
981 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellTextFont. Expected _wxGrid_p.");
985 _result
= (wxFont
*)wxGrid_GetCellTextFont(_arg0
,_arg1
,_arg2
);
986 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
987 _resultobj
= Py_BuildValue("s",_ptemp
);
991 #define wxGrid_GetDefCellTextFont(_swigobj) (_swigobj->GetCellTextFont())
992 static PyObject
*_wrap_wxGrid_GetDefCellTextFont(PyObject
*self
, PyObject
*args
) {
993 PyObject
* _resultobj
;
1000 if(!PyArg_ParseTuple(args
,"s:wxGrid_GetDefCellTextFont",&_argc0
))
1003 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGrid_p")) {
1004 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefCellTextFont. Expected _wxGrid_p.");
1008 _result
= (wxFont
*)wxGrid_GetDefCellTextFont(_arg0
);
1009 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
1010 _resultobj
= Py_BuildValue("s",_ptemp
);
1014 #define wxGrid_GetCellValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellValue(_swigarg0,_swigarg1))
1015 static PyObject
*_wrap_wxGrid_GetCellValue(PyObject
*self
, PyObject
*args
) {
1016 PyObject
* _resultobj
;
1024 if(!PyArg_ParseTuple(args
,"sii:wxGrid_GetCellValue",&_argc0
,&_arg1
,&_arg2
))
1027 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGrid_p")) {
1028 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellValue. Expected _wxGrid_p.");
1032 wxString
& _result_ref
= wxGrid_GetCellValue(_arg0
,_arg1
,_arg2
);
1033 _result
= (wxString
*) &_result_ref
;
1035 _resultobj
= PyString_FromString(WXSTRINGCAST (*_result
));
1040 #define wxGrid_GetCols(_swigobj) (_swigobj->GetCols())
1041 static PyObject
*_wrap_wxGrid_GetCols(PyObject
*self
, PyObject
*args
) {
1042 PyObject
* _resultobj
;
1048 if(!PyArg_ParseTuple(args
,"s:wxGrid_GetCols",&_argc0
))
1051 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGrid_p")) {
1052 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCols. Expected _wxGrid_p.");
1056 _result
= (int )wxGrid_GetCols(_arg0
);
1057 _resultobj
= Py_BuildValue("i",_result
);
1061 #define wxGrid_GetColumnWidth(_swigobj,_swigarg0) (_swigobj->GetColumnWidth(_swigarg0))
1062 static PyObject
*_wrap_wxGrid_GetColumnWidth(PyObject
*self
, PyObject
*args
) {
1063 PyObject
* _resultobj
;
1070 if(!PyArg_ParseTuple(args
,"si:wxGrid_GetColumnWidth",&_argc0
,&_arg1
))
1073 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGrid_p")) {
1074 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetColumnWidth. Expected _wxGrid_p.");
1078 _result
= (int )wxGrid_GetColumnWidth(_arg0
,_arg1
);
1079 _resultobj
= Py_BuildValue("i",_result
);
1083 #define wxGrid_GetCurrentRect(_swigobj) (_swigobj->GetCurrentRect())
1084 static PyObject
*_wrap_wxGrid_GetCurrentRect(PyObject
*self
, PyObject
*args
) {
1085 PyObject
* _resultobj
;
1092 if(!PyArg_ParseTuple(args
,"s:wxGrid_GetCurrentRect",&_argc0
))
1095 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGrid_p")) {
1096 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCurrentRect. Expected _wxGrid_p.");
1100 wxRect
& _result_ref
= wxGrid_GetCurrentRect(_arg0
);
1101 _result
= (wxRect
*) &_result_ref
;
1102 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRect_p");
1103 _resultobj
= Py_BuildValue("s",_ptemp
);
1107 #define wxGrid_GetCursorColumn(_swigobj) (_swigobj->GetCursorColumn())
1108 static PyObject
*_wrap_wxGrid_GetCursorColumn(PyObject
*self
, PyObject
*args
) {
1109 PyObject
* _resultobj
;
1115 if(!PyArg_ParseTuple(args
,"s:wxGrid_GetCursorColumn",&_argc0
))
1118 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGrid_p")) {
1119 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCursorColumn. Expected _wxGrid_p.");
1123 _result
= (int )wxGrid_GetCursorColumn(_arg0
);
1124 _resultobj
= Py_BuildValue("i",_result
);
1128 #define wxGrid_GetCursorRow(_swigobj) (_swigobj->GetCursorRow())
1129 static PyObject
*_wrap_wxGrid_GetCursorRow(PyObject
*self
, PyObject
*args
) {
1130 PyObject
* _resultobj
;
1136 if(!PyArg_ParseTuple(args
,"s:wxGrid_GetCursorRow",&_argc0
))
1139 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGrid_p")) {
1140 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCursorRow. Expected _wxGrid_p.");
1144 _result
= (int )wxGrid_GetCursorRow(_arg0
);
1145 _resultobj
= Py_BuildValue("i",_result
);
1149 #define wxGrid_GetEditable(_swigobj) (_swigobj->GetEditable())
1150 static PyObject
*_wrap_wxGrid_GetEditable(PyObject
*self
, PyObject
*args
) {
1151 PyObject
* _resultobj
;
1157 if(!PyArg_ParseTuple(args
,"s:wxGrid_GetEditable",&_argc0
))
1160 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGrid_p")) {
1161 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetEditable. Expected _wxGrid_p.");
1165 _result
= (bool )wxGrid_GetEditable(_arg0
);
1166 _resultobj
= Py_BuildValue("i",_result
);
1170 #define wxGrid_GetHorizScrollBar(_swigobj) (_swigobj->GetHorizScrollBar())
1171 static PyObject
*_wrap_wxGrid_GetHorizScrollBar(PyObject
*self
, PyObject
*args
) {
1172 PyObject
* _resultobj
;
1173 wxScrollBar
* _result
;
1179 if(!PyArg_ParseTuple(args
,"s:wxGrid_GetHorizScrollBar",&_argc0
))
1182 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGrid_p")) {
1183 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetHorizScrollBar. Expected _wxGrid_p.");
1187 _result
= (wxScrollBar
*)wxGrid_GetHorizScrollBar(_arg0
);
1188 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScrollBar_p");
1189 _resultobj
= Py_BuildValue("s",_ptemp
);
1193 #define wxGrid_GetLabelAlignment(_swigobj,_swigarg0) (_swigobj->GetLabelAlignment(_swigarg0))
1194 static PyObject
*_wrap_wxGrid_GetLabelAlignment(PyObject
*self
, PyObject
*args
) {
1195 PyObject
* _resultobj
;
1202 if(!PyArg_ParseTuple(args
,"si:wxGrid_GetLabelAlignment",&_argc0
,&_arg1
))
1205 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGrid_p")) {
1206 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetLabelAlignment. Expected _wxGrid_p.");
1210 _result
= (int )wxGrid_GetLabelAlignment(_arg0
,_arg1
);
1211 _resultobj
= Py_BuildValue("i",_result
);
1215 #define wxGrid_GetLabelBackgroundColour(_swigobj) (_swigobj->GetLabelBackgroundColour())
1216 static PyObject
*_wrap_wxGrid_GetLabelBackgroundColour(PyObject
*self
, PyObject
*args
) {
1217 PyObject
* _resultobj
;
1224 if(!PyArg_ParseTuple(args
,"s:wxGrid_GetLabelBackgroundColour",&_argc0
))
1227 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGrid_p")) {
1228 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetLabelBackgroundColour. Expected _wxGrid_p.");
1232 wxColour
& _result_ref
= wxGrid_GetLabelBackgroundColour(_arg0
);
1233 _result
= (wxColour
*) &_result_ref
;
1234 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
1235 _resultobj
= Py_BuildValue("s",_ptemp
);
1239 #define wxGrid_GetLabelSize(_swigobj,_swigarg0) (_swigobj->GetLabelSize(_swigarg0))
1240 static PyObject
*_wrap_wxGrid_GetLabelSize(PyObject
*self
, PyObject
*args
) {
1241 PyObject
* _resultobj
;
1248 if(!PyArg_ParseTuple(args
,"si:wxGrid_GetLabelSize",&_argc0
,&_arg1
))
1251 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGrid_p")) {
1252 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetLabelSize. Expected _wxGrid_p.");
1256 _result
= (int )wxGrid_GetLabelSize(_arg0
,_arg1
);
1257 _resultobj
= Py_BuildValue("i",_result
);
1261 #define wxGrid_GetLabelTextColour(_swigobj) (_swigobj->GetLabelTextColour())
1262 static PyObject
*_wrap_wxGrid_GetLabelTextColour(PyObject
*self
, PyObject
*args
) {
1263 PyObject
* _resultobj
;
1270 if(!PyArg_ParseTuple(args
,"s:wxGrid_GetLabelTextColour",&_argc0
))
1273 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGrid_p")) {
1274 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetLabelTextColour. Expected _wxGrid_p.");
1278 wxColour
& _result_ref
= wxGrid_GetLabelTextColour(_arg0
);
1279 _result
= (wxColour
*) &_result_ref
;
1280 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
1281 _resultobj
= Py_BuildValue("s",_ptemp
);
1285 #define wxGrid_GetLabelTextFont(_swigobj) (_swigobj->GetLabelTextFont())
1286 static PyObject
*_wrap_wxGrid_GetLabelTextFont(PyObject
*self
, PyObject
*args
) {
1287 PyObject
* _resultobj
;
1294 if(!PyArg_ParseTuple(args
,"s:wxGrid_GetLabelTextFont",&_argc0
))
1297 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGrid_p")) {
1298 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetLabelTextFont. Expected _wxGrid_p.");
1302 _result
= (wxFont
*)wxGrid_GetLabelTextFont(_arg0
);
1303 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
1304 _resultobj
= Py_BuildValue("s",_ptemp
);
1308 #define wxGrid_GetLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetLabelValue(_swigarg0,_swigarg1))
1309 static PyObject
*_wrap_wxGrid_GetLabelValue(PyObject
*self
, PyObject
*args
) {
1310 PyObject
* _resultobj
;
1318 if(!PyArg_ParseTuple(args
,"sii:wxGrid_GetLabelValue",&_argc0
,&_arg1
,&_arg2
))
1321 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGrid_p")) {
1322 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetLabelValue. Expected _wxGrid_p.");
1326 wxString
& _result_ref
= wxGrid_GetLabelValue(_arg0
,_arg1
,_arg2
);
1327 _result
= (wxString
*) &_result_ref
;
1329 _resultobj
= PyString_FromString(WXSTRINGCAST (*_result
));
1334 #define wxGrid_GetRowHeight(_swigobj,_swigarg0) (_swigobj->GetRowHeight(_swigarg0))
1335 static PyObject
*_wrap_wxGrid_GetRowHeight(PyObject
*self
, PyObject
*args
) {
1336 PyObject
* _resultobj
;
1343 if(!PyArg_ParseTuple(args
,"si:wxGrid_GetRowHeight",&_argc0
,&_arg1
))
1346 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGrid_p")) {
1347 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetRowHeight. Expected _wxGrid_p.");
1351 _result
= (int )wxGrid_GetRowHeight(_arg0
,_arg1
);
1352 _resultobj
= Py_BuildValue("i",_result
);
1356 #define wxGrid_GetRows(_swigobj) (_swigobj->GetRows())
1357 static PyObject
*_wrap_wxGrid_GetRows(PyObject
*self
, PyObject
*args
) {
1358 PyObject
* _resultobj
;
1364 if(!PyArg_ParseTuple(args
,"s:wxGrid_GetRows",&_argc0
))
1367 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGrid_p")) {
1368 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetRows. Expected _wxGrid_p.");
1372 _result
= (int )wxGrid_GetRows(_arg0
);
1373 _resultobj
= Py_BuildValue("i",_result
);
1377 #define wxGrid_GetScrollPosX(_swigobj) (_swigobj->GetScrollPosX())
1378 static PyObject
*_wrap_wxGrid_GetScrollPosX(PyObject
*self
, PyObject
*args
) {
1379 PyObject
* _resultobj
;
1385 if(!PyArg_ParseTuple(args
,"s:wxGrid_GetScrollPosX",&_argc0
))
1388 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGrid_p")) {
1389 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetScrollPosX. Expected _wxGrid_p.");
1393 _result
= (int )wxGrid_GetScrollPosX(_arg0
);
1394 _resultobj
= Py_BuildValue("i",_result
);
1398 #define wxGrid_GetScrollPosY(_swigobj) (_swigobj->GetScrollPosY())
1399 static PyObject
*_wrap_wxGrid_GetScrollPosY(PyObject
*self
, PyObject
*args
) {
1400 PyObject
* _resultobj
;
1406 if(!PyArg_ParseTuple(args
,"s:wxGrid_GetScrollPosY",&_argc0
))
1409 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGrid_p")) {
1410 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetScrollPosY. Expected _wxGrid_p.");
1414 _result
= (int )wxGrid_GetScrollPosY(_arg0
);
1415 _resultobj
= Py_BuildValue("i",_result
);
1419 #define wxGrid_GetTextItem(_swigobj) (_swigobj->GetTextItem())
1420 static PyObject
*_wrap_wxGrid_GetTextItem(PyObject
*self
, PyObject
*args
) {
1421 PyObject
* _resultobj
;
1422 wxTextCtrl
* _result
;
1428 if(!PyArg_ParseTuple(args
,"s:wxGrid_GetTextItem",&_argc0
))
1431 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGrid_p")) {
1432 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetTextItem. Expected _wxGrid_p.");
1436 _result
= (wxTextCtrl
*)wxGrid_GetTextItem(_arg0
);
1437 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTextCtrl_p");
1438 _resultobj
= Py_BuildValue("s",_ptemp
);
1442 #define wxGrid_GetVertScrollBar(_swigobj) (_swigobj->GetVertScrollBar())
1443 static PyObject
*_wrap_wxGrid_GetVertScrollBar(PyObject
*self
, PyObject
*args
) {
1444 PyObject
* _resultobj
;
1445 wxScrollBar
* _result
;
1451 if(!PyArg_ParseTuple(args
,"s:wxGrid_GetVertScrollBar",&_argc0
))
1454 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGrid_p")) {
1455 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetVertScrollBar. Expected _wxGrid_p.");
1459 _result
= (wxScrollBar
*)wxGrid_GetVertScrollBar(_arg0
);
1460 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScrollBar_p");
1461 _resultobj
= Py_BuildValue("s",_ptemp
);
1465 #define wxGrid_InsertCols(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertCols(_swigarg0,_swigarg1,_swigarg2))
1466 static PyObject
*_wrap_wxGrid_InsertCols(PyObject
*self
, PyObject
*args
) {
1467 PyObject
* _resultobj
;
1477 if(!PyArg_ParseTuple(args
,"s|iii:wxGrid_InsertCols",&_argc0
,&_arg1
,&_arg2
,&tempbool3
))
1480 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGrid_p")) {
1481 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_InsertCols. Expected _wxGrid_p.");
1485 _arg3
= (bool ) tempbool3
;
1486 _result
= (bool )wxGrid_InsertCols(_arg0
,_arg1
,_arg2
,_arg3
);
1487 _resultobj
= Py_BuildValue("i",_result
);
1491 #define wxGrid_InsertRows(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertRows(_swigarg0,_swigarg1,_swigarg2))
1492 static PyObject
*_wrap_wxGrid_InsertRows(PyObject
*self
, PyObject
*args
) {
1493 PyObject
* _resultobj
;
1503 if(!PyArg_ParseTuple(args
,"s|iii:wxGrid_InsertRows",&_argc0
,&_arg1
,&_arg2
,&tempbool3
))
1506 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGrid_p")) {
1507 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_InsertRows. Expected _wxGrid_p.");
1511 _arg3
= (bool ) tempbool3
;
1512 _result
= (bool )wxGrid_InsertRows(_arg0
,_arg1
,_arg2
,_arg3
);
1513 _resultobj
= Py_BuildValue("i",_result
);
1517 #define wxGrid_SetCellAlignment(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellAlignment(_swigarg0,_swigarg1,_swigarg2))
1518 static PyObject
*_wrap_wxGrid_SetCellAlignment(PyObject
*self
, PyObject
*args
) {
1519 PyObject
* _resultobj
;
1527 if(!PyArg_ParseTuple(args
,"siii:wxGrid_SetCellAlignment",&_argc0
,&_arg1
,&_arg2
,&_arg3
))
1530 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGrid_p")) {
1531 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellAlignment. Expected _wxGrid_p.");
1535 wxGrid_SetCellAlignment(_arg0
,_arg1
,_arg2
,_arg3
);
1537 _resultobj
= Py_None
;
1541 #define wxGrid_SetDefCellAlignment(_swigobj,_swigarg0) (_swigobj->SetCellAlignment(_swigarg0))
1542 static PyObject
*_wrap_wxGrid_SetDefCellAlignment(PyObject
*self
, PyObject
*args
) {
1543 PyObject
* _resultobj
;
1549 if(!PyArg_ParseTuple(args
,"si:wxGrid_SetDefCellAlignment",&_argc0
,&_arg1
))
1552 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGrid_p")) {
1553 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetDefCellAlignment. Expected _wxGrid_p.");
1557 wxGrid_SetDefCellAlignment(_arg0
,_arg1
);
1559 _resultobj
= Py_None
;
1563 #define wxGrid_SetCellBackgroundColour(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellBackgroundColour(_swigarg0,_swigarg1,_swigarg2))
1564 static PyObject
*_wrap_wxGrid_SetCellBackgroundColour(PyObject
*self
, PyObject
*args
) {
1565 PyObject
* _resultobj
;
1574 if(!PyArg_ParseTuple(args
,"ssii:wxGrid_SetCellBackgroundColour",&_argc0
,&_argc1
,&_arg2
,&_arg3
))
1577 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGrid_p")) {
1578 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellBackgroundColour. Expected _wxGrid_p.");
1583 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxColour_p")) {
1584 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_SetCellBackgroundColour. Expected _wxColour_p.");
1588 wxGrid_SetCellBackgroundColour(_arg0
,*_arg1
,_arg2
,_arg3
);
1590 _resultobj
= Py_None
;
1594 #define wxGrid_SetDefCellBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetCellBackgroundColour(_swigarg0))
1595 static PyObject
*_wrap_wxGrid_SetDefCellBackgroundColour(PyObject
*self
, PyObject
*args
) {
1596 PyObject
* _resultobj
;
1603 if(!PyArg_ParseTuple(args
,"ss:wxGrid_SetDefCellBackgroundColour",&_argc0
,&_argc1
))
1606 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGrid_p")) {
1607 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetDefCellBackgroundColour. Expected _wxGrid_p.");
1612 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxColour_p")) {
1613 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_SetDefCellBackgroundColour. Expected _wxColour_p.");
1617 wxGrid_SetDefCellBackgroundColour(_arg0
,*_arg1
);
1619 _resultobj
= Py_None
;
1623 #define wxGrid_SetCellTextColour(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellTextColour(_swigarg0,_swigarg1,_swigarg2))
1624 static PyObject
*_wrap_wxGrid_SetCellTextColour(PyObject
*self
, PyObject
*args
) {
1625 PyObject
* _resultobj
;
1634 if(!PyArg_ParseTuple(args
,"ssii:wxGrid_SetCellTextColour",&_argc0
,&_argc1
,&_arg2
,&_arg3
))
1637 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGrid_p")) {
1638 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellTextColour. Expected _wxGrid_p.");
1643 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxColour_p")) {
1644 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_SetCellTextColour. Expected _wxColour_p.");
1648 wxGrid_SetCellTextColour(_arg0
,*_arg1
,_arg2
,_arg3
);
1650 _resultobj
= Py_None
;
1654 #define wxGrid_SetDefCellTextColour(_swigobj,_swigarg0) (_swigobj->SetCellTextColour(_swigarg0))
1655 static PyObject
*_wrap_wxGrid_SetDefCellTextColour(PyObject
*self
, PyObject
*args
) {
1656 PyObject
* _resultobj
;
1663 if(!PyArg_ParseTuple(args
,"ss:wxGrid_SetDefCellTextColour",&_argc0
,&_argc1
))
1666 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGrid_p")) {
1667 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetDefCellTextColour. Expected _wxGrid_p.");
1672 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxColour_p")) {
1673 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_SetDefCellTextColour. Expected _wxColour_p.");
1677 wxGrid_SetDefCellTextColour(_arg0
,*_arg1
);
1679 _resultobj
= Py_None
;
1683 #define wxGrid_SetCellTextFont(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellTextFont(_swigarg0,_swigarg1,_swigarg2))
1684 static PyObject
*_wrap_wxGrid_SetCellTextFont(PyObject
*self
, PyObject
*args
) {
1685 PyObject
* _resultobj
;
1694 if(!PyArg_ParseTuple(args
,"ssii:wxGrid_SetCellTextFont",&_argc0
,&_argc1
,&_arg2
,&_arg3
))
1697 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGrid_p")) {
1698 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellTextFont. Expected _wxGrid_p.");
1703 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxFont_p")) {
1704 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_SetCellTextFont. Expected _wxFont_p.");
1708 wxGrid_SetCellTextFont(_arg0
,_arg1
,_arg2
,_arg3
);
1710 _resultobj
= Py_None
;
1714 #define wxGrid_SetDefCellTextFont(_swigobj,_swigarg0) (_swigobj->SetCellTextFont(_swigarg0))
1715 static PyObject
*_wrap_wxGrid_SetDefCellTextFont(PyObject
*self
, PyObject
*args
) {
1716 PyObject
* _resultobj
;
1723 if(!PyArg_ParseTuple(args
,"ss:wxGrid_SetDefCellTextFont",&_argc0
,&_argc1
))
1726 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGrid_p")) {
1727 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetDefCellTextFont. Expected _wxGrid_p.");
1732 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxFont_p")) {
1733 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_SetDefCellTextFont. Expected _wxFont_p.");
1737 wxGrid_SetDefCellTextFont(_arg0
,_arg1
);
1739 _resultobj
= Py_None
;
1743 #define wxGrid_SetCellValue(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellValue(_swigarg0,_swigarg1,_swigarg2))
1744 static PyObject
*_wrap_wxGrid_SetCellValue(PyObject
*self
, PyObject
*args
) {
1745 PyObject
* _resultobj
;
1751 PyObject
* _obj1
= 0;
1754 if(!PyArg_ParseTuple(args
,"sOii:wxGrid_SetCellValue",&_argc0
,&_obj1
,&_arg2
,&_arg3
))
1757 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGrid_p")) {
1758 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellValue. Expected _wxGrid_p.");
1763 if (!PyString_Check(_obj1
)) {
1764 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1767 _arg1
= new wxString(PyString_AsString(_obj1
));
1769 wxGrid_SetCellValue(_arg0
,*_arg1
,_arg2
,_arg3
);
1771 _resultobj
= Py_None
;
1779 #define wxGrid_SetColumnWidth(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColumnWidth(_swigarg0,_swigarg1))
1780 static PyObject
*_wrap_wxGrid_SetColumnWidth(PyObject
*self
, PyObject
*args
) {
1781 PyObject
* _resultobj
;
1788 if(!PyArg_ParseTuple(args
,"sii:wxGrid_SetColumnWidth",&_argc0
,&_arg1
,&_arg2
))
1791 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGrid_p")) {
1792 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetColumnWidth. Expected _wxGrid_p.");
1796 wxGrid_SetColumnWidth(_arg0
,_arg1
,_arg2
);
1798 _resultobj
= Py_None
;
1802 #define wxGrid_SetDividerPen(_swigobj,_swigarg0) (_swigobj->SetDividerPen(_swigarg0))
1803 static PyObject
*_wrap_wxGrid_SetDividerPen(PyObject
*self
, PyObject
*args
) {
1804 PyObject
* _resultobj
;
1811 if(!PyArg_ParseTuple(args
,"ss:wxGrid_SetDividerPen",&_argc0
,&_argc1
))
1814 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGrid_p")) {
1815 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetDividerPen. Expected _wxGrid_p.");
1820 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxPen_p")) {
1821 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_SetDividerPen. Expected _wxPen_p.");
1825 wxGrid_SetDividerPen(_arg0
,_arg1
);
1827 _resultobj
= Py_None
;
1831 #define wxGrid_SetEditable(_swigobj,_swigarg0) (_swigobj->SetEditable(_swigarg0))
1832 static PyObject
*_wrap_wxGrid_SetEditable(PyObject
*self
, PyObject
*args
) {
1833 PyObject
* _resultobj
;
1840 if(!PyArg_ParseTuple(args
,"si:wxGrid_SetEditable",&_argc0
,&tempbool1
))
1843 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGrid_p")) {
1844 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetEditable. Expected _wxGrid_p.");
1848 _arg1
= (bool ) tempbool1
;
1849 wxGrid_SetEditable(_arg0
,_arg1
);
1851 _resultobj
= Py_None
;
1855 #define wxGrid_SetGridCursor(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetGridCursor(_swigarg0,_swigarg1))
1856 static PyObject
*_wrap_wxGrid_SetGridCursor(PyObject
*self
, PyObject
*args
) {
1857 PyObject
* _resultobj
;
1864 if(!PyArg_ParseTuple(args
,"sii:wxGrid_SetGridCursor",&_argc0
,&_arg1
,&_arg2
))
1867 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGrid_p")) {
1868 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetGridCursor. Expected _wxGrid_p.");
1872 wxGrid_SetGridCursor(_arg0
,_arg1
,_arg2
);
1874 _resultobj
= Py_None
;
1878 #define wxGrid_SetLabelAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabelAlignment(_swigarg0,_swigarg1))
1879 static PyObject
*_wrap_wxGrid_SetLabelAlignment(PyObject
*self
, PyObject
*args
) {
1880 PyObject
* _resultobj
;
1887 if(!PyArg_ParseTuple(args
,"sii:wxGrid_SetLabelAlignment",&_argc0
,&_arg1
,&_arg2
))
1890 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGrid_p")) {
1891 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetLabelAlignment. Expected _wxGrid_p.");
1895 wxGrid_SetLabelAlignment(_arg0
,_arg1
,_arg2
);
1897 _resultobj
= Py_None
;
1901 #define wxGrid_SetLabelBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetLabelBackgroundColour(_swigarg0))
1902 static PyObject
*_wrap_wxGrid_SetLabelBackgroundColour(PyObject
*self
, PyObject
*args
) {
1903 PyObject
* _resultobj
;
1910 if(!PyArg_ParseTuple(args
,"ss:wxGrid_SetLabelBackgroundColour",&_argc0
,&_argc1
))
1913 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGrid_p")) {
1914 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetLabelBackgroundColour. Expected _wxGrid_p.");
1919 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxColour_p")) {
1920 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_SetLabelBackgroundColour. Expected _wxColour_p.");
1924 wxGrid_SetLabelBackgroundColour(_arg0
,*_arg1
);
1926 _resultobj
= Py_None
;
1930 #define wxGrid_SetLabelSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabelSize(_swigarg0,_swigarg1))
1931 static PyObject
*_wrap_wxGrid_SetLabelSize(PyObject
*self
, PyObject
*args
) {
1932 PyObject
* _resultobj
;
1939 if(!PyArg_ParseTuple(args
,"sii:wxGrid_SetLabelSize",&_argc0
,&_arg1
,&_arg2
))
1942 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGrid_p")) {
1943 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetLabelSize. Expected _wxGrid_p.");
1947 wxGrid_SetLabelSize(_arg0
,_arg1
,_arg2
);
1949 _resultobj
= Py_None
;
1953 #define wxGrid_SetLabelTextColour(_swigobj,_swigarg0) (_swigobj->SetLabelTextColour(_swigarg0))
1954 static PyObject
*_wrap_wxGrid_SetLabelTextColour(PyObject
*self
, PyObject
*args
) {
1955 PyObject
* _resultobj
;
1962 if(!PyArg_ParseTuple(args
,"ss:wxGrid_SetLabelTextColour",&_argc0
,&_argc1
))
1965 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGrid_p")) {
1966 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetLabelTextColour. Expected _wxGrid_p.");
1971 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxColour_p")) {
1972 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_SetLabelTextColour. Expected _wxColour_p.");
1976 wxGrid_SetLabelTextColour(_arg0
,*_arg1
);
1978 _resultobj
= Py_None
;
1982 #define wxGrid_SetLabelTextFont(_swigobj,_swigarg0) (_swigobj->SetLabelTextFont(_swigarg0))
1983 static PyObject
*_wrap_wxGrid_SetLabelTextFont(PyObject
*self
, PyObject
*args
) {
1984 PyObject
* _resultobj
;
1991 if(!PyArg_ParseTuple(args
,"ss:wxGrid_SetLabelTextFont",&_argc0
,&_argc1
))
1994 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGrid_p")) {
1995 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetLabelTextFont. Expected _wxGrid_p.");
2000 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxFont_p")) {
2001 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_SetLabelTextFont. Expected _wxFont_p.");
2005 wxGrid_SetLabelTextFont(_arg0
,_arg1
);
2007 _resultobj
= Py_None
;
2011 #define wxGrid_SetLabelValue(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetLabelValue(_swigarg0,_swigarg1,_swigarg2))
2012 static PyObject
*_wrap_wxGrid_SetLabelValue(PyObject
*self
, PyObject
*args
) {
2013 PyObject
* _resultobj
;
2019 PyObject
* _obj2
= 0;
2022 if(!PyArg_ParseTuple(args
,"siOi:wxGrid_SetLabelValue",&_argc0
,&_arg1
,&_obj2
,&_arg3
))
2025 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGrid_p")) {
2026 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetLabelValue. Expected _wxGrid_p.");
2031 if (!PyString_Check(_obj2
)) {
2032 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2035 _arg2
= new wxString(PyString_AsString(_obj2
));
2037 wxGrid_SetLabelValue(_arg0
,_arg1
,*_arg2
,_arg3
);
2039 _resultobj
= Py_None
;
2047 #define wxGrid_SetRowHeight(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowHeight(_swigarg0,_swigarg1))
2048 static PyObject
*_wrap_wxGrid_SetRowHeight(PyObject
*self
, PyObject
*args
) {
2049 PyObject
* _resultobj
;
2056 if(!PyArg_ParseTuple(args
,"sii:wxGrid_SetRowHeight",&_argc0
,&_arg1
,&_arg2
))
2059 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGrid_p")) {
2060 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetRowHeight. Expected _wxGrid_p.");
2064 wxGrid_SetRowHeight(_arg0
,_arg1
,_arg2
);
2066 _resultobj
= Py_None
;
2070 #define wxGrid_UpdateDimensions(_swigobj) (_swigobj->UpdateDimensions())
2071 static PyObject
*_wrap_wxGrid_UpdateDimensions(PyObject
*self
, PyObject
*args
) {
2072 PyObject
* _resultobj
;
2077 if(!PyArg_ParseTuple(args
,"s:wxGrid_UpdateDimensions",&_argc0
))
2080 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGrid_p")) {
2081 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_UpdateDimensions. Expected _wxGrid_p.");
2085 wxGrid_UpdateDimensions(_arg0
);
2087 _resultobj
= Py_None
;
2091 static void *SwigwxNotebookEventTowxCommandEvent(void *ptr
) {
2092 wxNotebookEvent
*src
;
2093 wxCommandEvent
*dest
;
2094 src
= (wxNotebookEvent
*) ptr
;
2095 dest
= (wxCommandEvent
*) src
;
2096 return (void *) dest
;
2099 static void *SwigwxNotebookEventTowxEvent(void *ptr
) {
2100 wxNotebookEvent
*src
;
2102 src
= (wxNotebookEvent
*) ptr
;
2103 dest
= (wxEvent
*) src
;
2104 return (void *) dest
;
2107 #define wxNotebookEvent_GetSelection(_swigobj) (_swigobj->GetSelection())
2108 static PyObject
*_wrap_wxNotebookEvent_GetSelection(PyObject
*self
, PyObject
*args
) {
2109 PyObject
* _resultobj
;
2111 wxNotebookEvent
* _arg0
;
2115 if(!PyArg_ParseTuple(args
,"s:wxNotebookEvent_GetSelection",&_argc0
))
2118 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxNotebookEvent_p")) {
2119 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebookEvent_GetSelection. Expected _wxNotebookEvent_p.");
2123 _result
= (int )wxNotebookEvent_GetSelection(_arg0
);
2124 _resultobj
= Py_BuildValue("i",_result
);
2128 #define wxNotebookEvent_GetOldSelection(_swigobj) (_swigobj->GetOldSelection())
2129 static PyObject
*_wrap_wxNotebookEvent_GetOldSelection(PyObject
*self
, PyObject
*args
) {
2130 PyObject
* _resultobj
;
2132 wxNotebookEvent
* _arg0
;
2136 if(!PyArg_ParseTuple(args
,"s:wxNotebookEvent_GetOldSelection",&_argc0
))
2139 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxNotebookEvent_p")) {
2140 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebookEvent_GetOldSelection. Expected _wxNotebookEvent_p.");
2144 _result
= (int )wxNotebookEvent_GetOldSelection(_arg0
);
2145 _resultobj
= Py_BuildValue("i",_result
);
2149 static void *SwigwxNotebookTowxControl(void *ptr
) {
2152 src
= (wxNotebook
*) ptr
;
2153 dest
= (wxControl
*) src
;
2154 return (void *) dest
;
2157 static void *SwigwxNotebookTowxWindow(void *ptr
) {
2160 src
= (wxNotebook
*) ptr
;
2161 dest
= (wxWindow
*) src
;
2162 return (void *) dest
;
2165 static void *SwigwxNotebookTowxEvtHandler(void *ptr
) {
2168 src
= (wxNotebook
*) ptr
;
2169 dest
= (wxEvtHandler
*) src
;
2170 return (void *) dest
;
2173 #define new_wxNotebook(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxNotebook(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
2174 static PyObject
*_wrap_new_wxNotebook(PyObject
*self
, PyObject
*args
) {
2175 PyObject
* _resultobj
;
2176 wxNotebook
* _result
;
2179 wxPoint
* _arg2
= &wxPyDefaultPosition
;
2180 wxSize
* _arg3
= &wxPyDefaultSize
;
2182 char * _arg5
= "notebook";
2189 if(!PyArg_ParseTuple(args
,"si|ssls:new_wxNotebook",&_argc0
,&_arg1
,&_argc2
,&_argc3
,&_arg4
,&_arg5
))
2192 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2193 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxNotebook. Expected _wxWindow_p.");
2198 if (SWIG_GetPtr(_argc2
,(void **) &_arg2
,"_wxPoint_p")) {
2199 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxNotebook. Expected _wxPoint_p.");
2204 if (SWIG_GetPtr(_argc3
,(void **) &_arg3
,"_wxSize_p")) {
2205 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of new_wxNotebook. Expected _wxSize_p.");
2209 _result
= (wxNotebook
*)new_wxNotebook(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
2210 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxNotebook_p");
2211 _resultobj
= Py_BuildValue("s",_ptemp
);
2215 #define wxNotebook_GetPageCount(_swigobj) (_swigobj->GetPageCount())
2216 static PyObject
*_wrap_wxNotebook_GetPageCount(PyObject
*self
, PyObject
*args
) {
2217 PyObject
* _resultobj
;
2223 if(!PyArg_ParseTuple(args
,"s:wxNotebook_GetPageCount",&_argc0
))
2226 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxNotebook_p")) {
2227 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_GetPageCount. Expected _wxNotebook_p.");
2231 _result
= (int )wxNotebook_GetPageCount(_arg0
);
2232 _resultobj
= Py_BuildValue("i",_result
);
2236 #define wxNotebook_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
2237 static PyObject
*_wrap_wxNotebook_SetSelection(PyObject
*self
, PyObject
*args
) {
2238 PyObject
* _resultobj
;
2245 if(!PyArg_ParseTuple(args
,"si:wxNotebook_SetSelection",&_argc0
,&_arg1
))
2248 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxNotebook_p")) {
2249 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_SetSelection. Expected _wxNotebook_p.");
2253 _result
= (int )wxNotebook_SetSelection(_arg0
,_arg1
);
2254 _resultobj
= Py_BuildValue("i",_result
);
2258 #define wxNotebook_AdvanceSelection(_swigobj,_swigarg0) (_swigobj->AdvanceSelection(_swigarg0))
2259 static PyObject
*_wrap_wxNotebook_AdvanceSelection(PyObject
*self
, PyObject
*args
) {
2260 PyObject
* _resultobj
;
2267 if(!PyArg_ParseTuple(args
,"s|i:wxNotebook_AdvanceSelection",&_argc0
,&tempbool1
))
2270 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxNotebook_p")) {
2271 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_AdvanceSelection. Expected _wxNotebook_p.");
2275 _arg1
= (bool ) tempbool1
;
2276 wxNotebook_AdvanceSelection(_arg0
,_arg1
);
2278 _resultobj
= Py_None
;
2282 #define wxNotebook_GetSelection(_swigobj) (_swigobj->GetSelection())
2283 static PyObject
*_wrap_wxNotebook_GetSelection(PyObject
*self
, PyObject
*args
) {
2284 PyObject
* _resultobj
;
2290 if(!PyArg_ParseTuple(args
,"s:wxNotebook_GetSelection",&_argc0
))
2293 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxNotebook_p")) {
2294 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_GetSelection. Expected _wxNotebook_p.");
2298 _result
= (int )wxNotebook_GetSelection(_arg0
);
2299 _resultobj
= Py_BuildValue("i",_result
);
2303 #define wxNotebook_SetPageText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetPageText(_swigarg0,_swigarg1))
2304 static PyObject
*_wrap_wxNotebook_SetPageText(PyObject
*self
, PyObject
*args
) {
2305 PyObject
* _resultobj
;
2311 PyObject
* _obj2
= 0;
2314 if(!PyArg_ParseTuple(args
,"siO:wxNotebook_SetPageText",&_argc0
,&_arg1
,&_obj2
))
2317 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxNotebook_p")) {
2318 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_SetPageText. Expected _wxNotebook_p.");
2323 if (!PyString_Check(_obj2
)) {
2324 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2327 _arg2
= new wxString(PyString_AsString(_obj2
));
2329 _result
= (bool )wxNotebook_SetPageText(_arg0
,_arg1
,*_arg2
);
2330 _resultobj
= Py_BuildValue("i",_result
);
2338 #define wxNotebook_GetPageText(_swigobj,_swigarg0) (_swigobj->GetPageText(_swigarg0))
2339 static PyObject
*_wrap_wxNotebook_GetPageText(PyObject
*self
, PyObject
*args
) {
2340 PyObject
* _resultobj
;
2347 if(!PyArg_ParseTuple(args
,"si:wxNotebook_GetPageText",&_argc0
,&_arg1
))
2350 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxNotebook_p")) {
2351 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_GetPageText. Expected _wxNotebook_p.");
2355 _result
= new wxString (wxNotebook_GetPageText(_arg0
,_arg1
));
2357 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
2365 #define wxNotebook_SetImageList(_swigobj,_swigarg0) (_swigobj->SetImageList(_swigarg0))
2366 static PyObject
*_wrap_wxNotebook_SetImageList(PyObject
*self
, PyObject
*args
) {
2367 PyObject
* _resultobj
;
2369 wxImageList
* _arg1
;
2374 if(!PyArg_ParseTuple(args
,"ss:wxNotebook_SetImageList",&_argc0
,&_argc1
))
2377 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxNotebook_p")) {
2378 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_SetImageList. Expected _wxNotebook_p.");
2383 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxImageList_p")) {
2384 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxNotebook_SetImageList. Expected _wxImageList_p.");
2388 wxNotebook_SetImageList(_arg0
,_arg1
);
2390 _resultobj
= Py_None
;
2394 #define wxNotebook_GetImageList(_swigobj) (_swigobj->GetImageList())
2395 static PyObject
*_wrap_wxNotebook_GetImageList(PyObject
*self
, PyObject
*args
) {
2396 PyObject
* _resultobj
;
2397 wxImageList
* _result
;
2403 if(!PyArg_ParseTuple(args
,"s:wxNotebook_GetImageList",&_argc0
))
2406 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxNotebook_p")) {
2407 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_GetImageList. Expected _wxNotebook_p.");
2411 _result
= (wxImageList
*)wxNotebook_GetImageList(_arg0
);
2412 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxImageList_p");
2413 _resultobj
= Py_BuildValue("s",_ptemp
);
2417 #define wxNotebook_GetPageImage(_swigobj,_swigarg0) (_swigobj->GetPageImage(_swigarg0))
2418 static PyObject
*_wrap_wxNotebook_GetPageImage(PyObject
*self
, PyObject
*args
) {
2419 PyObject
* _resultobj
;
2426 if(!PyArg_ParseTuple(args
,"si:wxNotebook_GetPageImage",&_argc0
,&_arg1
))
2429 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxNotebook_p")) {
2430 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_GetPageImage. Expected _wxNotebook_p.");
2434 _result
= (int )wxNotebook_GetPageImage(_arg0
,_arg1
);
2435 _resultobj
= Py_BuildValue("i",_result
);
2439 #define wxNotebook_SetPageImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetPageImage(_swigarg0,_swigarg1))
2440 static PyObject
*_wrap_wxNotebook_SetPageImage(PyObject
*self
, PyObject
*args
) {
2441 PyObject
* _resultobj
;
2449 if(!PyArg_ParseTuple(args
,"sii:wxNotebook_SetPageImage",&_argc0
,&_arg1
,&_arg2
))
2452 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxNotebook_p")) {
2453 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_SetPageImage. Expected _wxNotebook_p.");
2457 _result
= (bool )wxNotebook_SetPageImage(_arg0
,_arg1
,_arg2
);
2458 _resultobj
= Py_BuildValue("i",_result
);
2462 #define wxNotebook_GetRowCount(_swigobj) (_swigobj->GetRowCount())
2463 static PyObject
*_wrap_wxNotebook_GetRowCount(PyObject
*self
, PyObject
*args
) {
2464 PyObject
* _resultobj
;
2470 if(!PyArg_ParseTuple(args
,"s:wxNotebook_GetRowCount",&_argc0
))
2473 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxNotebook_p")) {
2474 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_GetRowCount. Expected _wxNotebook_p.");
2478 _result
= (int )wxNotebook_GetRowCount(_arg0
);
2479 _resultobj
= Py_BuildValue("i",_result
);
2483 #define wxNotebook_DeletePage(_swigobj,_swigarg0) (_swigobj->DeletePage(_swigarg0))
2484 static PyObject
*_wrap_wxNotebook_DeletePage(PyObject
*self
, PyObject
*args
) {
2485 PyObject
* _resultobj
;
2492 if(!PyArg_ParseTuple(args
,"si:wxNotebook_DeletePage",&_argc0
,&_arg1
))
2495 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxNotebook_p")) {
2496 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_DeletePage. Expected _wxNotebook_p.");
2500 _result
= (bool )wxNotebook_DeletePage(_arg0
,_arg1
);
2501 _resultobj
= Py_BuildValue("i",_result
);
2505 #define wxNotebook_DeleteAllPages(_swigobj) (_swigobj->DeleteAllPages())
2506 static PyObject
*_wrap_wxNotebook_DeleteAllPages(PyObject
*self
, PyObject
*args
) {
2507 PyObject
* _resultobj
;
2513 if(!PyArg_ParseTuple(args
,"s:wxNotebook_DeleteAllPages",&_argc0
))
2516 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxNotebook_p")) {
2517 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_DeleteAllPages. Expected _wxNotebook_p.");
2521 _result
= (bool )wxNotebook_DeleteAllPages(_arg0
);
2522 _resultobj
= Py_BuildValue("i",_result
);
2526 #define wxNotebook_AddPage(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->AddPage(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2527 static PyObject
*_wrap_wxNotebook_AddPage(PyObject
*self
, PyObject
*args
) {
2528 PyObject
* _resultobj
;
2537 PyObject
* _obj2
= 0;
2541 if(!PyArg_ParseTuple(args
,"ssO|ii:wxNotebook_AddPage",&_argc0
,&_argc1
,&_obj2
,&tempbool3
,&_arg4
))
2544 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxNotebook_p")) {
2545 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_AddPage. Expected _wxNotebook_p.");
2550 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxWindow_p")) {
2551 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxNotebook_AddPage. Expected _wxWindow_p.");
2556 if (!PyString_Check(_obj2
)) {
2557 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2560 _arg2
= new wxString(PyString_AsString(_obj2
));
2562 _arg3
= (bool ) tempbool3
;
2563 _result
= (bool )wxNotebook_AddPage(_arg0
,_arg1
,*_arg2
,_arg3
,_arg4
);
2564 _resultobj
= Py_BuildValue("i",_result
);
2572 #define wxNotebook_GetPage(_swigobj,_swigarg0) (_swigobj->GetPage(_swigarg0))
2573 static PyObject
*_wrap_wxNotebook_GetPage(PyObject
*self
, PyObject
*args
) {
2574 PyObject
* _resultobj
;
2575 wxNotebookPage
* _result
;
2582 if(!PyArg_ParseTuple(args
,"si:wxNotebook_GetPage",&_argc0
,&_arg1
))
2585 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxNotebook_p")) {
2586 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_GetPage. Expected _wxNotebook_p.");
2590 _result
= (wxNotebookPage
*)wxNotebook_GetPage(_arg0
,_arg1
);
2591 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxNotebookPage_p");
2592 _resultobj
= Py_BuildValue("s",_ptemp
);
2596 static void *SwigwxSplitterWindowTowxWindow(void *ptr
) {
2597 wxSplitterWindow
*src
;
2599 src
= (wxSplitterWindow
*) ptr
;
2600 dest
= (wxWindow
*) src
;
2601 return (void *) dest
;
2604 static void *SwigwxSplitterWindowTowxEvtHandler(void *ptr
) {
2605 wxSplitterWindow
*src
;
2607 src
= (wxSplitterWindow
*) ptr
;
2608 dest
= (wxEvtHandler
*) src
;
2609 return (void *) dest
;
2612 #define new_wxSplitterWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxSplitterWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
2613 static PyObject
*_wrap_new_wxSplitterWindow(PyObject
*self
, PyObject
*args
) {
2614 PyObject
* _resultobj
;
2615 wxSplitterWindow
* _result
;
2618 wxPoint
* _arg2
= &wxPyDefaultPosition
;
2619 wxSize
* _arg3
= &wxPyDefaultSize
;
2620 long _arg4
= (wxSP_3D
);
2621 char * _arg5
= "splitterWindow";
2628 if(!PyArg_ParseTuple(args
,"si|ssls:new_wxSplitterWindow",&_argc0
,&_arg1
,&_argc2
,&_argc3
,&_arg4
,&_arg5
))
2631 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2632 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxSplitterWindow. Expected _wxWindow_p.");
2637 if (SWIG_GetPtr(_argc2
,(void **) &_arg2
,"_wxPoint_p")) {
2638 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxSplitterWindow. Expected _wxPoint_p.");
2643 if (SWIG_GetPtr(_argc3
,(void **) &_arg3
,"_wxSize_p")) {
2644 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of new_wxSplitterWindow. Expected _wxSize_p.");
2648 _result
= (wxSplitterWindow
*)new_wxSplitterWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
2649 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSplitterWindow_p");
2650 _resultobj
= Py_BuildValue("s",_ptemp
);
2654 #define wxSplitterWindow_GetMinimumPaneSize(_swigobj) (_swigobj->GetMinimumPaneSize())
2655 static PyObject
*_wrap_wxSplitterWindow_GetMinimumPaneSize(PyObject
*self
, PyObject
*args
) {
2656 PyObject
* _resultobj
;
2658 wxSplitterWindow
* _arg0
;
2662 if(!PyArg_ParseTuple(args
,"s:wxSplitterWindow_GetMinimumPaneSize",&_argc0
))
2665 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2666 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetMinimumPaneSize. Expected _wxSplitterWindow_p.");
2670 _result
= (int )wxSplitterWindow_GetMinimumPaneSize(_arg0
);
2671 _resultobj
= Py_BuildValue("i",_result
);
2675 #define wxSplitterWindow_GetSashPosition(_swigobj) (_swigobj->GetSashPosition())
2676 static PyObject
*_wrap_wxSplitterWindow_GetSashPosition(PyObject
*self
, PyObject
*args
) {
2677 PyObject
* _resultobj
;
2679 wxSplitterWindow
* _arg0
;
2683 if(!PyArg_ParseTuple(args
,"s:wxSplitterWindow_GetSashPosition",&_argc0
))
2686 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2687 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetSashPosition. Expected _wxSplitterWindow_p.");
2691 _result
= (int )wxSplitterWindow_GetSashPosition(_arg0
);
2692 _resultobj
= Py_BuildValue("i",_result
);
2696 #define wxSplitterWindow_GetSplitMode(_swigobj) (_swigobj->GetSplitMode())
2697 static PyObject
*_wrap_wxSplitterWindow_GetSplitMode(PyObject
*self
, PyObject
*args
) {
2698 PyObject
* _resultobj
;
2700 wxSplitterWindow
* _arg0
;
2704 if(!PyArg_ParseTuple(args
,"s:wxSplitterWindow_GetSplitMode",&_argc0
))
2707 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2708 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetSplitMode. Expected _wxSplitterWindow_p.");
2712 _result
= (int )wxSplitterWindow_GetSplitMode(_arg0
);
2713 _resultobj
= Py_BuildValue("i",_result
);
2717 #define wxSplitterWindow_GetWindow1(_swigobj) (_swigobj->GetWindow1())
2718 static PyObject
*_wrap_wxSplitterWindow_GetWindow1(PyObject
*self
, PyObject
*args
) {
2719 PyObject
* _resultobj
;
2721 wxSplitterWindow
* _arg0
;
2726 if(!PyArg_ParseTuple(args
,"s:wxSplitterWindow_GetWindow1",&_argc0
))
2729 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2730 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetWindow1. Expected _wxSplitterWindow_p.");
2734 _result
= (wxWindow
*)wxSplitterWindow_GetWindow1(_arg0
);
2735 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
2736 _resultobj
= Py_BuildValue("s",_ptemp
);
2740 #define wxSplitterWindow_GetWindow2(_swigobj) (_swigobj->GetWindow2())
2741 static PyObject
*_wrap_wxSplitterWindow_GetWindow2(PyObject
*self
, PyObject
*args
) {
2742 PyObject
* _resultobj
;
2744 wxSplitterWindow
* _arg0
;
2749 if(!PyArg_ParseTuple(args
,"s:wxSplitterWindow_GetWindow2",&_argc0
))
2752 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2753 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetWindow2. Expected _wxSplitterWindow_p.");
2757 _result
= (wxWindow
*)wxSplitterWindow_GetWindow2(_arg0
);
2758 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
2759 _resultobj
= Py_BuildValue("s",_ptemp
);
2763 #define wxSplitterWindow_Initialize(_swigobj,_swigarg0) (_swigobj->Initialize(_swigarg0))
2764 static PyObject
*_wrap_wxSplitterWindow_Initialize(PyObject
*self
, PyObject
*args
) {
2765 PyObject
* _resultobj
;
2766 wxSplitterWindow
* _arg0
;
2772 if(!PyArg_ParseTuple(args
,"ss:wxSplitterWindow_Initialize",&_argc0
,&_argc1
))
2775 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2776 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_Initialize. Expected _wxSplitterWindow_p.");
2781 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxWindow_p")) {
2782 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSplitterWindow_Initialize. Expected _wxWindow_p.");
2786 wxSplitterWindow_Initialize(_arg0
,_arg1
);
2788 _resultobj
= Py_None
;
2792 #define wxSplitterWindow_IsSplit(_swigobj) (_swigobj->IsSplit())
2793 static PyObject
*_wrap_wxSplitterWindow_IsSplit(PyObject
*self
, PyObject
*args
) {
2794 PyObject
* _resultobj
;
2796 wxSplitterWindow
* _arg0
;
2800 if(!PyArg_ParseTuple(args
,"s:wxSplitterWindow_IsSplit",&_argc0
))
2803 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2804 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_IsSplit. Expected _wxSplitterWindow_p.");
2808 _result
= (bool )wxSplitterWindow_IsSplit(_arg0
);
2809 _resultobj
= Py_BuildValue("i",_result
);
2813 #define wxSplitterWindow_SetSashPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSashPosition(_swigarg0,_swigarg1))
2814 static PyObject
*_wrap_wxSplitterWindow_SetSashPosition(PyObject
*self
, PyObject
*args
) {
2815 PyObject
* _resultobj
;
2816 wxSplitterWindow
* _arg0
;
2822 if(!PyArg_ParseTuple(args
,"si|i:wxSplitterWindow_SetSashPosition",&_argc0
,&_arg1
,&_arg2
))
2825 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2826 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SetSashPosition. Expected _wxSplitterWindow_p.");
2830 wxSplitterWindow_SetSashPosition(_arg0
,_arg1
,_arg2
);
2832 _resultobj
= Py_None
;
2836 #define wxSplitterWindow_SetMinimumPaneSize(_swigobj,_swigarg0) (_swigobj->SetMinimumPaneSize(_swigarg0))
2837 static PyObject
*_wrap_wxSplitterWindow_SetMinimumPaneSize(PyObject
*self
, PyObject
*args
) {
2838 PyObject
* _resultobj
;
2839 wxSplitterWindow
* _arg0
;
2844 if(!PyArg_ParseTuple(args
,"si:wxSplitterWindow_SetMinimumPaneSize",&_argc0
,&_arg1
))
2847 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2848 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SetMinimumPaneSize. Expected _wxSplitterWindow_p.");
2852 wxSplitterWindow_SetMinimumPaneSize(_arg0
,_arg1
);
2854 _resultobj
= Py_None
;
2858 #define wxSplitterWindow_SetSplitMode(_swigobj,_swigarg0) (_swigobj->SetSplitMode(_swigarg0))
2859 static PyObject
*_wrap_wxSplitterWindow_SetSplitMode(PyObject
*self
, PyObject
*args
) {
2860 PyObject
* _resultobj
;
2861 wxSplitterWindow
* _arg0
;
2866 if(!PyArg_ParseTuple(args
,"si:wxSplitterWindow_SetSplitMode",&_argc0
,&_arg1
))
2869 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2870 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SetSplitMode. Expected _wxSplitterWindow_p.");
2874 wxSplitterWindow_SetSplitMode(_arg0
,_arg1
);
2876 _resultobj
= Py_None
;
2880 #define wxSplitterWindow_SplitHorizontally(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SplitHorizontally(_swigarg0,_swigarg1,_swigarg2))
2881 static PyObject
*_wrap_wxSplitterWindow_SplitHorizontally(PyObject
*self
, PyObject
*args
) {
2882 PyObject
* _resultobj
;
2884 wxSplitterWindow
* _arg0
;
2893 if(!PyArg_ParseTuple(args
,"sss|i:wxSplitterWindow_SplitHorizontally",&_argc0
,&_argc1
,&_argc2
,&_arg3
))
2896 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2897 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SplitHorizontally. Expected _wxSplitterWindow_p.");
2902 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxWindow_p")) {
2903 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSplitterWindow_SplitHorizontally. Expected _wxWindow_p.");
2908 if (SWIG_GetPtr(_argc2
,(void **) &_arg2
,"_wxWindow_p")) {
2909 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxSplitterWindow_SplitHorizontally. Expected _wxWindow_p.");
2913 _result
= (bool )wxSplitterWindow_SplitHorizontally(_arg0
,_arg1
,_arg2
,_arg3
);
2914 _resultobj
= Py_BuildValue("i",_result
);
2918 #define wxSplitterWindow_SplitVertically(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SplitVertically(_swigarg0,_swigarg1,_swigarg2))
2919 static PyObject
*_wrap_wxSplitterWindow_SplitVertically(PyObject
*self
, PyObject
*args
) {
2920 PyObject
* _resultobj
;
2922 wxSplitterWindow
* _arg0
;
2931 if(!PyArg_ParseTuple(args
,"sss|i:wxSplitterWindow_SplitVertically",&_argc0
,&_argc1
,&_argc2
,&_arg3
))
2934 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2935 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SplitVertically. Expected _wxSplitterWindow_p.");
2940 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxWindow_p")) {
2941 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSplitterWindow_SplitVertically. Expected _wxWindow_p.");
2946 if (SWIG_GetPtr(_argc2
,(void **) &_arg2
,"_wxWindow_p")) {
2947 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxSplitterWindow_SplitVertically. Expected _wxWindow_p.");
2951 _result
= (bool )wxSplitterWindow_SplitVertically(_arg0
,_arg1
,_arg2
,_arg3
);
2952 _resultobj
= Py_BuildValue("i",_result
);
2956 #define wxSplitterWindow_Unsplit(_swigobj,_swigarg0) (_swigobj->Unsplit(_swigarg0))
2957 static PyObject
*_wrap_wxSplitterWindow_Unsplit(PyObject
*self
, PyObject
*args
) {
2958 PyObject
* _resultobj
;
2960 wxSplitterWindow
* _arg0
;
2961 wxWindow
* _arg1
= NULL
;
2966 if(!PyArg_ParseTuple(args
,"s|s:wxSplitterWindow_Unsplit",&_argc0
,&_argc1
))
2969 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2970 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_Unsplit. Expected _wxSplitterWindow_p.");
2975 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxWindow_p")) {
2976 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSplitterWindow_Unsplit. Expected _wxWindow_p.");
2980 _result
= (bool )wxSplitterWindow_Unsplit(_arg0
,_arg1
);
2981 _resultobj
= Py_BuildValue("i",_result
);
2985 static PyMethodDef windows2cMethods
[] = {
2986 { "wxSplitterWindow_Unsplit", _wrap_wxSplitterWindow_Unsplit
, 1 },
2987 { "wxSplitterWindow_SplitVertically", _wrap_wxSplitterWindow_SplitVertically
, 1 },
2988 { "wxSplitterWindow_SplitHorizontally", _wrap_wxSplitterWindow_SplitHorizontally
, 1 },
2989 { "wxSplitterWindow_SetSplitMode", _wrap_wxSplitterWindow_SetSplitMode
, 1 },
2990 { "wxSplitterWindow_SetMinimumPaneSize", _wrap_wxSplitterWindow_SetMinimumPaneSize
, 1 },
2991 { "wxSplitterWindow_SetSashPosition", _wrap_wxSplitterWindow_SetSashPosition
, 1 },
2992 { "wxSplitterWindow_IsSplit", _wrap_wxSplitterWindow_IsSplit
, 1 },
2993 { "wxSplitterWindow_Initialize", _wrap_wxSplitterWindow_Initialize
, 1 },
2994 { "wxSplitterWindow_GetWindow2", _wrap_wxSplitterWindow_GetWindow2
, 1 },
2995 { "wxSplitterWindow_GetWindow1", _wrap_wxSplitterWindow_GetWindow1
, 1 },
2996 { "wxSplitterWindow_GetSplitMode", _wrap_wxSplitterWindow_GetSplitMode
, 1 },
2997 { "wxSplitterWindow_GetSashPosition", _wrap_wxSplitterWindow_GetSashPosition
, 1 },
2998 { "wxSplitterWindow_GetMinimumPaneSize", _wrap_wxSplitterWindow_GetMinimumPaneSize
, 1 },
2999 { "new_wxSplitterWindow", _wrap_new_wxSplitterWindow
, 1 },
3000 { "wxNotebook_GetPage", _wrap_wxNotebook_GetPage
, 1 },
3001 { "wxNotebook_AddPage", _wrap_wxNotebook_AddPage
, 1 },
3002 { "wxNotebook_DeleteAllPages", _wrap_wxNotebook_DeleteAllPages
, 1 },
3003 { "wxNotebook_DeletePage", _wrap_wxNotebook_DeletePage
, 1 },
3004 { "wxNotebook_GetRowCount", _wrap_wxNotebook_GetRowCount
, 1 },
3005 { "wxNotebook_SetPageImage", _wrap_wxNotebook_SetPageImage
, 1 },
3006 { "wxNotebook_GetPageImage", _wrap_wxNotebook_GetPageImage
, 1 },
3007 { "wxNotebook_GetImageList", _wrap_wxNotebook_GetImageList
, 1 },
3008 { "wxNotebook_SetImageList", _wrap_wxNotebook_SetImageList
, 1 },
3009 { "wxNotebook_GetPageText", _wrap_wxNotebook_GetPageText
, 1 },
3010 { "wxNotebook_SetPageText", _wrap_wxNotebook_SetPageText
, 1 },
3011 { "wxNotebook_GetSelection", _wrap_wxNotebook_GetSelection
, 1 },
3012 { "wxNotebook_AdvanceSelection", _wrap_wxNotebook_AdvanceSelection
, 1 },
3013 { "wxNotebook_SetSelection", _wrap_wxNotebook_SetSelection
, 1 },
3014 { "wxNotebook_GetPageCount", _wrap_wxNotebook_GetPageCount
, 1 },
3015 { "new_wxNotebook", _wrap_new_wxNotebook
, 1 },
3016 { "wxNotebookEvent_GetOldSelection", _wrap_wxNotebookEvent_GetOldSelection
, 1 },
3017 { "wxNotebookEvent_GetSelection", _wrap_wxNotebookEvent_GetSelection
, 1 },
3018 { "wxGrid_UpdateDimensions", _wrap_wxGrid_UpdateDimensions
, 1 },
3019 { "wxGrid_SetRowHeight", _wrap_wxGrid_SetRowHeight
, 1 },
3020 { "wxGrid_SetLabelValue", _wrap_wxGrid_SetLabelValue
, 1 },
3021 { "wxGrid_SetLabelTextFont", _wrap_wxGrid_SetLabelTextFont
, 1 },
3022 { "wxGrid_SetLabelTextColour", _wrap_wxGrid_SetLabelTextColour
, 1 },
3023 { "wxGrid_SetLabelSize", _wrap_wxGrid_SetLabelSize
, 1 },
3024 { "wxGrid_SetLabelBackgroundColour", _wrap_wxGrid_SetLabelBackgroundColour
, 1 },
3025 { "wxGrid_SetLabelAlignment", _wrap_wxGrid_SetLabelAlignment
, 1 },
3026 { "wxGrid_SetGridCursor", _wrap_wxGrid_SetGridCursor
, 1 },
3027 { "wxGrid_SetEditable", _wrap_wxGrid_SetEditable
, 1 },
3028 { "wxGrid_SetDividerPen", _wrap_wxGrid_SetDividerPen
, 1 },
3029 { "wxGrid_SetColumnWidth", _wrap_wxGrid_SetColumnWidth
, 1 },
3030 { "wxGrid_SetCellValue", _wrap_wxGrid_SetCellValue
, 1 },
3031 { "wxGrid_SetDefCellTextFont", _wrap_wxGrid_SetDefCellTextFont
, 1 },
3032 { "wxGrid_SetCellTextFont", _wrap_wxGrid_SetCellTextFont
, 1 },
3033 { "wxGrid_SetDefCellTextColour", _wrap_wxGrid_SetDefCellTextColour
, 1 },
3034 { "wxGrid_SetCellTextColour", _wrap_wxGrid_SetCellTextColour
, 1 },
3035 { "wxGrid_SetDefCellBackgroundColour", _wrap_wxGrid_SetDefCellBackgroundColour
, 1 },
3036 { "wxGrid_SetCellBackgroundColour", _wrap_wxGrid_SetCellBackgroundColour
, 1 },
3037 { "wxGrid_SetDefCellAlignment", _wrap_wxGrid_SetDefCellAlignment
, 1 },
3038 { "wxGrid_SetCellAlignment", _wrap_wxGrid_SetCellAlignment
, 1 },
3039 { "wxGrid_InsertRows", _wrap_wxGrid_InsertRows
, 1 },
3040 { "wxGrid_InsertCols", _wrap_wxGrid_InsertCols
, 1 },
3041 { "wxGrid_GetVertScrollBar", _wrap_wxGrid_GetVertScrollBar
, 1 },
3042 { "wxGrid_GetTextItem", _wrap_wxGrid_GetTextItem
, 1 },
3043 { "wxGrid_GetScrollPosY", _wrap_wxGrid_GetScrollPosY
, 1 },
3044 { "wxGrid_GetScrollPosX", _wrap_wxGrid_GetScrollPosX
, 1 },
3045 { "wxGrid_GetRows", _wrap_wxGrid_GetRows
, 1 },
3046 { "wxGrid_GetRowHeight", _wrap_wxGrid_GetRowHeight
, 1 },
3047 { "wxGrid_GetLabelValue", _wrap_wxGrid_GetLabelValue
, 1 },
3048 { "wxGrid_GetLabelTextFont", _wrap_wxGrid_GetLabelTextFont
, 1 },
3049 { "wxGrid_GetLabelTextColour", _wrap_wxGrid_GetLabelTextColour
, 1 },
3050 { "wxGrid_GetLabelSize", _wrap_wxGrid_GetLabelSize
, 1 },
3051 { "wxGrid_GetLabelBackgroundColour", _wrap_wxGrid_GetLabelBackgroundColour
, 1 },
3052 { "wxGrid_GetLabelAlignment", _wrap_wxGrid_GetLabelAlignment
, 1 },
3053 { "wxGrid_GetHorizScrollBar", _wrap_wxGrid_GetHorizScrollBar
, 1 },
3054 { "wxGrid_GetEditable", _wrap_wxGrid_GetEditable
, 1 },
3055 { "wxGrid_GetCursorRow", _wrap_wxGrid_GetCursorRow
, 1 },
3056 { "wxGrid_GetCursorColumn", _wrap_wxGrid_GetCursorColumn
, 1 },
3057 { "wxGrid_GetCurrentRect", _wrap_wxGrid_GetCurrentRect
, 1 },
3058 { "wxGrid_GetColumnWidth", _wrap_wxGrid_GetColumnWidth
, 1 },
3059 { "wxGrid_GetCols", _wrap_wxGrid_GetCols
, 1 },
3060 { "wxGrid_GetCellValue", _wrap_wxGrid_GetCellValue
, 1 },
3061 { "wxGrid_GetDefCellTextFont", _wrap_wxGrid_GetDefCellTextFont
, 1 },
3062 { "wxGrid_GetCellTextFont", _wrap_wxGrid_GetCellTextFont
, 1 },
3063 { "wxGrid_GetDefCellTextColour", _wrap_wxGrid_GetDefCellTextColour
, 1 },
3064 { "wxGrid_GetCellTextColour", _wrap_wxGrid_GetCellTextColour
, 1 },
3065 { "wxGrid_GetDefCellBackgroundColour", _wrap_wxGrid_GetDefCellBackgroundColour
, 1 },
3066 { "wxGrid_GetCellBackgroundColour", _wrap_wxGrid_GetCellBackgroundColour
, 1 },
3067 { "wxGrid_GetDefCellAlignment", _wrap_wxGrid_GetDefCellAlignment
, 1 },
3068 { "wxGrid_GetCellAlignment", _wrap_wxGrid_GetCellAlignment
, 1 },
3069 { "wxGrid_GetCell", _wrap_wxGrid_GetCell
, 1 },
3070 { "wxGrid_GetBatchCount", _wrap_wxGrid_GetBatchCount
, 1 },
3071 { "wxGrid_EndBatch", _wrap_wxGrid_EndBatch
, 1 },
3072 { "wxGrid_DeleteRows", _wrap_wxGrid_DeleteRows
, 1 },
3073 { "wxGrid_DeleteCols", _wrap_wxGrid_DeleteCols
, 1 },
3074 { "wxGrid_CurrentCellVisible", _wrap_wxGrid_CurrentCellVisible
, 1 },
3075 { "wxGrid_CreateGrid", _wrap_wxGrid_CreateGrid
, 1 },
3076 { "wxGrid_CellHitTest", _wrap_wxGrid_CellHitTest
, 1 },
3077 { "wxGrid_BeginBatch", _wrap_wxGrid_BeginBatch
, 1 },
3078 { "wxGrid_AppendRows", _wrap_wxGrid_AppendRows
, 1 },
3079 { "wxGrid_AppendCols", _wrap_wxGrid_AppendCols
, 1 },
3080 { "wxGrid_AdjustScrollbars", _wrap_wxGrid_AdjustScrollbars
, 1 },
3081 { "new_wxGrid", _wrap_new_wxGrid
, 1 },
3082 { "wxGridCell_SetCellBitmap", _wrap_wxGridCell_SetCellBitmap
, 1 },
3083 { "wxGridCell_GetCellBitmap", _wrap_wxGridCell_GetCellBitmap
, 1 },
3084 { "wxGridCell_SetAlignment", _wrap_wxGridCell_SetAlignment
, 1 },
3085 { "wxGridCell_GetAlignment", _wrap_wxGridCell_GetAlignment
, 1 },
3086 { "wxGridCell_GetBackgroundBrush", _wrap_wxGridCell_GetBackgroundBrush
, 1 },
3087 { "wxGridCell_SetBackgroundColour", _wrap_wxGridCell_SetBackgroundColour
, 1 },
3088 { "wxGridCell_GetBackgroundColour", _wrap_wxGridCell_GetBackgroundColour
, 1 },
3089 { "wxGridCell_SetTextColour", _wrap_wxGridCell_SetTextColour
, 1 },
3090 { "wxGridCell_GetTextColour", _wrap_wxGridCell_GetTextColour
, 1 },
3091 { "wxGridCell_SetFont", _wrap_wxGridCell_SetFont
, 1 },
3092 { "wxGridCell_GetFont", _wrap_wxGridCell_GetFont
, 1 },
3093 { "wxGridCell_SetTextValue", _wrap_wxGridCell_SetTextValue
, 1 },
3094 { "wxGridCell_GetTextValue", _wrap_wxGridCell_GetTextValue
, 1 },
3097 static PyObject
*SWIG_globals
;
3101 SWIGEXPORT(void,initwindows2c
)() {
3103 SWIG_globals
= SWIG_newvarlink();
3104 m
= Py_InitModule("windows2c", windows2cMethods
);
3105 d
= PyModule_GetDict(m
);
3106 PyDict_SetItemString(d
,"wxGRID_TEXT_CTRL", PyInt_FromLong((long) wxGRID_TEXT_CTRL
));
3107 PyDict_SetItemString(d
,"wxGRID_HSCROLL", PyInt_FromLong((long) wxGRID_HSCROLL
));
3108 PyDict_SetItemString(d
,"wxGRID_VSCROLL", PyInt_FromLong((long) wxGRID_VSCROLL
));
3110 * These are the pointer type-equivalency mappings.
3111 * (Used by the SWIG pointer type-checker).
3113 SWIG_RegisterMapping("_wxAcceleratorTable","_class_wxAcceleratorTable",0);
3114 SWIG_RegisterMapping("_wxEvent","_class_wxNotebookEvent",SwigwxNotebookEventTowxEvent
);
3115 SWIG_RegisterMapping("_wxEvent","_wxNotebookEvent",SwigwxNotebookEventTowxEvent
);
3116 SWIG_RegisterMapping("_wxEvent","_class_wxEvent",0);
3117 SWIG_RegisterMapping("_class_wxActivateEvent","_wxActivateEvent",0);
3118 SWIG_RegisterMapping("_signed_long","_long",0);
3119 SWIG_RegisterMapping("_wxMenuEvent","_class_wxMenuEvent",0);
3120 SWIG_RegisterMapping("_class_wxMenuBar","_wxMenuBar",0);
3121 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxSplitterWindow",SwigwxSplitterWindowTowxEvtHandler
);
3122 SWIG_RegisterMapping("_class_wxEvtHandler","_wxSplitterWindow",SwigwxSplitterWindowTowxEvtHandler
);
3123 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxNotebook",SwigwxNotebookTowxEvtHandler
);
3124 SWIG_RegisterMapping("_class_wxEvtHandler","_wxNotebook",SwigwxNotebookTowxEvtHandler
);
3125 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxGrid",SwigwxGridTowxEvtHandler
);
3126 SWIG_RegisterMapping("_class_wxEvtHandler","_wxGrid",SwigwxGridTowxEvtHandler
);
3127 SWIG_RegisterMapping("_class_wxEvtHandler","_wxEvtHandler",0);
3128 SWIG_RegisterMapping("_wxPaintEvent","_class_wxPaintEvent",0);
3129 SWIG_RegisterMapping("_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0);
3130 SWIG_RegisterMapping("_wxCursor","_class_wxCursor",0);
3131 SWIG_RegisterMapping("_wxMask","_class_wxMask",0);
3132 SWIG_RegisterMapping("_wxGrid","_class_wxGrid",0);
3133 SWIG_RegisterMapping("_wxPyMenu","_class_wxPyMenu",0);
3134 SWIG_RegisterMapping("_wxPen","_class_wxPen",0);
3135 SWIG_RegisterMapping("_wxUpdateUIEvent","_class_wxUpdateUIEvent",0);
3136 SWIG_RegisterMapping("_byte","_unsigned_char",0);
3137 SWIG_RegisterMapping("_wxStaticBox","_class_wxStaticBox",0);
3138 SWIG_RegisterMapping("_wxChoice","_class_wxChoice",0);
3139 SWIG_RegisterMapping("_wxSlider","_class_wxSlider",0);
3140 SWIG_RegisterMapping("_wxNotebookEvent","_class_wxNotebookEvent",0);
3141 SWIG_RegisterMapping("_long","_wxDash",0);
3142 SWIG_RegisterMapping("_long","_unsigned_long",0);
3143 SWIG_RegisterMapping("_long","_signed_long",0);
3144 SWIG_RegisterMapping("_wxDropFilesEvent","_class_wxDropFilesEvent",0);
3145 SWIG_RegisterMapping("_wxBitmapButton","_class_wxBitmapButton",0);
3146 SWIG_RegisterMapping("_class_wxAcceleratorTable","_wxAcceleratorTable",0);
3147 SWIG_RegisterMapping("_class_wxGauge","_wxGauge",0);
3148 SWIG_RegisterMapping("_wxDC","_class_wxDC",0);
3149 SWIG_RegisterMapping("_class_wxRealPoint","_wxRealPoint",0);
3150 SWIG_RegisterMapping("_class_wxMenuItem","_wxMenuItem",0);
3151 SWIG_RegisterMapping("_class_wxPaintEvent","_wxPaintEvent",0);
3152 SWIG_RegisterMapping("_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0);
3153 SWIG_RegisterMapping("_class_wxPostScriptDC","_wxPostScriptDC",0);
3154 SWIG_RegisterMapping("_wxPanel","_class_wxGrid",SwigwxGridTowxPanel
);
3155 SWIG_RegisterMapping("_wxPanel","_wxGrid",SwigwxGridTowxPanel
);
3156 SWIG_RegisterMapping("_wxPanel","_class_wxPanel",0);
3157 SWIG_RegisterMapping("_wxInitDialogEvent","_class_wxInitDialogEvent",0);
3158 SWIG_RegisterMapping("_wxCheckBox","_class_wxCheckBox",0);
3159 SWIG_RegisterMapping("_wxTextCtrl","_class_wxTextCtrl",0);
3160 SWIG_RegisterMapping("_class_wxMask","_wxMask",0);
3161 SWIG_RegisterMapping("_class_wxKeyEvent","_wxKeyEvent",0);
3162 SWIG_RegisterMapping("_class_wxGrid","_wxGrid",0);
3163 SWIG_RegisterMapping("_wxColour","_class_wxColour",0);
3164 SWIG_RegisterMapping("_class_wxDialog","_wxDialog",0);
3165 SWIG_RegisterMapping("_wxIdleEvent","_class_wxIdleEvent",0);
3166 SWIG_RegisterMapping("_class_wxUpdateUIEvent","_wxUpdateUIEvent",0);
3167 SWIG_RegisterMapping("_wxBrush","_class_wxBrush",0);
3168 SWIG_RegisterMapping("_class_wxNotebookEvent","_wxNotebookEvent",0);
3169 SWIG_RegisterMapping("_wxShowEvent","_class_wxShowEvent",0);
3170 SWIG_RegisterMapping("_uint","_unsigned_int",0);
3171 SWIG_RegisterMapping("_uint","_int",0);
3172 SWIG_RegisterMapping("_uint","_wxWindowID",0);
3173 SWIG_RegisterMapping("_class_wxEvent","_class_wxNotebookEvent",SwigwxNotebookEventTowxEvent
);
3174 SWIG_RegisterMapping("_class_wxEvent","_wxNotebookEvent",SwigwxNotebookEventTowxEvent
);
3175 SWIG_RegisterMapping("_class_wxEvent","_wxEvent",0);
3176 SWIG_RegisterMapping("_wxRect","_class_wxRect",0);
3177 SWIG_RegisterMapping("_wxCommandEvent","_class_wxNotebookEvent",SwigwxNotebookEventTowxCommandEvent
);
3178 SWIG_RegisterMapping("_wxCommandEvent","_wxNotebookEvent",SwigwxNotebookEventTowxCommandEvent
);
3179 SWIG_RegisterMapping("_wxCommandEvent","_class_wxCommandEvent",0);
3180 SWIG_RegisterMapping("_wxSizeEvent","_class_wxSizeEvent",0);
3181 SWIG_RegisterMapping("_wxPoint","_class_wxPoint",0);
3182 SWIG_RegisterMapping("_class_wxButton","_wxButton",0);
3183 SWIG_RegisterMapping("_wxRadioBox","_class_wxRadioBox",0);
3184 SWIG_RegisterMapping("_wxBitmap","_class_wxBitmap",0);
3185 SWIG_RegisterMapping("_wxPyTimer","_class_wxPyTimer",0);
3186 SWIG_RegisterMapping("_wxScrollBar","_class_wxScrollBar",0);
3187 SWIG_RegisterMapping("_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0);
3188 SWIG_RegisterMapping("_class_wxIconizeEvent","_wxIconizeEvent",0);
3189 SWIG_RegisterMapping("_class_wxStaticBitmap","_wxStaticBitmap",0);
3190 SWIG_RegisterMapping("_wxScrollEvent","_class_wxScrollEvent",0);
3191 SWIG_RegisterMapping("_EBool","_signed_int",0);
3192 SWIG_RegisterMapping("_EBool","_int",0);
3193 SWIG_RegisterMapping("_EBool","_wxWindowID",0);
3194 SWIG_RegisterMapping("_class_wxDropFilesEvent","_wxDropFilesEvent",0);
3195 SWIG_RegisterMapping("_wxStaticText","_class_wxStaticText",0);
3196 SWIG_RegisterMapping("_wxFont","_class_wxFont",0);
3197 SWIG_RegisterMapping("_wxCloseEvent","_class_wxCloseEvent",0);
3198 SWIG_RegisterMapping("_wxNotebook","_class_wxNotebook",0);
3199 SWIG_RegisterMapping("_unsigned_long","_wxDash",0);
3200 SWIG_RegisterMapping("_unsigned_long","_long",0);
3201 SWIG_RegisterMapping("_class_wxRect","_wxRect",0);
3202 SWIG_RegisterMapping("_class_wxDC","_wxDC",0);
3203 SWIG_RegisterMapping("_class_wxPyTimer","_wxPyTimer",0);
3204 SWIG_RegisterMapping("_wxFocusEvent","_class_wxFocusEvent",0);
3205 SWIG_RegisterMapping("_wxMaximizeEvent","_class_wxMaximizeEvent",0);
3206 SWIG_RegisterMapping("_wxAcceleratorEntry","_class_wxAcceleratorEntry",0);
3207 SWIG_RegisterMapping("_class_wxPanel","_class_wxGrid",SwigwxGridTowxPanel
);
3208 SWIG_RegisterMapping("_class_wxPanel","_wxGrid",SwigwxGridTowxPanel
);
3209 SWIG_RegisterMapping("_class_wxPanel","_wxPanel",0);
3210 SWIG_RegisterMapping("_class_wxCheckBox","_wxCheckBox",0);
3211 SWIG_RegisterMapping("_wxComboBox","_class_wxComboBox",0);
3212 SWIG_RegisterMapping("_wxRadioButton","_class_wxRadioButton",0);
3213 SWIG_RegisterMapping("_signed_int","_EBool",0);
3214 SWIG_RegisterMapping("_signed_int","_wxWindowID",0);
3215 SWIG_RegisterMapping("_signed_int","_int",0);
3216 SWIG_RegisterMapping("_class_wxTextCtrl","_wxTextCtrl",0);
3217 SWIG_RegisterMapping("_wxLayoutConstraints","_class_wxLayoutConstraints",0);
3218 SWIG_RegisterMapping("_wxMenu","_class_wxMenu",0);
3219 SWIG_RegisterMapping("_class_wxMoveEvent","_wxMoveEvent",0);
3220 SWIG_RegisterMapping("_wxListBox","_class_wxListBox",0);
3221 SWIG_RegisterMapping("_wxScreenDC","_class_wxScreenDC",0);
3222 SWIG_RegisterMapping("_WXTYPE","_short",0);
3223 SWIG_RegisterMapping("_WXTYPE","_signed_short",0);
3224 SWIG_RegisterMapping("_WXTYPE","_unsigned_short",0);
3225 SWIG_RegisterMapping("_class_wxBrush","_wxBrush",0);
3226 SWIG_RegisterMapping("_unsigned_short","_WXTYPE",0);
3227 SWIG_RegisterMapping("_unsigned_short","_short",0);
3228 SWIG_RegisterMapping("_class_wxWindow","_class_wxSplitterWindow",SwigwxSplitterWindowTowxWindow
);
3229 SWIG_RegisterMapping("_class_wxWindow","_wxSplitterWindow",SwigwxSplitterWindowTowxWindow
);
3230 SWIG_RegisterMapping("_class_wxWindow","_class_wxNotebook",SwigwxNotebookTowxWindow
);
3231 SWIG_RegisterMapping("_class_wxWindow","_wxNotebook",SwigwxNotebookTowxWindow
);
3232 SWIG_RegisterMapping("_class_wxWindow","_class_wxGrid",SwigwxGridTowxWindow
);
3233 SWIG_RegisterMapping("_class_wxWindow","_wxGrid",SwigwxGridTowxWindow
);
3234 SWIG_RegisterMapping("_class_wxWindow","_wxWindow",0);
3235 SWIG_RegisterMapping("_wxSplitterWindow","_class_wxSplitterWindow",0);
3236 SWIG_RegisterMapping("_class_wxStaticText","_wxStaticText",0);
3237 SWIG_RegisterMapping("_class_wxFont","_wxFont",0);
3238 SWIG_RegisterMapping("_class_wxCloseEvent","_wxCloseEvent",0);
3239 SWIG_RegisterMapping("_class_wxMenuEvent","_wxMenuEvent",0);
3240 SWIG_RegisterMapping("_wxClientDC","_class_wxClientDC",0);
3241 SWIG_RegisterMapping("_wxMouseEvent","_class_wxMouseEvent",0);
3242 SWIG_RegisterMapping("_class_wxPoint","_wxPoint",0);
3243 SWIG_RegisterMapping("_wxRealPoint","_class_wxRealPoint",0);
3244 SWIG_RegisterMapping("_class_wxRadioBox","_wxRadioBox",0);
3245 SWIG_RegisterMapping("_wxGridCell","_class_wxGridCell",0);
3246 SWIG_RegisterMapping("_signed_short","_WXTYPE",0);
3247 SWIG_RegisterMapping("_signed_short","_short",0);
3248 SWIG_RegisterMapping("_wxMemoryDC","_class_wxMemoryDC",0);
3249 SWIG_RegisterMapping("_wxPaintDC","_class_wxPaintDC",0);
3250 SWIG_RegisterMapping("_class_wxFocusEvent","_wxFocusEvent",0);
3251 SWIG_RegisterMapping("_class_wxMaximizeEvent","_wxMaximizeEvent",0);
3252 SWIG_RegisterMapping("_class_wxAcceleratorEntry","_wxAcceleratorEntry",0);
3253 SWIG_RegisterMapping("_class_wxCursor","_wxCursor",0);
3254 SWIG_RegisterMapping("_wxPostScriptDC","_class_wxPostScriptDC",0);
3255 SWIG_RegisterMapping("_wxScrolledWindow","_class_wxScrolledWindow",0);
3256 SWIG_RegisterMapping("_unsigned_char","_byte",0);
3257 SWIG_RegisterMapping("_class_wxMenu","_wxMenu",0);
3258 SWIG_RegisterMapping("_wxControl","_class_wxNotebook",SwigwxNotebookTowxControl
);
3259 SWIG_RegisterMapping("_wxControl","_wxNotebook",SwigwxNotebookTowxControl
);
3260 SWIG_RegisterMapping("_wxControl","_class_wxControl",0);
3261 SWIG_RegisterMapping("_class_wxListBox","_wxListBox",0);
3262 SWIG_RegisterMapping("_unsigned_int","_uint",0);
3263 SWIG_RegisterMapping("_unsigned_int","_wxWindowID",0);
3264 SWIG_RegisterMapping("_unsigned_int","_int",0);
3265 SWIG_RegisterMapping("_wxIcon","_class_wxIcon",0);
3266 SWIG_RegisterMapping("_wxDialog","_class_wxDialog",0);
3267 SWIG_RegisterMapping("_class_wxPyMenu","_wxPyMenu",0);
3268 SWIG_RegisterMapping("_class_wxPen","_wxPen",0);
3269 SWIG_RegisterMapping("_short","_WXTYPE",0);
3270 SWIG_RegisterMapping("_short","_unsigned_short",0);
3271 SWIG_RegisterMapping("_short","_signed_short",0);
3272 SWIG_RegisterMapping("_class_wxStaticBox","_wxStaticBox",0);
3273 SWIG_RegisterMapping("_class_wxScrollEvent","_wxScrollEvent",0);
3274 SWIG_RegisterMapping("_wxJoystickEvent","_class_wxJoystickEvent",0);
3275 SWIG_RegisterMapping("_class_wxChoice","_wxChoice",0);
3276 SWIG_RegisterMapping("_class_wxSlider","_wxSlider",0);
3277 SWIG_RegisterMapping("_class_wxBitmapButton","_wxBitmapButton",0);
3278 SWIG_RegisterMapping("_class_wxNotebook","_wxNotebook",0);
3279 SWIG_RegisterMapping("_wxWindowID","_EBool",0);
3280 SWIG_RegisterMapping("_wxWindowID","_uint",0);
3281 SWIG_RegisterMapping("_wxWindowID","_int",0);
3282 SWIG_RegisterMapping("_wxWindowID","_signed_int",0);
3283 SWIG_RegisterMapping("_wxWindowID","_unsigned_int",0);
3284 SWIG_RegisterMapping("_int","_EBool",0);
3285 SWIG_RegisterMapping("_int","_uint",0);
3286 SWIG_RegisterMapping("_int","_wxWindowID",0);
3287 SWIG_RegisterMapping("_int","_unsigned_int",0);
3288 SWIG_RegisterMapping("_int","_signed_int",0);
3289 SWIG_RegisterMapping("_class_wxMouseEvent","_wxMouseEvent",0);
3290 SWIG_RegisterMapping("_wxButton","_class_wxButton",0);
3291 SWIG_RegisterMapping("_wxSize","_class_wxSize",0);
3292 SWIG_RegisterMapping("_class_wxPaintDC","_wxPaintDC",0);
3293 SWIG_RegisterMapping("_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0);
3294 SWIG_RegisterMapping("_class_wxInitDialogEvent","_wxInitDialogEvent",0);
3295 SWIG_RegisterMapping("_class_wxComboBox","_wxComboBox",0);
3296 SWIG_RegisterMapping("_class_wxRadioButton","_wxRadioButton",0);
3297 SWIG_RegisterMapping("_class_wxLayoutConstraints","_wxLayoutConstraints",0);
3298 SWIG_RegisterMapping("_wxIconizeEvent","_class_wxIconizeEvent",0);
3299 SWIG_RegisterMapping("_class_wxControl","_class_wxNotebook",SwigwxNotebookTowxControl
);
3300 SWIG_RegisterMapping("_class_wxControl","_wxNotebook",SwigwxNotebookTowxControl
);
3301 SWIG_RegisterMapping("_class_wxControl","_wxControl",0);
3302 SWIG_RegisterMapping("_wxStaticBitmap","_class_wxStaticBitmap",0);
3303 SWIG_RegisterMapping("_class_wxIcon","_wxIcon",0);
3304 SWIG_RegisterMapping("_class_wxColour","_wxColour",0);
3305 SWIG_RegisterMapping("_class_wxScreenDC","_wxScreenDC",0);
3306 SWIG_RegisterMapping("_class_wxIdleEvent","_wxIdleEvent",0);
3307 SWIG_RegisterMapping("_wxEraseEvent","_class_wxEraseEvent",0);
3308 SWIG_RegisterMapping("_class_wxJoystickEvent","_wxJoystickEvent",0);
3309 SWIG_RegisterMapping("_class_wxSplitterWindow","_wxSplitterWindow",0);
3310 SWIG_RegisterMapping("_class_wxShowEvent","_wxShowEvent",0);
3311 SWIG_RegisterMapping("_wxActivateEvent","_class_wxActivateEvent",0);
3312 SWIG_RegisterMapping("_wxGauge","_class_wxGauge",0);
3313 SWIG_RegisterMapping("_class_wxCommandEvent","_class_wxNotebookEvent",SwigwxNotebookEventTowxCommandEvent
);
3314 SWIG_RegisterMapping("_class_wxCommandEvent","_wxNotebookEvent",SwigwxNotebookEventTowxCommandEvent
);
3315 SWIG_RegisterMapping("_class_wxCommandEvent","_wxCommandEvent",0);
3316 SWIG_RegisterMapping("_class_wxClientDC","_wxClientDC",0);
3317 SWIG_RegisterMapping("_class_wxSizeEvent","_wxSizeEvent",0);
3318 SWIG_RegisterMapping("_class_wxGridCell","_wxGridCell",0);
3319 SWIG_RegisterMapping("_class_wxSize","_wxSize",0);
3320 SWIG_RegisterMapping("_class_wxBitmap","_wxBitmap",0);
3321 SWIG_RegisterMapping("_class_wxMemoryDC","_wxMemoryDC",0);
3322 SWIG_RegisterMapping("_wxMenuBar","_class_wxMenuBar",0);
3323 SWIG_RegisterMapping("_wxEvtHandler","_class_wxSplitterWindow",SwigwxSplitterWindowTowxEvtHandler
);
3324 SWIG_RegisterMapping("_wxEvtHandler","_wxSplitterWindow",SwigwxSplitterWindowTowxEvtHandler
);
3325 SWIG_RegisterMapping("_wxEvtHandler","_class_wxNotebook",SwigwxNotebookTowxEvtHandler
);
3326 SWIG_RegisterMapping("_wxEvtHandler","_wxNotebook",SwigwxNotebookTowxEvtHandler
);
3327 SWIG_RegisterMapping("_wxEvtHandler","_class_wxGrid",SwigwxGridTowxEvtHandler
);
3328 SWIG_RegisterMapping("_wxEvtHandler","_wxGrid",SwigwxGridTowxEvtHandler
);
3329 SWIG_RegisterMapping("_wxEvtHandler","_class_wxEvtHandler",0);
3330 SWIG_RegisterMapping("_wxMenuItem","_class_wxMenuItem",0);
3331 SWIG_RegisterMapping("_class_wxScrollBar","_wxScrollBar",0);
3332 SWIG_RegisterMapping("_wxDash","_unsigned_long",0);
3333 SWIG_RegisterMapping("_wxDash","_long",0);
3334 SWIG_RegisterMapping("_class_wxScrolledWindow","_wxScrolledWindow",0);
3335 SWIG_RegisterMapping("_wxKeyEvent","_class_wxKeyEvent",0);
3336 SWIG_RegisterMapping("_wxMoveEvent","_class_wxMoveEvent",0);
3337 SWIG_RegisterMapping("_class_wxEraseEvent","_wxEraseEvent",0);
3338 SWIG_RegisterMapping("_wxWindow","_class_wxSplitterWindow",SwigwxSplitterWindowTowxWindow
);
3339 SWIG_RegisterMapping("_wxWindow","_wxSplitterWindow",SwigwxSplitterWindowTowxWindow
);
3340 SWIG_RegisterMapping("_wxWindow","_class_wxNotebook",SwigwxNotebookTowxWindow
);
3341 SWIG_RegisterMapping("_wxWindow","_wxNotebook",SwigwxNotebookTowxWindow
);
3342 SWIG_RegisterMapping("_wxWindow","_class_wxGrid",SwigwxGridTowxWindow
);
3343 SWIG_RegisterMapping("_wxWindow","_wxGrid",SwigwxGridTowxWindow
);
3344 SWIG_RegisterMapping("_wxWindow","_class_wxWindow",0);