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
);
116 extern wxAcceleratorEntry
* wxAcceleratorEntry_LIST_helper(PyObject
* source
);
120 static char* wxStringErrorMsg
= "string type is required for parameter";
121 #define wxGridCell_GetTextValue(_swigobj) (_swigobj->GetTextValue())
122 static PyObject
*_wrap_wxGridCell_GetTextValue(PyObject
*self
, PyObject
*args
) {
123 PyObject
* _resultobj
;
129 if(!PyArg_ParseTuple(args
,"s:wxGridCell_GetTextValue",&_argc0
))
132 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGridCell_p")) {
133 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCell_GetTextValue. Expected _wxGridCell_p.");
137 wxString
& _result_ref
= wxGridCell_GetTextValue(_arg0
);
138 _result
= (wxString
*) &_result_ref
;
140 _resultobj
= PyString_FromString(WXSTRINGCAST (*_result
));
145 #define wxGridCell_SetTextValue(_swigobj,_swigarg0) (_swigobj->SetTextValue(_swigarg0))
146 static PyObject
*_wrap_wxGridCell_SetTextValue(PyObject
*self
, PyObject
*args
) {
147 PyObject
* _resultobj
;
151 PyObject
* _obj1
= 0;
154 if(!PyArg_ParseTuple(args
,"sO:wxGridCell_SetTextValue",&_argc0
,&_obj1
))
157 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGridCell_p")) {
158 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCell_SetTextValue. Expected _wxGridCell_p.");
163 if (!PyString_Check(_obj1
)) {
164 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
167 _arg1
= new wxString(PyString_AsString(_obj1
));
169 wxGridCell_SetTextValue(_arg0
,*_arg1
);
171 _resultobj
= Py_None
;
179 #define wxGridCell_GetFont(_swigobj) (_swigobj->GetFont())
180 static PyObject
*_wrap_wxGridCell_GetFont(PyObject
*self
, PyObject
*args
) {
181 PyObject
* _resultobj
;
188 if(!PyArg_ParseTuple(args
,"s:wxGridCell_GetFont",&_argc0
))
191 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGridCell_p")) {
192 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCell_GetFont. Expected _wxGridCell_p.");
196 _result
= (wxFont
*)wxGridCell_GetFont(_arg0
);
197 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
198 _resultobj
= Py_BuildValue("s",_ptemp
);
202 #define wxGridCell_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
203 static PyObject
*_wrap_wxGridCell_SetFont(PyObject
*self
, PyObject
*args
) {
204 PyObject
* _resultobj
;
211 if(!PyArg_ParseTuple(args
,"ss:wxGridCell_SetFont",&_argc0
,&_argc1
))
214 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGridCell_p")) {
215 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCell_SetFont. Expected _wxGridCell_p.");
220 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxFont_p")) {
221 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCell_SetFont. Expected _wxFont_p.");
225 wxGridCell_SetFont(_arg0
,_arg1
);
227 _resultobj
= Py_None
;
231 #define wxGridCell_GetTextColour(_swigobj) (_swigobj->GetTextColour())
232 static PyObject
*_wrap_wxGridCell_GetTextColour(PyObject
*self
, PyObject
*args
) {
233 PyObject
* _resultobj
;
240 if(!PyArg_ParseTuple(args
,"s:wxGridCell_GetTextColour",&_argc0
))
243 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGridCell_p")) {
244 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCell_GetTextColour. Expected _wxGridCell_p.");
248 wxColour
& _result_ref
= wxGridCell_GetTextColour(_arg0
);
249 _result
= (wxColour
*) &_result_ref
;
250 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
251 _resultobj
= Py_BuildValue("s",_ptemp
);
255 #define wxGridCell_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
256 static PyObject
*_wrap_wxGridCell_SetTextColour(PyObject
*self
, PyObject
*args
) {
257 PyObject
* _resultobj
;
264 if(!PyArg_ParseTuple(args
,"ss:wxGridCell_SetTextColour",&_argc0
,&_argc1
))
267 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGridCell_p")) {
268 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCell_SetTextColour. Expected _wxGridCell_p.");
273 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxColour_p")) {
274 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCell_SetTextColour. Expected _wxColour_p.");
278 wxGridCell_SetTextColour(_arg0
,*_arg1
);
280 _resultobj
= Py_None
;
284 #define wxGridCell_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
285 static PyObject
*_wrap_wxGridCell_GetBackgroundColour(PyObject
*self
, PyObject
*args
) {
286 PyObject
* _resultobj
;
293 if(!PyArg_ParseTuple(args
,"s:wxGridCell_GetBackgroundColour",&_argc0
))
296 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGridCell_p")) {
297 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCell_GetBackgroundColour. Expected _wxGridCell_p.");
301 wxColour
& _result_ref
= wxGridCell_GetBackgroundColour(_arg0
);
302 _result
= (wxColour
*) &_result_ref
;
303 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
304 _resultobj
= Py_BuildValue("s",_ptemp
);
308 #define wxGridCell_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
309 static PyObject
*_wrap_wxGridCell_SetBackgroundColour(PyObject
*self
, PyObject
*args
) {
310 PyObject
* _resultobj
;
317 if(!PyArg_ParseTuple(args
,"ss:wxGridCell_SetBackgroundColour",&_argc0
,&_argc1
))
320 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGridCell_p")) {
321 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCell_SetBackgroundColour. Expected _wxGridCell_p.");
326 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxColour_p")) {
327 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCell_SetBackgroundColour. Expected _wxColour_p.");
331 wxGridCell_SetBackgroundColour(_arg0
,*_arg1
);
333 _resultobj
= Py_None
;
337 #define wxGridCell_GetBackgroundBrush(_swigobj) (_swigobj->GetBackgroundBrush())
338 static PyObject
*_wrap_wxGridCell_GetBackgroundBrush(PyObject
*self
, PyObject
*args
) {
339 PyObject
* _resultobj
;
346 if(!PyArg_ParseTuple(args
,"s:wxGridCell_GetBackgroundBrush",&_argc0
))
349 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGridCell_p")) {
350 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCell_GetBackgroundBrush. Expected _wxGridCell_p.");
354 _result
= (wxBrush
*)wxGridCell_GetBackgroundBrush(_arg0
);
355 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBrush_p");
356 _resultobj
= Py_BuildValue("s",_ptemp
);
360 #define wxGridCell_GetAlignment(_swigobj) (_swigobj->GetAlignment())
361 static PyObject
*_wrap_wxGridCell_GetAlignment(PyObject
*self
, PyObject
*args
) {
362 PyObject
* _resultobj
;
368 if(!PyArg_ParseTuple(args
,"s:wxGridCell_GetAlignment",&_argc0
))
371 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGridCell_p")) {
372 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCell_GetAlignment. Expected _wxGridCell_p.");
376 _result
= (int )wxGridCell_GetAlignment(_arg0
);
377 _resultobj
= Py_BuildValue("i",_result
);
381 #define wxGridCell_SetAlignment(_swigobj,_swigarg0) (_swigobj->SetAlignment(_swigarg0))
382 static PyObject
*_wrap_wxGridCell_SetAlignment(PyObject
*self
, PyObject
*args
) {
383 PyObject
* _resultobj
;
389 if(!PyArg_ParseTuple(args
,"si:wxGridCell_SetAlignment",&_argc0
,&_arg1
))
392 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGridCell_p")) {
393 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCell_SetAlignment. Expected _wxGridCell_p.");
397 wxGridCell_SetAlignment(_arg0
,_arg1
);
399 _resultobj
= Py_None
;
403 #define wxGridCell_GetCellBitmap(_swigobj) (_swigobj->GetCellBitmap())
404 static PyObject
*_wrap_wxGridCell_GetCellBitmap(PyObject
*self
, PyObject
*args
) {
405 PyObject
* _resultobj
;
412 if(!PyArg_ParseTuple(args
,"s:wxGridCell_GetCellBitmap",&_argc0
))
415 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGridCell_p")) {
416 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCell_GetCellBitmap. Expected _wxGridCell_p.");
420 _result
= (wxBitmap
*)wxGridCell_GetCellBitmap(_arg0
);
421 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
422 _resultobj
= Py_BuildValue("s",_ptemp
);
426 #define wxGridCell_SetCellBitmap(_swigobj,_swigarg0) (_swigobj->SetCellBitmap(_swigarg0))
427 static PyObject
*_wrap_wxGridCell_SetCellBitmap(PyObject
*self
, PyObject
*args
) {
428 PyObject
* _resultobj
;
435 if(!PyArg_ParseTuple(args
,"ss:wxGridCell_SetCellBitmap",&_argc0
,&_argc1
))
438 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGridCell_p")) {
439 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCell_SetCellBitmap. Expected _wxGridCell_p.");
444 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxBitmap_p")) {
445 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCell_SetCellBitmap. Expected _wxBitmap_p.");
449 wxGridCell_SetCellBitmap(_arg0
,_arg1
);
451 _resultobj
= Py_None
;
455 static void *SwigwxGridTowxPanel(void *ptr
) {
458 src
= (wxGrid
*) ptr
;
459 dest
= (wxPanel
*) src
;
460 return (void *) dest
;
463 static void *SwigwxGridTowxWindow(void *ptr
) {
466 src
= (wxGrid
*) ptr
;
467 dest
= (wxWindow
*) src
;
468 return (void *) dest
;
471 static void *SwigwxGridTowxEvtHandler(void *ptr
) {
474 src
= (wxGrid
*) ptr
;
475 dest
= (wxEvtHandler
*) src
;
476 return (void *) dest
;
479 #define new_wxGrid(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxGrid(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
480 static PyObject
*_wrap_new_wxGrid(PyObject
*self
, PyObject
*args
) {
481 PyObject
* _resultobj
;
485 wxPoint
* _arg2
= &wxPyDefaultPosition
;
486 wxSize
* _arg3
= &wxPyDefaultSize
;
488 char * _arg5
= "grid";
495 if(!PyArg_ParseTuple(args
,"si|ssls:new_wxGrid",&_argc0
,&_arg1
,&_argc2
,&_argc3
,&_arg4
,&_arg5
))
498 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
499 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxGrid. Expected _wxWindow_p.");
504 if (SWIG_GetPtr(_argc2
,(void **) &_arg2
,"_wxPoint_p")) {
505 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxGrid. Expected _wxPoint_p.");
510 if (SWIG_GetPtr(_argc3
,(void **) &_arg3
,"_wxSize_p")) {
511 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of new_wxGrid. Expected _wxSize_p.");
515 _result
= (wxGrid
*)new_wxGrid(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
516 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGrid_p");
517 _resultobj
= Py_BuildValue("s",_ptemp
);
521 #define wxGrid_AdjustScrollbars(_swigobj) (_swigobj->AdjustScrollbars())
522 static PyObject
*_wrap_wxGrid_AdjustScrollbars(PyObject
*self
, PyObject
*args
) {
523 PyObject
* _resultobj
;
528 if(!PyArg_ParseTuple(args
,"s:wxGrid_AdjustScrollbars",&_argc0
))
531 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGrid_p")) {
532 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_AdjustScrollbars. Expected _wxGrid_p.");
536 wxGrid_AdjustScrollbars(_arg0
);
538 _resultobj
= Py_None
;
542 #define wxGrid_AppendCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->AppendCols(_swigarg0,_swigarg1))
543 static PyObject
*_wrap_wxGrid_AppendCols(PyObject
*self
, PyObject
*args
) {
544 PyObject
* _resultobj
;
553 if(!PyArg_ParseTuple(args
,"s|ii:wxGrid_AppendCols",&_argc0
,&_arg1
,&tempbool2
))
556 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGrid_p")) {
557 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_AppendCols. Expected _wxGrid_p.");
561 _arg2
= (bool ) tempbool2
;
562 _result
= (bool )wxGrid_AppendCols(_arg0
,_arg1
,_arg2
);
563 _resultobj
= Py_BuildValue("i",_result
);
567 #define wxGrid_AppendRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->AppendRows(_swigarg0,_swigarg1))
568 static PyObject
*_wrap_wxGrid_AppendRows(PyObject
*self
, PyObject
*args
) {
569 PyObject
* _resultobj
;
578 if(!PyArg_ParseTuple(args
,"s|ii:wxGrid_AppendRows",&_argc0
,&_arg1
,&tempbool2
))
581 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGrid_p")) {
582 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_AppendRows. Expected _wxGrid_p.");
586 _arg2
= (bool ) tempbool2
;
587 _result
= (bool )wxGrid_AppendRows(_arg0
,_arg1
,_arg2
);
588 _resultobj
= Py_BuildValue("i",_result
);
592 #define wxGrid_BeginBatch(_swigobj) (_swigobj->BeginBatch())
593 static PyObject
*_wrap_wxGrid_BeginBatch(PyObject
*self
, PyObject
*args
) {
594 PyObject
* _resultobj
;
599 if(!PyArg_ParseTuple(args
,"s:wxGrid_BeginBatch",&_argc0
))
602 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGrid_p")) {
603 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_BeginBatch. Expected _wxGrid_p.");
607 wxGrid_BeginBatch(_arg0
);
609 _resultobj
= Py_None
;
613 #define wxGrid_CellHitTest(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->CellHitTest(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
614 static PyObject
*_wrap_wxGrid_CellHitTest(PyObject
*self
, PyObject
*args
) {
615 PyObject
* _resultobj
;
633 if(!PyArg_ParseTuple(args
,"sii:wxGrid_CellHitTest",&_argc0
,&_arg1
,&_arg2
))
636 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGrid_p")) {
637 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_CellHitTest. Expected _wxGrid_p.");
641 _result
= (bool )wxGrid_CellHitTest(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
642 _resultobj
= Py_BuildValue("i",_result
);
645 o
= PyInt_FromLong((long) (*_arg3
));
646 _resultobj
= t_output_helper(_resultobj
, o
);
650 o
= PyInt_FromLong((long) (*_arg4
));
651 _resultobj
= t_output_helper(_resultobj
, o
);
656 static bool wxGrid_CreateGrid(wxGrid
*self
,int rows
,int cols
,short defaultWidth
,short defaultHeight
) {
657 return self
->CreateGrid(rows
, cols
, NULL
, NULL
,
658 defaultWidth
, defaultHeight
);
660 static PyObject
*_wrap_wxGrid_CreateGrid(PyObject
*self
, PyObject
*args
) {
661 PyObject
* _resultobj
;
666 short _arg3
= wxGRID_DEFAULT_CELL_WIDTH
;
667 short _arg4
= wxGRID_DEFAULT_CELL_HEIGHT
;
671 if(!PyArg_ParseTuple(args
,"sii|hh:wxGrid_CreateGrid",&_argc0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
674 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGrid_p")) {
675 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_CreateGrid. Expected _wxGrid_p.");
679 _result
= (bool )wxGrid_CreateGrid(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
680 _resultobj
= Py_BuildValue("i",_result
);
684 #define wxGrid_CurrentCellVisible(_swigobj) (_swigobj->CurrentCellVisible())
685 static PyObject
*_wrap_wxGrid_CurrentCellVisible(PyObject
*self
, PyObject
*args
) {
686 PyObject
* _resultobj
;
692 if(!PyArg_ParseTuple(args
,"s:wxGrid_CurrentCellVisible",&_argc0
))
695 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGrid_p")) {
696 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_CurrentCellVisible. Expected _wxGrid_p.");
700 _result
= (bool )wxGrid_CurrentCellVisible(_arg0
);
701 _resultobj
= Py_BuildValue("i",_result
);
705 #define wxGrid_DeleteCols(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DeleteCols(_swigarg0,_swigarg1,_swigarg2))
706 static PyObject
*_wrap_wxGrid_DeleteCols(PyObject
*self
, PyObject
*args
) {
707 PyObject
* _resultobj
;
717 if(!PyArg_ParseTuple(args
,"s|iii:wxGrid_DeleteCols",&_argc0
,&_arg1
,&_arg2
,&tempbool3
))
720 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGrid_p")) {
721 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_DeleteCols. Expected _wxGrid_p.");
725 _arg3
= (bool ) tempbool3
;
726 _result
= (bool )wxGrid_DeleteCols(_arg0
,_arg1
,_arg2
,_arg3
);
727 _resultobj
= Py_BuildValue("i",_result
);
731 #define wxGrid_DeleteRows(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DeleteRows(_swigarg0,_swigarg1,_swigarg2))
732 static PyObject
*_wrap_wxGrid_DeleteRows(PyObject
*self
, PyObject
*args
) {
733 PyObject
* _resultobj
;
743 if(!PyArg_ParseTuple(args
,"s|iii:wxGrid_DeleteRows",&_argc0
,&_arg1
,&_arg2
,&tempbool3
))
746 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGrid_p")) {
747 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_DeleteRows. Expected _wxGrid_p.");
751 _arg3
= (bool ) tempbool3
;
752 _result
= (bool )wxGrid_DeleteRows(_arg0
,_arg1
,_arg2
,_arg3
);
753 _resultobj
= Py_BuildValue("i",_result
);
757 #define wxGrid_EndBatch(_swigobj) (_swigobj->EndBatch())
758 static PyObject
*_wrap_wxGrid_EndBatch(PyObject
*self
, PyObject
*args
) {
759 PyObject
* _resultobj
;
764 if(!PyArg_ParseTuple(args
,"s:wxGrid_EndBatch",&_argc0
))
767 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGrid_p")) {
768 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_EndBatch. Expected _wxGrid_p.");
772 wxGrid_EndBatch(_arg0
);
774 _resultobj
= Py_None
;
778 #define wxGrid_GetBatchCount(_swigobj) (_swigobj->GetBatchCount())
779 static PyObject
*_wrap_wxGrid_GetBatchCount(PyObject
*self
, PyObject
*args
) {
780 PyObject
* _resultobj
;
786 if(!PyArg_ParseTuple(args
,"s:wxGrid_GetBatchCount",&_argc0
))
789 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGrid_p")) {
790 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetBatchCount. Expected _wxGrid_p.");
794 _result
= (int )wxGrid_GetBatchCount(_arg0
);
795 _resultobj
= Py_BuildValue("i",_result
);
799 #define wxGrid_GetCell(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCell(_swigarg0,_swigarg1))
800 static PyObject
*_wrap_wxGrid_GetCell(PyObject
*self
, PyObject
*args
) {
801 PyObject
* _resultobj
;
802 wxGridCell
* _result
;
810 if(!PyArg_ParseTuple(args
,"sii:wxGrid_GetCell",&_argc0
,&_arg1
,&_arg2
))
813 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGrid_p")) {
814 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCell. Expected _wxGrid_p.");
818 _result
= (wxGridCell
*)wxGrid_GetCell(_arg0
,_arg1
,_arg2
);
819 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCell_p");
820 _resultobj
= Py_BuildValue("s",_ptemp
);
824 #define wxGrid_GetCellAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellAlignment(_swigarg0,_swigarg1))
825 static PyObject
*_wrap_wxGrid_GetCellAlignment(PyObject
*self
, PyObject
*args
) {
826 PyObject
* _resultobj
;
834 if(!PyArg_ParseTuple(args
,"sii:wxGrid_GetCellAlignment",&_argc0
,&_arg1
,&_arg2
))
837 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGrid_p")) {
838 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellAlignment. Expected _wxGrid_p.");
842 _result
= (int )wxGrid_GetCellAlignment(_arg0
,_arg1
,_arg2
);
843 _resultobj
= Py_BuildValue("i",_result
);
847 #define wxGrid_GetDefCellAlignment(_swigobj) (_swigobj->GetCellAlignment())
848 static PyObject
*_wrap_wxGrid_GetDefCellAlignment(PyObject
*self
, PyObject
*args
) {
849 PyObject
* _resultobj
;
855 if(!PyArg_ParseTuple(args
,"s:wxGrid_GetDefCellAlignment",&_argc0
))
858 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGrid_p")) {
859 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefCellAlignment. Expected _wxGrid_p.");
863 _result
= (int )wxGrid_GetDefCellAlignment(_arg0
);
864 _resultobj
= Py_BuildValue("i",_result
);
868 #define wxGrid_GetCellBackgroundColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellBackgroundColour(_swigarg0,_swigarg1))
869 static PyObject
*_wrap_wxGrid_GetCellBackgroundColour(PyObject
*self
, PyObject
*args
) {
870 PyObject
* _resultobj
;
879 if(!PyArg_ParseTuple(args
,"sii:wxGrid_GetCellBackgroundColour",&_argc0
,&_arg1
,&_arg2
))
882 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGrid_p")) {
883 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellBackgroundColour. Expected _wxGrid_p.");
887 wxColour
& _result_ref
= wxGrid_GetCellBackgroundColour(_arg0
,_arg1
,_arg2
);
888 _result
= (wxColour
*) &_result_ref
;
889 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
890 _resultobj
= Py_BuildValue("s",_ptemp
);
894 #define wxGrid_GetDefCellBackgroundColour(_swigobj) (_swigobj->GetCellBackgroundColour())
895 static PyObject
*_wrap_wxGrid_GetDefCellBackgroundColour(PyObject
*self
, PyObject
*args
) {
896 PyObject
* _resultobj
;
903 if(!PyArg_ParseTuple(args
,"s:wxGrid_GetDefCellBackgroundColour",&_argc0
))
906 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGrid_p")) {
907 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefCellBackgroundColour. Expected _wxGrid_p.");
911 wxColour
& _result_ref
= wxGrid_GetDefCellBackgroundColour(_arg0
);
912 _result
= (wxColour
*) &_result_ref
;
913 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
914 _resultobj
= Py_BuildValue("s",_ptemp
);
918 #define wxGrid_GetCellTextColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellTextColour(_swigarg0,_swigarg1))
919 static PyObject
*_wrap_wxGrid_GetCellTextColour(PyObject
*self
, PyObject
*args
) {
920 PyObject
* _resultobj
;
929 if(!PyArg_ParseTuple(args
,"sii:wxGrid_GetCellTextColour",&_argc0
,&_arg1
,&_arg2
))
932 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGrid_p")) {
933 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellTextColour. Expected _wxGrid_p.");
937 wxColour
& _result_ref
= wxGrid_GetCellTextColour(_arg0
,_arg1
,_arg2
);
938 _result
= (wxColour
*) &_result_ref
;
939 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
940 _resultobj
= Py_BuildValue("s",_ptemp
);
944 #define wxGrid_GetDefCellTextColour(_swigobj) (_swigobj->GetCellTextColour())
945 static PyObject
*_wrap_wxGrid_GetDefCellTextColour(PyObject
*self
, PyObject
*args
) {
946 PyObject
* _resultobj
;
953 if(!PyArg_ParseTuple(args
,"s:wxGrid_GetDefCellTextColour",&_argc0
))
956 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGrid_p")) {
957 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefCellTextColour. Expected _wxGrid_p.");
961 wxColour
& _result_ref
= wxGrid_GetDefCellTextColour(_arg0
);
962 _result
= (wxColour
*) &_result_ref
;
963 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
964 _resultobj
= Py_BuildValue("s",_ptemp
);
968 #define wxGrid_GetCellTextFont(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellTextFont(_swigarg0,_swigarg1))
969 static PyObject
*_wrap_wxGrid_GetCellTextFont(PyObject
*self
, PyObject
*args
) {
970 PyObject
* _resultobj
;
979 if(!PyArg_ParseTuple(args
,"sii:wxGrid_GetCellTextFont",&_argc0
,&_arg1
,&_arg2
))
982 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGrid_p")) {
983 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellTextFont. Expected _wxGrid_p.");
987 _result
= (wxFont
*)wxGrid_GetCellTextFont(_arg0
,_arg1
,_arg2
);
988 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
989 _resultobj
= Py_BuildValue("s",_ptemp
);
993 #define wxGrid_GetDefCellTextFont(_swigobj) (_swigobj->GetCellTextFont())
994 static PyObject
*_wrap_wxGrid_GetDefCellTextFont(PyObject
*self
, PyObject
*args
) {
995 PyObject
* _resultobj
;
1002 if(!PyArg_ParseTuple(args
,"s:wxGrid_GetDefCellTextFont",&_argc0
))
1005 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGrid_p")) {
1006 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefCellTextFont. Expected _wxGrid_p.");
1010 _result
= (wxFont
*)wxGrid_GetDefCellTextFont(_arg0
);
1011 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
1012 _resultobj
= Py_BuildValue("s",_ptemp
);
1016 #define wxGrid_GetCellValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellValue(_swigarg0,_swigarg1))
1017 static PyObject
*_wrap_wxGrid_GetCellValue(PyObject
*self
, PyObject
*args
) {
1018 PyObject
* _resultobj
;
1026 if(!PyArg_ParseTuple(args
,"sii:wxGrid_GetCellValue",&_argc0
,&_arg1
,&_arg2
))
1029 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGrid_p")) {
1030 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellValue. Expected _wxGrid_p.");
1034 wxString
& _result_ref
= wxGrid_GetCellValue(_arg0
,_arg1
,_arg2
);
1035 _result
= (wxString
*) &_result_ref
;
1037 _resultobj
= PyString_FromString(WXSTRINGCAST (*_result
));
1042 #define wxGrid_GetCols(_swigobj) (_swigobj->GetCols())
1043 static PyObject
*_wrap_wxGrid_GetCols(PyObject
*self
, PyObject
*args
) {
1044 PyObject
* _resultobj
;
1050 if(!PyArg_ParseTuple(args
,"s:wxGrid_GetCols",&_argc0
))
1053 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGrid_p")) {
1054 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCols. Expected _wxGrid_p.");
1058 _result
= (int )wxGrid_GetCols(_arg0
);
1059 _resultobj
= Py_BuildValue("i",_result
);
1063 #define wxGrid_GetColumnWidth(_swigobj,_swigarg0) (_swigobj->GetColumnWidth(_swigarg0))
1064 static PyObject
*_wrap_wxGrid_GetColumnWidth(PyObject
*self
, PyObject
*args
) {
1065 PyObject
* _resultobj
;
1072 if(!PyArg_ParseTuple(args
,"si:wxGrid_GetColumnWidth",&_argc0
,&_arg1
))
1075 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGrid_p")) {
1076 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetColumnWidth. Expected _wxGrid_p.");
1080 _result
= (int )wxGrid_GetColumnWidth(_arg0
,_arg1
);
1081 _resultobj
= Py_BuildValue("i",_result
);
1085 #define wxGrid_GetCurrentRect(_swigobj) (_swigobj->GetCurrentRect())
1086 static PyObject
*_wrap_wxGrid_GetCurrentRect(PyObject
*self
, PyObject
*args
) {
1087 PyObject
* _resultobj
;
1094 if(!PyArg_ParseTuple(args
,"s:wxGrid_GetCurrentRect",&_argc0
))
1097 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGrid_p")) {
1098 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCurrentRect. Expected _wxGrid_p.");
1102 wxRect
& _result_ref
= wxGrid_GetCurrentRect(_arg0
);
1103 _result
= (wxRect
*) &_result_ref
;
1104 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRect_p");
1105 _resultobj
= Py_BuildValue("s",_ptemp
);
1109 #define wxGrid_GetCursorColumn(_swigobj) (_swigobj->GetCursorColumn())
1110 static PyObject
*_wrap_wxGrid_GetCursorColumn(PyObject
*self
, PyObject
*args
) {
1111 PyObject
* _resultobj
;
1117 if(!PyArg_ParseTuple(args
,"s:wxGrid_GetCursorColumn",&_argc0
))
1120 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGrid_p")) {
1121 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCursorColumn. Expected _wxGrid_p.");
1125 _result
= (int )wxGrid_GetCursorColumn(_arg0
);
1126 _resultobj
= Py_BuildValue("i",_result
);
1130 #define wxGrid_GetCursorRow(_swigobj) (_swigobj->GetCursorRow())
1131 static PyObject
*_wrap_wxGrid_GetCursorRow(PyObject
*self
, PyObject
*args
) {
1132 PyObject
* _resultobj
;
1138 if(!PyArg_ParseTuple(args
,"s:wxGrid_GetCursorRow",&_argc0
))
1141 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGrid_p")) {
1142 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCursorRow. Expected _wxGrid_p.");
1146 _result
= (int )wxGrid_GetCursorRow(_arg0
);
1147 _resultobj
= Py_BuildValue("i",_result
);
1151 #define wxGrid_GetEditable(_swigobj) (_swigobj->GetEditable())
1152 static PyObject
*_wrap_wxGrid_GetEditable(PyObject
*self
, PyObject
*args
) {
1153 PyObject
* _resultobj
;
1159 if(!PyArg_ParseTuple(args
,"s:wxGrid_GetEditable",&_argc0
))
1162 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGrid_p")) {
1163 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetEditable. Expected _wxGrid_p.");
1167 _result
= (bool )wxGrid_GetEditable(_arg0
);
1168 _resultobj
= Py_BuildValue("i",_result
);
1172 #define wxGrid_GetHorizScrollBar(_swigobj) (_swigobj->GetHorizScrollBar())
1173 static PyObject
*_wrap_wxGrid_GetHorizScrollBar(PyObject
*self
, PyObject
*args
) {
1174 PyObject
* _resultobj
;
1175 wxScrollBar
* _result
;
1181 if(!PyArg_ParseTuple(args
,"s:wxGrid_GetHorizScrollBar",&_argc0
))
1184 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGrid_p")) {
1185 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetHorizScrollBar. Expected _wxGrid_p.");
1189 _result
= (wxScrollBar
*)wxGrid_GetHorizScrollBar(_arg0
);
1190 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScrollBar_p");
1191 _resultobj
= Py_BuildValue("s",_ptemp
);
1195 #define wxGrid_GetLabelAlignment(_swigobj,_swigarg0) (_swigobj->GetLabelAlignment(_swigarg0))
1196 static PyObject
*_wrap_wxGrid_GetLabelAlignment(PyObject
*self
, PyObject
*args
) {
1197 PyObject
* _resultobj
;
1204 if(!PyArg_ParseTuple(args
,"si:wxGrid_GetLabelAlignment",&_argc0
,&_arg1
))
1207 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGrid_p")) {
1208 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetLabelAlignment. Expected _wxGrid_p.");
1212 _result
= (int )wxGrid_GetLabelAlignment(_arg0
,_arg1
);
1213 _resultobj
= Py_BuildValue("i",_result
);
1217 #define wxGrid_GetLabelBackgroundColour(_swigobj) (_swigobj->GetLabelBackgroundColour())
1218 static PyObject
*_wrap_wxGrid_GetLabelBackgroundColour(PyObject
*self
, PyObject
*args
) {
1219 PyObject
* _resultobj
;
1226 if(!PyArg_ParseTuple(args
,"s:wxGrid_GetLabelBackgroundColour",&_argc0
))
1229 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGrid_p")) {
1230 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetLabelBackgroundColour. Expected _wxGrid_p.");
1234 wxColour
& _result_ref
= wxGrid_GetLabelBackgroundColour(_arg0
);
1235 _result
= (wxColour
*) &_result_ref
;
1236 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
1237 _resultobj
= Py_BuildValue("s",_ptemp
);
1241 #define wxGrid_GetLabelSize(_swigobj,_swigarg0) (_swigobj->GetLabelSize(_swigarg0))
1242 static PyObject
*_wrap_wxGrid_GetLabelSize(PyObject
*self
, PyObject
*args
) {
1243 PyObject
* _resultobj
;
1250 if(!PyArg_ParseTuple(args
,"si:wxGrid_GetLabelSize",&_argc0
,&_arg1
))
1253 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGrid_p")) {
1254 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetLabelSize. Expected _wxGrid_p.");
1258 _result
= (int )wxGrid_GetLabelSize(_arg0
,_arg1
);
1259 _resultobj
= Py_BuildValue("i",_result
);
1263 #define wxGrid_GetLabelTextColour(_swigobj) (_swigobj->GetLabelTextColour())
1264 static PyObject
*_wrap_wxGrid_GetLabelTextColour(PyObject
*self
, PyObject
*args
) {
1265 PyObject
* _resultobj
;
1272 if(!PyArg_ParseTuple(args
,"s:wxGrid_GetLabelTextColour",&_argc0
))
1275 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGrid_p")) {
1276 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetLabelTextColour. Expected _wxGrid_p.");
1280 wxColour
& _result_ref
= wxGrid_GetLabelTextColour(_arg0
);
1281 _result
= (wxColour
*) &_result_ref
;
1282 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
1283 _resultobj
= Py_BuildValue("s",_ptemp
);
1287 #define wxGrid_GetLabelTextFont(_swigobj) (_swigobj->GetLabelTextFont())
1288 static PyObject
*_wrap_wxGrid_GetLabelTextFont(PyObject
*self
, PyObject
*args
) {
1289 PyObject
* _resultobj
;
1296 if(!PyArg_ParseTuple(args
,"s:wxGrid_GetLabelTextFont",&_argc0
))
1299 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGrid_p")) {
1300 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetLabelTextFont. Expected _wxGrid_p.");
1304 _result
= (wxFont
*)wxGrid_GetLabelTextFont(_arg0
);
1305 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
1306 _resultobj
= Py_BuildValue("s",_ptemp
);
1310 #define wxGrid_GetLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetLabelValue(_swigarg0,_swigarg1))
1311 static PyObject
*_wrap_wxGrid_GetLabelValue(PyObject
*self
, PyObject
*args
) {
1312 PyObject
* _resultobj
;
1320 if(!PyArg_ParseTuple(args
,"sii:wxGrid_GetLabelValue",&_argc0
,&_arg1
,&_arg2
))
1323 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGrid_p")) {
1324 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetLabelValue. Expected _wxGrid_p.");
1328 wxString
& _result_ref
= wxGrid_GetLabelValue(_arg0
,_arg1
,_arg2
);
1329 _result
= (wxString
*) &_result_ref
;
1331 _resultobj
= PyString_FromString(WXSTRINGCAST (*_result
));
1336 #define wxGrid_GetRowHeight(_swigobj,_swigarg0) (_swigobj->GetRowHeight(_swigarg0))
1337 static PyObject
*_wrap_wxGrid_GetRowHeight(PyObject
*self
, PyObject
*args
) {
1338 PyObject
* _resultobj
;
1345 if(!PyArg_ParseTuple(args
,"si:wxGrid_GetRowHeight",&_argc0
,&_arg1
))
1348 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGrid_p")) {
1349 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetRowHeight. Expected _wxGrid_p.");
1353 _result
= (int )wxGrid_GetRowHeight(_arg0
,_arg1
);
1354 _resultobj
= Py_BuildValue("i",_result
);
1358 #define wxGrid_GetRows(_swigobj) (_swigobj->GetRows())
1359 static PyObject
*_wrap_wxGrid_GetRows(PyObject
*self
, PyObject
*args
) {
1360 PyObject
* _resultobj
;
1366 if(!PyArg_ParseTuple(args
,"s:wxGrid_GetRows",&_argc0
))
1369 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGrid_p")) {
1370 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetRows. Expected _wxGrid_p.");
1374 _result
= (int )wxGrid_GetRows(_arg0
);
1375 _resultobj
= Py_BuildValue("i",_result
);
1379 #define wxGrid_GetScrollPosX(_swigobj) (_swigobj->GetScrollPosX())
1380 static PyObject
*_wrap_wxGrid_GetScrollPosX(PyObject
*self
, PyObject
*args
) {
1381 PyObject
* _resultobj
;
1387 if(!PyArg_ParseTuple(args
,"s:wxGrid_GetScrollPosX",&_argc0
))
1390 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGrid_p")) {
1391 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetScrollPosX. Expected _wxGrid_p.");
1395 _result
= (int )wxGrid_GetScrollPosX(_arg0
);
1396 _resultobj
= Py_BuildValue("i",_result
);
1400 #define wxGrid_GetScrollPosY(_swigobj) (_swigobj->GetScrollPosY())
1401 static PyObject
*_wrap_wxGrid_GetScrollPosY(PyObject
*self
, PyObject
*args
) {
1402 PyObject
* _resultobj
;
1408 if(!PyArg_ParseTuple(args
,"s:wxGrid_GetScrollPosY",&_argc0
))
1411 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGrid_p")) {
1412 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetScrollPosY. Expected _wxGrid_p.");
1416 _result
= (int )wxGrid_GetScrollPosY(_arg0
);
1417 _resultobj
= Py_BuildValue("i",_result
);
1421 #define wxGrid_GetTextItem(_swigobj) (_swigobj->GetTextItem())
1422 static PyObject
*_wrap_wxGrid_GetTextItem(PyObject
*self
, PyObject
*args
) {
1423 PyObject
* _resultobj
;
1424 wxTextCtrl
* _result
;
1430 if(!PyArg_ParseTuple(args
,"s:wxGrid_GetTextItem",&_argc0
))
1433 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGrid_p")) {
1434 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetTextItem. Expected _wxGrid_p.");
1438 _result
= (wxTextCtrl
*)wxGrid_GetTextItem(_arg0
);
1439 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTextCtrl_p");
1440 _resultobj
= Py_BuildValue("s",_ptemp
);
1444 #define wxGrid_GetVertScrollBar(_swigobj) (_swigobj->GetVertScrollBar())
1445 static PyObject
*_wrap_wxGrid_GetVertScrollBar(PyObject
*self
, PyObject
*args
) {
1446 PyObject
* _resultobj
;
1447 wxScrollBar
* _result
;
1453 if(!PyArg_ParseTuple(args
,"s:wxGrid_GetVertScrollBar",&_argc0
))
1456 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGrid_p")) {
1457 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetVertScrollBar. Expected _wxGrid_p.");
1461 _result
= (wxScrollBar
*)wxGrid_GetVertScrollBar(_arg0
);
1462 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScrollBar_p");
1463 _resultobj
= Py_BuildValue("s",_ptemp
);
1467 #define wxGrid_InsertCols(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertCols(_swigarg0,_swigarg1,_swigarg2))
1468 static PyObject
*_wrap_wxGrid_InsertCols(PyObject
*self
, PyObject
*args
) {
1469 PyObject
* _resultobj
;
1479 if(!PyArg_ParseTuple(args
,"s|iii:wxGrid_InsertCols",&_argc0
,&_arg1
,&_arg2
,&tempbool3
))
1482 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGrid_p")) {
1483 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_InsertCols. Expected _wxGrid_p.");
1487 _arg3
= (bool ) tempbool3
;
1488 _result
= (bool )wxGrid_InsertCols(_arg0
,_arg1
,_arg2
,_arg3
);
1489 _resultobj
= Py_BuildValue("i",_result
);
1493 #define wxGrid_InsertRows(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertRows(_swigarg0,_swigarg1,_swigarg2))
1494 static PyObject
*_wrap_wxGrid_InsertRows(PyObject
*self
, PyObject
*args
) {
1495 PyObject
* _resultobj
;
1505 if(!PyArg_ParseTuple(args
,"s|iii:wxGrid_InsertRows",&_argc0
,&_arg1
,&_arg2
,&tempbool3
))
1508 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGrid_p")) {
1509 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_InsertRows. Expected _wxGrid_p.");
1513 _arg3
= (bool ) tempbool3
;
1514 _result
= (bool )wxGrid_InsertRows(_arg0
,_arg1
,_arg2
,_arg3
);
1515 _resultobj
= Py_BuildValue("i",_result
);
1519 #define wxGrid_SetCellAlignment(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellAlignment(_swigarg0,_swigarg1,_swigarg2))
1520 static PyObject
*_wrap_wxGrid_SetCellAlignment(PyObject
*self
, PyObject
*args
) {
1521 PyObject
* _resultobj
;
1529 if(!PyArg_ParseTuple(args
,"siii:wxGrid_SetCellAlignment",&_argc0
,&_arg1
,&_arg2
,&_arg3
))
1532 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGrid_p")) {
1533 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellAlignment. Expected _wxGrid_p.");
1537 wxGrid_SetCellAlignment(_arg0
,_arg1
,_arg2
,_arg3
);
1539 _resultobj
= Py_None
;
1543 #define wxGrid_SetDefCellAlignment(_swigobj,_swigarg0) (_swigobj->SetCellAlignment(_swigarg0))
1544 static PyObject
*_wrap_wxGrid_SetDefCellAlignment(PyObject
*self
, PyObject
*args
) {
1545 PyObject
* _resultobj
;
1551 if(!PyArg_ParseTuple(args
,"si:wxGrid_SetDefCellAlignment",&_argc0
,&_arg1
))
1554 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGrid_p")) {
1555 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetDefCellAlignment. Expected _wxGrid_p.");
1559 wxGrid_SetDefCellAlignment(_arg0
,_arg1
);
1561 _resultobj
= Py_None
;
1565 #define wxGrid_SetCellBackgroundColour(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellBackgroundColour(_swigarg0,_swigarg1,_swigarg2))
1566 static PyObject
*_wrap_wxGrid_SetCellBackgroundColour(PyObject
*self
, PyObject
*args
) {
1567 PyObject
* _resultobj
;
1576 if(!PyArg_ParseTuple(args
,"ssii:wxGrid_SetCellBackgroundColour",&_argc0
,&_argc1
,&_arg2
,&_arg3
))
1579 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGrid_p")) {
1580 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellBackgroundColour. Expected _wxGrid_p.");
1585 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxColour_p")) {
1586 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_SetCellBackgroundColour. Expected _wxColour_p.");
1590 wxGrid_SetCellBackgroundColour(_arg0
,*_arg1
,_arg2
,_arg3
);
1592 _resultobj
= Py_None
;
1596 #define wxGrid_SetDefCellBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetCellBackgroundColour(_swigarg0))
1597 static PyObject
*_wrap_wxGrid_SetDefCellBackgroundColour(PyObject
*self
, PyObject
*args
) {
1598 PyObject
* _resultobj
;
1605 if(!PyArg_ParseTuple(args
,"ss:wxGrid_SetDefCellBackgroundColour",&_argc0
,&_argc1
))
1608 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGrid_p")) {
1609 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetDefCellBackgroundColour. Expected _wxGrid_p.");
1614 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxColour_p")) {
1615 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_SetDefCellBackgroundColour. Expected _wxColour_p.");
1619 wxGrid_SetDefCellBackgroundColour(_arg0
,*_arg1
);
1621 _resultobj
= Py_None
;
1625 #define wxGrid_SetCellTextColour(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellTextColour(_swigarg0,_swigarg1,_swigarg2))
1626 static PyObject
*_wrap_wxGrid_SetCellTextColour(PyObject
*self
, PyObject
*args
) {
1627 PyObject
* _resultobj
;
1636 if(!PyArg_ParseTuple(args
,"ssii:wxGrid_SetCellTextColour",&_argc0
,&_argc1
,&_arg2
,&_arg3
))
1639 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGrid_p")) {
1640 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellTextColour. Expected _wxGrid_p.");
1645 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxColour_p")) {
1646 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_SetCellTextColour. Expected _wxColour_p.");
1650 wxGrid_SetCellTextColour(_arg0
,*_arg1
,_arg2
,_arg3
);
1652 _resultobj
= Py_None
;
1656 #define wxGrid_SetDefCellTextColour(_swigobj,_swigarg0) (_swigobj->SetCellTextColour(_swigarg0))
1657 static PyObject
*_wrap_wxGrid_SetDefCellTextColour(PyObject
*self
, PyObject
*args
) {
1658 PyObject
* _resultobj
;
1665 if(!PyArg_ParseTuple(args
,"ss:wxGrid_SetDefCellTextColour",&_argc0
,&_argc1
))
1668 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGrid_p")) {
1669 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetDefCellTextColour. Expected _wxGrid_p.");
1674 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxColour_p")) {
1675 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_SetDefCellTextColour. Expected _wxColour_p.");
1679 wxGrid_SetDefCellTextColour(_arg0
,*_arg1
);
1681 _resultobj
= Py_None
;
1685 #define wxGrid_SetCellTextFont(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellTextFont(_swigarg0,_swigarg1,_swigarg2))
1686 static PyObject
*_wrap_wxGrid_SetCellTextFont(PyObject
*self
, PyObject
*args
) {
1687 PyObject
* _resultobj
;
1696 if(!PyArg_ParseTuple(args
,"ssii:wxGrid_SetCellTextFont",&_argc0
,&_argc1
,&_arg2
,&_arg3
))
1699 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGrid_p")) {
1700 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellTextFont. Expected _wxGrid_p.");
1705 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxFont_p")) {
1706 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_SetCellTextFont. Expected _wxFont_p.");
1710 wxGrid_SetCellTextFont(_arg0
,_arg1
,_arg2
,_arg3
);
1712 _resultobj
= Py_None
;
1716 #define wxGrid_SetDefCellTextFont(_swigobj,_swigarg0) (_swigobj->SetCellTextFont(_swigarg0))
1717 static PyObject
*_wrap_wxGrid_SetDefCellTextFont(PyObject
*self
, PyObject
*args
) {
1718 PyObject
* _resultobj
;
1725 if(!PyArg_ParseTuple(args
,"ss:wxGrid_SetDefCellTextFont",&_argc0
,&_argc1
))
1728 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGrid_p")) {
1729 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetDefCellTextFont. Expected _wxGrid_p.");
1734 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxFont_p")) {
1735 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_SetDefCellTextFont. Expected _wxFont_p.");
1739 wxGrid_SetDefCellTextFont(_arg0
,_arg1
);
1741 _resultobj
= Py_None
;
1745 #define wxGrid_SetCellValue(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellValue(_swigarg0,_swigarg1,_swigarg2))
1746 static PyObject
*_wrap_wxGrid_SetCellValue(PyObject
*self
, PyObject
*args
) {
1747 PyObject
* _resultobj
;
1753 PyObject
* _obj1
= 0;
1756 if(!PyArg_ParseTuple(args
,"sOii:wxGrid_SetCellValue",&_argc0
,&_obj1
,&_arg2
,&_arg3
))
1759 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGrid_p")) {
1760 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellValue. Expected _wxGrid_p.");
1765 if (!PyString_Check(_obj1
)) {
1766 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1769 _arg1
= new wxString(PyString_AsString(_obj1
));
1771 wxGrid_SetCellValue(_arg0
,*_arg1
,_arg2
,_arg3
);
1773 _resultobj
= Py_None
;
1781 #define wxGrid_SetColumnWidth(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColumnWidth(_swigarg0,_swigarg1))
1782 static PyObject
*_wrap_wxGrid_SetColumnWidth(PyObject
*self
, PyObject
*args
) {
1783 PyObject
* _resultobj
;
1790 if(!PyArg_ParseTuple(args
,"sii:wxGrid_SetColumnWidth",&_argc0
,&_arg1
,&_arg2
))
1793 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGrid_p")) {
1794 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetColumnWidth. Expected _wxGrid_p.");
1798 wxGrid_SetColumnWidth(_arg0
,_arg1
,_arg2
);
1800 _resultobj
= Py_None
;
1804 #define wxGrid_SetDividerPen(_swigobj,_swigarg0) (_swigobj->SetDividerPen(_swigarg0))
1805 static PyObject
*_wrap_wxGrid_SetDividerPen(PyObject
*self
, PyObject
*args
) {
1806 PyObject
* _resultobj
;
1813 if(!PyArg_ParseTuple(args
,"ss:wxGrid_SetDividerPen",&_argc0
,&_argc1
))
1816 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGrid_p")) {
1817 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetDividerPen. Expected _wxGrid_p.");
1822 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxPen_p")) {
1823 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_SetDividerPen. Expected _wxPen_p.");
1827 wxGrid_SetDividerPen(_arg0
,_arg1
);
1829 _resultobj
= Py_None
;
1833 #define wxGrid_SetEditable(_swigobj,_swigarg0) (_swigobj->SetEditable(_swigarg0))
1834 static PyObject
*_wrap_wxGrid_SetEditable(PyObject
*self
, PyObject
*args
) {
1835 PyObject
* _resultobj
;
1842 if(!PyArg_ParseTuple(args
,"si:wxGrid_SetEditable",&_argc0
,&tempbool1
))
1845 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGrid_p")) {
1846 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetEditable. Expected _wxGrid_p.");
1850 _arg1
= (bool ) tempbool1
;
1851 wxGrid_SetEditable(_arg0
,_arg1
);
1853 _resultobj
= Py_None
;
1857 #define wxGrid_SetGridCursor(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetGridCursor(_swigarg0,_swigarg1))
1858 static PyObject
*_wrap_wxGrid_SetGridCursor(PyObject
*self
, PyObject
*args
) {
1859 PyObject
* _resultobj
;
1866 if(!PyArg_ParseTuple(args
,"sii:wxGrid_SetGridCursor",&_argc0
,&_arg1
,&_arg2
))
1869 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGrid_p")) {
1870 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetGridCursor. Expected _wxGrid_p.");
1874 wxGrid_SetGridCursor(_arg0
,_arg1
,_arg2
);
1876 _resultobj
= Py_None
;
1880 #define wxGrid_SetLabelAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabelAlignment(_swigarg0,_swigarg1))
1881 static PyObject
*_wrap_wxGrid_SetLabelAlignment(PyObject
*self
, PyObject
*args
) {
1882 PyObject
* _resultobj
;
1889 if(!PyArg_ParseTuple(args
,"sii:wxGrid_SetLabelAlignment",&_argc0
,&_arg1
,&_arg2
))
1892 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGrid_p")) {
1893 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetLabelAlignment. Expected _wxGrid_p.");
1897 wxGrid_SetLabelAlignment(_arg0
,_arg1
,_arg2
);
1899 _resultobj
= Py_None
;
1903 #define wxGrid_SetLabelBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetLabelBackgroundColour(_swigarg0))
1904 static PyObject
*_wrap_wxGrid_SetLabelBackgroundColour(PyObject
*self
, PyObject
*args
) {
1905 PyObject
* _resultobj
;
1912 if(!PyArg_ParseTuple(args
,"ss:wxGrid_SetLabelBackgroundColour",&_argc0
,&_argc1
))
1915 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGrid_p")) {
1916 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetLabelBackgroundColour. Expected _wxGrid_p.");
1921 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxColour_p")) {
1922 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_SetLabelBackgroundColour. Expected _wxColour_p.");
1926 wxGrid_SetLabelBackgroundColour(_arg0
,*_arg1
);
1928 _resultobj
= Py_None
;
1932 #define wxGrid_SetLabelSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabelSize(_swigarg0,_swigarg1))
1933 static PyObject
*_wrap_wxGrid_SetLabelSize(PyObject
*self
, PyObject
*args
) {
1934 PyObject
* _resultobj
;
1941 if(!PyArg_ParseTuple(args
,"sii:wxGrid_SetLabelSize",&_argc0
,&_arg1
,&_arg2
))
1944 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGrid_p")) {
1945 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetLabelSize. Expected _wxGrid_p.");
1949 wxGrid_SetLabelSize(_arg0
,_arg1
,_arg2
);
1951 _resultobj
= Py_None
;
1955 #define wxGrid_SetLabelTextColour(_swigobj,_swigarg0) (_swigobj->SetLabelTextColour(_swigarg0))
1956 static PyObject
*_wrap_wxGrid_SetLabelTextColour(PyObject
*self
, PyObject
*args
) {
1957 PyObject
* _resultobj
;
1964 if(!PyArg_ParseTuple(args
,"ss:wxGrid_SetLabelTextColour",&_argc0
,&_argc1
))
1967 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGrid_p")) {
1968 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetLabelTextColour. Expected _wxGrid_p.");
1973 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxColour_p")) {
1974 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_SetLabelTextColour. Expected _wxColour_p.");
1978 wxGrid_SetLabelTextColour(_arg0
,*_arg1
);
1980 _resultobj
= Py_None
;
1984 #define wxGrid_SetLabelTextFont(_swigobj,_swigarg0) (_swigobj->SetLabelTextFont(_swigarg0))
1985 static PyObject
*_wrap_wxGrid_SetLabelTextFont(PyObject
*self
, PyObject
*args
) {
1986 PyObject
* _resultobj
;
1993 if(!PyArg_ParseTuple(args
,"ss:wxGrid_SetLabelTextFont",&_argc0
,&_argc1
))
1996 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGrid_p")) {
1997 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetLabelTextFont. Expected _wxGrid_p.");
2002 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxFont_p")) {
2003 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_SetLabelTextFont. Expected _wxFont_p.");
2007 wxGrid_SetLabelTextFont(_arg0
,_arg1
);
2009 _resultobj
= Py_None
;
2013 #define wxGrid_SetLabelValue(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetLabelValue(_swigarg0,_swigarg1,_swigarg2))
2014 static PyObject
*_wrap_wxGrid_SetLabelValue(PyObject
*self
, PyObject
*args
) {
2015 PyObject
* _resultobj
;
2021 PyObject
* _obj2
= 0;
2024 if(!PyArg_ParseTuple(args
,"siOi:wxGrid_SetLabelValue",&_argc0
,&_arg1
,&_obj2
,&_arg3
))
2027 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGrid_p")) {
2028 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetLabelValue. Expected _wxGrid_p.");
2033 if (!PyString_Check(_obj2
)) {
2034 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2037 _arg2
= new wxString(PyString_AsString(_obj2
));
2039 wxGrid_SetLabelValue(_arg0
,_arg1
,*_arg2
,_arg3
);
2041 _resultobj
= Py_None
;
2049 #define wxGrid_SetRowHeight(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowHeight(_swigarg0,_swigarg1))
2050 static PyObject
*_wrap_wxGrid_SetRowHeight(PyObject
*self
, PyObject
*args
) {
2051 PyObject
* _resultobj
;
2058 if(!PyArg_ParseTuple(args
,"sii:wxGrid_SetRowHeight",&_argc0
,&_arg1
,&_arg2
))
2061 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGrid_p")) {
2062 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetRowHeight. Expected _wxGrid_p.");
2066 wxGrid_SetRowHeight(_arg0
,_arg1
,_arg2
);
2068 _resultobj
= Py_None
;
2072 #define wxGrid_UpdateDimensions(_swigobj) (_swigobj->UpdateDimensions())
2073 static PyObject
*_wrap_wxGrid_UpdateDimensions(PyObject
*self
, PyObject
*args
) {
2074 PyObject
* _resultobj
;
2079 if(!PyArg_ParseTuple(args
,"s:wxGrid_UpdateDimensions",&_argc0
))
2082 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGrid_p")) {
2083 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_UpdateDimensions. Expected _wxGrid_p.");
2087 wxGrid_UpdateDimensions(_arg0
);
2089 _resultobj
= Py_None
;
2093 static void *SwigwxNotebookEventTowxCommandEvent(void *ptr
) {
2094 wxNotebookEvent
*src
;
2095 wxCommandEvent
*dest
;
2096 src
= (wxNotebookEvent
*) ptr
;
2097 dest
= (wxCommandEvent
*) src
;
2098 return (void *) dest
;
2101 static void *SwigwxNotebookEventTowxEvent(void *ptr
) {
2102 wxNotebookEvent
*src
;
2104 src
= (wxNotebookEvent
*) ptr
;
2105 dest
= (wxEvent
*) src
;
2106 return (void *) dest
;
2109 #define wxNotebookEvent_GetSelection(_swigobj) (_swigobj->GetSelection())
2110 static PyObject
*_wrap_wxNotebookEvent_GetSelection(PyObject
*self
, PyObject
*args
) {
2111 PyObject
* _resultobj
;
2113 wxNotebookEvent
* _arg0
;
2117 if(!PyArg_ParseTuple(args
,"s:wxNotebookEvent_GetSelection",&_argc0
))
2120 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxNotebookEvent_p")) {
2121 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebookEvent_GetSelection. Expected _wxNotebookEvent_p.");
2125 _result
= (int )wxNotebookEvent_GetSelection(_arg0
);
2126 _resultobj
= Py_BuildValue("i",_result
);
2130 #define wxNotebookEvent_GetOldSelection(_swigobj) (_swigobj->GetOldSelection())
2131 static PyObject
*_wrap_wxNotebookEvent_GetOldSelection(PyObject
*self
, PyObject
*args
) {
2132 PyObject
* _resultobj
;
2134 wxNotebookEvent
* _arg0
;
2138 if(!PyArg_ParseTuple(args
,"s:wxNotebookEvent_GetOldSelection",&_argc0
))
2141 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxNotebookEvent_p")) {
2142 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebookEvent_GetOldSelection. Expected _wxNotebookEvent_p.");
2146 _result
= (int )wxNotebookEvent_GetOldSelection(_arg0
);
2147 _resultobj
= Py_BuildValue("i",_result
);
2151 static void *SwigwxNotebookTowxControl(void *ptr
) {
2154 src
= (wxNotebook
*) ptr
;
2155 dest
= (wxControl
*) src
;
2156 return (void *) dest
;
2159 static void *SwigwxNotebookTowxWindow(void *ptr
) {
2162 src
= (wxNotebook
*) ptr
;
2163 dest
= (wxWindow
*) src
;
2164 return (void *) dest
;
2167 static void *SwigwxNotebookTowxEvtHandler(void *ptr
) {
2170 src
= (wxNotebook
*) ptr
;
2171 dest
= (wxEvtHandler
*) src
;
2172 return (void *) dest
;
2175 #define new_wxNotebook(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxNotebook(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
2176 static PyObject
*_wrap_new_wxNotebook(PyObject
*self
, PyObject
*args
) {
2177 PyObject
* _resultobj
;
2178 wxNotebook
* _result
;
2181 wxPoint
* _arg2
= &wxPyDefaultPosition
;
2182 wxSize
* _arg3
= &wxPyDefaultSize
;
2184 char * _arg5
= "notebook";
2191 if(!PyArg_ParseTuple(args
,"si|ssls:new_wxNotebook",&_argc0
,&_arg1
,&_argc2
,&_argc3
,&_arg4
,&_arg5
))
2194 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2195 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxNotebook. Expected _wxWindow_p.");
2200 if (SWIG_GetPtr(_argc2
,(void **) &_arg2
,"_wxPoint_p")) {
2201 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxNotebook. Expected _wxPoint_p.");
2206 if (SWIG_GetPtr(_argc3
,(void **) &_arg3
,"_wxSize_p")) {
2207 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of new_wxNotebook. Expected _wxSize_p.");
2211 _result
= (wxNotebook
*)new_wxNotebook(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
2212 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxNotebook_p");
2213 _resultobj
= Py_BuildValue("s",_ptemp
);
2217 #define wxNotebook_GetPageCount(_swigobj) (_swigobj->GetPageCount())
2218 static PyObject
*_wrap_wxNotebook_GetPageCount(PyObject
*self
, PyObject
*args
) {
2219 PyObject
* _resultobj
;
2225 if(!PyArg_ParseTuple(args
,"s:wxNotebook_GetPageCount",&_argc0
))
2228 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxNotebook_p")) {
2229 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_GetPageCount. Expected _wxNotebook_p.");
2233 _result
= (int )wxNotebook_GetPageCount(_arg0
);
2234 _resultobj
= Py_BuildValue("i",_result
);
2238 #define wxNotebook_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
2239 static PyObject
*_wrap_wxNotebook_SetSelection(PyObject
*self
, PyObject
*args
) {
2240 PyObject
* _resultobj
;
2247 if(!PyArg_ParseTuple(args
,"si:wxNotebook_SetSelection",&_argc0
,&_arg1
))
2250 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxNotebook_p")) {
2251 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_SetSelection. Expected _wxNotebook_p.");
2255 _result
= (int )wxNotebook_SetSelection(_arg0
,_arg1
);
2256 _resultobj
= Py_BuildValue("i",_result
);
2260 #define wxNotebook_AdvanceSelection(_swigobj,_swigarg0) (_swigobj->AdvanceSelection(_swigarg0))
2261 static PyObject
*_wrap_wxNotebook_AdvanceSelection(PyObject
*self
, PyObject
*args
) {
2262 PyObject
* _resultobj
;
2269 if(!PyArg_ParseTuple(args
,"s|i:wxNotebook_AdvanceSelection",&_argc0
,&tempbool1
))
2272 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxNotebook_p")) {
2273 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_AdvanceSelection. Expected _wxNotebook_p.");
2277 _arg1
= (bool ) tempbool1
;
2278 wxNotebook_AdvanceSelection(_arg0
,_arg1
);
2280 _resultobj
= Py_None
;
2284 #define wxNotebook_GetSelection(_swigobj) (_swigobj->GetSelection())
2285 static PyObject
*_wrap_wxNotebook_GetSelection(PyObject
*self
, PyObject
*args
) {
2286 PyObject
* _resultobj
;
2292 if(!PyArg_ParseTuple(args
,"s:wxNotebook_GetSelection",&_argc0
))
2295 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxNotebook_p")) {
2296 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_GetSelection. Expected _wxNotebook_p.");
2300 _result
= (int )wxNotebook_GetSelection(_arg0
);
2301 _resultobj
= Py_BuildValue("i",_result
);
2305 #define wxNotebook_SetPageText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetPageText(_swigarg0,_swigarg1))
2306 static PyObject
*_wrap_wxNotebook_SetPageText(PyObject
*self
, PyObject
*args
) {
2307 PyObject
* _resultobj
;
2313 PyObject
* _obj2
= 0;
2316 if(!PyArg_ParseTuple(args
,"siO:wxNotebook_SetPageText",&_argc0
,&_arg1
,&_obj2
))
2319 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxNotebook_p")) {
2320 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_SetPageText. Expected _wxNotebook_p.");
2325 if (!PyString_Check(_obj2
)) {
2326 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2329 _arg2
= new wxString(PyString_AsString(_obj2
));
2331 _result
= (bool )wxNotebook_SetPageText(_arg0
,_arg1
,*_arg2
);
2332 _resultobj
= Py_BuildValue("i",_result
);
2340 #define wxNotebook_GetPageText(_swigobj,_swigarg0) (_swigobj->GetPageText(_swigarg0))
2341 static PyObject
*_wrap_wxNotebook_GetPageText(PyObject
*self
, PyObject
*args
) {
2342 PyObject
* _resultobj
;
2349 if(!PyArg_ParseTuple(args
,"si:wxNotebook_GetPageText",&_argc0
,&_arg1
))
2352 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxNotebook_p")) {
2353 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_GetPageText. Expected _wxNotebook_p.");
2357 _result
= new wxString (wxNotebook_GetPageText(_arg0
,_arg1
));
2359 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
2367 #define wxNotebook_SetImageList(_swigobj,_swigarg0) (_swigobj->SetImageList(_swigarg0))
2368 static PyObject
*_wrap_wxNotebook_SetImageList(PyObject
*self
, PyObject
*args
) {
2369 PyObject
* _resultobj
;
2371 wxImageList
* _arg1
;
2376 if(!PyArg_ParseTuple(args
,"ss:wxNotebook_SetImageList",&_argc0
,&_argc1
))
2379 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxNotebook_p")) {
2380 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_SetImageList. Expected _wxNotebook_p.");
2385 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxImageList_p")) {
2386 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxNotebook_SetImageList. Expected _wxImageList_p.");
2390 wxNotebook_SetImageList(_arg0
,_arg1
);
2392 _resultobj
= Py_None
;
2396 #define wxNotebook_GetImageList(_swigobj) (_swigobj->GetImageList())
2397 static PyObject
*_wrap_wxNotebook_GetImageList(PyObject
*self
, PyObject
*args
) {
2398 PyObject
* _resultobj
;
2399 wxImageList
* _result
;
2405 if(!PyArg_ParseTuple(args
,"s:wxNotebook_GetImageList",&_argc0
))
2408 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxNotebook_p")) {
2409 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_GetImageList. Expected _wxNotebook_p.");
2413 _result
= (wxImageList
*)wxNotebook_GetImageList(_arg0
);
2414 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxImageList_p");
2415 _resultobj
= Py_BuildValue("s",_ptemp
);
2419 #define wxNotebook_GetPageImage(_swigobj,_swigarg0) (_swigobj->GetPageImage(_swigarg0))
2420 static PyObject
*_wrap_wxNotebook_GetPageImage(PyObject
*self
, PyObject
*args
) {
2421 PyObject
* _resultobj
;
2428 if(!PyArg_ParseTuple(args
,"si:wxNotebook_GetPageImage",&_argc0
,&_arg1
))
2431 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxNotebook_p")) {
2432 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_GetPageImage. Expected _wxNotebook_p.");
2436 _result
= (int )wxNotebook_GetPageImage(_arg0
,_arg1
);
2437 _resultobj
= Py_BuildValue("i",_result
);
2441 #define wxNotebook_SetPageImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetPageImage(_swigarg0,_swigarg1))
2442 static PyObject
*_wrap_wxNotebook_SetPageImage(PyObject
*self
, PyObject
*args
) {
2443 PyObject
* _resultobj
;
2451 if(!PyArg_ParseTuple(args
,"sii:wxNotebook_SetPageImage",&_argc0
,&_arg1
,&_arg2
))
2454 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxNotebook_p")) {
2455 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_SetPageImage. Expected _wxNotebook_p.");
2459 _result
= (bool )wxNotebook_SetPageImage(_arg0
,_arg1
,_arg2
);
2460 _resultobj
= Py_BuildValue("i",_result
);
2464 #define wxNotebook_GetRowCount(_swigobj) (_swigobj->GetRowCount())
2465 static PyObject
*_wrap_wxNotebook_GetRowCount(PyObject
*self
, PyObject
*args
) {
2466 PyObject
* _resultobj
;
2472 if(!PyArg_ParseTuple(args
,"s:wxNotebook_GetRowCount",&_argc0
))
2475 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxNotebook_p")) {
2476 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_GetRowCount. Expected _wxNotebook_p.");
2480 _result
= (int )wxNotebook_GetRowCount(_arg0
);
2481 _resultobj
= Py_BuildValue("i",_result
);
2485 #define wxNotebook_DeletePage(_swigobj,_swigarg0) (_swigobj->DeletePage(_swigarg0))
2486 static PyObject
*_wrap_wxNotebook_DeletePage(PyObject
*self
, PyObject
*args
) {
2487 PyObject
* _resultobj
;
2494 if(!PyArg_ParseTuple(args
,"si:wxNotebook_DeletePage",&_argc0
,&_arg1
))
2497 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxNotebook_p")) {
2498 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_DeletePage. Expected _wxNotebook_p.");
2502 _result
= (bool )wxNotebook_DeletePage(_arg0
,_arg1
);
2503 _resultobj
= Py_BuildValue("i",_result
);
2507 #define wxNotebook_DeleteAllPages(_swigobj) (_swigobj->DeleteAllPages())
2508 static PyObject
*_wrap_wxNotebook_DeleteAllPages(PyObject
*self
, PyObject
*args
) {
2509 PyObject
* _resultobj
;
2515 if(!PyArg_ParseTuple(args
,"s:wxNotebook_DeleteAllPages",&_argc0
))
2518 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxNotebook_p")) {
2519 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_DeleteAllPages. Expected _wxNotebook_p.");
2523 _result
= (bool )wxNotebook_DeleteAllPages(_arg0
);
2524 _resultobj
= Py_BuildValue("i",_result
);
2528 #define wxNotebook_AddPage(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->AddPage(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2529 static PyObject
*_wrap_wxNotebook_AddPage(PyObject
*self
, PyObject
*args
) {
2530 PyObject
* _resultobj
;
2539 PyObject
* _obj2
= 0;
2543 if(!PyArg_ParseTuple(args
,"ssO|ii:wxNotebook_AddPage",&_argc0
,&_argc1
,&_obj2
,&tempbool3
,&_arg4
))
2546 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxNotebook_p")) {
2547 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_AddPage. Expected _wxNotebook_p.");
2552 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxWindow_p")) {
2553 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxNotebook_AddPage. Expected _wxWindow_p.");
2558 if (!PyString_Check(_obj2
)) {
2559 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2562 _arg2
= new wxString(PyString_AsString(_obj2
));
2564 _arg3
= (bool ) tempbool3
;
2565 _result
= (bool )wxNotebook_AddPage(_arg0
,_arg1
,*_arg2
,_arg3
,_arg4
);
2566 _resultobj
= Py_BuildValue("i",_result
);
2574 #define wxNotebook_GetPage(_swigobj,_swigarg0) (_swigobj->GetPage(_swigarg0))
2575 static PyObject
*_wrap_wxNotebook_GetPage(PyObject
*self
, PyObject
*args
) {
2576 PyObject
* _resultobj
;
2577 wxNotebookPage
* _result
;
2584 if(!PyArg_ParseTuple(args
,"si:wxNotebook_GetPage",&_argc0
,&_arg1
))
2587 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxNotebook_p")) {
2588 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_GetPage. Expected _wxNotebook_p.");
2592 _result
= (wxNotebookPage
*)wxNotebook_GetPage(_arg0
,_arg1
);
2593 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxNotebookPage_p");
2594 _resultobj
= Py_BuildValue("s",_ptemp
);
2598 static void *SwigwxSplitterWindowTowxWindow(void *ptr
) {
2599 wxSplitterWindow
*src
;
2601 src
= (wxSplitterWindow
*) ptr
;
2602 dest
= (wxWindow
*) src
;
2603 return (void *) dest
;
2606 static void *SwigwxSplitterWindowTowxEvtHandler(void *ptr
) {
2607 wxSplitterWindow
*src
;
2609 src
= (wxSplitterWindow
*) ptr
;
2610 dest
= (wxEvtHandler
*) src
;
2611 return (void *) dest
;
2614 #define new_wxSplitterWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxSplitterWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
2615 static PyObject
*_wrap_new_wxSplitterWindow(PyObject
*self
, PyObject
*args
) {
2616 PyObject
* _resultobj
;
2617 wxSplitterWindow
* _result
;
2620 wxPoint
* _arg2
= &wxPyDefaultPosition
;
2621 wxSize
* _arg3
= &wxPyDefaultSize
;
2622 long _arg4
= (wxSP_3D
);
2623 char * _arg5
= "splitterWindow";
2630 if(!PyArg_ParseTuple(args
,"si|ssls:new_wxSplitterWindow",&_argc0
,&_arg1
,&_argc2
,&_argc3
,&_arg4
,&_arg5
))
2633 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2634 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxSplitterWindow. Expected _wxWindow_p.");
2639 if (SWIG_GetPtr(_argc2
,(void **) &_arg2
,"_wxPoint_p")) {
2640 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxSplitterWindow. Expected _wxPoint_p.");
2645 if (SWIG_GetPtr(_argc3
,(void **) &_arg3
,"_wxSize_p")) {
2646 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of new_wxSplitterWindow. Expected _wxSize_p.");
2650 _result
= (wxSplitterWindow
*)new_wxSplitterWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
2651 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSplitterWindow_p");
2652 _resultobj
= Py_BuildValue("s",_ptemp
);
2656 #define wxSplitterWindow_GetMinimumPaneSize(_swigobj) (_swigobj->GetMinimumPaneSize())
2657 static PyObject
*_wrap_wxSplitterWindow_GetMinimumPaneSize(PyObject
*self
, PyObject
*args
) {
2658 PyObject
* _resultobj
;
2660 wxSplitterWindow
* _arg0
;
2664 if(!PyArg_ParseTuple(args
,"s:wxSplitterWindow_GetMinimumPaneSize",&_argc0
))
2667 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2668 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetMinimumPaneSize. Expected _wxSplitterWindow_p.");
2672 _result
= (int )wxSplitterWindow_GetMinimumPaneSize(_arg0
);
2673 _resultobj
= Py_BuildValue("i",_result
);
2677 #define wxSplitterWindow_GetSashPosition(_swigobj) (_swigobj->GetSashPosition())
2678 static PyObject
*_wrap_wxSplitterWindow_GetSashPosition(PyObject
*self
, PyObject
*args
) {
2679 PyObject
* _resultobj
;
2681 wxSplitterWindow
* _arg0
;
2685 if(!PyArg_ParseTuple(args
,"s:wxSplitterWindow_GetSashPosition",&_argc0
))
2688 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2689 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetSashPosition. Expected _wxSplitterWindow_p.");
2693 _result
= (int )wxSplitterWindow_GetSashPosition(_arg0
);
2694 _resultobj
= Py_BuildValue("i",_result
);
2698 #define wxSplitterWindow_GetSplitMode(_swigobj) (_swigobj->GetSplitMode())
2699 static PyObject
*_wrap_wxSplitterWindow_GetSplitMode(PyObject
*self
, PyObject
*args
) {
2700 PyObject
* _resultobj
;
2702 wxSplitterWindow
* _arg0
;
2706 if(!PyArg_ParseTuple(args
,"s:wxSplitterWindow_GetSplitMode",&_argc0
))
2709 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2710 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetSplitMode. Expected _wxSplitterWindow_p.");
2714 _result
= (int )wxSplitterWindow_GetSplitMode(_arg0
);
2715 _resultobj
= Py_BuildValue("i",_result
);
2719 #define wxSplitterWindow_GetWindow1(_swigobj) (_swigobj->GetWindow1())
2720 static PyObject
*_wrap_wxSplitterWindow_GetWindow1(PyObject
*self
, PyObject
*args
) {
2721 PyObject
* _resultobj
;
2723 wxSplitterWindow
* _arg0
;
2728 if(!PyArg_ParseTuple(args
,"s:wxSplitterWindow_GetWindow1",&_argc0
))
2731 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2732 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetWindow1. Expected _wxSplitterWindow_p.");
2736 _result
= (wxWindow
*)wxSplitterWindow_GetWindow1(_arg0
);
2737 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
2738 _resultobj
= Py_BuildValue("s",_ptemp
);
2742 #define wxSplitterWindow_GetWindow2(_swigobj) (_swigobj->GetWindow2())
2743 static PyObject
*_wrap_wxSplitterWindow_GetWindow2(PyObject
*self
, PyObject
*args
) {
2744 PyObject
* _resultobj
;
2746 wxSplitterWindow
* _arg0
;
2751 if(!PyArg_ParseTuple(args
,"s:wxSplitterWindow_GetWindow2",&_argc0
))
2754 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2755 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetWindow2. Expected _wxSplitterWindow_p.");
2759 _result
= (wxWindow
*)wxSplitterWindow_GetWindow2(_arg0
);
2760 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
2761 _resultobj
= Py_BuildValue("s",_ptemp
);
2765 #define wxSplitterWindow_Initialize(_swigobj,_swigarg0) (_swigobj->Initialize(_swigarg0))
2766 static PyObject
*_wrap_wxSplitterWindow_Initialize(PyObject
*self
, PyObject
*args
) {
2767 PyObject
* _resultobj
;
2768 wxSplitterWindow
* _arg0
;
2774 if(!PyArg_ParseTuple(args
,"ss:wxSplitterWindow_Initialize",&_argc0
,&_argc1
))
2777 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2778 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_Initialize. Expected _wxSplitterWindow_p.");
2783 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxWindow_p")) {
2784 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSplitterWindow_Initialize. Expected _wxWindow_p.");
2788 wxSplitterWindow_Initialize(_arg0
,_arg1
);
2790 _resultobj
= Py_None
;
2794 #define wxSplitterWindow_IsSplit(_swigobj) (_swigobj->IsSplit())
2795 static PyObject
*_wrap_wxSplitterWindow_IsSplit(PyObject
*self
, PyObject
*args
) {
2796 PyObject
* _resultobj
;
2798 wxSplitterWindow
* _arg0
;
2802 if(!PyArg_ParseTuple(args
,"s:wxSplitterWindow_IsSplit",&_argc0
))
2805 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2806 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_IsSplit. Expected _wxSplitterWindow_p.");
2810 _result
= (bool )wxSplitterWindow_IsSplit(_arg0
);
2811 _resultobj
= Py_BuildValue("i",_result
);
2815 #define wxSplitterWindow_SetSashPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSashPosition(_swigarg0,_swigarg1))
2816 static PyObject
*_wrap_wxSplitterWindow_SetSashPosition(PyObject
*self
, PyObject
*args
) {
2817 PyObject
* _resultobj
;
2818 wxSplitterWindow
* _arg0
;
2824 if(!PyArg_ParseTuple(args
,"si|i:wxSplitterWindow_SetSashPosition",&_argc0
,&_arg1
,&_arg2
))
2827 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2828 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SetSashPosition. Expected _wxSplitterWindow_p.");
2832 wxSplitterWindow_SetSashPosition(_arg0
,_arg1
,_arg2
);
2834 _resultobj
= Py_None
;
2838 #define wxSplitterWindow_SetMinimumPaneSize(_swigobj,_swigarg0) (_swigobj->SetMinimumPaneSize(_swigarg0))
2839 static PyObject
*_wrap_wxSplitterWindow_SetMinimumPaneSize(PyObject
*self
, PyObject
*args
) {
2840 PyObject
* _resultobj
;
2841 wxSplitterWindow
* _arg0
;
2846 if(!PyArg_ParseTuple(args
,"si:wxSplitterWindow_SetMinimumPaneSize",&_argc0
,&_arg1
))
2849 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2850 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SetMinimumPaneSize. Expected _wxSplitterWindow_p.");
2854 wxSplitterWindow_SetMinimumPaneSize(_arg0
,_arg1
);
2856 _resultobj
= Py_None
;
2860 #define wxSplitterWindow_SetSplitMode(_swigobj,_swigarg0) (_swigobj->SetSplitMode(_swigarg0))
2861 static PyObject
*_wrap_wxSplitterWindow_SetSplitMode(PyObject
*self
, PyObject
*args
) {
2862 PyObject
* _resultobj
;
2863 wxSplitterWindow
* _arg0
;
2868 if(!PyArg_ParseTuple(args
,"si:wxSplitterWindow_SetSplitMode",&_argc0
,&_arg1
))
2871 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2872 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SetSplitMode. Expected _wxSplitterWindow_p.");
2876 wxSplitterWindow_SetSplitMode(_arg0
,_arg1
);
2878 _resultobj
= Py_None
;
2882 #define wxSplitterWindow_SplitHorizontally(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SplitHorizontally(_swigarg0,_swigarg1,_swigarg2))
2883 static PyObject
*_wrap_wxSplitterWindow_SplitHorizontally(PyObject
*self
, PyObject
*args
) {
2884 PyObject
* _resultobj
;
2886 wxSplitterWindow
* _arg0
;
2895 if(!PyArg_ParseTuple(args
,"sss|i:wxSplitterWindow_SplitHorizontally",&_argc0
,&_argc1
,&_argc2
,&_arg3
))
2898 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2899 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SplitHorizontally. Expected _wxSplitterWindow_p.");
2904 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxWindow_p")) {
2905 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSplitterWindow_SplitHorizontally. Expected _wxWindow_p.");
2910 if (SWIG_GetPtr(_argc2
,(void **) &_arg2
,"_wxWindow_p")) {
2911 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxSplitterWindow_SplitHorizontally. Expected _wxWindow_p.");
2915 _result
= (bool )wxSplitterWindow_SplitHorizontally(_arg0
,_arg1
,_arg2
,_arg3
);
2916 _resultobj
= Py_BuildValue("i",_result
);
2920 #define wxSplitterWindow_SplitVertically(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SplitVertically(_swigarg0,_swigarg1,_swigarg2))
2921 static PyObject
*_wrap_wxSplitterWindow_SplitVertically(PyObject
*self
, PyObject
*args
) {
2922 PyObject
* _resultobj
;
2924 wxSplitterWindow
* _arg0
;
2933 if(!PyArg_ParseTuple(args
,"sss|i:wxSplitterWindow_SplitVertically",&_argc0
,&_argc1
,&_argc2
,&_arg3
))
2936 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2937 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SplitVertically. Expected _wxSplitterWindow_p.");
2942 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxWindow_p")) {
2943 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSplitterWindow_SplitVertically. Expected _wxWindow_p.");
2948 if (SWIG_GetPtr(_argc2
,(void **) &_arg2
,"_wxWindow_p")) {
2949 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxSplitterWindow_SplitVertically. Expected _wxWindow_p.");
2953 _result
= (bool )wxSplitterWindow_SplitVertically(_arg0
,_arg1
,_arg2
,_arg3
);
2954 _resultobj
= Py_BuildValue("i",_result
);
2958 #define wxSplitterWindow_Unsplit(_swigobj,_swigarg0) (_swigobj->Unsplit(_swigarg0))
2959 static PyObject
*_wrap_wxSplitterWindow_Unsplit(PyObject
*self
, PyObject
*args
) {
2960 PyObject
* _resultobj
;
2962 wxSplitterWindow
* _arg0
;
2963 wxWindow
* _arg1
= NULL
;
2968 if(!PyArg_ParseTuple(args
,"s|s:wxSplitterWindow_Unsplit",&_argc0
,&_argc1
))
2971 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2972 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_Unsplit. Expected _wxSplitterWindow_p.");
2977 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxWindow_p")) {
2978 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSplitterWindow_Unsplit. Expected _wxWindow_p.");
2982 _result
= (bool )wxSplitterWindow_Unsplit(_arg0
,_arg1
);
2983 _resultobj
= Py_BuildValue("i",_result
);
2987 static PyMethodDef windows2cMethods
[] = {
2988 { "wxSplitterWindow_Unsplit", _wrap_wxSplitterWindow_Unsplit
, 1 },
2989 { "wxSplitterWindow_SplitVertically", _wrap_wxSplitterWindow_SplitVertically
, 1 },
2990 { "wxSplitterWindow_SplitHorizontally", _wrap_wxSplitterWindow_SplitHorizontally
, 1 },
2991 { "wxSplitterWindow_SetSplitMode", _wrap_wxSplitterWindow_SetSplitMode
, 1 },
2992 { "wxSplitterWindow_SetMinimumPaneSize", _wrap_wxSplitterWindow_SetMinimumPaneSize
, 1 },
2993 { "wxSplitterWindow_SetSashPosition", _wrap_wxSplitterWindow_SetSashPosition
, 1 },
2994 { "wxSplitterWindow_IsSplit", _wrap_wxSplitterWindow_IsSplit
, 1 },
2995 { "wxSplitterWindow_Initialize", _wrap_wxSplitterWindow_Initialize
, 1 },
2996 { "wxSplitterWindow_GetWindow2", _wrap_wxSplitterWindow_GetWindow2
, 1 },
2997 { "wxSplitterWindow_GetWindow1", _wrap_wxSplitterWindow_GetWindow1
, 1 },
2998 { "wxSplitterWindow_GetSplitMode", _wrap_wxSplitterWindow_GetSplitMode
, 1 },
2999 { "wxSplitterWindow_GetSashPosition", _wrap_wxSplitterWindow_GetSashPosition
, 1 },
3000 { "wxSplitterWindow_GetMinimumPaneSize", _wrap_wxSplitterWindow_GetMinimumPaneSize
, 1 },
3001 { "new_wxSplitterWindow", _wrap_new_wxSplitterWindow
, 1 },
3002 { "wxNotebook_GetPage", _wrap_wxNotebook_GetPage
, 1 },
3003 { "wxNotebook_AddPage", _wrap_wxNotebook_AddPage
, 1 },
3004 { "wxNotebook_DeleteAllPages", _wrap_wxNotebook_DeleteAllPages
, 1 },
3005 { "wxNotebook_DeletePage", _wrap_wxNotebook_DeletePage
, 1 },
3006 { "wxNotebook_GetRowCount", _wrap_wxNotebook_GetRowCount
, 1 },
3007 { "wxNotebook_SetPageImage", _wrap_wxNotebook_SetPageImage
, 1 },
3008 { "wxNotebook_GetPageImage", _wrap_wxNotebook_GetPageImage
, 1 },
3009 { "wxNotebook_GetImageList", _wrap_wxNotebook_GetImageList
, 1 },
3010 { "wxNotebook_SetImageList", _wrap_wxNotebook_SetImageList
, 1 },
3011 { "wxNotebook_GetPageText", _wrap_wxNotebook_GetPageText
, 1 },
3012 { "wxNotebook_SetPageText", _wrap_wxNotebook_SetPageText
, 1 },
3013 { "wxNotebook_GetSelection", _wrap_wxNotebook_GetSelection
, 1 },
3014 { "wxNotebook_AdvanceSelection", _wrap_wxNotebook_AdvanceSelection
, 1 },
3015 { "wxNotebook_SetSelection", _wrap_wxNotebook_SetSelection
, 1 },
3016 { "wxNotebook_GetPageCount", _wrap_wxNotebook_GetPageCount
, 1 },
3017 { "new_wxNotebook", _wrap_new_wxNotebook
, 1 },
3018 { "wxNotebookEvent_GetOldSelection", _wrap_wxNotebookEvent_GetOldSelection
, 1 },
3019 { "wxNotebookEvent_GetSelection", _wrap_wxNotebookEvent_GetSelection
, 1 },
3020 { "wxGrid_UpdateDimensions", _wrap_wxGrid_UpdateDimensions
, 1 },
3021 { "wxGrid_SetRowHeight", _wrap_wxGrid_SetRowHeight
, 1 },
3022 { "wxGrid_SetLabelValue", _wrap_wxGrid_SetLabelValue
, 1 },
3023 { "wxGrid_SetLabelTextFont", _wrap_wxGrid_SetLabelTextFont
, 1 },
3024 { "wxGrid_SetLabelTextColour", _wrap_wxGrid_SetLabelTextColour
, 1 },
3025 { "wxGrid_SetLabelSize", _wrap_wxGrid_SetLabelSize
, 1 },
3026 { "wxGrid_SetLabelBackgroundColour", _wrap_wxGrid_SetLabelBackgroundColour
, 1 },
3027 { "wxGrid_SetLabelAlignment", _wrap_wxGrid_SetLabelAlignment
, 1 },
3028 { "wxGrid_SetGridCursor", _wrap_wxGrid_SetGridCursor
, 1 },
3029 { "wxGrid_SetEditable", _wrap_wxGrid_SetEditable
, 1 },
3030 { "wxGrid_SetDividerPen", _wrap_wxGrid_SetDividerPen
, 1 },
3031 { "wxGrid_SetColumnWidth", _wrap_wxGrid_SetColumnWidth
, 1 },
3032 { "wxGrid_SetCellValue", _wrap_wxGrid_SetCellValue
, 1 },
3033 { "wxGrid_SetDefCellTextFont", _wrap_wxGrid_SetDefCellTextFont
, 1 },
3034 { "wxGrid_SetCellTextFont", _wrap_wxGrid_SetCellTextFont
, 1 },
3035 { "wxGrid_SetDefCellTextColour", _wrap_wxGrid_SetDefCellTextColour
, 1 },
3036 { "wxGrid_SetCellTextColour", _wrap_wxGrid_SetCellTextColour
, 1 },
3037 { "wxGrid_SetDefCellBackgroundColour", _wrap_wxGrid_SetDefCellBackgroundColour
, 1 },
3038 { "wxGrid_SetCellBackgroundColour", _wrap_wxGrid_SetCellBackgroundColour
, 1 },
3039 { "wxGrid_SetDefCellAlignment", _wrap_wxGrid_SetDefCellAlignment
, 1 },
3040 { "wxGrid_SetCellAlignment", _wrap_wxGrid_SetCellAlignment
, 1 },
3041 { "wxGrid_InsertRows", _wrap_wxGrid_InsertRows
, 1 },
3042 { "wxGrid_InsertCols", _wrap_wxGrid_InsertCols
, 1 },
3043 { "wxGrid_GetVertScrollBar", _wrap_wxGrid_GetVertScrollBar
, 1 },
3044 { "wxGrid_GetTextItem", _wrap_wxGrid_GetTextItem
, 1 },
3045 { "wxGrid_GetScrollPosY", _wrap_wxGrid_GetScrollPosY
, 1 },
3046 { "wxGrid_GetScrollPosX", _wrap_wxGrid_GetScrollPosX
, 1 },
3047 { "wxGrid_GetRows", _wrap_wxGrid_GetRows
, 1 },
3048 { "wxGrid_GetRowHeight", _wrap_wxGrid_GetRowHeight
, 1 },
3049 { "wxGrid_GetLabelValue", _wrap_wxGrid_GetLabelValue
, 1 },
3050 { "wxGrid_GetLabelTextFont", _wrap_wxGrid_GetLabelTextFont
, 1 },
3051 { "wxGrid_GetLabelTextColour", _wrap_wxGrid_GetLabelTextColour
, 1 },
3052 { "wxGrid_GetLabelSize", _wrap_wxGrid_GetLabelSize
, 1 },
3053 { "wxGrid_GetLabelBackgroundColour", _wrap_wxGrid_GetLabelBackgroundColour
, 1 },
3054 { "wxGrid_GetLabelAlignment", _wrap_wxGrid_GetLabelAlignment
, 1 },
3055 { "wxGrid_GetHorizScrollBar", _wrap_wxGrid_GetHorizScrollBar
, 1 },
3056 { "wxGrid_GetEditable", _wrap_wxGrid_GetEditable
, 1 },
3057 { "wxGrid_GetCursorRow", _wrap_wxGrid_GetCursorRow
, 1 },
3058 { "wxGrid_GetCursorColumn", _wrap_wxGrid_GetCursorColumn
, 1 },
3059 { "wxGrid_GetCurrentRect", _wrap_wxGrid_GetCurrentRect
, 1 },
3060 { "wxGrid_GetColumnWidth", _wrap_wxGrid_GetColumnWidth
, 1 },
3061 { "wxGrid_GetCols", _wrap_wxGrid_GetCols
, 1 },
3062 { "wxGrid_GetCellValue", _wrap_wxGrid_GetCellValue
, 1 },
3063 { "wxGrid_GetDefCellTextFont", _wrap_wxGrid_GetDefCellTextFont
, 1 },
3064 { "wxGrid_GetCellTextFont", _wrap_wxGrid_GetCellTextFont
, 1 },
3065 { "wxGrid_GetDefCellTextColour", _wrap_wxGrid_GetDefCellTextColour
, 1 },
3066 { "wxGrid_GetCellTextColour", _wrap_wxGrid_GetCellTextColour
, 1 },
3067 { "wxGrid_GetDefCellBackgroundColour", _wrap_wxGrid_GetDefCellBackgroundColour
, 1 },
3068 { "wxGrid_GetCellBackgroundColour", _wrap_wxGrid_GetCellBackgroundColour
, 1 },
3069 { "wxGrid_GetDefCellAlignment", _wrap_wxGrid_GetDefCellAlignment
, 1 },
3070 { "wxGrid_GetCellAlignment", _wrap_wxGrid_GetCellAlignment
, 1 },
3071 { "wxGrid_GetCell", _wrap_wxGrid_GetCell
, 1 },
3072 { "wxGrid_GetBatchCount", _wrap_wxGrid_GetBatchCount
, 1 },
3073 { "wxGrid_EndBatch", _wrap_wxGrid_EndBatch
, 1 },
3074 { "wxGrid_DeleteRows", _wrap_wxGrid_DeleteRows
, 1 },
3075 { "wxGrid_DeleteCols", _wrap_wxGrid_DeleteCols
, 1 },
3076 { "wxGrid_CurrentCellVisible", _wrap_wxGrid_CurrentCellVisible
, 1 },
3077 { "wxGrid_CreateGrid", _wrap_wxGrid_CreateGrid
, 1 },
3078 { "wxGrid_CellHitTest", _wrap_wxGrid_CellHitTest
, 1 },
3079 { "wxGrid_BeginBatch", _wrap_wxGrid_BeginBatch
, 1 },
3080 { "wxGrid_AppendRows", _wrap_wxGrid_AppendRows
, 1 },
3081 { "wxGrid_AppendCols", _wrap_wxGrid_AppendCols
, 1 },
3082 { "wxGrid_AdjustScrollbars", _wrap_wxGrid_AdjustScrollbars
, 1 },
3083 { "new_wxGrid", _wrap_new_wxGrid
, 1 },
3084 { "wxGridCell_SetCellBitmap", _wrap_wxGridCell_SetCellBitmap
, 1 },
3085 { "wxGridCell_GetCellBitmap", _wrap_wxGridCell_GetCellBitmap
, 1 },
3086 { "wxGridCell_SetAlignment", _wrap_wxGridCell_SetAlignment
, 1 },
3087 { "wxGridCell_GetAlignment", _wrap_wxGridCell_GetAlignment
, 1 },
3088 { "wxGridCell_GetBackgroundBrush", _wrap_wxGridCell_GetBackgroundBrush
, 1 },
3089 { "wxGridCell_SetBackgroundColour", _wrap_wxGridCell_SetBackgroundColour
, 1 },
3090 { "wxGridCell_GetBackgroundColour", _wrap_wxGridCell_GetBackgroundColour
, 1 },
3091 { "wxGridCell_SetTextColour", _wrap_wxGridCell_SetTextColour
, 1 },
3092 { "wxGridCell_GetTextColour", _wrap_wxGridCell_GetTextColour
, 1 },
3093 { "wxGridCell_SetFont", _wrap_wxGridCell_SetFont
, 1 },
3094 { "wxGridCell_GetFont", _wrap_wxGridCell_GetFont
, 1 },
3095 { "wxGridCell_SetTextValue", _wrap_wxGridCell_SetTextValue
, 1 },
3096 { "wxGridCell_GetTextValue", _wrap_wxGridCell_GetTextValue
, 1 },
3099 static PyObject
*SWIG_globals
;
3103 SWIGEXPORT(void,initwindows2c
)() {
3105 SWIG_globals
= SWIG_newvarlink();
3106 m
= Py_InitModule("windows2c", windows2cMethods
);
3107 d
= PyModule_GetDict(m
);
3108 PyDict_SetItemString(d
,"wxGRID_TEXT_CTRL", PyInt_FromLong((long) wxGRID_TEXT_CTRL
));
3109 PyDict_SetItemString(d
,"wxGRID_HSCROLL", PyInt_FromLong((long) wxGRID_HSCROLL
));
3110 PyDict_SetItemString(d
,"wxGRID_VSCROLL", PyInt_FromLong((long) wxGRID_VSCROLL
));
3112 * These are the pointer type-equivalency mappings.
3113 * (Used by the SWIG pointer type-checker).
3115 SWIG_RegisterMapping("_wxEvent","_class_wxNotebookEvent",SwigwxNotebookEventTowxEvent
);
3116 SWIG_RegisterMapping("_wxEvent","_wxNotebookEvent",SwigwxNotebookEventTowxEvent
);
3117 SWIG_RegisterMapping("_wxEvent","_class_wxEvent",0);
3118 SWIG_RegisterMapping("_class_wxActivateEvent","_wxActivateEvent",0);
3119 SWIG_RegisterMapping("_signed_long","_long",0);
3120 SWIG_RegisterMapping("_wxMenuEvent","_class_wxMenuEvent",0);
3121 SWIG_RegisterMapping("_class_wxMenuBar","_wxMenuBar",0);
3122 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxSplitterWindow",SwigwxSplitterWindowTowxEvtHandler
);
3123 SWIG_RegisterMapping("_class_wxEvtHandler","_wxSplitterWindow",SwigwxSplitterWindowTowxEvtHandler
);
3124 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxNotebook",SwigwxNotebookTowxEvtHandler
);
3125 SWIG_RegisterMapping("_class_wxEvtHandler","_wxNotebook",SwigwxNotebookTowxEvtHandler
);
3126 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxGrid",SwigwxGridTowxEvtHandler
);
3127 SWIG_RegisterMapping("_class_wxEvtHandler","_wxGrid",SwigwxGridTowxEvtHandler
);
3128 SWIG_RegisterMapping("_class_wxEvtHandler","_wxEvtHandler",0);
3129 SWIG_RegisterMapping("_wxPaintEvent","_class_wxPaintEvent",0);
3130 SWIG_RegisterMapping("_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0);
3131 SWIG_RegisterMapping("_wxCursor","_class_wxCursor",0);
3132 SWIG_RegisterMapping("_wxMask","_class_wxMask",0);
3133 SWIG_RegisterMapping("_wxGrid","_class_wxGrid",0);
3134 SWIG_RegisterMapping("_wxPyMenu","_class_wxPyMenu",0);
3135 SWIG_RegisterMapping("_wxPen","_class_wxPen",0);
3136 SWIG_RegisterMapping("_wxUpdateUIEvent","_class_wxUpdateUIEvent",0);
3137 SWIG_RegisterMapping("_byte","_unsigned_char",0);
3138 SWIG_RegisterMapping("_wxStaticBox","_class_wxStaticBox",0);
3139 SWIG_RegisterMapping("_wxChoice","_class_wxChoice",0);
3140 SWIG_RegisterMapping("_wxSlider","_class_wxSlider",0);
3141 SWIG_RegisterMapping("_wxNotebookEvent","_class_wxNotebookEvent",0);
3142 SWIG_RegisterMapping("_long","_wxDash",0);
3143 SWIG_RegisterMapping("_long","_unsigned_long",0);
3144 SWIG_RegisterMapping("_long","_signed_long",0);
3145 SWIG_RegisterMapping("_wxDropFilesEvent","_class_wxDropFilesEvent",0);
3146 SWIG_RegisterMapping("_wxBitmapButton","_class_wxBitmapButton",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("_class_wxPanel","_class_wxGrid",SwigwxGridTowxPanel
);
3207 SWIG_RegisterMapping("_class_wxPanel","_wxGrid",SwigwxGridTowxPanel
);
3208 SWIG_RegisterMapping("_class_wxPanel","_wxPanel",0);
3209 SWIG_RegisterMapping("_class_wxCheckBox","_wxCheckBox",0);
3210 SWIG_RegisterMapping("_wxComboBox","_class_wxComboBox",0);
3211 SWIG_RegisterMapping("_wxRadioButton","_class_wxRadioButton",0);
3212 SWIG_RegisterMapping("_signed_int","_EBool",0);
3213 SWIG_RegisterMapping("_signed_int","_wxWindowID",0);
3214 SWIG_RegisterMapping("_signed_int","_int",0);
3215 SWIG_RegisterMapping("_class_wxTextCtrl","_wxTextCtrl",0);
3216 SWIG_RegisterMapping("_wxLayoutConstraints","_class_wxLayoutConstraints",0);
3217 SWIG_RegisterMapping("_wxMenu","_class_wxMenu",0);
3218 SWIG_RegisterMapping("_class_wxMoveEvent","_wxMoveEvent",0);
3219 SWIG_RegisterMapping("_wxListBox","_class_wxListBox",0);
3220 SWIG_RegisterMapping("_wxScreenDC","_class_wxScreenDC",0);
3221 SWIG_RegisterMapping("_WXTYPE","_short",0);
3222 SWIG_RegisterMapping("_WXTYPE","_signed_short",0);
3223 SWIG_RegisterMapping("_WXTYPE","_unsigned_short",0);
3224 SWIG_RegisterMapping("_class_wxBrush","_wxBrush",0);
3225 SWIG_RegisterMapping("_unsigned_short","_WXTYPE",0);
3226 SWIG_RegisterMapping("_unsigned_short","_short",0);
3227 SWIG_RegisterMapping("_class_wxWindow","_class_wxSplitterWindow",SwigwxSplitterWindowTowxWindow
);
3228 SWIG_RegisterMapping("_class_wxWindow","_wxSplitterWindow",SwigwxSplitterWindowTowxWindow
);
3229 SWIG_RegisterMapping("_class_wxWindow","_class_wxNotebook",SwigwxNotebookTowxWindow
);
3230 SWIG_RegisterMapping("_class_wxWindow","_wxNotebook",SwigwxNotebookTowxWindow
);
3231 SWIG_RegisterMapping("_class_wxWindow","_class_wxGrid",SwigwxGridTowxWindow
);
3232 SWIG_RegisterMapping("_class_wxWindow","_wxGrid",SwigwxGridTowxWindow
);
3233 SWIG_RegisterMapping("_class_wxWindow","_wxWindow",0);
3234 SWIG_RegisterMapping("_wxSplitterWindow","_class_wxSplitterWindow",0);
3235 SWIG_RegisterMapping("_class_wxStaticText","_wxStaticText",0);
3236 SWIG_RegisterMapping("_class_wxFont","_wxFont",0);
3237 SWIG_RegisterMapping("_class_wxCloseEvent","_wxCloseEvent",0);
3238 SWIG_RegisterMapping("_class_wxMenuEvent","_wxMenuEvent",0);
3239 SWIG_RegisterMapping("_wxClientDC","_class_wxClientDC",0);
3240 SWIG_RegisterMapping("_wxMouseEvent","_class_wxMouseEvent",0);
3241 SWIG_RegisterMapping("_class_wxPoint","_wxPoint",0);
3242 SWIG_RegisterMapping("_wxRealPoint","_class_wxRealPoint",0);
3243 SWIG_RegisterMapping("_class_wxRadioBox","_wxRadioBox",0);
3244 SWIG_RegisterMapping("_wxGridCell","_class_wxGridCell",0);
3245 SWIG_RegisterMapping("_signed_short","_WXTYPE",0);
3246 SWIG_RegisterMapping("_signed_short","_short",0);
3247 SWIG_RegisterMapping("_wxMemoryDC","_class_wxMemoryDC",0);
3248 SWIG_RegisterMapping("_wxPaintDC","_class_wxPaintDC",0);
3249 SWIG_RegisterMapping("_class_wxFocusEvent","_wxFocusEvent",0);
3250 SWIG_RegisterMapping("_class_wxMaximizeEvent","_wxMaximizeEvent",0);
3251 SWIG_RegisterMapping("_class_wxCursor","_wxCursor",0);
3252 SWIG_RegisterMapping("_wxPostScriptDC","_class_wxPostScriptDC",0);
3253 SWIG_RegisterMapping("_wxScrolledWindow","_class_wxScrolledWindow",0);
3254 SWIG_RegisterMapping("_unsigned_char","_byte",0);
3255 SWIG_RegisterMapping("_class_wxMenu","_wxMenu",0);
3256 SWIG_RegisterMapping("_wxControl","_class_wxNotebook",SwigwxNotebookTowxControl
);
3257 SWIG_RegisterMapping("_wxControl","_wxNotebook",SwigwxNotebookTowxControl
);
3258 SWIG_RegisterMapping("_wxControl","_class_wxControl",0);
3259 SWIG_RegisterMapping("_class_wxListBox","_wxListBox",0);
3260 SWIG_RegisterMapping("_unsigned_int","_uint",0);
3261 SWIG_RegisterMapping("_unsigned_int","_wxWindowID",0);
3262 SWIG_RegisterMapping("_unsigned_int","_int",0);
3263 SWIG_RegisterMapping("_wxIcon","_class_wxIcon",0);
3264 SWIG_RegisterMapping("_wxDialog","_class_wxDialog",0);
3265 SWIG_RegisterMapping("_class_wxPyMenu","_wxPyMenu",0);
3266 SWIG_RegisterMapping("_class_wxPen","_wxPen",0);
3267 SWIG_RegisterMapping("_short","_WXTYPE",0);
3268 SWIG_RegisterMapping("_short","_unsigned_short",0);
3269 SWIG_RegisterMapping("_short","_signed_short",0);
3270 SWIG_RegisterMapping("_class_wxStaticBox","_wxStaticBox",0);
3271 SWIG_RegisterMapping("_class_wxScrollEvent","_wxScrollEvent",0);
3272 SWIG_RegisterMapping("_wxJoystickEvent","_class_wxJoystickEvent",0);
3273 SWIG_RegisterMapping("_class_wxChoice","_wxChoice",0);
3274 SWIG_RegisterMapping("_class_wxSlider","_wxSlider",0);
3275 SWIG_RegisterMapping("_class_wxBitmapButton","_wxBitmapButton",0);
3276 SWIG_RegisterMapping("_class_wxNotebook","_wxNotebook",0);
3277 SWIG_RegisterMapping("_wxWindowID","_EBool",0);
3278 SWIG_RegisterMapping("_wxWindowID","_uint",0);
3279 SWIG_RegisterMapping("_wxWindowID","_int",0);
3280 SWIG_RegisterMapping("_wxWindowID","_signed_int",0);
3281 SWIG_RegisterMapping("_wxWindowID","_unsigned_int",0);
3282 SWIG_RegisterMapping("_int","_EBool",0);
3283 SWIG_RegisterMapping("_int","_uint",0);
3284 SWIG_RegisterMapping("_int","_wxWindowID",0);
3285 SWIG_RegisterMapping("_int","_unsigned_int",0);
3286 SWIG_RegisterMapping("_int","_signed_int",0);
3287 SWIG_RegisterMapping("_class_wxMouseEvent","_wxMouseEvent",0);
3288 SWIG_RegisterMapping("_wxButton","_class_wxButton",0);
3289 SWIG_RegisterMapping("_wxSize","_class_wxSize",0);
3290 SWIG_RegisterMapping("_class_wxPaintDC","_wxPaintDC",0);
3291 SWIG_RegisterMapping("_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0);
3292 SWIG_RegisterMapping("_class_wxInitDialogEvent","_wxInitDialogEvent",0);
3293 SWIG_RegisterMapping("_class_wxComboBox","_wxComboBox",0);
3294 SWIG_RegisterMapping("_class_wxRadioButton","_wxRadioButton",0);
3295 SWIG_RegisterMapping("_class_wxLayoutConstraints","_wxLayoutConstraints",0);
3296 SWIG_RegisterMapping("_wxIconizeEvent","_class_wxIconizeEvent",0);
3297 SWIG_RegisterMapping("_class_wxControl","_class_wxNotebook",SwigwxNotebookTowxControl
);
3298 SWIG_RegisterMapping("_class_wxControl","_wxNotebook",SwigwxNotebookTowxControl
);
3299 SWIG_RegisterMapping("_class_wxControl","_wxControl",0);
3300 SWIG_RegisterMapping("_wxStaticBitmap","_class_wxStaticBitmap",0);
3301 SWIG_RegisterMapping("_class_wxIcon","_wxIcon",0);
3302 SWIG_RegisterMapping("_class_wxColour","_wxColour",0);
3303 SWIG_RegisterMapping("_class_wxScreenDC","_wxScreenDC",0);
3304 SWIG_RegisterMapping("_class_wxIdleEvent","_wxIdleEvent",0);
3305 SWIG_RegisterMapping("_wxEraseEvent","_class_wxEraseEvent",0);
3306 SWIG_RegisterMapping("_class_wxJoystickEvent","_wxJoystickEvent",0);
3307 SWIG_RegisterMapping("_class_wxSplitterWindow","_wxSplitterWindow",0);
3308 SWIG_RegisterMapping("_class_wxShowEvent","_wxShowEvent",0);
3309 SWIG_RegisterMapping("_wxActivateEvent","_class_wxActivateEvent",0);
3310 SWIG_RegisterMapping("_wxGauge","_class_wxGauge",0);
3311 SWIG_RegisterMapping("_class_wxCommandEvent","_class_wxNotebookEvent",SwigwxNotebookEventTowxCommandEvent
);
3312 SWIG_RegisterMapping("_class_wxCommandEvent","_wxNotebookEvent",SwigwxNotebookEventTowxCommandEvent
);
3313 SWIG_RegisterMapping("_class_wxCommandEvent","_wxCommandEvent",0);
3314 SWIG_RegisterMapping("_class_wxClientDC","_wxClientDC",0);
3315 SWIG_RegisterMapping("_class_wxSizeEvent","_wxSizeEvent",0);
3316 SWIG_RegisterMapping("_class_wxGridCell","_wxGridCell",0);
3317 SWIG_RegisterMapping("_class_wxSize","_wxSize",0);
3318 SWIG_RegisterMapping("_class_wxBitmap","_wxBitmap",0);
3319 SWIG_RegisterMapping("_class_wxMemoryDC","_wxMemoryDC",0);
3320 SWIG_RegisterMapping("_wxMenuBar","_class_wxMenuBar",0);
3321 SWIG_RegisterMapping("_wxEvtHandler","_class_wxSplitterWindow",SwigwxSplitterWindowTowxEvtHandler
);
3322 SWIG_RegisterMapping("_wxEvtHandler","_wxSplitterWindow",SwigwxSplitterWindowTowxEvtHandler
);
3323 SWIG_RegisterMapping("_wxEvtHandler","_class_wxNotebook",SwigwxNotebookTowxEvtHandler
);
3324 SWIG_RegisterMapping("_wxEvtHandler","_wxNotebook",SwigwxNotebookTowxEvtHandler
);
3325 SWIG_RegisterMapping("_wxEvtHandler","_class_wxGrid",SwigwxGridTowxEvtHandler
);
3326 SWIG_RegisterMapping("_wxEvtHandler","_wxGrid",SwigwxGridTowxEvtHandler
);
3327 SWIG_RegisterMapping("_wxEvtHandler","_class_wxEvtHandler",0);
3328 SWIG_RegisterMapping("_wxMenuItem","_class_wxMenuItem",0);
3329 SWIG_RegisterMapping("_class_wxScrollBar","_wxScrollBar",0);
3330 SWIG_RegisterMapping("_wxDash","_unsigned_long",0);
3331 SWIG_RegisterMapping("_wxDash","_long",0);
3332 SWIG_RegisterMapping("_class_wxScrolledWindow","_wxScrolledWindow",0);
3333 SWIG_RegisterMapping("_wxKeyEvent","_class_wxKeyEvent",0);
3334 SWIG_RegisterMapping("_wxMoveEvent","_class_wxMoveEvent",0);
3335 SWIG_RegisterMapping("_class_wxEraseEvent","_wxEraseEvent",0);
3336 SWIG_RegisterMapping("_wxWindow","_class_wxSplitterWindow",SwigwxSplitterWindowTowxWindow
);
3337 SWIG_RegisterMapping("_wxWindow","_wxSplitterWindow",SwigwxSplitterWindowTowxWindow
);
3338 SWIG_RegisterMapping("_wxWindow","_class_wxNotebook",SwigwxNotebookTowxWindow
);
3339 SWIG_RegisterMapping("_wxWindow","_wxNotebook",SwigwxNotebookTowxWindow
);
3340 SWIG_RegisterMapping("_wxWindow","_class_wxGrid",SwigwxGridTowxWindow
);
3341 SWIG_RegisterMapping("_wxWindow","_wxGrid",SwigwxGridTowxWindow
);
3342 SWIG_RegisterMapping("_wxWindow","_class_wxWindow",0);