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 #include <wx/msw/taskbar.h>
64 static PyObject
* l_output_helper(PyObject
* target
, PyObject
* o
) {
69 } else if (target
== Py_None
) {
73 if (!PyList_Check(target
)) {
75 target
= PyList_New(0);
76 PyList_Append(target
, o2
);
79 PyList_Append(target
,o
);
85 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
91 } else if (target
== Py_None
) {
95 if (!PyTuple_Check(target
)) {
97 target
= PyTuple_New(1);
98 PyTuple_SetItem(target
, 0, o2
);
101 PyTuple_SetItem(o3
, 0, o
);
104 target
= PySequence_Concat(o2
, o3
);
112 extern byte
* byte_LIST_helper(PyObject
* source
);
113 extern int* int_LIST_helper(PyObject
* source
);
114 extern long* long_LIST_helper(PyObject
* source
);
115 extern char** string_LIST_helper(PyObject
* source
);
116 extern wxPoint
* wxPoint_LIST_helper(PyObject
* source
);
117 extern wxBitmap
** wxBitmap_LIST_helper(PyObject
* source
);
118 extern wxString
* wxString_LIST_helper(PyObject
* source
);
119 extern wxAcceleratorEntry
* wxAcceleratorEntry_LIST_helper(PyObject
* source
);
122 static char* wxStringErrorMsg
= "string type is required for parameter";
123 #define new_wxGridCell() (new wxGridCell())
124 static PyObject
*_wrap_new_wxGridCell(PyObject
*self
, PyObject
*args
) {
125 PyObject
* _resultobj
;
126 wxGridCell
* _result
;
130 if(!PyArg_ParseTuple(args
,":new_wxGridCell"))
133 wxPy_BEGIN_ALLOW_THREADS
;
134 _result
= (wxGridCell
*)new_wxGridCell();
136 wxPy_END_ALLOW_THREADS
;
137 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCell_p");
138 _resultobj
= Py_BuildValue("s",_ptemp
);
142 #define delete_wxGridCell(_swigobj) (delete _swigobj)
143 static PyObject
*_wrap_delete_wxGridCell(PyObject
*self
, PyObject
*args
) {
144 PyObject
* _resultobj
;
149 if(!PyArg_ParseTuple(args
,"s:delete_wxGridCell",&_argc0
))
152 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGridCell_p")) {
153 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxGridCell. Expected _wxGridCell_p.");
158 wxPy_BEGIN_ALLOW_THREADS
;
159 delete_wxGridCell(_arg0
);
161 wxPy_END_ALLOW_THREADS
;
162 } Py_INCREF(Py_None
);
163 _resultobj
= Py_None
;
167 #define wxGridCell_GetTextValue(_swigobj) (_swigobj->GetTextValue())
168 static PyObject
*_wrap_wxGridCell_GetTextValue(PyObject
*self
, PyObject
*args
) {
169 PyObject
* _resultobj
;
175 if(!PyArg_ParseTuple(args
,"s:wxGridCell_GetTextValue",&_argc0
))
178 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGridCell_p")) {
179 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCell_GetTextValue. Expected _wxGridCell_p.");
184 wxPy_BEGIN_ALLOW_THREADS
;
185 wxString
& _result_ref
= wxGridCell_GetTextValue(_arg0
);
186 _result
= (wxString
*) &_result_ref
;
188 wxPy_END_ALLOW_THREADS
;
190 _resultobj
= PyString_FromString(WXSTRINGCAST (*_result
));
195 #define wxGridCell_SetTextValue(_swigobj,_swigarg0) (_swigobj->SetTextValue(_swigarg0))
196 static PyObject
*_wrap_wxGridCell_SetTextValue(PyObject
*self
, PyObject
*args
) {
197 PyObject
* _resultobj
;
201 PyObject
* _obj1
= 0;
204 if(!PyArg_ParseTuple(args
,"sO:wxGridCell_SetTextValue",&_argc0
,&_obj1
))
207 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGridCell_p")) {
208 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCell_SetTextValue. Expected _wxGridCell_p.");
213 if (!PyString_Check(_obj1
)) {
214 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
217 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
220 wxPy_BEGIN_ALLOW_THREADS
;
221 wxGridCell_SetTextValue(_arg0
,*_arg1
);
223 wxPy_END_ALLOW_THREADS
;
224 } Py_INCREF(Py_None
);
225 _resultobj
= Py_None
;
233 #define wxGridCell_GetFont(_swigobj) (_swigobj->GetFont())
234 static PyObject
*_wrap_wxGridCell_GetFont(PyObject
*self
, PyObject
*args
) {
235 PyObject
* _resultobj
;
242 if(!PyArg_ParseTuple(args
,"s:wxGridCell_GetFont",&_argc0
))
245 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGridCell_p")) {
246 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCell_GetFont. Expected _wxGridCell_p.");
251 wxPy_BEGIN_ALLOW_THREADS
;
252 wxFont
& _result_ref
= wxGridCell_GetFont(_arg0
);
253 _result
= (wxFont
*) &_result_ref
;
255 wxPy_END_ALLOW_THREADS
;
256 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
257 _resultobj
= Py_BuildValue("s",_ptemp
);
261 #define wxGridCell_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
262 static PyObject
*_wrap_wxGridCell_SetFont(PyObject
*self
, PyObject
*args
) {
263 PyObject
* _resultobj
;
270 if(!PyArg_ParseTuple(args
,"ss:wxGridCell_SetFont",&_argc0
,&_argc1
))
273 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGridCell_p")) {
274 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCell_SetFont. Expected _wxGridCell_p.");
279 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxFont_p")) {
280 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCell_SetFont. Expected _wxFont_p.");
285 wxPy_BEGIN_ALLOW_THREADS
;
286 wxGridCell_SetFont(_arg0
,*_arg1
);
288 wxPy_END_ALLOW_THREADS
;
289 } Py_INCREF(Py_None
);
290 _resultobj
= Py_None
;
294 #define wxGridCell_GetTextColour(_swigobj) (_swigobj->GetTextColour())
295 static PyObject
*_wrap_wxGridCell_GetTextColour(PyObject
*self
, PyObject
*args
) {
296 PyObject
* _resultobj
;
303 if(!PyArg_ParseTuple(args
,"s:wxGridCell_GetTextColour",&_argc0
))
306 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGridCell_p")) {
307 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCell_GetTextColour. Expected _wxGridCell_p.");
312 wxPy_BEGIN_ALLOW_THREADS
;
313 wxColour
& _result_ref
= wxGridCell_GetTextColour(_arg0
);
314 _result
= (wxColour
*) &_result_ref
;
316 wxPy_END_ALLOW_THREADS
;
317 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
318 _resultobj
= Py_BuildValue("s",_ptemp
);
322 #define wxGridCell_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
323 static PyObject
*_wrap_wxGridCell_SetTextColour(PyObject
*self
, PyObject
*args
) {
324 PyObject
* _resultobj
;
331 if(!PyArg_ParseTuple(args
,"ss:wxGridCell_SetTextColour",&_argc0
,&_argc1
))
334 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGridCell_p")) {
335 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCell_SetTextColour. Expected _wxGridCell_p.");
340 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxColour_p")) {
341 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCell_SetTextColour. Expected _wxColour_p.");
346 wxPy_BEGIN_ALLOW_THREADS
;
347 wxGridCell_SetTextColour(_arg0
,*_arg1
);
349 wxPy_END_ALLOW_THREADS
;
350 } Py_INCREF(Py_None
);
351 _resultobj
= Py_None
;
355 #define wxGridCell_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
356 static PyObject
*_wrap_wxGridCell_GetBackgroundColour(PyObject
*self
, PyObject
*args
) {
357 PyObject
* _resultobj
;
364 if(!PyArg_ParseTuple(args
,"s:wxGridCell_GetBackgroundColour",&_argc0
))
367 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGridCell_p")) {
368 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCell_GetBackgroundColour. Expected _wxGridCell_p.");
373 wxPy_BEGIN_ALLOW_THREADS
;
374 wxColour
& _result_ref
= wxGridCell_GetBackgroundColour(_arg0
);
375 _result
= (wxColour
*) &_result_ref
;
377 wxPy_END_ALLOW_THREADS
;
378 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
379 _resultobj
= Py_BuildValue("s",_ptemp
);
383 #define wxGridCell_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
384 static PyObject
*_wrap_wxGridCell_SetBackgroundColour(PyObject
*self
, PyObject
*args
) {
385 PyObject
* _resultobj
;
392 if(!PyArg_ParseTuple(args
,"ss:wxGridCell_SetBackgroundColour",&_argc0
,&_argc1
))
395 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGridCell_p")) {
396 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCell_SetBackgroundColour. Expected _wxGridCell_p.");
401 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxColour_p")) {
402 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCell_SetBackgroundColour. Expected _wxColour_p.");
407 wxPy_BEGIN_ALLOW_THREADS
;
408 wxGridCell_SetBackgroundColour(_arg0
,*_arg1
);
410 wxPy_END_ALLOW_THREADS
;
411 } Py_INCREF(Py_None
);
412 _resultobj
= Py_None
;
416 #define wxGridCell_GetBackgroundBrush(_swigobj) (_swigobj->GetBackgroundBrush())
417 static PyObject
*_wrap_wxGridCell_GetBackgroundBrush(PyObject
*self
, PyObject
*args
) {
418 PyObject
* _resultobj
;
425 if(!PyArg_ParseTuple(args
,"s:wxGridCell_GetBackgroundBrush",&_argc0
))
428 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGridCell_p")) {
429 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCell_GetBackgroundBrush. Expected _wxGridCell_p.");
434 wxPy_BEGIN_ALLOW_THREADS
;
435 wxBrush
& _result_ref
= wxGridCell_GetBackgroundBrush(_arg0
);
436 _result
= (wxBrush
*) &_result_ref
;
438 wxPy_END_ALLOW_THREADS
;
439 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBrush_p");
440 _resultobj
= Py_BuildValue("s",_ptemp
);
444 #define wxGridCell_GetAlignment(_swigobj) (_swigobj->GetAlignment())
445 static PyObject
*_wrap_wxGridCell_GetAlignment(PyObject
*self
, PyObject
*args
) {
446 PyObject
* _resultobj
;
452 if(!PyArg_ParseTuple(args
,"s:wxGridCell_GetAlignment",&_argc0
))
455 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGridCell_p")) {
456 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCell_GetAlignment. Expected _wxGridCell_p.");
461 wxPy_BEGIN_ALLOW_THREADS
;
462 _result
= (int )wxGridCell_GetAlignment(_arg0
);
464 wxPy_END_ALLOW_THREADS
;
465 } _resultobj
= Py_BuildValue("i",_result
);
469 #define wxGridCell_SetAlignment(_swigobj,_swigarg0) (_swigobj->SetAlignment(_swigarg0))
470 static PyObject
*_wrap_wxGridCell_SetAlignment(PyObject
*self
, PyObject
*args
) {
471 PyObject
* _resultobj
;
477 if(!PyArg_ParseTuple(args
,"si:wxGridCell_SetAlignment",&_argc0
,&_arg1
))
480 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGridCell_p")) {
481 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCell_SetAlignment. Expected _wxGridCell_p.");
486 wxPy_BEGIN_ALLOW_THREADS
;
487 wxGridCell_SetAlignment(_arg0
,_arg1
);
489 wxPy_END_ALLOW_THREADS
;
490 } Py_INCREF(Py_None
);
491 _resultobj
= Py_None
;
495 #define wxGridCell_GetCellBitmap(_swigobj) (_swigobj->GetCellBitmap())
496 static PyObject
*_wrap_wxGridCell_GetCellBitmap(PyObject
*self
, PyObject
*args
) {
497 PyObject
* _resultobj
;
504 if(!PyArg_ParseTuple(args
,"s:wxGridCell_GetCellBitmap",&_argc0
))
507 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGridCell_p")) {
508 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCell_GetCellBitmap. Expected _wxGridCell_p.");
513 wxPy_BEGIN_ALLOW_THREADS
;
514 _result
= (wxBitmap
*)wxGridCell_GetCellBitmap(_arg0
);
516 wxPy_END_ALLOW_THREADS
;
517 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
518 _resultobj
= Py_BuildValue("s",_ptemp
);
522 #define wxGridCell_SetCellBitmap(_swigobj,_swigarg0) (_swigobj->SetCellBitmap(_swigarg0))
523 static PyObject
*_wrap_wxGridCell_SetCellBitmap(PyObject
*self
, PyObject
*args
) {
524 PyObject
* _resultobj
;
531 if(!PyArg_ParseTuple(args
,"ss:wxGridCell_SetCellBitmap",&_argc0
,&_argc1
))
534 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGridCell_p")) {
535 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCell_SetCellBitmap. Expected _wxGridCell_p.");
540 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxBitmap_p")) {
541 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCell_SetCellBitmap. Expected _wxBitmap_p.");
546 wxPy_BEGIN_ALLOW_THREADS
;
547 wxGridCell_SetCellBitmap(_arg0
,_arg1
);
549 wxPy_END_ALLOW_THREADS
;
550 } Py_INCREF(Py_None
);
551 _resultobj
= Py_None
;
555 static void *SwigwxGridTowxPanel(void *ptr
) {
558 src
= (wxGrid
*) ptr
;
559 dest
= (wxPanel
*) src
;
560 return (void *) dest
;
563 static void *SwigwxGridTowxWindow(void *ptr
) {
566 src
= (wxGrid
*) ptr
;
567 dest
= (wxWindow
*) src
;
568 return (void *) dest
;
571 static void *SwigwxGridTowxEvtHandler(void *ptr
) {
574 src
= (wxGrid
*) ptr
;
575 dest
= (wxEvtHandler
*) src
;
576 return (void *) dest
;
579 #define new_wxGrid(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxGrid(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
580 static PyObject
*_wrap_new_wxGrid(PyObject
*self
, PyObject
*args
) {
581 PyObject
* _resultobj
;
585 wxPoint
* _arg2
= &wxPyDefaultPosition
;
586 wxSize
* _arg3
= &wxPyDefaultSize
;
588 char * _arg5
= "grid";
595 if(!PyArg_ParseTuple(args
,"si|ssls:new_wxGrid",&_argc0
,&_arg1
,&_argc2
,&_argc3
,&_arg4
,&_arg5
))
598 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
599 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxGrid. Expected _wxWindow_p.");
604 if (SWIG_GetPtr(_argc2
,(void **) &_arg2
,"_wxPoint_p")) {
605 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxGrid. Expected _wxPoint_p.");
610 if (SWIG_GetPtr(_argc3
,(void **) &_arg3
,"_wxSize_p")) {
611 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of new_wxGrid. Expected _wxSize_p.");
616 wxPy_BEGIN_ALLOW_THREADS
;
617 _result
= (wxGrid
*)new_wxGrid(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
619 wxPy_END_ALLOW_THREADS
;
620 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGrid_p");
621 _resultobj
= Py_BuildValue("s",_ptemp
);
625 #define wxGrid_AdjustScrollbars(_swigobj) (_swigobj->AdjustScrollbars())
626 static PyObject
*_wrap_wxGrid_AdjustScrollbars(PyObject
*self
, PyObject
*args
) {
627 PyObject
* _resultobj
;
632 if(!PyArg_ParseTuple(args
,"s:wxGrid_AdjustScrollbars",&_argc0
))
635 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGrid_p")) {
636 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_AdjustScrollbars. Expected _wxGrid_p.");
641 wxPy_BEGIN_ALLOW_THREADS
;
642 wxGrid_AdjustScrollbars(_arg0
);
644 wxPy_END_ALLOW_THREADS
;
645 } Py_INCREF(Py_None
);
646 _resultobj
= Py_None
;
650 #define wxGrid_AppendCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->AppendCols(_swigarg0,_swigarg1))
651 static PyObject
*_wrap_wxGrid_AppendCols(PyObject
*self
, PyObject
*args
) {
652 PyObject
* _resultobj
;
661 if(!PyArg_ParseTuple(args
,"s|ii:wxGrid_AppendCols",&_argc0
,&_arg1
,&tempbool2
))
664 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGrid_p")) {
665 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_AppendCols. Expected _wxGrid_p.");
669 _arg2
= (bool ) tempbool2
;
671 wxPy_BEGIN_ALLOW_THREADS
;
672 _result
= (bool )wxGrid_AppendCols(_arg0
,_arg1
,_arg2
);
674 wxPy_END_ALLOW_THREADS
;
675 } _resultobj
= Py_BuildValue("i",_result
);
679 #define wxGrid_AppendRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->AppendRows(_swigarg0,_swigarg1))
680 static PyObject
*_wrap_wxGrid_AppendRows(PyObject
*self
, PyObject
*args
) {
681 PyObject
* _resultobj
;
690 if(!PyArg_ParseTuple(args
,"s|ii:wxGrid_AppendRows",&_argc0
,&_arg1
,&tempbool2
))
693 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGrid_p")) {
694 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_AppendRows. Expected _wxGrid_p.");
698 _arg2
= (bool ) tempbool2
;
700 wxPy_BEGIN_ALLOW_THREADS
;
701 _result
= (bool )wxGrid_AppendRows(_arg0
,_arg1
,_arg2
);
703 wxPy_END_ALLOW_THREADS
;
704 } _resultobj
= Py_BuildValue("i",_result
);
708 #define wxGrid_BeginBatch(_swigobj) (_swigobj->BeginBatch())
709 static PyObject
*_wrap_wxGrid_BeginBatch(PyObject
*self
, PyObject
*args
) {
710 PyObject
* _resultobj
;
715 if(!PyArg_ParseTuple(args
,"s:wxGrid_BeginBatch",&_argc0
))
718 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGrid_p")) {
719 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_BeginBatch. Expected _wxGrid_p.");
724 wxPy_BEGIN_ALLOW_THREADS
;
725 wxGrid_BeginBatch(_arg0
);
727 wxPy_END_ALLOW_THREADS
;
728 } Py_INCREF(Py_None
);
729 _resultobj
= Py_None
;
733 #define wxGrid_CellHitTest(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->CellHitTest(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
734 static PyObject
*_wrap_wxGrid_CellHitTest(PyObject
*self
, PyObject
*args
) {
735 PyObject
* _resultobj
;
753 if(!PyArg_ParseTuple(args
,"sii:wxGrid_CellHitTest",&_argc0
,&_arg1
,&_arg2
))
756 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGrid_p")) {
757 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_CellHitTest. Expected _wxGrid_p.");
762 wxPy_BEGIN_ALLOW_THREADS
;
763 _result
= (bool )wxGrid_CellHitTest(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
765 wxPy_END_ALLOW_THREADS
;
766 } _resultobj
= Py_BuildValue("i",_result
);
769 o
= PyInt_FromLong((long) (*_arg3
));
770 _resultobj
= t_output_helper(_resultobj
, o
);
774 o
= PyInt_FromLong((long) (*_arg4
));
775 _resultobj
= t_output_helper(_resultobj
, o
);
780 static bool wxGrid_CreateGrid(wxGrid
*self
,int rows
,int cols
,short defaultWidth
,short defaultHeight
) {
781 return self
->CreateGrid(rows
, cols
, NULL
, NULL
,
782 defaultWidth
, defaultHeight
);
784 static PyObject
*_wrap_wxGrid_CreateGrid(PyObject
*self
, PyObject
*args
) {
785 PyObject
* _resultobj
;
790 short _arg3
= wxGRID_DEFAULT_CELL_WIDTH
;
791 short _arg4
= wxGRID_DEFAULT_CELL_HEIGHT
;
795 if(!PyArg_ParseTuple(args
,"sii|hh:wxGrid_CreateGrid",&_argc0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
798 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGrid_p")) {
799 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_CreateGrid. Expected _wxGrid_p.");
804 wxPy_BEGIN_ALLOW_THREADS
;
805 _result
= (bool )wxGrid_CreateGrid(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
807 wxPy_END_ALLOW_THREADS
;
808 } _resultobj
= Py_BuildValue("i",_result
);
812 #define wxGrid_CurrentCellVisible(_swigobj) (_swigobj->CurrentCellVisible())
813 static PyObject
*_wrap_wxGrid_CurrentCellVisible(PyObject
*self
, PyObject
*args
) {
814 PyObject
* _resultobj
;
820 if(!PyArg_ParseTuple(args
,"s:wxGrid_CurrentCellVisible",&_argc0
))
823 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGrid_p")) {
824 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_CurrentCellVisible. Expected _wxGrid_p.");
829 wxPy_BEGIN_ALLOW_THREADS
;
830 _result
= (bool )wxGrid_CurrentCellVisible(_arg0
);
832 wxPy_END_ALLOW_THREADS
;
833 } _resultobj
= Py_BuildValue("i",_result
);
837 #define wxGrid_DeleteCols(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DeleteCols(_swigarg0,_swigarg1,_swigarg2))
838 static PyObject
*_wrap_wxGrid_DeleteCols(PyObject
*self
, PyObject
*args
) {
839 PyObject
* _resultobj
;
849 if(!PyArg_ParseTuple(args
,"s|iii:wxGrid_DeleteCols",&_argc0
,&_arg1
,&_arg2
,&tempbool3
))
852 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGrid_p")) {
853 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_DeleteCols. Expected _wxGrid_p.");
857 _arg3
= (bool ) tempbool3
;
859 wxPy_BEGIN_ALLOW_THREADS
;
860 _result
= (bool )wxGrid_DeleteCols(_arg0
,_arg1
,_arg2
,_arg3
);
862 wxPy_END_ALLOW_THREADS
;
863 } _resultobj
= Py_BuildValue("i",_result
);
867 #define wxGrid_DeleteRows(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DeleteRows(_swigarg0,_swigarg1,_swigarg2))
868 static PyObject
*_wrap_wxGrid_DeleteRows(PyObject
*self
, PyObject
*args
) {
869 PyObject
* _resultobj
;
879 if(!PyArg_ParseTuple(args
,"s|iii:wxGrid_DeleteRows",&_argc0
,&_arg1
,&_arg2
,&tempbool3
))
882 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGrid_p")) {
883 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_DeleteRows. Expected _wxGrid_p.");
887 _arg3
= (bool ) tempbool3
;
889 wxPy_BEGIN_ALLOW_THREADS
;
890 _result
= (bool )wxGrid_DeleteRows(_arg0
,_arg1
,_arg2
,_arg3
);
892 wxPy_END_ALLOW_THREADS
;
893 } _resultobj
= Py_BuildValue("i",_result
);
897 #define wxGrid_EndBatch(_swigobj) (_swigobj->EndBatch())
898 static PyObject
*_wrap_wxGrid_EndBatch(PyObject
*self
, PyObject
*args
) {
899 PyObject
* _resultobj
;
904 if(!PyArg_ParseTuple(args
,"s:wxGrid_EndBatch",&_argc0
))
907 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGrid_p")) {
908 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_EndBatch. Expected _wxGrid_p.");
913 wxPy_BEGIN_ALLOW_THREADS
;
914 wxGrid_EndBatch(_arg0
);
916 wxPy_END_ALLOW_THREADS
;
917 } Py_INCREF(Py_None
);
918 _resultobj
= Py_None
;
922 #define wxGrid_GetBatchCount(_swigobj) (_swigobj->GetBatchCount())
923 static PyObject
*_wrap_wxGrid_GetBatchCount(PyObject
*self
, PyObject
*args
) {
924 PyObject
* _resultobj
;
930 if(!PyArg_ParseTuple(args
,"s:wxGrid_GetBatchCount",&_argc0
))
933 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGrid_p")) {
934 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetBatchCount. Expected _wxGrid_p.");
939 wxPy_BEGIN_ALLOW_THREADS
;
940 _result
= (int )wxGrid_GetBatchCount(_arg0
);
942 wxPy_END_ALLOW_THREADS
;
943 } _resultobj
= Py_BuildValue("i",_result
);
947 #define wxGrid_GetCell(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCell(_swigarg0,_swigarg1))
948 static PyObject
*_wrap_wxGrid_GetCell(PyObject
*self
, PyObject
*args
) {
949 PyObject
* _resultobj
;
950 wxGridCell
* _result
;
958 if(!PyArg_ParseTuple(args
,"sii:wxGrid_GetCell",&_argc0
,&_arg1
,&_arg2
))
961 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGrid_p")) {
962 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCell. Expected _wxGrid_p.");
967 wxPy_BEGIN_ALLOW_THREADS
;
968 _result
= (wxGridCell
*)wxGrid_GetCell(_arg0
,_arg1
,_arg2
);
970 wxPy_END_ALLOW_THREADS
;
971 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCell_p");
972 _resultobj
= Py_BuildValue("s",_ptemp
);
976 #define wxGrid_GetCellAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellAlignment(_swigarg0,_swigarg1))
977 static PyObject
*_wrap_wxGrid_GetCellAlignment(PyObject
*self
, PyObject
*args
) {
978 PyObject
* _resultobj
;
986 if(!PyArg_ParseTuple(args
,"sii:wxGrid_GetCellAlignment",&_argc0
,&_arg1
,&_arg2
))
989 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGrid_p")) {
990 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellAlignment. Expected _wxGrid_p.");
995 wxPy_BEGIN_ALLOW_THREADS
;
996 _result
= (int )wxGrid_GetCellAlignment(_arg0
,_arg1
,_arg2
);
998 wxPy_END_ALLOW_THREADS
;
999 } _resultobj
= Py_BuildValue("i",_result
);
1003 #define wxGrid_GetDefCellAlignment(_swigobj) (_swigobj->GetCellAlignment())
1004 static PyObject
*_wrap_wxGrid_GetDefCellAlignment(PyObject
*self
, PyObject
*args
) {
1005 PyObject
* _resultobj
;
1011 if(!PyArg_ParseTuple(args
,"s:wxGrid_GetDefCellAlignment",&_argc0
))
1014 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGrid_p")) {
1015 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefCellAlignment. Expected _wxGrid_p.");
1020 wxPy_BEGIN_ALLOW_THREADS
;
1021 _result
= (int )wxGrid_GetDefCellAlignment(_arg0
);
1023 wxPy_END_ALLOW_THREADS
;
1024 } _resultobj
= Py_BuildValue("i",_result
);
1028 #define wxGrid_GetCellBackgroundColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellBackgroundColour(_swigarg0,_swigarg1))
1029 static PyObject
*_wrap_wxGrid_GetCellBackgroundColour(PyObject
*self
, PyObject
*args
) {
1030 PyObject
* _resultobj
;
1039 if(!PyArg_ParseTuple(args
,"sii:wxGrid_GetCellBackgroundColour",&_argc0
,&_arg1
,&_arg2
))
1042 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGrid_p")) {
1043 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellBackgroundColour. Expected _wxGrid_p.");
1048 wxPy_BEGIN_ALLOW_THREADS
;
1049 wxColour
& _result_ref
= wxGrid_GetCellBackgroundColour(_arg0
,_arg1
,_arg2
);
1050 _result
= (wxColour
*) &_result_ref
;
1052 wxPy_END_ALLOW_THREADS
;
1053 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
1054 _resultobj
= Py_BuildValue("s",_ptemp
);
1058 #define wxGrid_GetDefCellBackgroundColour(_swigobj) (_swigobj->GetCellBackgroundColour())
1059 static PyObject
*_wrap_wxGrid_GetDefCellBackgroundColour(PyObject
*self
, PyObject
*args
) {
1060 PyObject
* _resultobj
;
1067 if(!PyArg_ParseTuple(args
,"s:wxGrid_GetDefCellBackgroundColour",&_argc0
))
1070 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGrid_p")) {
1071 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefCellBackgroundColour. Expected _wxGrid_p.");
1076 wxPy_BEGIN_ALLOW_THREADS
;
1077 wxColour
& _result_ref
= wxGrid_GetDefCellBackgroundColour(_arg0
);
1078 _result
= (wxColour
*) &_result_ref
;
1080 wxPy_END_ALLOW_THREADS
;
1081 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
1082 _resultobj
= Py_BuildValue("s",_ptemp
);
1086 #define wxGrid_GetCellTextColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellTextColour(_swigarg0,_swigarg1))
1087 static PyObject
*_wrap_wxGrid_GetCellTextColour(PyObject
*self
, PyObject
*args
) {
1088 PyObject
* _resultobj
;
1097 if(!PyArg_ParseTuple(args
,"sii:wxGrid_GetCellTextColour",&_argc0
,&_arg1
,&_arg2
))
1100 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGrid_p")) {
1101 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellTextColour. Expected _wxGrid_p.");
1106 wxPy_BEGIN_ALLOW_THREADS
;
1107 wxColour
& _result_ref
= wxGrid_GetCellTextColour(_arg0
,_arg1
,_arg2
);
1108 _result
= (wxColour
*) &_result_ref
;
1110 wxPy_END_ALLOW_THREADS
;
1111 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
1112 _resultobj
= Py_BuildValue("s",_ptemp
);
1116 #define wxGrid_GetDefCellTextColour(_swigobj) (_swigobj->GetCellTextColour())
1117 static PyObject
*_wrap_wxGrid_GetDefCellTextColour(PyObject
*self
, PyObject
*args
) {
1118 PyObject
* _resultobj
;
1125 if(!PyArg_ParseTuple(args
,"s:wxGrid_GetDefCellTextColour",&_argc0
))
1128 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGrid_p")) {
1129 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefCellTextColour. Expected _wxGrid_p.");
1134 wxPy_BEGIN_ALLOW_THREADS
;
1135 wxColour
& _result_ref
= wxGrid_GetDefCellTextColour(_arg0
);
1136 _result
= (wxColour
*) &_result_ref
;
1138 wxPy_END_ALLOW_THREADS
;
1139 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
1140 _resultobj
= Py_BuildValue("s",_ptemp
);
1144 #define wxGrid_GetCellTextFont(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellTextFont(_swigarg0,_swigarg1))
1145 static PyObject
*_wrap_wxGrid_GetCellTextFont(PyObject
*self
, PyObject
*args
) {
1146 PyObject
* _resultobj
;
1155 if(!PyArg_ParseTuple(args
,"sii:wxGrid_GetCellTextFont",&_argc0
,&_arg1
,&_arg2
))
1158 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGrid_p")) {
1159 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellTextFont. Expected _wxGrid_p.");
1164 wxPy_BEGIN_ALLOW_THREADS
;
1165 wxFont
& _result_ref
= wxGrid_GetCellTextFont(_arg0
,_arg1
,_arg2
);
1166 _result
= (wxFont
*) &_result_ref
;
1168 wxPy_END_ALLOW_THREADS
;
1169 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
1170 _resultobj
= Py_BuildValue("s",_ptemp
);
1174 #define wxGrid_GetDefCellTextFont(_swigobj) (_swigobj->GetCellTextFont())
1175 static PyObject
*_wrap_wxGrid_GetDefCellTextFont(PyObject
*self
, PyObject
*args
) {
1176 PyObject
* _resultobj
;
1183 if(!PyArg_ParseTuple(args
,"s:wxGrid_GetDefCellTextFont",&_argc0
))
1186 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGrid_p")) {
1187 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefCellTextFont. Expected _wxGrid_p.");
1192 wxPy_BEGIN_ALLOW_THREADS
;
1193 wxFont
& _result_ref
= wxGrid_GetDefCellTextFont(_arg0
);
1194 _result
= (wxFont
*) &_result_ref
;
1196 wxPy_END_ALLOW_THREADS
;
1197 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
1198 _resultobj
= Py_BuildValue("s",_ptemp
);
1202 #define wxGrid_GetCellValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellValue(_swigarg0,_swigarg1))
1203 static PyObject
*_wrap_wxGrid_GetCellValue(PyObject
*self
, PyObject
*args
) {
1204 PyObject
* _resultobj
;
1212 if(!PyArg_ParseTuple(args
,"sii:wxGrid_GetCellValue",&_argc0
,&_arg1
,&_arg2
))
1215 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGrid_p")) {
1216 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellValue. Expected _wxGrid_p.");
1221 wxPy_BEGIN_ALLOW_THREADS
;
1222 wxString
& _result_ref
= wxGrid_GetCellValue(_arg0
,_arg1
,_arg2
);
1223 _result
= (wxString
*) &_result_ref
;
1225 wxPy_END_ALLOW_THREADS
;
1227 _resultobj
= PyString_FromString(WXSTRINGCAST (*_result
));
1232 #define wxGrid_GetCols(_swigobj) (_swigobj->GetCols())
1233 static PyObject
*_wrap_wxGrid_GetCols(PyObject
*self
, PyObject
*args
) {
1234 PyObject
* _resultobj
;
1240 if(!PyArg_ParseTuple(args
,"s:wxGrid_GetCols",&_argc0
))
1243 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGrid_p")) {
1244 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCols. Expected _wxGrid_p.");
1249 wxPy_BEGIN_ALLOW_THREADS
;
1250 _result
= (int )wxGrid_GetCols(_arg0
);
1252 wxPy_END_ALLOW_THREADS
;
1253 } _resultobj
= Py_BuildValue("i",_result
);
1257 #define wxGrid_GetColumnWidth(_swigobj,_swigarg0) (_swigobj->GetColumnWidth(_swigarg0))
1258 static PyObject
*_wrap_wxGrid_GetColumnWidth(PyObject
*self
, PyObject
*args
) {
1259 PyObject
* _resultobj
;
1266 if(!PyArg_ParseTuple(args
,"si:wxGrid_GetColumnWidth",&_argc0
,&_arg1
))
1269 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGrid_p")) {
1270 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetColumnWidth. Expected _wxGrid_p.");
1275 wxPy_BEGIN_ALLOW_THREADS
;
1276 _result
= (int )wxGrid_GetColumnWidth(_arg0
,_arg1
);
1278 wxPy_END_ALLOW_THREADS
;
1279 } _resultobj
= Py_BuildValue("i",_result
);
1283 #define wxGrid_GetCurrentRect(_swigobj) (_swigobj->GetCurrentRect())
1284 static PyObject
*_wrap_wxGrid_GetCurrentRect(PyObject
*self
, PyObject
*args
) {
1285 PyObject
* _resultobj
;
1292 if(!PyArg_ParseTuple(args
,"s:wxGrid_GetCurrentRect",&_argc0
))
1295 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGrid_p")) {
1296 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCurrentRect. Expected _wxGrid_p.");
1301 wxPy_BEGIN_ALLOW_THREADS
;
1302 _result
= new wxRect (wxGrid_GetCurrentRect(_arg0
));
1304 wxPy_END_ALLOW_THREADS
;
1305 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
1306 _resultobj
= Py_BuildValue("s",_ptemp
);
1310 #define wxGrid_GetCursorColumn(_swigobj) (_swigobj->GetCursorColumn())
1311 static PyObject
*_wrap_wxGrid_GetCursorColumn(PyObject
*self
, PyObject
*args
) {
1312 PyObject
* _resultobj
;
1318 if(!PyArg_ParseTuple(args
,"s:wxGrid_GetCursorColumn",&_argc0
))
1321 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGrid_p")) {
1322 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCursorColumn. Expected _wxGrid_p.");
1327 wxPy_BEGIN_ALLOW_THREADS
;
1328 _result
= (int )wxGrid_GetCursorColumn(_arg0
);
1330 wxPy_END_ALLOW_THREADS
;
1331 } _resultobj
= Py_BuildValue("i",_result
);
1335 #define wxGrid_GetCursorRow(_swigobj) (_swigobj->GetCursorRow())
1336 static PyObject
*_wrap_wxGrid_GetCursorRow(PyObject
*self
, PyObject
*args
) {
1337 PyObject
* _resultobj
;
1343 if(!PyArg_ParseTuple(args
,"s:wxGrid_GetCursorRow",&_argc0
))
1346 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGrid_p")) {
1347 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCursorRow. Expected _wxGrid_p.");
1352 wxPy_BEGIN_ALLOW_THREADS
;
1353 _result
= (int )wxGrid_GetCursorRow(_arg0
);
1355 wxPy_END_ALLOW_THREADS
;
1356 } _resultobj
= Py_BuildValue("i",_result
);
1360 #define wxGrid_GetEditable(_swigobj) (_swigobj->GetEditable())
1361 static PyObject
*_wrap_wxGrid_GetEditable(PyObject
*self
, PyObject
*args
) {
1362 PyObject
* _resultobj
;
1368 if(!PyArg_ParseTuple(args
,"s:wxGrid_GetEditable",&_argc0
))
1371 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGrid_p")) {
1372 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetEditable. Expected _wxGrid_p.");
1377 wxPy_BEGIN_ALLOW_THREADS
;
1378 _result
= (bool )wxGrid_GetEditable(_arg0
);
1380 wxPy_END_ALLOW_THREADS
;
1381 } _resultobj
= Py_BuildValue("i",_result
);
1385 #define wxGrid_GetHorizScrollBar(_swigobj) (_swigobj->GetHorizScrollBar())
1386 static PyObject
*_wrap_wxGrid_GetHorizScrollBar(PyObject
*self
, PyObject
*args
) {
1387 PyObject
* _resultobj
;
1388 wxScrollBar
* _result
;
1394 if(!PyArg_ParseTuple(args
,"s:wxGrid_GetHorizScrollBar",&_argc0
))
1397 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGrid_p")) {
1398 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetHorizScrollBar. Expected _wxGrid_p.");
1403 wxPy_BEGIN_ALLOW_THREADS
;
1404 _result
= (wxScrollBar
*)wxGrid_GetHorizScrollBar(_arg0
);
1406 wxPy_END_ALLOW_THREADS
;
1407 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScrollBar_p");
1408 _resultobj
= Py_BuildValue("s",_ptemp
);
1412 #define wxGrid_GetLabelAlignment(_swigobj,_swigarg0) (_swigobj->GetLabelAlignment(_swigarg0))
1413 static PyObject
*_wrap_wxGrid_GetLabelAlignment(PyObject
*self
, PyObject
*args
) {
1414 PyObject
* _resultobj
;
1421 if(!PyArg_ParseTuple(args
,"si:wxGrid_GetLabelAlignment",&_argc0
,&_arg1
))
1424 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGrid_p")) {
1425 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetLabelAlignment. Expected _wxGrid_p.");
1430 wxPy_BEGIN_ALLOW_THREADS
;
1431 _result
= (int )wxGrid_GetLabelAlignment(_arg0
,_arg1
);
1433 wxPy_END_ALLOW_THREADS
;
1434 } _resultobj
= Py_BuildValue("i",_result
);
1438 #define wxGrid_GetLabelBackgroundColour(_swigobj) (_swigobj->GetLabelBackgroundColour())
1439 static PyObject
*_wrap_wxGrid_GetLabelBackgroundColour(PyObject
*self
, PyObject
*args
) {
1440 PyObject
* _resultobj
;
1447 if(!PyArg_ParseTuple(args
,"s:wxGrid_GetLabelBackgroundColour",&_argc0
))
1450 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGrid_p")) {
1451 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetLabelBackgroundColour. Expected _wxGrid_p.");
1456 wxPy_BEGIN_ALLOW_THREADS
;
1457 wxColour
& _result_ref
= wxGrid_GetLabelBackgroundColour(_arg0
);
1458 _result
= (wxColour
*) &_result_ref
;
1460 wxPy_END_ALLOW_THREADS
;
1461 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
1462 _resultobj
= Py_BuildValue("s",_ptemp
);
1466 #define wxGrid_GetLabelSize(_swigobj,_swigarg0) (_swigobj->GetLabelSize(_swigarg0))
1467 static PyObject
*_wrap_wxGrid_GetLabelSize(PyObject
*self
, PyObject
*args
) {
1468 PyObject
* _resultobj
;
1475 if(!PyArg_ParseTuple(args
,"si:wxGrid_GetLabelSize",&_argc0
,&_arg1
))
1478 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGrid_p")) {
1479 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetLabelSize. Expected _wxGrid_p.");
1484 wxPy_BEGIN_ALLOW_THREADS
;
1485 _result
= (int )wxGrid_GetLabelSize(_arg0
,_arg1
);
1487 wxPy_END_ALLOW_THREADS
;
1488 } _resultobj
= Py_BuildValue("i",_result
);
1492 #define wxGrid_GetLabelTextColour(_swigobj) (_swigobj->GetLabelTextColour())
1493 static PyObject
*_wrap_wxGrid_GetLabelTextColour(PyObject
*self
, PyObject
*args
) {
1494 PyObject
* _resultobj
;
1501 if(!PyArg_ParseTuple(args
,"s:wxGrid_GetLabelTextColour",&_argc0
))
1504 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGrid_p")) {
1505 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetLabelTextColour. Expected _wxGrid_p.");
1510 wxPy_BEGIN_ALLOW_THREADS
;
1511 wxColour
& _result_ref
= wxGrid_GetLabelTextColour(_arg0
);
1512 _result
= (wxColour
*) &_result_ref
;
1514 wxPy_END_ALLOW_THREADS
;
1515 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
1516 _resultobj
= Py_BuildValue("s",_ptemp
);
1520 #define wxGrid_GetLabelTextFont(_swigobj) (_swigobj->GetLabelTextFont())
1521 static PyObject
*_wrap_wxGrid_GetLabelTextFont(PyObject
*self
, PyObject
*args
) {
1522 PyObject
* _resultobj
;
1529 if(!PyArg_ParseTuple(args
,"s:wxGrid_GetLabelTextFont",&_argc0
))
1532 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGrid_p")) {
1533 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetLabelTextFont. Expected _wxGrid_p.");
1538 wxPy_BEGIN_ALLOW_THREADS
;
1539 wxFont
& _result_ref
= wxGrid_GetLabelTextFont(_arg0
);
1540 _result
= (wxFont
*) &_result_ref
;
1542 wxPy_END_ALLOW_THREADS
;
1543 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
1544 _resultobj
= Py_BuildValue("s",_ptemp
);
1548 #define wxGrid_GetLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetLabelValue(_swigarg0,_swigarg1))
1549 static PyObject
*_wrap_wxGrid_GetLabelValue(PyObject
*self
, PyObject
*args
) {
1550 PyObject
* _resultobj
;
1558 if(!PyArg_ParseTuple(args
,"sii:wxGrid_GetLabelValue",&_argc0
,&_arg1
,&_arg2
))
1561 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGrid_p")) {
1562 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetLabelValue. Expected _wxGrid_p.");
1567 wxPy_BEGIN_ALLOW_THREADS
;
1568 wxString
& _result_ref
= wxGrid_GetLabelValue(_arg0
,_arg1
,_arg2
);
1569 _result
= (wxString
*) &_result_ref
;
1571 wxPy_END_ALLOW_THREADS
;
1573 _resultobj
= PyString_FromString(WXSTRINGCAST (*_result
));
1578 #define wxGrid_GetRowHeight(_swigobj,_swigarg0) (_swigobj->GetRowHeight(_swigarg0))
1579 static PyObject
*_wrap_wxGrid_GetRowHeight(PyObject
*self
, PyObject
*args
) {
1580 PyObject
* _resultobj
;
1587 if(!PyArg_ParseTuple(args
,"si:wxGrid_GetRowHeight",&_argc0
,&_arg1
))
1590 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGrid_p")) {
1591 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetRowHeight. Expected _wxGrid_p.");
1596 wxPy_BEGIN_ALLOW_THREADS
;
1597 _result
= (int )wxGrid_GetRowHeight(_arg0
,_arg1
);
1599 wxPy_END_ALLOW_THREADS
;
1600 } _resultobj
= Py_BuildValue("i",_result
);
1604 #define wxGrid_GetRows(_swigobj) (_swigobj->GetRows())
1605 static PyObject
*_wrap_wxGrid_GetRows(PyObject
*self
, PyObject
*args
) {
1606 PyObject
* _resultobj
;
1612 if(!PyArg_ParseTuple(args
,"s:wxGrid_GetRows",&_argc0
))
1615 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGrid_p")) {
1616 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetRows. Expected _wxGrid_p.");
1621 wxPy_BEGIN_ALLOW_THREADS
;
1622 _result
= (int )wxGrid_GetRows(_arg0
);
1624 wxPy_END_ALLOW_THREADS
;
1625 } _resultobj
= Py_BuildValue("i",_result
);
1629 #define wxGrid_GetScrollPosX(_swigobj) (_swigobj->GetScrollPosX())
1630 static PyObject
*_wrap_wxGrid_GetScrollPosX(PyObject
*self
, PyObject
*args
) {
1631 PyObject
* _resultobj
;
1637 if(!PyArg_ParseTuple(args
,"s:wxGrid_GetScrollPosX",&_argc0
))
1640 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGrid_p")) {
1641 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetScrollPosX. Expected _wxGrid_p.");
1646 wxPy_BEGIN_ALLOW_THREADS
;
1647 _result
= (int )wxGrid_GetScrollPosX(_arg0
);
1649 wxPy_END_ALLOW_THREADS
;
1650 } _resultobj
= Py_BuildValue("i",_result
);
1654 #define wxGrid_GetScrollPosY(_swigobj) (_swigobj->GetScrollPosY())
1655 static PyObject
*_wrap_wxGrid_GetScrollPosY(PyObject
*self
, PyObject
*args
) {
1656 PyObject
* _resultobj
;
1662 if(!PyArg_ParseTuple(args
,"s:wxGrid_GetScrollPosY",&_argc0
))
1665 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGrid_p")) {
1666 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetScrollPosY. Expected _wxGrid_p.");
1671 wxPy_BEGIN_ALLOW_THREADS
;
1672 _result
= (int )wxGrid_GetScrollPosY(_arg0
);
1674 wxPy_END_ALLOW_THREADS
;
1675 } _resultobj
= Py_BuildValue("i",_result
);
1679 #define wxGrid_GetTextItem(_swigobj) (_swigobj->GetTextItem())
1680 static PyObject
*_wrap_wxGrid_GetTextItem(PyObject
*self
, PyObject
*args
) {
1681 PyObject
* _resultobj
;
1682 wxTextCtrl
* _result
;
1688 if(!PyArg_ParseTuple(args
,"s:wxGrid_GetTextItem",&_argc0
))
1691 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGrid_p")) {
1692 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetTextItem. Expected _wxGrid_p.");
1697 wxPy_BEGIN_ALLOW_THREADS
;
1698 _result
= (wxTextCtrl
*)wxGrid_GetTextItem(_arg0
);
1700 wxPy_END_ALLOW_THREADS
;
1701 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTextCtrl_p");
1702 _resultobj
= Py_BuildValue("s",_ptemp
);
1706 #define wxGrid_GetVertScrollBar(_swigobj) (_swigobj->GetVertScrollBar())
1707 static PyObject
*_wrap_wxGrid_GetVertScrollBar(PyObject
*self
, PyObject
*args
) {
1708 PyObject
* _resultobj
;
1709 wxScrollBar
* _result
;
1715 if(!PyArg_ParseTuple(args
,"s:wxGrid_GetVertScrollBar",&_argc0
))
1718 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGrid_p")) {
1719 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetVertScrollBar. Expected _wxGrid_p.");
1724 wxPy_BEGIN_ALLOW_THREADS
;
1725 _result
= (wxScrollBar
*)wxGrid_GetVertScrollBar(_arg0
);
1727 wxPy_END_ALLOW_THREADS
;
1728 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScrollBar_p");
1729 _resultobj
= Py_BuildValue("s",_ptemp
);
1733 #define wxGrid_InsertCols(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertCols(_swigarg0,_swigarg1,_swigarg2))
1734 static PyObject
*_wrap_wxGrid_InsertCols(PyObject
*self
, PyObject
*args
) {
1735 PyObject
* _resultobj
;
1745 if(!PyArg_ParseTuple(args
,"s|iii:wxGrid_InsertCols",&_argc0
,&_arg1
,&_arg2
,&tempbool3
))
1748 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGrid_p")) {
1749 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_InsertCols. Expected _wxGrid_p.");
1753 _arg3
= (bool ) tempbool3
;
1755 wxPy_BEGIN_ALLOW_THREADS
;
1756 _result
= (bool )wxGrid_InsertCols(_arg0
,_arg1
,_arg2
,_arg3
);
1758 wxPy_END_ALLOW_THREADS
;
1759 } _resultobj
= Py_BuildValue("i",_result
);
1763 #define wxGrid_InsertRows(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertRows(_swigarg0,_swigarg1,_swigarg2))
1764 static PyObject
*_wrap_wxGrid_InsertRows(PyObject
*self
, PyObject
*args
) {
1765 PyObject
* _resultobj
;
1775 if(!PyArg_ParseTuple(args
,"s|iii:wxGrid_InsertRows",&_argc0
,&_arg1
,&_arg2
,&tempbool3
))
1778 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGrid_p")) {
1779 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_InsertRows. Expected _wxGrid_p.");
1783 _arg3
= (bool ) tempbool3
;
1785 wxPy_BEGIN_ALLOW_THREADS
;
1786 _result
= (bool )wxGrid_InsertRows(_arg0
,_arg1
,_arg2
,_arg3
);
1788 wxPy_END_ALLOW_THREADS
;
1789 } _resultobj
= Py_BuildValue("i",_result
);
1793 #define wxGrid_OnActivate(_swigobj,_swigarg0) (_swigobj->OnActivate(_swigarg0))
1794 static PyObject
*_wrap_wxGrid_OnActivate(PyObject
*self
, PyObject
*args
) {
1795 PyObject
* _resultobj
;
1802 if(!PyArg_ParseTuple(args
,"si:wxGrid_OnActivate",&_argc0
,&tempbool1
))
1805 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGrid_p")) {
1806 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_OnActivate. Expected _wxGrid_p.");
1810 _arg1
= (bool ) tempbool1
;
1812 wxPy_BEGIN_ALLOW_THREADS
;
1813 wxGrid_OnActivate(_arg0
,_arg1
);
1815 wxPy_END_ALLOW_THREADS
;
1816 } Py_INCREF(Py_None
);
1817 _resultobj
= Py_None
;
1821 #define wxGrid_SetCellAlignment(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellAlignment(_swigarg0,_swigarg1,_swigarg2))
1822 static PyObject
*_wrap_wxGrid_SetCellAlignment(PyObject
*self
, PyObject
*args
) {
1823 PyObject
* _resultobj
;
1831 if(!PyArg_ParseTuple(args
,"siii:wxGrid_SetCellAlignment",&_argc0
,&_arg1
,&_arg2
,&_arg3
))
1834 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGrid_p")) {
1835 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellAlignment. Expected _wxGrid_p.");
1840 wxPy_BEGIN_ALLOW_THREADS
;
1841 wxGrid_SetCellAlignment(_arg0
,_arg1
,_arg2
,_arg3
);
1843 wxPy_END_ALLOW_THREADS
;
1844 } Py_INCREF(Py_None
);
1845 _resultobj
= Py_None
;
1849 #define wxGrid_SetDefCellAlignment(_swigobj,_swigarg0) (_swigobj->SetCellAlignment(_swigarg0))
1850 static PyObject
*_wrap_wxGrid_SetDefCellAlignment(PyObject
*self
, PyObject
*args
) {
1851 PyObject
* _resultobj
;
1857 if(!PyArg_ParseTuple(args
,"si:wxGrid_SetDefCellAlignment",&_argc0
,&_arg1
))
1860 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGrid_p")) {
1861 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetDefCellAlignment. Expected _wxGrid_p.");
1866 wxPy_BEGIN_ALLOW_THREADS
;
1867 wxGrid_SetDefCellAlignment(_arg0
,_arg1
);
1869 wxPy_END_ALLOW_THREADS
;
1870 } Py_INCREF(Py_None
);
1871 _resultobj
= Py_None
;
1875 #define wxGrid_SetCellBackgroundColour(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellBackgroundColour(_swigarg0,_swigarg1,_swigarg2))
1876 static PyObject
*_wrap_wxGrid_SetCellBackgroundColour(PyObject
*self
, PyObject
*args
) {
1877 PyObject
* _resultobj
;
1886 if(!PyArg_ParseTuple(args
,"ssii:wxGrid_SetCellBackgroundColour",&_argc0
,&_argc1
,&_arg2
,&_arg3
))
1889 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGrid_p")) {
1890 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellBackgroundColour. Expected _wxGrid_p.");
1895 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxColour_p")) {
1896 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_SetCellBackgroundColour. Expected _wxColour_p.");
1901 wxPy_BEGIN_ALLOW_THREADS
;
1902 wxGrid_SetCellBackgroundColour(_arg0
,*_arg1
,_arg2
,_arg3
);
1904 wxPy_END_ALLOW_THREADS
;
1905 } Py_INCREF(Py_None
);
1906 _resultobj
= Py_None
;
1910 #define wxGrid_SetDefCellBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetCellBackgroundColour(_swigarg0))
1911 static PyObject
*_wrap_wxGrid_SetDefCellBackgroundColour(PyObject
*self
, PyObject
*args
) {
1912 PyObject
* _resultobj
;
1919 if(!PyArg_ParseTuple(args
,"ss:wxGrid_SetDefCellBackgroundColour",&_argc0
,&_argc1
))
1922 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGrid_p")) {
1923 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetDefCellBackgroundColour. Expected _wxGrid_p.");
1928 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxColour_p")) {
1929 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_SetDefCellBackgroundColour. Expected _wxColour_p.");
1934 wxPy_BEGIN_ALLOW_THREADS
;
1935 wxGrid_SetDefCellBackgroundColour(_arg0
,*_arg1
);
1937 wxPy_END_ALLOW_THREADS
;
1938 } Py_INCREF(Py_None
);
1939 _resultobj
= Py_None
;
1943 #define wxGrid_SetCellTextColour(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellTextColour(_swigarg0,_swigarg1,_swigarg2))
1944 static PyObject
*_wrap_wxGrid_SetCellTextColour(PyObject
*self
, PyObject
*args
) {
1945 PyObject
* _resultobj
;
1954 if(!PyArg_ParseTuple(args
,"ssii:wxGrid_SetCellTextColour",&_argc0
,&_argc1
,&_arg2
,&_arg3
))
1957 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGrid_p")) {
1958 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellTextColour. Expected _wxGrid_p.");
1963 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxColour_p")) {
1964 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_SetCellTextColour. Expected _wxColour_p.");
1969 wxPy_BEGIN_ALLOW_THREADS
;
1970 wxGrid_SetCellTextColour(_arg0
,*_arg1
,_arg2
,_arg3
);
1972 wxPy_END_ALLOW_THREADS
;
1973 } Py_INCREF(Py_None
);
1974 _resultobj
= Py_None
;
1978 #define wxGrid_SetDefCellTextColour(_swigobj,_swigarg0) (_swigobj->SetCellTextColour(_swigarg0))
1979 static PyObject
*_wrap_wxGrid_SetDefCellTextColour(PyObject
*self
, PyObject
*args
) {
1980 PyObject
* _resultobj
;
1987 if(!PyArg_ParseTuple(args
,"ss:wxGrid_SetDefCellTextColour",&_argc0
,&_argc1
))
1990 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGrid_p")) {
1991 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetDefCellTextColour. Expected _wxGrid_p.");
1996 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxColour_p")) {
1997 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_SetDefCellTextColour. Expected _wxColour_p.");
2002 wxPy_BEGIN_ALLOW_THREADS
;
2003 wxGrid_SetDefCellTextColour(_arg0
,*_arg1
);
2005 wxPy_END_ALLOW_THREADS
;
2006 } Py_INCREF(Py_None
);
2007 _resultobj
= Py_None
;
2011 #define wxGrid_SetCellTextFont(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellTextFont(_swigarg0,_swigarg1,_swigarg2))
2012 static PyObject
*_wrap_wxGrid_SetCellTextFont(PyObject
*self
, PyObject
*args
) {
2013 PyObject
* _resultobj
;
2022 if(!PyArg_ParseTuple(args
,"ssii:wxGrid_SetCellTextFont",&_argc0
,&_argc1
,&_arg2
,&_arg3
))
2025 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGrid_p")) {
2026 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellTextFont. Expected _wxGrid_p.");
2031 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxFont_p")) {
2032 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_SetCellTextFont. Expected _wxFont_p.");
2037 wxPy_BEGIN_ALLOW_THREADS
;
2038 wxGrid_SetCellTextFont(_arg0
,*_arg1
,_arg2
,_arg3
);
2040 wxPy_END_ALLOW_THREADS
;
2041 } Py_INCREF(Py_None
);
2042 _resultobj
= Py_None
;
2046 #define wxGrid_SetDefCellTextFont(_swigobj,_swigarg0) (_swigobj->SetCellTextFont(_swigarg0))
2047 static PyObject
*_wrap_wxGrid_SetDefCellTextFont(PyObject
*self
, PyObject
*args
) {
2048 PyObject
* _resultobj
;
2055 if(!PyArg_ParseTuple(args
,"ss:wxGrid_SetDefCellTextFont",&_argc0
,&_argc1
))
2058 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGrid_p")) {
2059 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetDefCellTextFont. Expected _wxGrid_p.");
2064 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxFont_p")) {
2065 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_SetDefCellTextFont. Expected _wxFont_p.");
2070 wxPy_BEGIN_ALLOW_THREADS
;
2071 wxGrid_SetDefCellTextFont(_arg0
,*_arg1
);
2073 wxPy_END_ALLOW_THREADS
;
2074 } Py_INCREF(Py_None
);
2075 _resultobj
= Py_None
;
2079 #define wxGrid_SetCellValue(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellValue(_swigarg0,_swigarg1,_swigarg2))
2080 static PyObject
*_wrap_wxGrid_SetCellValue(PyObject
*self
, PyObject
*args
) {
2081 PyObject
* _resultobj
;
2087 PyObject
* _obj1
= 0;
2090 if(!PyArg_ParseTuple(args
,"sOii:wxGrid_SetCellValue",&_argc0
,&_obj1
,&_arg2
,&_arg3
))
2093 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGrid_p")) {
2094 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellValue. Expected _wxGrid_p.");
2099 if (!PyString_Check(_obj1
)) {
2100 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2103 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
2106 wxPy_BEGIN_ALLOW_THREADS
;
2107 wxGrid_SetCellValue(_arg0
,*_arg1
,_arg2
,_arg3
);
2109 wxPy_END_ALLOW_THREADS
;
2110 } Py_INCREF(Py_None
);
2111 _resultobj
= Py_None
;
2119 #define wxGrid_SetColumnWidth(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColumnWidth(_swigarg0,_swigarg1))
2120 static PyObject
*_wrap_wxGrid_SetColumnWidth(PyObject
*self
, PyObject
*args
) {
2121 PyObject
* _resultobj
;
2128 if(!PyArg_ParseTuple(args
,"sii:wxGrid_SetColumnWidth",&_argc0
,&_arg1
,&_arg2
))
2131 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGrid_p")) {
2132 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetColumnWidth. Expected _wxGrid_p.");
2137 wxPy_BEGIN_ALLOW_THREADS
;
2138 wxGrid_SetColumnWidth(_arg0
,_arg1
,_arg2
);
2140 wxPy_END_ALLOW_THREADS
;
2141 } Py_INCREF(Py_None
);
2142 _resultobj
= Py_None
;
2146 #define wxGrid_SetDividerPen(_swigobj,_swigarg0) (_swigobj->SetDividerPen(_swigarg0))
2147 static PyObject
*_wrap_wxGrid_SetDividerPen(PyObject
*self
, PyObject
*args
) {
2148 PyObject
* _resultobj
;
2155 if(!PyArg_ParseTuple(args
,"ss:wxGrid_SetDividerPen",&_argc0
,&_argc1
))
2158 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGrid_p")) {
2159 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetDividerPen. Expected _wxGrid_p.");
2164 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxPen_p")) {
2165 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_SetDividerPen. Expected _wxPen_p.");
2170 wxPy_BEGIN_ALLOW_THREADS
;
2171 wxGrid_SetDividerPen(_arg0
,*_arg1
);
2173 wxPy_END_ALLOW_THREADS
;
2174 } Py_INCREF(Py_None
);
2175 _resultobj
= Py_None
;
2179 #define wxGrid_SetEditable(_swigobj,_swigarg0) (_swigobj->SetEditable(_swigarg0))
2180 static PyObject
*_wrap_wxGrid_SetEditable(PyObject
*self
, PyObject
*args
) {
2181 PyObject
* _resultobj
;
2188 if(!PyArg_ParseTuple(args
,"si:wxGrid_SetEditable",&_argc0
,&tempbool1
))
2191 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGrid_p")) {
2192 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetEditable. Expected _wxGrid_p.");
2196 _arg1
= (bool ) tempbool1
;
2198 wxPy_BEGIN_ALLOW_THREADS
;
2199 wxGrid_SetEditable(_arg0
,_arg1
);
2201 wxPy_END_ALLOW_THREADS
;
2202 } Py_INCREF(Py_None
);
2203 _resultobj
= Py_None
;
2207 #define wxGrid_SetGridCursor(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetGridCursor(_swigarg0,_swigarg1))
2208 static PyObject
*_wrap_wxGrid_SetGridCursor(PyObject
*self
, PyObject
*args
) {
2209 PyObject
* _resultobj
;
2216 if(!PyArg_ParseTuple(args
,"sii:wxGrid_SetGridCursor",&_argc0
,&_arg1
,&_arg2
))
2219 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGrid_p")) {
2220 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetGridCursor. Expected _wxGrid_p.");
2225 wxPy_BEGIN_ALLOW_THREADS
;
2226 wxGrid_SetGridCursor(_arg0
,_arg1
,_arg2
);
2228 wxPy_END_ALLOW_THREADS
;
2229 } Py_INCREF(Py_None
);
2230 _resultobj
= Py_None
;
2234 #define wxGrid_SetLabelAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabelAlignment(_swigarg0,_swigarg1))
2235 static PyObject
*_wrap_wxGrid_SetLabelAlignment(PyObject
*self
, PyObject
*args
) {
2236 PyObject
* _resultobj
;
2243 if(!PyArg_ParseTuple(args
,"sii:wxGrid_SetLabelAlignment",&_argc0
,&_arg1
,&_arg2
))
2246 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGrid_p")) {
2247 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetLabelAlignment. Expected _wxGrid_p.");
2252 wxPy_BEGIN_ALLOW_THREADS
;
2253 wxGrid_SetLabelAlignment(_arg0
,_arg1
,_arg2
);
2255 wxPy_END_ALLOW_THREADS
;
2256 } Py_INCREF(Py_None
);
2257 _resultobj
= Py_None
;
2261 #define wxGrid_SetLabelBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetLabelBackgroundColour(_swigarg0))
2262 static PyObject
*_wrap_wxGrid_SetLabelBackgroundColour(PyObject
*self
, PyObject
*args
) {
2263 PyObject
* _resultobj
;
2270 if(!PyArg_ParseTuple(args
,"ss:wxGrid_SetLabelBackgroundColour",&_argc0
,&_argc1
))
2273 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGrid_p")) {
2274 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetLabelBackgroundColour. Expected _wxGrid_p.");
2279 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxColour_p")) {
2280 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_SetLabelBackgroundColour. Expected _wxColour_p.");
2285 wxPy_BEGIN_ALLOW_THREADS
;
2286 wxGrid_SetLabelBackgroundColour(_arg0
,*_arg1
);
2288 wxPy_END_ALLOW_THREADS
;
2289 } Py_INCREF(Py_None
);
2290 _resultobj
= Py_None
;
2294 #define wxGrid_SetLabelSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabelSize(_swigarg0,_swigarg1))
2295 static PyObject
*_wrap_wxGrid_SetLabelSize(PyObject
*self
, PyObject
*args
) {
2296 PyObject
* _resultobj
;
2303 if(!PyArg_ParseTuple(args
,"sii:wxGrid_SetLabelSize",&_argc0
,&_arg1
,&_arg2
))
2306 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGrid_p")) {
2307 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetLabelSize. Expected _wxGrid_p.");
2312 wxPy_BEGIN_ALLOW_THREADS
;
2313 wxGrid_SetLabelSize(_arg0
,_arg1
,_arg2
);
2315 wxPy_END_ALLOW_THREADS
;
2316 } Py_INCREF(Py_None
);
2317 _resultobj
= Py_None
;
2321 #define wxGrid_SetLabelTextColour(_swigobj,_swigarg0) (_swigobj->SetLabelTextColour(_swigarg0))
2322 static PyObject
*_wrap_wxGrid_SetLabelTextColour(PyObject
*self
, PyObject
*args
) {
2323 PyObject
* _resultobj
;
2330 if(!PyArg_ParseTuple(args
,"ss:wxGrid_SetLabelTextColour",&_argc0
,&_argc1
))
2333 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGrid_p")) {
2334 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetLabelTextColour. Expected _wxGrid_p.");
2339 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxColour_p")) {
2340 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_SetLabelTextColour. Expected _wxColour_p.");
2345 wxPy_BEGIN_ALLOW_THREADS
;
2346 wxGrid_SetLabelTextColour(_arg0
,*_arg1
);
2348 wxPy_END_ALLOW_THREADS
;
2349 } Py_INCREF(Py_None
);
2350 _resultobj
= Py_None
;
2354 #define wxGrid_SetLabelTextFont(_swigobj,_swigarg0) (_swigobj->SetLabelTextFont(_swigarg0))
2355 static PyObject
*_wrap_wxGrid_SetLabelTextFont(PyObject
*self
, PyObject
*args
) {
2356 PyObject
* _resultobj
;
2363 if(!PyArg_ParseTuple(args
,"ss:wxGrid_SetLabelTextFont",&_argc0
,&_argc1
))
2366 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGrid_p")) {
2367 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetLabelTextFont. Expected _wxGrid_p.");
2372 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxFont_p")) {
2373 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_SetLabelTextFont. Expected _wxFont_p.");
2378 wxPy_BEGIN_ALLOW_THREADS
;
2379 wxGrid_SetLabelTextFont(_arg0
,*_arg1
);
2381 wxPy_END_ALLOW_THREADS
;
2382 } Py_INCREF(Py_None
);
2383 _resultobj
= Py_None
;
2387 #define wxGrid_SetLabelValue(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetLabelValue(_swigarg0,_swigarg1,_swigarg2))
2388 static PyObject
*_wrap_wxGrid_SetLabelValue(PyObject
*self
, PyObject
*args
) {
2389 PyObject
* _resultobj
;
2395 PyObject
* _obj2
= 0;
2398 if(!PyArg_ParseTuple(args
,"siOi:wxGrid_SetLabelValue",&_argc0
,&_arg1
,&_obj2
,&_arg3
))
2401 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGrid_p")) {
2402 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetLabelValue. Expected _wxGrid_p.");
2407 if (!PyString_Check(_obj2
)) {
2408 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2411 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
2414 wxPy_BEGIN_ALLOW_THREADS
;
2415 wxGrid_SetLabelValue(_arg0
,_arg1
,*_arg2
,_arg3
);
2417 wxPy_END_ALLOW_THREADS
;
2418 } Py_INCREF(Py_None
);
2419 _resultobj
= Py_None
;
2427 #define wxGrid_SetRowHeight(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowHeight(_swigarg0,_swigarg1))
2428 static PyObject
*_wrap_wxGrid_SetRowHeight(PyObject
*self
, PyObject
*args
) {
2429 PyObject
* _resultobj
;
2436 if(!PyArg_ParseTuple(args
,"sii:wxGrid_SetRowHeight",&_argc0
,&_arg1
,&_arg2
))
2439 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGrid_p")) {
2440 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetRowHeight. Expected _wxGrid_p.");
2445 wxPy_BEGIN_ALLOW_THREADS
;
2446 wxGrid_SetRowHeight(_arg0
,_arg1
,_arg2
);
2448 wxPy_END_ALLOW_THREADS
;
2449 } Py_INCREF(Py_None
);
2450 _resultobj
= Py_None
;
2454 #define wxGrid_UpdateDimensions(_swigobj) (_swigobj->UpdateDimensions())
2455 static PyObject
*_wrap_wxGrid_UpdateDimensions(PyObject
*self
, PyObject
*args
) {
2456 PyObject
* _resultobj
;
2461 if(!PyArg_ParseTuple(args
,"s:wxGrid_UpdateDimensions",&_argc0
))
2464 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGrid_p")) {
2465 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_UpdateDimensions. Expected _wxGrid_p.");
2470 wxPy_BEGIN_ALLOW_THREADS
;
2471 wxGrid_UpdateDimensions(_arg0
);
2473 wxPy_END_ALLOW_THREADS
;
2474 } Py_INCREF(Py_None
);
2475 _resultobj
= Py_None
;
2479 static void *SwigwxGridEventTowxEvent(void *ptr
) {
2482 src
= (wxGridEvent
*) ptr
;
2483 dest
= (wxEvent
*) src
;
2484 return (void *) dest
;
2487 #define wxGridEvent_m_row_set(_swigobj,_swigval) (_swigobj->m_row = _swigval,_swigval)
2488 static PyObject
*_wrap_wxGridEvent_m_row_set(PyObject
*self
, PyObject
*args
) {
2489 PyObject
* _resultobj
;
2491 wxGridEvent
* _arg0
;
2496 if(!PyArg_ParseTuple(args
,"si:wxGridEvent_m_row_set",&_argc0
,&_arg1
))
2499 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGridEvent_p")) {
2500 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_m_row_set. Expected _wxGridEvent_p.");
2505 wxPy_BEGIN_ALLOW_THREADS
;
2506 _result
= (int )wxGridEvent_m_row_set(_arg0
,_arg1
);
2508 wxPy_END_ALLOW_THREADS
;
2509 } _resultobj
= Py_BuildValue("i",_result
);
2513 #define wxGridEvent_m_row_get(_swigobj) ((int ) _swigobj->m_row)
2514 static PyObject
*_wrap_wxGridEvent_m_row_get(PyObject
*self
, PyObject
*args
) {
2515 PyObject
* _resultobj
;
2517 wxGridEvent
* _arg0
;
2521 if(!PyArg_ParseTuple(args
,"s:wxGridEvent_m_row_get",&_argc0
))
2524 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGridEvent_p")) {
2525 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_m_row_get. Expected _wxGridEvent_p.");
2530 wxPy_BEGIN_ALLOW_THREADS
;
2531 _result
= (int )wxGridEvent_m_row_get(_arg0
);
2533 wxPy_END_ALLOW_THREADS
;
2534 } _resultobj
= Py_BuildValue("i",_result
);
2538 #define wxGridEvent_m_col_set(_swigobj,_swigval) (_swigobj->m_col = _swigval,_swigval)
2539 static PyObject
*_wrap_wxGridEvent_m_col_set(PyObject
*self
, PyObject
*args
) {
2540 PyObject
* _resultobj
;
2542 wxGridEvent
* _arg0
;
2547 if(!PyArg_ParseTuple(args
,"si:wxGridEvent_m_col_set",&_argc0
,&_arg1
))
2550 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGridEvent_p")) {
2551 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_m_col_set. Expected _wxGridEvent_p.");
2556 wxPy_BEGIN_ALLOW_THREADS
;
2557 _result
= (int )wxGridEvent_m_col_set(_arg0
,_arg1
);
2559 wxPy_END_ALLOW_THREADS
;
2560 } _resultobj
= Py_BuildValue("i",_result
);
2564 #define wxGridEvent_m_col_get(_swigobj) ((int ) _swigobj->m_col)
2565 static PyObject
*_wrap_wxGridEvent_m_col_get(PyObject
*self
, PyObject
*args
) {
2566 PyObject
* _resultobj
;
2568 wxGridEvent
* _arg0
;
2572 if(!PyArg_ParseTuple(args
,"s:wxGridEvent_m_col_get",&_argc0
))
2575 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGridEvent_p")) {
2576 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_m_col_get. Expected _wxGridEvent_p.");
2581 wxPy_BEGIN_ALLOW_THREADS
;
2582 _result
= (int )wxGridEvent_m_col_get(_arg0
);
2584 wxPy_END_ALLOW_THREADS
;
2585 } _resultobj
= Py_BuildValue("i",_result
);
2589 #define wxGridEvent_m_x_set(_swigobj,_swigval) (_swigobj->m_x = _swigval,_swigval)
2590 static PyObject
*_wrap_wxGridEvent_m_x_set(PyObject
*self
, PyObject
*args
) {
2591 PyObject
* _resultobj
;
2593 wxGridEvent
* _arg0
;
2598 if(!PyArg_ParseTuple(args
,"si:wxGridEvent_m_x_set",&_argc0
,&_arg1
))
2601 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGridEvent_p")) {
2602 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_m_x_set. Expected _wxGridEvent_p.");
2607 wxPy_BEGIN_ALLOW_THREADS
;
2608 _result
= (int )wxGridEvent_m_x_set(_arg0
,_arg1
);
2610 wxPy_END_ALLOW_THREADS
;
2611 } _resultobj
= Py_BuildValue("i",_result
);
2615 #define wxGridEvent_m_x_get(_swigobj) ((int ) _swigobj->m_x)
2616 static PyObject
*_wrap_wxGridEvent_m_x_get(PyObject
*self
, PyObject
*args
) {
2617 PyObject
* _resultobj
;
2619 wxGridEvent
* _arg0
;
2623 if(!PyArg_ParseTuple(args
,"s:wxGridEvent_m_x_get",&_argc0
))
2626 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGridEvent_p")) {
2627 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_m_x_get. Expected _wxGridEvent_p.");
2632 wxPy_BEGIN_ALLOW_THREADS
;
2633 _result
= (int )wxGridEvent_m_x_get(_arg0
);
2635 wxPy_END_ALLOW_THREADS
;
2636 } _resultobj
= Py_BuildValue("i",_result
);
2640 #define wxGridEvent_m_y_set(_swigobj,_swigval) (_swigobj->m_y = _swigval,_swigval)
2641 static PyObject
*_wrap_wxGridEvent_m_y_set(PyObject
*self
, PyObject
*args
) {
2642 PyObject
* _resultobj
;
2644 wxGridEvent
* _arg0
;
2649 if(!PyArg_ParseTuple(args
,"si:wxGridEvent_m_y_set",&_argc0
,&_arg1
))
2652 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGridEvent_p")) {
2653 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_m_y_set. Expected _wxGridEvent_p.");
2658 wxPy_BEGIN_ALLOW_THREADS
;
2659 _result
= (int )wxGridEvent_m_y_set(_arg0
,_arg1
);
2661 wxPy_END_ALLOW_THREADS
;
2662 } _resultobj
= Py_BuildValue("i",_result
);
2666 #define wxGridEvent_m_y_get(_swigobj) ((int ) _swigobj->m_y)
2667 static PyObject
*_wrap_wxGridEvent_m_y_get(PyObject
*self
, PyObject
*args
) {
2668 PyObject
* _resultobj
;
2670 wxGridEvent
* _arg0
;
2674 if(!PyArg_ParseTuple(args
,"s:wxGridEvent_m_y_get",&_argc0
))
2677 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGridEvent_p")) {
2678 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_m_y_get. Expected _wxGridEvent_p.");
2683 wxPy_BEGIN_ALLOW_THREADS
;
2684 _result
= (int )wxGridEvent_m_y_get(_arg0
);
2686 wxPy_END_ALLOW_THREADS
;
2687 } _resultobj
= Py_BuildValue("i",_result
);
2691 #define wxGridEvent_m_control_set(_swigobj,_swigval) (_swigobj->m_control = _swigval,_swigval)
2692 static PyObject
*_wrap_wxGridEvent_m_control_set(PyObject
*self
, PyObject
*args
) {
2693 PyObject
* _resultobj
;
2695 wxGridEvent
* _arg0
;
2701 if(!PyArg_ParseTuple(args
,"si:wxGridEvent_m_control_set",&_argc0
,&tempbool1
))
2704 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGridEvent_p")) {
2705 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_m_control_set. Expected _wxGridEvent_p.");
2709 _arg1
= (bool ) tempbool1
;
2711 wxPy_BEGIN_ALLOW_THREADS
;
2712 _result
= (bool )wxGridEvent_m_control_set(_arg0
,_arg1
);
2714 wxPy_END_ALLOW_THREADS
;
2715 } _resultobj
= Py_BuildValue("i",_result
);
2719 #define wxGridEvent_m_control_get(_swigobj) ((bool ) _swigobj->m_control)
2720 static PyObject
*_wrap_wxGridEvent_m_control_get(PyObject
*self
, PyObject
*args
) {
2721 PyObject
* _resultobj
;
2723 wxGridEvent
* _arg0
;
2727 if(!PyArg_ParseTuple(args
,"s:wxGridEvent_m_control_get",&_argc0
))
2730 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGridEvent_p")) {
2731 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_m_control_get. Expected _wxGridEvent_p.");
2736 wxPy_BEGIN_ALLOW_THREADS
;
2737 _result
= (bool )wxGridEvent_m_control_get(_arg0
);
2739 wxPy_END_ALLOW_THREADS
;
2740 } _resultobj
= Py_BuildValue("i",_result
);
2744 #define wxGridEvent_m_shift_set(_swigobj,_swigval) (_swigobj->m_shift = _swigval,_swigval)
2745 static PyObject
*_wrap_wxGridEvent_m_shift_set(PyObject
*self
, PyObject
*args
) {
2746 PyObject
* _resultobj
;
2748 wxGridEvent
* _arg0
;
2754 if(!PyArg_ParseTuple(args
,"si:wxGridEvent_m_shift_set",&_argc0
,&tempbool1
))
2757 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGridEvent_p")) {
2758 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_m_shift_set. Expected _wxGridEvent_p.");
2762 _arg1
= (bool ) tempbool1
;
2764 wxPy_BEGIN_ALLOW_THREADS
;
2765 _result
= (bool )wxGridEvent_m_shift_set(_arg0
,_arg1
);
2767 wxPy_END_ALLOW_THREADS
;
2768 } _resultobj
= Py_BuildValue("i",_result
);
2772 #define wxGridEvent_m_shift_get(_swigobj) ((bool ) _swigobj->m_shift)
2773 static PyObject
*_wrap_wxGridEvent_m_shift_get(PyObject
*self
, PyObject
*args
) {
2774 PyObject
* _resultobj
;
2776 wxGridEvent
* _arg0
;
2780 if(!PyArg_ParseTuple(args
,"s:wxGridEvent_m_shift_get",&_argc0
))
2783 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGridEvent_p")) {
2784 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_m_shift_get. Expected _wxGridEvent_p.");
2789 wxPy_BEGIN_ALLOW_THREADS
;
2790 _result
= (bool )wxGridEvent_m_shift_get(_arg0
);
2792 wxPy_END_ALLOW_THREADS
;
2793 } _resultobj
= Py_BuildValue("i",_result
);
2797 #define wxGridEvent_m_cell_set(_swigobj,_swigval) (_swigobj->m_cell = _swigval,_swigval)
2798 static PyObject
*_wrap_wxGridEvent_m_cell_set(PyObject
*self
, PyObject
*args
) {
2799 PyObject
* _resultobj
;
2800 wxGridCell
* _result
;
2801 wxGridEvent
* _arg0
;
2808 if(!PyArg_ParseTuple(args
,"ss:wxGridEvent_m_cell_set",&_argc0
,&_argc1
))
2811 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGridEvent_p")) {
2812 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_m_cell_set. Expected _wxGridEvent_p.");
2817 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxGridCell_p")) {
2818 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridEvent_m_cell_set. Expected _wxGridCell_p.");
2823 wxPy_BEGIN_ALLOW_THREADS
;
2824 _result
= (wxGridCell
*)wxGridEvent_m_cell_set(_arg0
,_arg1
);
2826 wxPy_END_ALLOW_THREADS
;
2827 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCell_p");
2828 _resultobj
= Py_BuildValue("s",_ptemp
);
2832 #define wxGridEvent_m_cell_get(_swigobj) ((wxGridCell *) _swigobj->m_cell)
2833 static PyObject
*_wrap_wxGridEvent_m_cell_get(PyObject
*self
, PyObject
*args
) {
2834 PyObject
* _resultobj
;
2835 wxGridCell
* _result
;
2836 wxGridEvent
* _arg0
;
2841 if(!PyArg_ParseTuple(args
,"s:wxGridEvent_m_cell_get",&_argc0
))
2844 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxGridEvent_p")) {
2845 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_m_cell_get. Expected _wxGridEvent_p.");
2850 wxPy_BEGIN_ALLOW_THREADS
;
2851 _result
= (wxGridCell
*)wxGridEvent_m_cell_get(_arg0
);
2853 wxPy_END_ALLOW_THREADS
;
2854 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCell_p");
2855 _resultobj
= Py_BuildValue("s",_ptemp
);
2859 static void *SwigwxNotebookEventTowxCommandEvent(void *ptr
) {
2860 wxNotebookEvent
*src
;
2861 wxCommandEvent
*dest
;
2862 src
= (wxNotebookEvent
*) ptr
;
2863 dest
= (wxCommandEvent
*) src
;
2864 return (void *) dest
;
2867 static void *SwigwxNotebookEventTowxEvent(void *ptr
) {
2868 wxNotebookEvent
*src
;
2870 src
= (wxNotebookEvent
*) ptr
;
2871 dest
= (wxEvent
*) src
;
2872 return (void *) dest
;
2875 #define wxNotebookEvent_GetSelection(_swigobj) (_swigobj->GetSelection())
2876 static PyObject
*_wrap_wxNotebookEvent_GetSelection(PyObject
*self
, PyObject
*args
) {
2877 PyObject
* _resultobj
;
2879 wxNotebookEvent
* _arg0
;
2883 if(!PyArg_ParseTuple(args
,"s:wxNotebookEvent_GetSelection",&_argc0
))
2886 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxNotebookEvent_p")) {
2887 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebookEvent_GetSelection. Expected _wxNotebookEvent_p.");
2892 wxPy_BEGIN_ALLOW_THREADS
;
2893 _result
= (int )wxNotebookEvent_GetSelection(_arg0
);
2895 wxPy_END_ALLOW_THREADS
;
2896 } _resultobj
= Py_BuildValue("i",_result
);
2900 #define wxNotebookEvent_GetOldSelection(_swigobj) (_swigobj->GetOldSelection())
2901 static PyObject
*_wrap_wxNotebookEvent_GetOldSelection(PyObject
*self
, PyObject
*args
) {
2902 PyObject
* _resultobj
;
2904 wxNotebookEvent
* _arg0
;
2908 if(!PyArg_ParseTuple(args
,"s:wxNotebookEvent_GetOldSelection",&_argc0
))
2911 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxNotebookEvent_p")) {
2912 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebookEvent_GetOldSelection. Expected _wxNotebookEvent_p.");
2917 wxPy_BEGIN_ALLOW_THREADS
;
2918 _result
= (int )wxNotebookEvent_GetOldSelection(_arg0
);
2920 wxPy_END_ALLOW_THREADS
;
2921 } _resultobj
= Py_BuildValue("i",_result
);
2925 static void *SwigwxNotebookTowxControl(void *ptr
) {
2928 src
= (wxNotebook
*) ptr
;
2929 dest
= (wxControl
*) src
;
2930 return (void *) dest
;
2933 static void *SwigwxNotebookTowxWindow(void *ptr
) {
2936 src
= (wxNotebook
*) ptr
;
2937 dest
= (wxWindow
*) src
;
2938 return (void *) dest
;
2941 static void *SwigwxNotebookTowxEvtHandler(void *ptr
) {
2944 src
= (wxNotebook
*) ptr
;
2945 dest
= (wxEvtHandler
*) src
;
2946 return (void *) dest
;
2949 #define new_wxNotebook(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxNotebook(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
2950 static PyObject
*_wrap_new_wxNotebook(PyObject
*self
, PyObject
*args
) {
2951 PyObject
* _resultobj
;
2952 wxNotebook
* _result
;
2955 wxPoint
* _arg2
= &wxPyDefaultPosition
;
2956 wxSize
* _arg3
= &wxPyDefaultSize
;
2958 char * _arg5
= "notebook";
2965 if(!PyArg_ParseTuple(args
,"si|ssls:new_wxNotebook",&_argc0
,&_arg1
,&_argc2
,&_argc3
,&_arg4
,&_arg5
))
2968 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2969 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxNotebook. Expected _wxWindow_p.");
2974 if (SWIG_GetPtr(_argc2
,(void **) &_arg2
,"_wxPoint_p")) {
2975 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxNotebook. Expected _wxPoint_p.");
2980 if (SWIG_GetPtr(_argc3
,(void **) &_arg3
,"_wxSize_p")) {
2981 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of new_wxNotebook. Expected _wxSize_p.");
2986 wxPy_BEGIN_ALLOW_THREADS
;
2987 _result
= (wxNotebook
*)new_wxNotebook(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
2989 wxPy_END_ALLOW_THREADS
;
2990 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxNotebook_p");
2991 _resultobj
= Py_BuildValue("s",_ptemp
);
2995 #define wxNotebook_GetPageCount(_swigobj) (_swigobj->GetPageCount())
2996 static PyObject
*_wrap_wxNotebook_GetPageCount(PyObject
*self
, PyObject
*args
) {
2997 PyObject
* _resultobj
;
3003 if(!PyArg_ParseTuple(args
,"s:wxNotebook_GetPageCount",&_argc0
))
3006 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxNotebook_p")) {
3007 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_GetPageCount. Expected _wxNotebook_p.");
3012 wxPy_BEGIN_ALLOW_THREADS
;
3013 _result
= (int )wxNotebook_GetPageCount(_arg0
);
3015 wxPy_END_ALLOW_THREADS
;
3016 } _resultobj
= Py_BuildValue("i",_result
);
3020 #define wxNotebook_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
3021 static PyObject
*_wrap_wxNotebook_SetSelection(PyObject
*self
, PyObject
*args
) {
3022 PyObject
* _resultobj
;
3029 if(!PyArg_ParseTuple(args
,"si:wxNotebook_SetSelection",&_argc0
,&_arg1
))
3032 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxNotebook_p")) {
3033 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_SetSelection. Expected _wxNotebook_p.");
3038 wxPy_BEGIN_ALLOW_THREADS
;
3039 _result
= (int )wxNotebook_SetSelection(_arg0
,_arg1
);
3041 wxPy_END_ALLOW_THREADS
;
3042 } _resultobj
= Py_BuildValue("i",_result
);
3046 #define wxNotebook_AdvanceSelection(_swigobj,_swigarg0) (_swigobj->AdvanceSelection(_swigarg0))
3047 static PyObject
*_wrap_wxNotebook_AdvanceSelection(PyObject
*self
, PyObject
*args
) {
3048 PyObject
* _resultobj
;
3055 if(!PyArg_ParseTuple(args
,"s|i:wxNotebook_AdvanceSelection",&_argc0
,&tempbool1
))
3058 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxNotebook_p")) {
3059 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_AdvanceSelection. Expected _wxNotebook_p.");
3063 _arg1
= (bool ) tempbool1
;
3065 wxPy_BEGIN_ALLOW_THREADS
;
3066 wxNotebook_AdvanceSelection(_arg0
,_arg1
);
3068 wxPy_END_ALLOW_THREADS
;
3069 } Py_INCREF(Py_None
);
3070 _resultobj
= Py_None
;
3074 #define wxNotebook_GetSelection(_swigobj) (_swigobj->GetSelection())
3075 static PyObject
*_wrap_wxNotebook_GetSelection(PyObject
*self
, PyObject
*args
) {
3076 PyObject
* _resultobj
;
3082 if(!PyArg_ParseTuple(args
,"s:wxNotebook_GetSelection",&_argc0
))
3085 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxNotebook_p")) {
3086 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_GetSelection. Expected _wxNotebook_p.");
3091 wxPy_BEGIN_ALLOW_THREADS
;
3092 _result
= (int )wxNotebook_GetSelection(_arg0
);
3094 wxPy_END_ALLOW_THREADS
;
3095 } _resultobj
= Py_BuildValue("i",_result
);
3099 #define wxNotebook_SetPageText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetPageText(_swigarg0,_swigarg1))
3100 static PyObject
*_wrap_wxNotebook_SetPageText(PyObject
*self
, PyObject
*args
) {
3101 PyObject
* _resultobj
;
3107 PyObject
* _obj2
= 0;
3110 if(!PyArg_ParseTuple(args
,"siO:wxNotebook_SetPageText",&_argc0
,&_arg1
,&_obj2
))
3113 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxNotebook_p")) {
3114 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_SetPageText. Expected _wxNotebook_p.");
3119 if (!PyString_Check(_obj2
)) {
3120 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3123 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
3126 wxPy_BEGIN_ALLOW_THREADS
;
3127 _result
= (bool )wxNotebook_SetPageText(_arg0
,_arg1
,*_arg2
);
3129 wxPy_END_ALLOW_THREADS
;
3130 } _resultobj
= Py_BuildValue("i",_result
);
3138 #define wxNotebook_GetPageText(_swigobj,_swigarg0) (_swigobj->GetPageText(_swigarg0))
3139 static PyObject
*_wrap_wxNotebook_GetPageText(PyObject
*self
, PyObject
*args
) {
3140 PyObject
* _resultobj
;
3147 if(!PyArg_ParseTuple(args
,"si:wxNotebook_GetPageText",&_argc0
,&_arg1
))
3150 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxNotebook_p")) {
3151 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_GetPageText. Expected _wxNotebook_p.");
3156 wxPy_BEGIN_ALLOW_THREADS
;
3157 _result
= new wxString (wxNotebook_GetPageText(_arg0
,_arg1
));
3159 wxPy_END_ALLOW_THREADS
;
3161 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
3169 #define wxNotebook_SetImageList(_swigobj,_swigarg0) (_swigobj->SetImageList(_swigarg0))
3170 static PyObject
*_wrap_wxNotebook_SetImageList(PyObject
*self
, PyObject
*args
) {
3171 PyObject
* _resultobj
;
3173 wxImageList
* _arg1
;
3178 if(!PyArg_ParseTuple(args
,"ss:wxNotebook_SetImageList",&_argc0
,&_argc1
))
3181 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxNotebook_p")) {
3182 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_SetImageList. Expected _wxNotebook_p.");
3187 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxImageList_p")) {
3188 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxNotebook_SetImageList. Expected _wxImageList_p.");
3193 wxPy_BEGIN_ALLOW_THREADS
;
3194 wxNotebook_SetImageList(_arg0
,_arg1
);
3196 wxPy_END_ALLOW_THREADS
;
3197 } Py_INCREF(Py_None
);
3198 _resultobj
= Py_None
;
3202 #define wxNotebook_GetImageList(_swigobj) (_swigobj->GetImageList())
3203 static PyObject
*_wrap_wxNotebook_GetImageList(PyObject
*self
, PyObject
*args
) {
3204 PyObject
* _resultobj
;
3205 wxImageList
* _result
;
3211 if(!PyArg_ParseTuple(args
,"s:wxNotebook_GetImageList",&_argc0
))
3214 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxNotebook_p")) {
3215 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_GetImageList. Expected _wxNotebook_p.");
3220 wxPy_BEGIN_ALLOW_THREADS
;
3221 _result
= (wxImageList
*)wxNotebook_GetImageList(_arg0
);
3223 wxPy_END_ALLOW_THREADS
;
3224 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxImageList_p");
3225 _resultobj
= Py_BuildValue("s",_ptemp
);
3229 #define wxNotebook_GetPageImage(_swigobj,_swigarg0) (_swigobj->GetPageImage(_swigarg0))
3230 static PyObject
*_wrap_wxNotebook_GetPageImage(PyObject
*self
, PyObject
*args
) {
3231 PyObject
* _resultobj
;
3238 if(!PyArg_ParseTuple(args
,"si:wxNotebook_GetPageImage",&_argc0
,&_arg1
))
3241 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxNotebook_p")) {
3242 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_GetPageImage. Expected _wxNotebook_p.");
3247 wxPy_BEGIN_ALLOW_THREADS
;
3248 _result
= (int )wxNotebook_GetPageImage(_arg0
,_arg1
);
3250 wxPy_END_ALLOW_THREADS
;
3251 } _resultobj
= Py_BuildValue("i",_result
);
3255 #define wxNotebook_SetPageImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetPageImage(_swigarg0,_swigarg1))
3256 static PyObject
*_wrap_wxNotebook_SetPageImage(PyObject
*self
, PyObject
*args
) {
3257 PyObject
* _resultobj
;
3265 if(!PyArg_ParseTuple(args
,"sii:wxNotebook_SetPageImage",&_argc0
,&_arg1
,&_arg2
))
3268 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxNotebook_p")) {
3269 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_SetPageImage. Expected _wxNotebook_p.");
3274 wxPy_BEGIN_ALLOW_THREADS
;
3275 _result
= (bool )wxNotebook_SetPageImage(_arg0
,_arg1
,_arg2
);
3277 wxPy_END_ALLOW_THREADS
;
3278 } _resultobj
= Py_BuildValue("i",_result
);
3282 #define wxNotebook_GetRowCount(_swigobj) (_swigobj->GetRowCount())
3283 static PyObject
*_wrap_wxNotebook_GetRowCount(PyObject
*self
, PyObject
*args
) {
3284 PyObject
* _resultobj
;
3290 if(!PyArg_ParseTuple(args
,"s:wxNotebook_GetRowCount",&_argc0
))
3293 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxNotebook_p")) {
3294 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_GetRowCount. Expected _wxNotebook_p.");
3299 wxPy_BEGIN_ALLOW_THREADS
;
3300 _result
= (int )wxNotebook_GetRowCount(_arg0
);
3302 wxPy_END_ALLOW_THREADS
;
3303 } _resultobj
= Py_BuildValue("i",_result
);
3307 #define wxNotebook_DeletePage(_swigobj,_swigarg0) (_swigobj->DeletePage(_swigarg0))
3308 static PyObject
*_wrap_wxNotebook_DeletePage(PyObject
*self
, PyObject
*args
) {
3309 PyObject
* _resultobj
;
3316 if(!PyArg_ParseTuple(args
,"si:wxNotebook_DeletePage",&_argc0
,&_arg1
))
3319 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxNotebook_p")) {
3320 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_DeletePage. Expected _wxNotebook_p.");
3325 wxPy_BEGIN_ALLOW_THREADS
;
3326 _result
= (bool )wxNotebook_DeletePage(_arg0
,_arg1
);
3328 wxPy_END_ALLOW_THREADS
;
3329 } _resultobj
= Py_BuildValue("i",_result
);
3333 #define wxNotebook_RemovePage(_swigobj,_swigarg0) (_swigobj->RemovePage(_swigarg0))
3334 static PyObject
*_wrap_wxNotebook_RemovePage(PyObject
*self
, PyObject
*args
) {
3335 PyObject
* _resultobj
;
3342 if(!PyArg_ParseTuple(args
,"si:wxNotebook_RemovePage",&_argc0
,&_arg1
))
3345 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxNotebook_p")) {
3346 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_RemovePage. Expected _wxNotebook_p.");
3351 wxPy_BEGIN_ALLOW_THREADS
;
3352 _result
= (bool )wxNotebook_RemovePage(_arg0
,_arg1
);
3354 wxPy_END_ALLOW_THREADS
;
3355 } _resultobj
= Py_BuildValue("i",_result
);
3359 #define wxNotebook_DeleteAllPages(_swigobj) (_swigobj->DeleteAllPages())
3360 static PyObject
*_wrap_wxNotebook_DeleteAllPages(PyObject
*self
, PyObject
*args
) {
3361 PyObject
* _resultobj
;
3367 if(!PyArg_ParseTuple(args
,"s:wxNotebook_DeleteAllPages",&_argc0
))
3370 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxNotebook_p")) {
3371 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_DeleteAllPages. Expected _wxNotebook_p.");
3376 wxPy_BEGIN_ALLOW_THREADS
;
3377 _result
= (bool )wxNotebook_DeleteAllPages(_arg0
);
3379 wxPy_END_ALLOW_THREADS
;
3380 } _resultobj
= Py_BuildValue("i",_result
);
3384 #define wxNotebook_AddPage(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->AddPage(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3385 static PyObject
*_wrap_wxNotebook_AddPage(PyObject
*self
, PyObject
*args
) {
3386 PyObject
* _resultobj
;
3395 PyObject
* _obj2
= 0;
3398 if(!PyArg_ParseTuple(args
,"ssO|ii:wxNotebook_AddPage",&_argc0
,&_argc1
,&_obj2
,&_arg3
,&_arg4
))
3401 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxNotebook_p")) {
3402 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_AddPage. Expected _wxNotebook_p.");
3407 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxWindow_p")) {
3408 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxNotebook_AddPage. Expected _wxWindow_p.");
3413 if (!PyString_Check(_obj2
)) {
3414 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3417 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
3420 wxPy_BEGIN_ALLOW_THREADS
;
3421 _result
= (bool )wxNotebook_AddPage(_arg0
,_arg1
,*_arg2
,_arg3
,_arg4
);
3423 wxPy_END_ALLOW_THREADS
;
3424 } _resultobj
= Py_BuildValue("i",_result
);
3432 #define wxNotebook_GetPage(_swigobj,_swigarg0) (_swigobj->GetPage(_swigarg0))
3433 static PyObject
*_wrap_wxNotebook_GetPage(PyObject
*self
, PyObject
*args
) {
3434 PyObject
* _resultobj
;
3435 wxNotebookPage
* _result
;
3442 if(!PyArg_ParseTuple(args
,"si:wxNotebook_GetPage",&_argc0
,&_arg1
))
3445 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxNotebook_p")) {
3446 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_GetPage. Expected _wxNotebook_p.");
3451 wxPy_BEGIN_ALLOW_THREADS
;
3452 _result
= (wxNotebookPage
*)wxNotebook_GetPage(_arg0
,_arg1
);
3454 wxPy_END_ALLOW_THREADS
;
3455 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxNotebookPage_p");
3456 _resultobj
= Py_BuildValue("s",_ptemp
);
3460 static void wxNotebook_ResizeChildren(wxNotebook
*self
) {
3461 wxSizeEvent
evt(self
->GetClientSize());
3464 static PyObject
*_wrap_wxNotebook_ResizeChildren(PyObject
*self
, PyObject
*args
) {
3465 PyObject
* _resultobj
;
3470 if(!PyArg_ParseTuple(args
,"s:wxNotebook_ResizeChildren",&_argc0
))
3473 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxNotebook_p")) {
3474 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_ResizeChildren. Expected _wxNotebook_p.");
3479 wxPy_BEGIN_ALLOW_THREADS
;
3480 wxNotebook_ResizeChildren(_arg0
);
3482 wxPy_END_ALLOW_THREADS
;
3483 } Py_INCREF(Py_None
);
3484 _resultobj
= Py_None
;
3488 static void *SwigwxSplitterWindowTowxWindow(void *ptr
) {
3489 wxSplitterWindow
*src
;
3491 src
= (wxSplitterWindow
*) ptr
;
3492 dest
= (wxWindow
*) src
;
3493 return (void *) dest
;
3496 static void *SwigwxSplitterWindowTowxEvtHandler(void *ptr
) {
3497 wxSplitterWindow
*src
;
3499 src
= (wxSplitterWindow
*) ptr
;
3500 dest
= (wxEvtHandler
*) src
;
3501 return (void *) dest
;
3504 #define new_wxSplitterWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxSplitterWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
3505 static PyObject
*_wrap_new_wxSplitterWindow(PyObject
*self
, PyObject
*args
) {
3506 PyObject
* _resultobj
;
3507 wxSplitterWindow
* _result
;
3510 wxPoint
* _arg2
= &wxPyDefaultPosition
;
3511 wxSize
* _arg3
= &wxPyDefaultSize
;
3512 long _arg4
= (wxSP_3D
)|(wxCLIP_CHILDREN
);
3513 char * _arg5
= "splitterWindow";
3520 if(!PyArg_ParseTuple(args
,"si|ssls:new_wxSplitterWindow",&_argc0
,&_arg1
,&_argc2
,&_argc3
,&_arg4
,&_arg5
))
3523 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
3524 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxSplitterWindow. Expected _wxWindow_p.");
3529 if (SWIG_GetPtr(_argc2
,(void **) &_arg2
,"_wxPoint_p")) {
3530 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxSplitterWindow. Expected _wxPoint_p.");
3535 if (SWIG_GetPtr(_argc3
,(void **) &_arg3
,"_wxSize_p")) {
3536 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of new_wxSplitterWindow. Expected _wxSize_p.");
3541 wxPy_BEGIN_ALLOW_THREADS
;
3542 _result
= (wxSplitterWindow
*)new_wxSplitterWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
3544 wxPy_END_ALLOW_THREADS
;
3545 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSplitterWindow_p");
3546 _resultobj
= Py_BuildValue("s",_ptemp
);
3550 #define wxSplitterWindow_GetBorderSize(_swigobj) (_swigobj->GetBorderSize())
3551 static PyObject
*_wrap_wxSplitterWindow_GetBorderSize(PyObject
*self
, PyObject
*args
) {
3552 PyObject
* _resultobj
;
3554 wxSplitterWindow
* _arg0
;
3558 if(!PyArg_ParseTuple(args
,"s:wxSplitterWindow_GetBorderSize",&_argc0
))
3561 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
3562 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetBorderSize. Expected _wxSplitterWindow_p.");
3567 wxPy_BEGIN_ALLOW_THREADS
;
3568 _result
= (int )wxSplitterWindow_GetBorderSize(_arg0
);
3570 wxPy_END_ALLOW_THREADS
;
3571 } _resultobj
= Py_BuildValue("i",_result
);
3575 #define wxSplitterWindow_GetMinimumPaneSize(_swigobj) (_swigobj->GetMinimumPaneSize())
3576 static PyObject
*_wrap_wxSplitterWindow_GetMinimumPaneSize(PyObject
*self
, PyObject
*args
) {
3577 PyObject
* _resultobj
;
3579 wxSplitterWindow
* _arg0
;
3583 if(!PyArg_ParseTuple(args
,"s:wxSplitterWindow_GetMinimumPaneSize",&_argc0
))
3586 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
3587 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetMinimumPaneSize. Expected _wxSplitterWindow_p.");
3592 wxPy_BEGIN_ALLOW_THREADS
;
3593 _result
= (int )wxSplitterWindow_GetMinimumPaneSize(_arg0
);
3595 wxPy_END_ALLOW_THREADS
;
3596 } _resultobj
= Py_BuildValue("i",_result
);
3600 #define wxSplitterWindow_GetSashPosition(_swigobj) (_swigobj->GetSashPosition())
3601 static PyObject
*_wrap_wxSplitterWindow_GetSashPosition(PyObject
*self
, PyObject
*args
) {
3602 PyObject
* _resultobj
;
3604 wxSplitterWindow
* _arg0
;
3608 if(!PyArg_ParseTuple(args
,"s:wxSplitterWindow_GetSashPosition",&_argc0
))
3611 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
3612 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetSashPosition. Expected _wxSplitterWindow_p.");
3617 wxPy_BEGIN_ALLOW_THREADS
;
3618 _result
= (int )wxSplitterWindow_GetSashPosition(_arg0
);
3620 wxPy_END_ALLOW_THREADS
;
3621 } _resultobj
= Py_BuildValue("i",_result
);
3625 #define wxSplitterWindow_GetSashSize(_swigobj) (_swigobj->GetSashSize())
3626 static PyObject
*_wrap_wxSplitterWindow_GetSashSize(PyObject
*self
, PyObject
*args
) {
3627 PyObject
* _resultobj
;
3629 wxSplitterWindow
* _arg0
;
3633 if(!PyArg_ParseTuple(args
,"s:wxSplitterWindow_GetSashSize",&_argc0
))
3636 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
3637 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetSashSize. Expected _wxSplitterWindow_p.");
3642 wxPy_BEGIN_ALLOW_THREADS
;
3643 _result
= (int )wxSplitterWindow_GetSashSize(_arg0
);
3645 wxPy_END_ALLOW_THREADS
;
3646 } _resultobj
= Py_BuildValue("i",_result
);
3650 #define wxSplitterWindow_GetSplitMode(_swigobj) (_swigobj->GetSplitMode())
3651 static PyObject
*_wrap_wxSplitterWindow_GetSplitMode(PyObject
*self
, PyObject
*args
) {
3652 PyObject
* _resultobj
;
3654 wxSplitterWindow
* _arg0
;
3658 if(!PyArg_ParseTuple(args
,"s:wxSplitterWindow_GetSplitMode",&_argc0
))
3661 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
3662 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetSplitMode. Expected _wxSplitterWindow_p.");
3667 wxPy_BEGIN_ALLOW_THREADS
;
3668 _result
= (int )wxSplitterWindow_GetSplitMode(_arg0
);
3670 wxPy_END_ALLOW_THREADS
;
3671 } _resultobj
= Py_BuildValue("i",_result
);
3675 #define wxSplitterWindow_GetWindow1(_swigobj) (_swigobj->GetWindow1())
3676 static PyObject
*_wrap_wxSplitterWindow_GetWindow1(PyObject
*self
, PyObject
*args
) {
3677 PyObject
* _resultobj
;
3679 wxSplitterWindow
* _arg0
;
3684 if(!PyArg_ParseTuple(args
,"s:wxSplitterWindow_GetWindow1",&_argc0
))
3687 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
3688 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetWindow1. Expected _wxSplitterWindow_p.");
3693 wxPy_BEGIN_ALLOW_THREADS
;
3694 _result
= (wxWindow
*)wxSplitterWindow_GetWindow1(_arg0
);
3696 wxPy_END_ALLOW_THREADS
;
3697 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
3698 _resultobj
= Py_BuildValue("s",_ptemp
);
3702 #define wxSplitterWindow_GetWindow2(_swigobj) (_swigobj->GetWindow2())
3703 static PyObject
*_wrap_wxSplitterWindow_GetWindow2(PyObject
*self
, PyObject
*args
) {
3704 PyObject
* _resultobj
;
3706 wxSplitterWindow
* _arg0
;
3711 if(!PyArg_ParseTuple(args
,"s:wxSplitterWindow_GetWindow2",&_argc0
))
3714 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
3715 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetWindow2. Expected _wxSplitterWindow_p.");
3720 wxPy_BEGIN_ALLOW_THREADS
;
3721 _result
= (wxWindow
*)wxSplitterWindow_GetWindow2(_arg0
);
3723 wxPy_END_ALLOW_THREADS
;
3724 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
3725 _resultobj
= Py_BuildValue("s",_ptemp
);
3729 #define wxSplitterWindow_Initialize(_swigobj,_swigarg0) (_swigobj->Initialize(_swigarg0))
3730 static PyObject
*_wrap_wxSplitterWindow_Initialize(PyObject
*self
, PyObject
*args
) {
3731 PyObject
* _resultobj
;
3732 wxSplitterWindow
* _arg0
;
3738 if(!PyArg_ParseTuple(args
,"ss:wxSplitterWindow_Initialize",&_argc0
,&_argc1
))
3741 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
3742 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_Initialize. Expected _wxSplitterWindow_p.");
3747 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxWindow_p")) {
3748 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSplitterWindow_Initialize. Expected _wxWindow_p.");
3753 wxPy_BEGIN_ALLOW_THREADS
;
3754 wxSplitterWindow_Initialize(_arg0
,_arg1
);
3756 wxPy_END_ALLOW_THREADS
;
3757 } Py_INCREF(Py_None
);
3758 _resultobj
= Py_None
;
3762 #define wxSplitterWindow_IsSplit(_swigobj) (_swigobj->IsSplit())
3763 static PyObject
*_wrap_wxSplitterWindow_IsSplit(PyObject
*self
, PyObject
*args
) {
3764 PyObject
* _resultobj
;
3766 wxSplitterWindow
* _arg0
;
3770 if(!PyArg_ParseTuple(args
,"s:wxSplitterWindow_IsSplit",&_argc0
))
3773 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
3774 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_IsSplit. Expected _wxSplitterWindow_p.");
3779 wxPy_BEGIN_ALLOW_THREADS
;
3780 _result
= (bool )wxSplitterWindow_IsSplit(_arg0
);
3782 wxPy_END_ALLOW_THREADS
;
3783 } _resultobj
= Py_BuildValue("i",_result
);
3787 #define wxSplitterWindow_SetBorderSize(_swigobj,_swigarg0) (_swigobj->SetBorderSize(_swigarg0))
3788 static PyObject
*_wrap_wxSplitterWindow_SetBorderSize(PyObject
*self
, PyObject
*args
) {
3789 PyObject
* _resultobj
;
3790 wxSplitterWindow
* _arg0
;
3795 if(!PyArg_ParseTuple(args
,"si:wxSplitterWindow_SetBorderSize",&_argc0
,&_arg1
))
3798 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
3799 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SetBorderSize. Expected _wxSplitterWindow_p.");
3804 wxPy_BEGIN_ALLOW_THREADS
;
3805 wxSplitterWindow_SetBorderSize(_arg0
,_arg1
);
3807 wxPy_END_ALLOW_THREADS
;
3808 } Py_INCREF(Py_None
);
3809 _resultobj
= Py_None
;
3813 #define wxSplitterWindow_SetSashPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSashPosition(_swigarg0,_swigarg1))
3814 static PyObject
*_wrap_wxSplitterWindow_SetSashPosition(PyObject
*self
, PyObject
*args
) {
3815 PyObject
* _resultobj
;
3816 wxSplitterWindow
* _arg0
;
3822 if(!PyArg_ParseTuple(args
,"si|i:wxSplitterWindow_SetSashPosition",&_argc0
,&_arg1
,&_arg2
))
3825 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
3826 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SetSashPosition. Expected _wxSplitterWindow_p.");
3831 wxPy_BEGIN_ALLOW_THREADS
;
3832 wxSplitterWindow_SetSashPosition(_arg0
,_arg1
,_arg2
);
3834 wxPy_END_ALLOW_THREADS
;
3835 } Py_INCREF(Py_None
);
3836 _resultobj
= Py_None
;
3840 #define wxSplitterWindow_SetSashSize(_swigobj,_swigarg0) (_swigobj->SetSashSize(_swigarg0))
3841 static PyObject
*_wrap_wxSplitterWindow_SetSashSize(PyObject
*self
, PyObject
*args
) {
3842 PyObject
* _resultobj
;
3843 wxSplitterWindow
* _arg0
;
3848 if(!PyArg_ParseTuple(args
,"si:wxSplitterWindow_SetSashSize",&_argc0
,&_arg1
))
3851 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
3852 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SetSashSize. Expected _wxSplitterWindow_p.");
3857 wxPy_BEGIN_ALLOW_THREADS
;
3858 wxSplitterWindow_SetSashSize(_arg0
,_arg1
);
3860 wxPy_END_ALLOW_THREADS
;
3861 } Py_INCREF(Py_None
);
3862 _resultobj
= Py_None
;
3866 #define wxSplitterWindow_SetMinimumPaneSize(_swigobj,_swigarg0) (_swigobj->SetMinimumPaneSize(_swigarg0))
3867 static PyObject
*_wrap_wxSplitterWindow_SetMinimumPaneSize(PyObject
*self
, PyObject
*args
) {
3868 PyObject
* _resultobj
;
3869 wxSplitterWindow
* _arg0
;
3874 if(!PyArg_ParseTuple(args
,"si:wxSplitterWindow_SetMinimumPaneSize",&_argc0
,&_arg1
))
3877 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
3878 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SetMinimumPaneSize. Expected _wxSplitterWindow_p.");
3883 wxPy_BEGIN_ALLOW_THREADS
;
3884 wxSplitterWindow_SetMinimumPaneSize(_arg0
,_arg1
);
3886 wxPy_END_ALLOW_THREADS
;
3887 } Py_INCREF(Py_None
);
3888 _resultobj
= Py_None
;
3892 #define wxSplitterWindow_SetSplitMode(_swigobj,_swigarg0) (_swigobj->SetSplitMode(_swigarg0))
3893 static PyObject
*_wrap_wxSplitterWindow_SetSplitMode(PyObject
*self
, PyObject
*args
) {
3894 PyObject
* _resultobj
;
3895 wxSplitterWindow
* _arg0
;
3900 if(!PyArg_ParseTuple(args
,"si:wxSplitterWindow_SetSplitMode",&_argc0
,&_arg1
))
3903 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
3904 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SetSplitMode. Expected _wxSplitterWindow_p.");
3909 wxPy_BEGIN_ALLOW_THREADS
;
3910 wxSplitterWindow_SetSplitMode(_arg0
,_arg1
);
3912 wxPy_END_ALLOW_THREADS
;
3913 } Py_INCREF(Py_None
);
3914 _resultobj
= Py_None
;
3918 #define wxSplitterWindow_SplitHorizontally(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SplitHorizontally(_swigarg0,_swigarg1,_swigarg2))
3919 static PyObject
*_wrap_wxSplitterWindow_SplitHorizontally(PyObject
*self
, PyObject
*args
) {
3920 PyObject
* _resultobj
;
3922 wxSplitterWindow
* _arg0
;
3931 if(!PyArg_ParseTuple(args
,"sss|i:wxSplitterWindow_SplitHorizontally",&_argc0
,&_argc1
,&_argc2
,&_arg3
))
3934 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
3935 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SplitHorizontally. Expected _wxSplitterWindow_p.");
3940 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxWindow_p")) {
3941 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSplitterWindow_SplitHorizontally. Expected _wxWindow_p.");
3946 if (SWIG_GetPtr(_argc2
,(void **) &_arg2
,"_wxWindow_p")) {
3947 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxSplitterWindow_SplitHorizontally. Expected _wxWindow_p.");
3952 wxPy_BEGIN_ALLOW_THREADS
;
3953 _result
= (bool )wxSplitterWindow_SplitHorizontally(_arg0
,_arg1
,_arg2
,_arg3
);
3955 wxPy_END_ALLOW_THREADS
;
3956 } _resultobj
= Py_BuildValue("i",_result
);
3960 #define wxSplitterWindow_SplitVertically(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SplitVertically(_swigarg0,_swigarg1,_swigarg2))
3961 static PyObject
*_wrap_wxSplitterWindow_SplitVertically(PyObject
*self
, PyObject
*args
) {
3962 PyObject
* _resultobj
;
3964 wxSplitterWindow
* _arg0
;
3973 if(!PyArg_ParseTuple(args
,"sss|i:wxSplitterWindow_SplitVertically",&_argc0
,&_argc1
,&_argc2
,&_arg3
))
3976 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
3977 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SplitVertically. Expected _wxSplitterWindow_p.");
3982 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxWindow_p")) {
3983 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSplitterWindow_SplitVertically. Expected _wxWindow_p.");
3988 if (SWIG_GetPtr(_argc2
,(void **) &_arg2
,"_wxWindow_p")) {
3989 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxSplitterWindow_SplitVertically. Expected _wxWindow_p.");
3994 wxPy_BEGIN_ALLOW_THREADS
;
3995 _result
= (bool )wxSplitterWindow_SplitVertically(_arg0
,_arg1
,_arg2
,_arg3
);
3997 wxPy_END_ALLOW_THREADS
;
3998 } _resultobj
= Py_BuildValue("i",_result
);
4002 #define wxSplitterWindow_Unsplit(_swigobj,_swigarg0) (_swigobj->Unsplit(_swigarg0))
4003 static PyObject
*_wrap_wxSplitterWindow_Unsplit(PyObject
*self
, PyObject
*args
) {
4004 PyObject
* _resultobj
;
4006 wxSplitterWindow
* _arg0
;
4007 wxWindow
* _arg1
= NULL
;
4012 if(!PyArg_ParseTuple(args
,"s|s:wxSplitterWindow_Unsplit",&_argc0
,&_argc1
))
4015 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
4016 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_Unsplit. Expected _wxSplitterWindow_p.");
4021 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxWindow_p")) {
4022 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSplitterWindow_Unsplit. Expected _wxWindow_p.");
4027 wxPy_BEGIN_ALLOW_THREADS
;
4028 _result
= (bool )wxSplitterWindow_Unsplit(_arg0
,_arg1
);
4030 wxPy_END_ALLOW_THREADS
;
4031 } _resultobj
= Py_BuildValue("i",_result
);
4035 static PyMethodDef windows2cMethods
[] = {
4036 { "wxSplitterWindow_Unsplit", _wrap_wxSplitterWindow_Unsplit
, 1 },
4037 { "wxSplitterWindow_SplitVertically", _wrap_wxSplitterWindow_SplitVertically
, 1 },
4038 { "wxSplitterWindow_SplitHorizontally", _wrap_wxSplitterWindow_SplitHorizontally
, 1 },
4039 { "wxSplitterWindow_SetSplitMode", _wrap_wxSplitterWindow_SetSplitMode
, 1 },
4040 { "wxSplitterWindow_SetMinimumPaneSize", _wrap_wxSplitterWindow_SetMinimumPaneSize
, 1 },
4041 { "wxSplitterWindow_SetSashSize", _wrap_wxSplitterWindow_SetSashSize
, 1 },
4042 { "wxSplitterWindow_SetSashPosition", _wrap_wxSplitterWindow_SetSashPosition
, 1 },
4043 { "wxSplitterWindow_SetBorderSize", _wrap_wxSplitterWindow_SetBorderSize
, 1 },
4044 { "wxSplitterWindow_IsSplit", _wrap_wxSplitterWindow_IsSplit
, 1 },
4045 { "wxSplitterWindow_Initialize", _wrap_wxSplitterWindow_Initialize
, 1 },
4046 { "wxSplitterWindow_GetWindow2", _wrap_wxSplitterWindow_GetWindow2
, 1 },
4047 { "wxSplitterWindow_GetWindow1", _wrap_wxSplitterWindow_GetWindow1
, 1 },
4048 { "wxSplitterWindow_GetSplitMode", _wrap_wxSplitterWindow_GetSplitMode
, 1 },
4049 { "wxSplitterWindow_GetSashSize", _wrap_wxSplitterWindow_GetSashSize
, 1 },
4050 { "wxSplitterWindow_GetSashPosition", _wrap_wxSplitterWindow_GetSashPosition
, 1 },
4051 { "wxSplitterWindow_GetMinimumPaneSize", _wrap_wxSplitterWindow_GetMinimumPaneSize
, 1 },
4052 { "wxSplitterWindow_GetBorderSize", _wrap_wxSplitterWindow_GetBorderSize
, 1 },
4053 { "new_wxSplitterWindow", _wrap_new_wxSplitterWindow
, 1 },
4054 { "wxNotebook_ResizeChildren", _wrap_wxNotebook_ResizeChildren
, 1 },
4055 { "wxNotebook_GetPage", _wrap_wxNotebook_GetPage
, 1 },
4056 { "wxNotebook_AddPage", _wrap_wxNotebook_AddPage
, 1 },
4057 { "wxNotebook_DeleteAllPages", _wrap_wxNotebook_DeleteAllPages
, 1 },
4058 { "wxNotebook_RemovePage", _wrap_wxNotebook_RemovePage
, 1 },
4059 { "wxNotebook_DeletePage", _wrap_wxNotebook_DeletePage
, 1 },
4060 { "wxNotebook_GetRowCount", _wrap_wxNotebook_GetRowCount
, 1 },
4061 { "wxNotebook_SetPageImage", _wrap_wxNotebook_SetPageImage
, 1 },
4062 { "wxNotebook_GetPageImage", _wrap_wxNotebook_GetPageImage
, 1 },
4063 { "wxNotebook_GetImageList", _wrap_wxNotebook_GetImageList
, 1 },
4064 { "wxNotebook_SetImageList", _wrap_wxNotebook_SetImageList
, 1 },
4065 { "wxNotebook_GetPageText", _wrap_wxNotebook_GetPageText
, 1 },
4066 { "wxNotebook_SetPageText", _wrap_wxNotebook_SetPageText
, 1 },
4067 { "wxNotebook_GetSelection", _wrap_wxNotebook_GetSelection
, 1 },
4068 { "wxNotebook_AdvanceSelection", _wrap_wxNotebook_AdvanceSelection
, 1 },
4069 { "wxNotebook_SetSelection", _wrap_wxNotebook_SetSelection
, 1 },
4070 { "wxNotebook_GetPageCount", _wrap_wxNotebook_GetPageCount
, 1 },
4071 { "new_wxNotebook", _wrap_new_wxNotebook
, 1 },
4072 { "wxNotebookEvent_GetOldSelection", _wrap_wxNotebookEvent_GetOldSelection
, 1 },
4073 { "wxNotebookEvent_GetSelection", _wrap_wxNotebookEvent_GetSelection
, 1 },
4074 { "wxGridEvent_m_cell_get", _wrap_wxGridEvent_m_cell_get
, 1 },
4075 { "wxGridEvent_m_cell_set", _wrap_wxGridEvent_m_cell_set
, 1 },
4076 { "wxGridEvent_m_shift_get", _wrap_wxGridEvent_m_shift_get
, 1 },
4077 { "wxGridEvent_m_shift_set", _wrap_wxGridEvent_m_shift_set
, 1 },
4078 { "wxGridEvent_m_control_get", _wrap_wxGridEvent_m_control_get
, 1 },
4079 { "wxGridEvent_m_control_set", _wrap_wxGridEvent_m_control_set
, 1 },
4080 { "wxGridEvent_m_y_get", _wrap_wxGridEvent_m_y_get
, 1 },
4081 { "wxGridEvent_m_y_set", _wrap_wxGridEvent_m_y_set
, 1 },
4082 { "wxGridEvent_m_x_get", _wrap_wxGridEvent_m_x_get
, 1 },
4083 { "wxGridEvent_m_x_set", _wrap_wxGridEvent_m_x_set
, 1 },
4084 { "wxGridEvent_m_col_get", _wrap_wxGridEvent_m_col_get
, 1 },
4085 { "wxGridEvent_m_col_set", _wrap_wxGridEvent_m_col_set
, 1 },
4086 { "wxGridEvent_m_row_get", _wrap_wxGridEvent_m_row_get
, 1 },
4087 { "wxGridEvent_m_row_set", _wrap_wxGridEvent_m_row_set
, 1 },
4088 { "wxGrid_UpdateDimensions", _wrap_wxGrid_UpdateDimensions
, 1 },
4089 { "wxGrid_SetRowHeight", _wrap_wxGrid_SetRowHeight
, 1 },
4090 { "wxGrid_SetLabelValue", _wrap_wxGrid_SetLabelValue
, 1 },
4091 { "wxGrid_SetLabelTextFont", _wrap_wxGrid_SetLabelTextFont
, 1 },
4092 { "wxGrid_SetLabelTextColour", _wrap_wxGrid_SetLabelTextColour
, 1 },
4093 { "wxGrid_SetLabelSize", _wrap_wxGrid_SetLabelSize
, 1 },
4094 { "wxGrid_SetLabelBackgroundColour", _wrap_wxGrid_SetLabelBackgroundColour
, 1 },
4095 { "wxGrid_SetLabelAlignment", _wrap_wxGrid_SetLabelAlignment
, 1 },
4096 { "wxGrid_SetGridCursor", _wrap_wxGrid_SetGridCursor
, 1 },
4097 { "wxGrid_SetEditable", _wrap_wxGrid_SetEditable
, 1 },
4098 { "wxGrid_SetDividerPen", _wrap_wxGrid_SetDividerPen
, 1 },
4099 { "wxGrid_SetColumnWidth", _wrap_wxGrid_SetColumnWidth
, 1 },
4100 { "wxGrid_SetCellValue", _wrap_wxGrid_SetCellValue
, 1 },
4101 { "wxGrid_SetDefCellTextFont", _wrap_wxGrid_SetDefCellTextFont
, 1 },
4102 { "wxGrid_SetCellTextFont", _wrap_wxGrid_SetCellTextFont
, 1 },
4103 { "wxGrid_SetDefCellTextColour", _wrap_wxGrid_SetDefCellTextColour
, 1 },
4104 { "wxGrid_SetCellTextColour", _wrap_wxGrid_SetCellTextColour
, 1 },
4105 { "wxGrid_SetDefCellBackgroundColour", _wrap_wxGrid_SetDefCellBackgroundColour
, 1 },
4106 { "wxGrid_SetCellBackgroundColour", _wrap_wxGrid_SetCellBackgroundColour
, 1 },
4107 { "wxGrid_SetDefCellAlignment", _wrap_wxGrid_SetDefCellAlignment
, 1 },
4108 { "wxGrid_SetCellAlignment", _wrap_wxGrid_SetCellAlignment
, 1 },
4109 { "wxGrid_OnActivate", _wrap_wxGrid_OnActivate
, 1 },
4110 { "wxGrid_InsertRows", _wrap_wxGrid_InsertRows
, 1 },
4111 { "wxGrid_InsertCols", _wrap_wxGrid_InsertCols
, 1 },
4112 { "wxGrid_GetVertScrollBar", _wrap_wxGrid_GetVertScrollBar
, 1 },
4113 { "wxGrid_GetTextItem", _wrap_wxGrid_GetTextItem
, 1 },
4114 { "wxGrid_GetScrollPosY", _wrap_wxGrid_GetScrollPosY
, 1 },
4115 { "wxGrid_GetScrollPosX", _wrap_wxGrid_GetScrollPosX
, 1 },
4116 { "wxGrid_GetRows", _wrap_wxGrid_GetRows
, 1 },
4117 { "wxGrid_GetRowHeight", _wrap_wxGrid_GetRowHeight
, 1 },
4118 { "wxGrid_GetLabelValue", _wrap_wxGrid_GetLabelValue
, 1 },
4119 { "wxGrid_GetLabelTextFont", _wrap_wxGrid_GetLabelTextFont
, 1 },
4120 { "wxGrid_GetLabelTextColour", _wrap_wxGrid_GetLabelTextColour
, 1 },
4121 { "wxGrid_GetLabelSize", _wrap_wxGrid_GetLabelSize
, 1 },
4122 { "wxGrid_GetLabelBackgroundColour", _wrap_wxGrid_GetLabelBackgroundColour
, 1 },
4123 { "wxGrid_GetLabelAlignment", _wrap_wxGrid_GetLabelAlignment
, 1 },
4124 { "wxGrid_GetHorizScrollBar", _wrap_wxGrid_GetHorizScrollBar
, 1 },
4125 { "wxGrid_GetEditable", _wrap_wxGrid_GetEditable
, 1 },
4126 { "wxGrid_GetCursorRow", _wrap_wxGrid_GetCursorRow
, 1 },
4127 { "wxGrid_GetCursorColumn", _wrap_wxGrid_GetCursorColumn
, 1 },
4128 { "wxGrid_GetCurrentRect", _wrap_wxGrid_GetCurrentRect
, 1 },
4129 { "wxGrid_GetColumnWidth", _wrap_wxGrid_GetColumnWidth
, 1 },
4130 { "wxGrid_GetCols", _wrap_wxGrid_GetCols
, 1 },
4131 { "wxGrid_GetCellValue", _wrap_wxGrid_GetCellValue
, 1 },
4132 { "wxGrid_GetDefCellTextFont", _wrap_wxGrid_GetDefCellTextFont
, 1 },
4133 { "wxGrid_GetCellTextFont", _wrap_wxGrid_GetCellTextFont
, 1 },
4134 { "wxGrid_GetDefCellTextColour", _wrap_wxGrid_GetDefCellTextColour
, 1 },
4135 { "wxGrid_GetCellTextColour", _wrap_wxGrid_GetCellTextColour
, 1 },
4136 { "wxGrid_GetDefCellBackgroundColour", _wrap_wxGrid_GetDefCellBackgroundColour
, 1 },
4137 { "wxGrid_GetCellBackgroundColour", _wrap_wxGrid_GetCellBackgroundColour
, 1 },
4138 { "wxGrid_GetDefCellAlignment", _wrap_wxGrid_GetDefCellAlignment
, 1 },
4139 { "wxGrid_GetCellAlignment", _wrap_wxGrid_GetCellAlignment
, 1 },
4140 { "wxGrid_GetCell", _wrap_wxGrid_GetCell
, 1 },
4141 { "wxGrid_GetBatchCount", _wrap_wxGrid_GetBatchCount
, 1 },
4142 { "wxGrid_EndBatch", _wrap_wxGrid_EndBatch
, 1 },
4143 { "wxGrid_DeleteRows", _wrap_wxGrid_DeleteRows
, 1 },
4144 { "wxGrid_DeleteCols", _wrap_wxGrid_DeleteCols
, 1 },
4145 { "wxGrid_CurrentCellVisible", _wrap_wxGrid_CurrentCellVisible
, 1 },
4146 { "wxGrid_CreateGrid", _wrap_wxGrid_CreateGrid
, 1 },
4147 { "wxGrid_CellHitTest", _wrap_wxGrid_CellHitTest
, 1 },
4148 { "wxGrid_BeginBatch", _wrap_wxGrid_BeginBatch
, 1 },
4149 { "wxGrid_AppendRows", _wrap_wxGrid_AppendRows
, 1 },
4150 { "wxGrid_AppendCols", _wrap_wxGrid_AppendCols
, 1 },
4151 { "wxGrid_AdjustScrollbars", _wrap_wxGrid_AdjustScrollbars
, 1 },
4152 { "new_wxGrid", _wrap_new_wxGrid
, 1 },
4153 { "wxGridCell_SetCellBitmap", _wrap_wxGridCell_SetCellBitmap
, 1 },
4154 { "wxGridCell_GetCellBitmap", _wrap_wxGridCell_GetCellBitmap
, 1 },
4155 { "wxGridCell_SetAlignment", _wrap_wxGridCell_SetAlignment
, 1 },
4156 { "wxGridCell_GetAlignment", _wrap_wxGridCell_GetAlignment
, 1 },
4157 { "wxGridCell_GetBackgroundBrush", _wrap_wxGridCell_GetBackgroundBrush
, 1 },
4158 { "wxGridCell_SetBackgroundColour", _wrap_wxGridCell_SetBackgroundColour
, 1 },
4159 { "wxGridCell_GetBackgroundColour", _wrap_wxGridCell_GetBackgroundColour
, 1 },
4160 { "wxGridCell_SetTextColour", _wrap_wxGridCell_SetTextColour
, 1 },
4161 { "wxGridCell_GetTextColour", _wrap_wxGridCell_GetTextColour
, 1 },
4162 { "wxGridCell_SetFont", _wrap_wxGridCell_SetFont
, 1 },
4163 { "wxGridCell_GetFont", _wrap_wxGridCell_GetFont
, 1 },
4164 { "wxGridCell_SetTextValue", _wrap_wxGridCell_SetTextValue
, 1 },
4165 { "wxGridCell_GetTextValue", _wrap_wxGridCell_GetTextValue
, 1 },
4166 { "delete_wxGridCell", _wrap_delete_wxGridCell
, 1 },
4167 { "new_wxGridCell", _wrap_new_wxGridCell
, 1 },
4170 static PyObject
*SWIG_globals
;
4174 SWIGEXPORT(void,initwindows2c
)() {
4176 SWIG_globals
= SWIG_newvarlink();
4177 m
= Py_InitModule("windows2c", windows2cMethods
);
4178 d
= PyModule_GetDict(m
);
4179 PyDict_SetItemString(d
,"wxGRID_TEXT_CTRL", PyInt_FromLong((long) wxGRID_TEXT_CTRL
));
4180 PyDict_SetItemString(d
,"wxGRID_HSCROLL", PyInt_FromLong((long) wxGRID_HSCROLL
));
4181 PyDict_SetItemString(d
,"wxGRID_VSCROLL", PyInt_FromLong((long) wxGRID_VSCROLL
));
4182 PyDict_SetItemString(d
,"wxEVT_GRID_SELECT_CELL", PyInt_FromLong((long) wxEVT_GRID_SELECT_CELL
));
4183 PyDict_SetItemString(d
,"wxEVT_GRID_CREATE_CELL", PyInt_FromLong((long) wxEVT_GRID_CREATE_CELL
));
4184 PyDict_SetItemString(d
,"wxEVT_GRID_CHANGE_LABELS", PyInt_FromLong((long) wxEVT_GRID_CHANGE_LABELS
));
4185 PyDict_SetItemString(d
,"wxEVT_GRID_CHANGE_SEL_LABEL", PyInt_FromLong((long) wxEVT_GRID_CHANGE_SEL_LABEL
));
4186 PyDict_SetItemString(d
,"wxEVT_GRID_CELL_CHANGE", PyInt_FromLong((long) wxEVT_GRID_CELL_CHANGE
));
4187 PyDict_SetItemString(d
,"wxEVT_GRID_CELL_LCLICK", PyInt_FromLong((long) wxEVT_GRID_CELL_LCLICK
));
4188 PyDict_SetItemString(d
,"wxEVT_GRID_CELL_RCLICK", PyInt_FromLong((long) wxEVT_GRID_CELL_RCLICK
));
4189 PyDict_SetItemString(d
,"wxEVT_GRID_LABEL_LCLICK", PyInt_FromLong((long) wxEVT_GRID_LABEL_LCLICK
));
4190 PyDict_SetItemString(d
,"wxEVT_GRID_LABEL_RCLICK", PyInt_FromLong((long) wxEVT_GRID_LABEL_RCLICK
));
4192 * These are the pointer type-equivalency mappings.
4193 * (Used by the SWIG pointer type-checker).
4195 SWIG_RegisterMapping("_wxAcceleratorTable","_class_wxAcceleratorTable",0);
4196 SWIG_RegisterMapping("_wxEvent","_class_wxNotebookEvent",SwigwxNotebookEventTowxEvent
);
4197 SWIG_RegisterMapping("_wxEvent","_wxNotebookEvent",SwigwxNotebookEventTowxEvent
);
4198 SWIG_RegisterMapping("_wxEvent","_class_wxGridEvent",SwigwxGridEventTowxEvent
);
4199 SWIG_RegisterMapping("_wxEvent","_wxGridEvent",SwigwxGridEventTowxEvent
);
4200 SWIG_RegisterMapping("_wxEvent","_class_wxEvent",0);
4201 SWIG_RegisterMapping("_class_wxActivateEvent","_wxActivateEvent",0);
4202 SWIG_RegisterMapping("_signed_long","_long",0);
4203 SWIG_RegisterMapping("_wxMenuEvent","_class_wxMenuEvent",0);
4204 SWIG_RegisterMapping("_class_wxRegionIterator","_wxRegionIterator",0);
4205 SWIG_RegisterMapping("_class_wxMenuBar","_wxMenuBar",0);
4206 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxSplitterWindow",SwigwxSplitterWindowTowxEvtHandler
);
4207 SWIG_RegisterMapping("_class_wxEvtHandler","_wxSplitterWindow",SwigwxSplitterWindowTowxEvtHandler
);
4208 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxNotebook",SwigwxNotebookTowxEvtHandler
);
4209 SWIG_RegisterMapping("_class_wxEvtHandler","_wxNotebook",SwigwxNotebookTowxEvtHandler
);
4210 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxGrid",SwigwxGridTowxEvtHandler
);
4211 SWIG_RegisterMapping("_class_wxEvtHandler","_wxGrid",SwigwxGridTowxEvtHandler
);
4212 SWIG_RegisterMapping("_class_wxEvtHandler","_wxEvtHandler",0);
4213 SWIG_RegisterMapping("_wxPaintEvent","_class_wxPaintEvent",0);
4214 SWIG_RegisterMapping("_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0);
4215 SWIG_RegisterMapping("_wxCursor","_class_wxCursor",0);
4216 SWIG_RegisterMapping("_wxToolTip","_class_wxToolTip",0);
4217 SWIG_RegisterMapping("_wxMask","_class_wxMask",0);
4218 SWIG_RegisterMapping("_wxGrid","_class_wxGrid",0);
4219 SWIG_RegisterMapping("_wxPyMenu","_class_wxPyMenu",0);
4220 SWIG_RegisterMapping("_wxPen","_class_wxPen",0);
4221 SWIG_RegisterMapping("_wxUpdateUIEvent","_class_wxUpdateUIEvent",0);
4222 SWIG_RegisterMapping("_byte","_unsigned_char",0);
4223 SWIG_RegisterMapping("_wxStaticBox","_class_wxStaticBox",0);
4224 SWIG_RegisterMapping("_wxChoice","_class_wxChoice",0);
4225 SWIG_RegisterMapping("_wxSlider","_class_wxSlider",0);
4226 SWIG_RegisterMapping("_wxNotebookEvent","_class_wxNotebookEvent",0);
4227 SWIG_RegisterMapping("_long","_wxDash",0);
4228 SWIG_RegisterMapping("_long","_unsigned_long",0);
4229 SWIG_RegisterMapping("_long","_signed_long",0);
4230 SWIG_RegisterMapping("_wxImageList","_class_wxImageList",0);
4231 SWIG_RegisterMapping("_wxDropFilesEvent","_class_wxDropFilesEvent",0);
4232 SWIG_RegisterMapping("_wxBitmapButton","_class_wxBitmapButton",0);
4233 SWIG_RegisterMapping("_class_wxAcceleratorTable","_wxAcceleratorTable",0);
4234 SWIG_RegisterMapping("_class_wxGauge","_wxGauge",0);
4235 SWIG_RegisterMapping("_wxDC","_class_wxDC",0);
4236 SWIG_RegisterMapping("_wxSpinEvent","_class_wxSpinEvent",0);
4237 SWIG_RegisterMapping("_class_wxRealPoint","_wxRealPoint",0);
4238 SWIG_RegisterMapping("_class_wxMenuItem","_wxMenuItem",0);
4239 SWIG_RegisterMapping("_class_wxPaintEvent","_wxPaintEvent",0);
4240 SWIG_RegisterMapping("_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0);
4241 SWIG_RegisterMapping("_class_wxPostScriptDC","_wxPostScriptDC",0);
4242 SWIG_RegisterMapping("_wxPanel","_class_wxGrid",SwigwxGridTowxPanel
);
4243 SWIG_RegisterMapping("_wxPanel","_wxGrid",SwigwxGridTowxPanel
);
4244 SWIG_RegisterMapping("_wxPanel","_class_wxPanel",0);
4245 SWIG_RegisterMapping("_wxInitDialogEvent","_class_wxInitDialogEvent",0);
4246 SWIG_RegisterMapping("_wxCheckBox","_class_wxCheckBox",0);
4247 SWIG_RegisterMapping("_wxPyEvent","_class_wxPyEvent",0);
4248 SWIG_RegisterMapping("_wxTextCtrl","_class_wxTextCtrl",0);
4249 SWIG_RegisterMapping("_class_wxToolTip","_wxToolTip",0);
4250 SWIG_RegisterMapping("_class_wxMask","_wxMask",0);
4251 SWIG_RegisterMapping("_class_wxKeyEvent","_wxKeyEvent",0);
4252 SWIG_RegisterMapping("_class_wxGrid","_wxGrid",0);
4253 SWIG_RegisterMapping("_wxColour","_class_wxColour",0);
4254 SWIG_RegisterMapping("_class_wxDialog","_wxDialog",0);
4255 SWIG_RegisterMapping("_wxIdleEvent","_class_wxIdleEvent",0);
4256 SWIG_RegisterMapping("_class_wxUpdateUIEvent","_wxUpdateUIEvent",0);
4257 SWIG_RegisterMapping("_wxBrush","_class_wxBrush",0);
4258 SWIG_RegisterMapping("_class_wxNotebookEvent","_wxNotebookEvent",0);
4259 SWIG_RegisterMapping("_wxShowEvent","_class_wxShowEvent",0);
4260 SWIG_RegisterMapping("_uint","_unsigned_int",0);
4261 SWIG_RegisterMapping("_uint","_int",0);
4262 SWIG_RegisterMapping("_uint","_wxWindowID",0);
4263 SWIG_RegisterMapping("_class_wxEvent","_class_wxNotebookEvent",SwigwxNotebookEventTowxEvent
);
4264 SWIG_RegisterMapping("_class_wxEvent","_wxNotebookEvent",SwigwxNotebookEventTowxEvent
);
4265 SWIG_RegisterMapping("_class_wxEvent","_class_wxGridEvent",SwigwxGridEventTowxEvent
);
4266 SWIG_RegisterMapping("_class_wxEvent","_wxGridEvent",SwigwxGridEventTowxEvent
);
4267 SWIG_RegisterMapping("_class_wxEvent","_wxEvent",0);
4268 SWIG_RegisterMapping("_wxCheckListBox","_class_wxCheckListBox",0);
4269 SWIG_RegisterMapping("_wxGridEvent","_class_wxGridEvent",0);
4270 SWIG_RegisterMapping("_wxRect","_class_wxRect",0);
4271 SWIG_RegisterMapping("_wxCommandEvent","_class_wxNotebookEvent",SwigwxNotebookEventTowxCommandEvent
);
4272 SWIG_RegisterMapping("_wxCommandEvent","_wxNotebookEvent",SwigwxNotebookEventTowxCommandEvent
);
4273 SWIG_RegisterMapping("_wxCommandEvent","_class_wxCommandEvent",0);
4274 SWIG_RegisterMapping("_wxSizeEvent","_class_wxSizeEvent",0);
4275 SWIG_RegisterMapping("_wxPoint","_class_wxPoint",0);
4276 SWIG_RegisterMapping("_class_wxButton","_wxButton",0);
4277 SWIG_RegisterMapping("_wxRadioBox","_class_wxRadioBox",0);
4278 SWIG_RegisterMapping("_wxBitmap","_class_wxBitmap",0);
4279 SWIG_RegisterMapping("_wxPyTimer","_class_wxPyTimer",0);
4280 SWIG_RegisterMapping("_wxWindowDC","_class_wxWindowDC",0);
4281 SWIG_RegisterMapping("_wxScrollBar","_class_wxScrollBar",0);
4282 SWIG_RegisterMapping("_wxSpinButton","_class_wxSpinButton",0);
4283 SWIG_RegisterMapping("_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0);
4284 SWIG_RegisterMapping("_class_wxPyEvent","_wxPyEvent",0);
4285 SWIG_RegisterMapping("_class_wxIconizeEvent","_wxIconizeEvent",0);
4286 SWIG_RegisterMapping("_class_wxStaticBitmap","_wxStaticBitmap",0);
4287 SWIG_RegisterMapping("_wxScrollEvent","_class_wxScrollEvent",0);
4288 SWIG_RegisterMapping("_EBool","_signed_int",0);
4289 SWIG_RegisterMapping("_EBool","_int",0);
4290 SWIG_RegisterMapping("_EBool","_wxWindowID",0);
4291 SWIG_RegisterMapping("_class_wxRegion","_wxRegion",0);
4292 SWIG_RegisterMapping("_class_wxDropFilesEvent","_wxDropFilesEvent",0);
4293 SWIG_RegisterMapping("_wxStaticText","_class_wxStaticText",0);
4294 SWIG_RegisterMapping("_wxFont","_class_wxFont",0);
4295 SWIG_RegisterMapping("_wxCloseEvent","_class_wxCloseEvent",0);
4296 SWIG_RegisterMapping("_wxNotebook","_class_wxNotebook",0);
4297 SWIG_RegisterMapping("_unsigned_long","_wxDash",0);
4298 SWIG_RegisterMapping("_unsigned_long","_long",0);
4299 SWIG_RegisterMapping("_class_wxRect","_wxRect",0);
4300 SWIG_RegisterMapping("_class_wxDC","_wxDC",0);
4301 SWIG_RegisterMapping("_class_wxPyTimer","_wxPyTimer",0);
4302 SWIG_RegisterMapping("_wxFocusEvent","_class_wxFocusEvent",0);
4303 SWIG_RegisterMapping("_wxMaximizeEvent","_class_wxMaximizeEvent",0);
4304 SWIG_RegisterMapping("_class_wxSpinButton","_wxSpinButton",0);
4305 SWIG_RegisterMapping("_wxAcceleratorEntry","_class_wxAcceleratorEntry",0);
4306 SWIG_RegisterMapping("_class_wxPanel","_class_wxGrid",SwigwxGridTowxPanel
);
4307 SWIG_RegisterMapping("_class_wxPanel","_wxGrid",SwigwxGridTowxPanel
);
4308 SWIG_RegisterMapping("_class_wxPanel","_wxPanel",0);
4309 SWIG_RegisterMapping("_class_wxCheckBox","_wxCheckBox",0);
4310 SWIG_RegisterMapping("_wxComboBox","_class_wxComboBox",0);
4311 SWIG_RegisterMapping("_wxRadioButton","_class_wxRadioButton",0);
4312 SWIG_RegisterMapping("_signed_int","_EBool",0);
4313 SWIG_RegisterMapping("_signed_int","_wxWindowID",0);
4314 SWIG_RegisterMapping("_signed_int","_int",0);
4315 SWIG_RegisterMapping("_class_wxTextCtrl","_wxTextCtrl",0);
4316 SWIG_RegisterMapping("_wxLayoutConstraints","_class_wxLayoutConstraints",0);
4317 SWIG_RegisterMapping("_wxMenu","_class_wxMenu",0);
4318 SWIG_RegisterMapping("_class_wxMoveEvent","_wxMoveEvent",0);
4319 SWIG_RegisterMapping("_wxListBox","_class_wxListBox",0);
4320 SWIG_RegisterMapping("_wxScreenDC","_class_wxScreenDC",0);
4321 SWIG_RegisterMapping("_WXTYPE","_short",0);
4322 SWIG_RegisterMapping("_WXTYPE","_signed_short",0);
4323 SWIG_RegisterMapping("_WXTYPE","_unsigned_short",0);
4324 SWIG_RegisterMapping("_class_wxBrush","_wxBrush",0);
4325 SWIG_RegisterMapping("_unsigned_short","_WXTYPE",0);
4326 SWIG_RegisterMapping("_unsigned_short","_short",0);
4327 SWIG_RegisterMapping("_class_wxWindow","_class_wxSplitterWindow",SwigwxSplitterWindowTowxWindow
);
4328 SWIG_RegisterMapping("_class_wxWindow","_wxSplitterWindow",SwigwxSplitterWindowTowxWindow
);
4329 SWIG_RegisterMapping("_class_wxWindow","_class_wxNotebook",SwigwxNotebookTowxWindow
);
4330 SWIG_RegisterMapping("_class_wxWindow","_wxNotebook",SwigwxNotebookTowxWindow
);
4331 SWIG_RegisterMapping("_class_wxWindow","_class_wxGrid",SwigwxGridTowxWindow
);
4332 SWIG_RegisterMapping("_class_wxWindow","_wxGrid",SwigwxGridTowxWindow
);
4333 SWIG_RegisterMapping("_class_wxWindow","_wxWindow",0);
4334 SWIG_RegisterMapping("_wxSplitterWindow","_class_wxSplitterWindow",0);
4335 SWIG_RegisterMapping("_class_wxStaticText","_wxStaticText",0);
4336 SWIG_RegisterMapping("_class_wxFont","_wxFont",0);
4337 SWIG_RegisterMapping("_class_wxCloseEvent","_wxCloseEvent",0);
4338 SWIG_RegisterMapping("_class_wxMenuEvent","_wxMenuEvent",0);
4339 SWIG_RegisterMapping("_wxClientDC","_class_wxClientDC",0);
4340 SWIG_RegisterMapping("_wxMouseEvent","_class_wxMouseEvent",0);
4341 SWIG_RegisterMapping("_class_wxPoint","_wxPoint",0);
4342 SWIG_RegisterMapping("_wxRealPoint","_class_wxRealPoint",0);
4343 SWIG_RegisterMapping("_class_wxRadioBox","_wxRadioBox",0);
4344 SWIG_RegisterMapping("_wxGridCell","_class_wxGridCell",0);
4345 SWIG_RegisterMapping("_signed_short","_WXTYPE",0);
4346 SWIG_RegisterMapping("_signed_short","_short",0);
4347 SWIG_RegisterMapping("_wxMemoryDC","_class_wxMemoryDC",0);
4348 SWIG_RegisterMapping("_wxPaintDC","_class_wxPaintDC",0);
4349 SWIG_RegisterMapping("_class_wxWindowDC","_wxWindowDC",0);
4350 SWIG_RegisterMapping("_class_wxFocusEvent","_wxFocusEvent",0);
4351 SWIG_RegisterMapping("_class_wxMaximizeEvent","_wxMaximizeEvent",0);
4352 SWIG_RegisterMapping("_class_wxAcceleratorEntry","_wxAcceleratorEntry",0);
4353 SWIG_RegisterMapping("_class_wxCursor","_wxCursor",0);
4354 SWIG_RegisterMapping("_wxPostScriptDC","_class_wxPostScriptDC",0);
4355 SWIG_RegisterMapping("_wxScrolledWindow","_class_wxScrolledWindow",0);
4356 SWIG_RegisterMapping("_unsigned_char","_byte",0);
4357 SWIG_RegisterMapping("_class_wxMenu","_wxMenu",0);
4358 SWIG_RegisterMapping("_wxControl","_class_wxNotebook",SwigwxNotebookTowxControl
);
4359 SWIG_RegisterMapping("_wxControl","_wxNotebook",SwigwxNotebookTowxControl
);
4360 SWIG_RegisterMapping("_wxControl","_class_wxControl",0);
4361 SWIG_RegisterMapping("_class_wxListBox","_wxListBox",0);
4362 SWIG_RegisterMapping("_unsigned_int","_uint",0);
4363 SWIG_RegisterMapping("_unsigned_int","_wxWindowID",0);
4364 SWIG_RegisterMapping("_unsigned_int","_int",0);
4365 SWIG_RegisterMapping("_wxIcon","_class_wxIcon",0);
4366 SWIG_RegisterMapping("_wxDialog","_class_wxDialog",0);
4367 SWIG_RegisterMapping("_class_wxPyMenu","_wxPyMenu",0);
4368 SWIG_RegisterMapping("_class_wxPen","_wxPen",0);
4369 SWIG_RegisterMapping("_short","_WXTYPE",0);
4370 SWIG_RegisterMapping("_short","_unsigned_short",0);
4371 SWIG_RegisterMapping("_short","_signed_short",0);
4372 SWIG_RegisterMapping("_class_wxStaticBox","_wxStaticBox",0);
4373 SWIG_RegisterMapping("_class_wxScrollEvent","_wxScrollEvent",0);
4374 SWIG_RegisterMapping("_wxJoystickEvent","_class_wxJoystickEvent",0);
4375 SWIG_RegisterMapping("_class_wxChoice","_wxChoice",0);
4376 SWIG_RegisterMapping("_class_wxSlider","_wxSlider",0);
4377 SWIG_RegisterMapping("_class_wxImageList","_wxImageList",0);
4378 SWIG_RegisterMapping("_class_wxBitmapButton","_wxBitmapButton",0);
4379 SWIG_RegisterMapping("_class_wxNotebook","_wxNotebook",0);
4380 SWIG_RegisterMapping("_wxWindowID","_EBool",0);
4381 SWIG_RegisterMapping("_wxWindowID","_uint",0);
4382 SWIG_RegisterMapping("_wxWindowID","_int",0);
4383 SWIG_RegisterMapping("_wxWindowID","_signed_int",0);
4384 SWIG_RegisterMapping("_wxWindowID","_unsigned_int",0);
4385 SWIG_RegisterMapping("_int","_EBool",0);
4386 SWIG_RegisterMapping("_int","_uint",0);
4387 SWIG_RegisterMapping("_int","_wxWindowID",0);
4388 SWIG_RegisterMapping("_int","_unsigned_int",0);
4389 SWIG_RegisterMapping("_int","_signed_int",0);
4390 SWIG_RegisterMapping("_class_wxMouseEvent","_wxMouseEvent",0);
4391 SWIG_RegisterMapping("_class_wxSpinEvent","_wxSpinEvent",0);
4392 SWIG_RegisterMapping("_wxButton","_class_wxButton",0);
4393 SWIG_RegisterMapping("_wxSize","_class_wxSize",0);
4394 SWIG_RegisterMapping("_wxRegionIterator","_class_wxRegionIterator",0);
4395 SWIG_RegisterMapping("_class_wxPaintDC","_wxPaintDC",0);
4396 SWIG_RegisterMapping("_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0);
4397 SWIG_RegisterMapping("_class_wxInitDialogEvent","_wxInitDialogEvent",0);
4398 SWIG_RegisterMapping("_class_wxComboBox","_wxComboBox",0);
4399 SWIG_RegisterMapping("_class_wxRadioButton","_wxRadioButton",0);
4400 SWIG_RegisterMapping("_class_wxLayoutConstraints","_wxLayoutConstraints",0);
4401 SWIG_RegisterMapping("_wxIconizeEvent","_class_wxIconizeEvent",0);
4402 SWIG_RegisterMapping("_class_wxControl","_class_wxNotebook",SwigwxNotebookTowxControl
);
4403 SWIG_RegisterMapping("_class_wxControl","_wxNotebook",SwigwxNotebookTowxControl
);
4404 SWIG_RegisterMapping("_class_wxControl","_wxControl",0);
4405 SWIG_RegisterMapping("_wxStaticBitmap","_class_wxStaticBitmap",0);
4406 SWIG_RegisterMapping("_class_wxIcon","_wxIcon",0);
4407 SWIG_RegisterMapping("_class_wxColour","_wxColour",0);
4408 SWIG_RegisterMapping("_class_wxScreenDC","_wxScreenDC",0);
4409 SWIG_RegisterMapping("_wxPalette","_class_wxPalette",0);
4410 SWIG_RegisterMapping("_class_wxIdleEvent","_wxIdleEvent",0);
4411 SWIG_RegisterMapping("_wxEraseEvent","_class_wxEraseEvent",0);
4412 SWIG_RegisterMapping("_class_wxJoystickEvent","_wxJoystickEvent",0);
4413 SWIG_RegisterMapping("_wxRegion","_class_wxRegion",0);
4414 SWIG_RegisterMapping("_class_wxSplitterWindow","_wxSplitterWindow",0);
4415 SWIG_RegisterMapping("_class_wxShowEvent","_wxShowEvent",0);
4416 SWIG_RegisterMapping("_wxActivateEvent","_class_wxActivateEvent",0);
4417 SWIG_RegisterMapping("_wxGauge","_class_wxGauge",0);
4418 SWIG_RegisterMapping("_class_wxCheckListBox","_wxCheckListBox",0);
4419 SWIG_RegisterMapping("_class_wxGridEvent","_wxGridEvent",0);
4420 SWIG_RegisterMapping("_class_wxCommandEvent","_class_wxNotebookEvent",SwigwxNotebookEventTowxCommandEvent
);
4421 SWIG_RegisterMapping("_class_wxCommandEvent","_wxNotebookEvent",SwigwxNotebookEventTowxCommandEvent
);
4422 SWIG_RegisterMapping("_class_wxCommandEvent","_wxCommandEvent",0);
4423 SWIG_RegisterMapping("_class_wxClientDC","_wxClientDC",0);
4424 SWIG_RegisterMapping("_class_wxSizeEvent","_wxSizeEvent",0);
4425 SWIG_RegisterMapping("_class_wxGridCell","_wxGridCell",0);
4426 SWIG_RegisterMapping("_class_wxSize","_wxSize",0);
4427 SWIG_RegisterMapping("_class_wxBitmap","_wxBitmap",0);
4428 SWIG_RegisterMapping("_class_wxMemoryDC","_wxMemoryDC",0);
4429 SWIG_RegisterMapping("_wxMenuBar","_class_wxMenuBar",0);
4430 SWIG_RegisterMapping("_wxEvtHandler","_class_wxSplitterWindow",SwigwxSplitterWindowTowxEvtHandler
);
4431 SWIG_RegisterMapping("_wxEvtHandler","_wxSplitterWindow",SwigwxSplitterWindowTowxEvtHandler
);
4432 SWIG_RegisterMapping("_wxEvtHandler","_class_wxNotebook",SwigwxNotebookTowxEvtHandler
);
4433 SWIG_RegisterMapping("_wxEvtHandler","_wxNotebook",SwigwxNotebookTowxEvtHandler
);
4434 SWIG_RegisterMapping("_wxEvtHandler","_class_wxGrid",SwigwxGridTowxEvtHandler
);
4435 SWIG_RegisterMapping("_wxEvtHandler","_wxGrid",SwigwxGridTowxEvtHandler
);
4436 SWIG_RegisterMapping("_wxEvtHandler","_class_wxEvtHandler",0);
4437 SWIG_RegisterMapping("_wxMenuItem","_class_wxMenuItem",0);
4438 SWIG_RegisterMapping("_class_wxScrollBar","_wxScrollBar",0);
4439 SWIG_RegisterMapping("_wxDash","_unsigned_long",0);
4440 SWIG_RegisterMapping("_wxDash","_long",0);
4441 SWIG_RegisterMapping("_class_wxScrolledWindow","_wxScrolledWindow",0);
4442 SWIG_RegisterMapping("_wxKeyEvent","_class_wxKeyEvent",0);
4443 SWIG_RegisterMapping("_wxMoveEvent","_class_wxMoveEvent",0);
4444 SWIG_RegisterMapping("_class_wxPalette","_wxPalette",0);
4445 SWIG_RegisterMapping("_class_wxEraseEvent","_wxEraseEvent",0);
4446 SWIG_RegisterMapping("_wxWindow","_class_wxSplitterWindow",SwigwxSplitterWindowTowxWindow
);
4447 SWIG_RegisterMapping("_wxWindow","_wxSplitterWindow",SwigwxSplitterWindowTowxWindow
);
4448 SWIG_RegisterMapping("_wxWindow","_class_wxNotebook",SwigwxNotebookTowxWindow
);
4449 SWIG_RegisterMapping("_wxWindow","_wxNotebook",SwigwxNotebookTowxWindow
);
4450 SWIG_RegisterMapping("_wxWindow","_class_wxGrid",SwigwxGridTowxWindow
);
4451 SWIG_RegisterMapping("_wxWindow","_wxGrid",SwigwxGridTowxWindow
);
4452 SWIG_RegisterMapping("_wxWindow","_class_wxWindow",0);