2 * FILE : msw/windows2.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 810)
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
32 # define SWIGEXPORT(a) a
36 # define SWIGEXPORT(a) a
43 extern void SWIG_MakePtr(char *, void *, char *);
44 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
45 extern char *SWIG_GetPtr(char *, void **, char *);
46 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
47 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
48 extern PyObject
*SWIG_newvarlink(void);
52 #define SWIG_init initwindows2c
54 #define SWIG_name "windows2c"
58 #include <wx/notebook.h>
59 #include <wx/splitter.h>
61 #include <wx/msw/taskbar.h>
64 static PyObject
* l_output_helper(PyObject
* target
, PyObject
* o
) {
69 } else if (target
== Py_None
) {
73 if (!PyList_Check(target
)) {
75 target
= PyList_New(0);
76 PyList_Append(target
, o2
);
79 PyList_Append(target
,o
);
85 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
91 } else if (target
== Py_None
) {
95 if (!PyTuple_Check(target
)) {
97 target
= PyTuple_New(1);
98 PyTuple_SetItem(target
, 0, o2
);
101 PyTuple_SetItem(o3
, 0, o
);
104 target
= PySequence_Concat(o2
, o3
);
112 HELPEREXPORT byte
* byte_LIST_helper(PyObject
* source
);
113 HELPEREXPORT
int* int_LIST_helper(PyObject
* source
);
114 HELPEREXPORT
long* long_LIST_helper(PyObject
* source
);
115 HELPEREXPORT
char** string_LIST_helper(PyObject
* source
);
116 HELPEREXPORT wxPoint
* wxPoint_LIST_helper(PyObject
* source
);
117 HELPEREXPORT wxBitmap
** wxBitmap_LIST_helper(PyObject
* source
);
118 HELPEREXPORT wxString
* wxString_LIST_helper(PyObject
* source
);
119 HELPEREXPORT wxAcceleratorEntry
* wxAcceleratorEntry_LIST_helper(PyObject
* source
);
122 static char* wxStringErrorMsg
= "string type is required for parameter";
126 #define new_wxGridCell() (new wxGridCell())
127 static PyObject
*_wrap_new_wxGridCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
128 PyObject
* _resultobj
;
129 wxGridCell
* _result
;
130 char *_kwnames
[] = { NULL
};
134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxGridCell",_kwnames
))
137 wxPy_BEGIN_ALLOW_THREADS
;
138 _result
= (wxGridCell
*)new_wxGridCell();
140 wxPy_END_ALLOW_THREADS
;
142 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCell_p");
143 _resultobj
= Py_BuildValue("s",_ptemp
);
146 _resultobj
= Py_None
;
151 #define delete_wxGridCell(_swigobj) (delete _swigobj)
152 static PyObject
*_wrap_delete_wxGridCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
153 PyObject
* _resultobj
;
155 PyObject
* _argo0
= 0;
156 char *_kwnames
[] = { "self", NULL
};
159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxGridCell",_kwnames
,&_argo0
))
162 if (_argo0
== Py_None
) { _arg0
= NULL
; }
163 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCell_p")) {
164 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxGridCell. Expected _wxGridCell_p.");
169 wxPy_BEGIN_ALLOW_THREADS
;
170 delete_wxGridCell(_arg0
);
172 wxPy_END_ALLOW_THREADS
;
173 } Py_INCREF(Py_None
);
174 _resultobj
= Py_None
;
178 #define wxGridCell_GetTextValue(_swigobj) (_swigobj->GetTextValue())
179 static PyObject
*_wrap_wxGridCell_GetTextValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
180 PyObject
* _resultobj
;
183 PyObject
* _argo0
= 0;
184 char *_kwnames
[] = { "self", NULL
};
187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCell_GetTextValue",_kwnames
,&_argo0
))
190 if (_argo0
== Py_None
) { _arg0
= NULL
; }
191 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCell_p")) {
192 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCell_GetTextValue. Expected _wxGridCell_p.");
197 wxPy_BEGIN_ALLOW_THREADS
;
198 wxString
& _result_ref
= wxGridCell_GetTextValue(_arg0
);
199 _result
= (wxString
*) &_result_ref
;
201 wxPy_END_ALLOW_THREADS
;
203 _resultobj
= PyString_FromString(WXSTRINGCAST (*_result
));
208 #define wxGridCell_SetTextValue(_swigobj,_swigarg0) (_swigobj->SetTextValue(_swigarg0))
209 static PyObject
*_wrap_wxGridCell_SetTextValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
210 PyObject
* _resultobj
;
213 PyObject
* _argo0
= 0;
214 PyObject
* _obj1
= 0;
215 char *_kwnames
[] = { "self","str", NULL
};
218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCell_SetTextValue",_kwnames
,&_argo0
,&_obj1
))
221 if (_argo0
== Py_None
) { _arg0
= NULL
; }
222 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCell_p")) {
223 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCell_SetTextValue. Expected _wxGridCell_p.");
228 if (!PyString_Check(_obj1
)) {
229 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
232 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
235 wxPy_BEGIN_ALLOW_THREADS
;
236 wxGridCell_SetTextValue(_arg0
,*_arg1
);
238 wxPy_END_ALLOW_THREADS
;
239 } Py_INCREF(Py_None
);
240 _resultobj
= Py_None
;
248 #define wxGridCell_GetFont(_swigobj) (_swigobj->GetFont())
249 static PyObject
*_wrap_wxGridCell_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
250 PyObject
* _resultobj
;
253 PyObject
* _argo0
= 0;
254 char *_kwnames
[] = { "self", NULL
};
258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCell_GetFont",_kwnames
,&_argo0
))
261 if (_argo0
== Py_None
) { _arg0
= NULL
; }
262 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCell_p")) {
263 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCell_GetFont. Expected _wxGridCell_p.");
268 wxPy_BEGIN_ALLOW_THREADS
;
269 wxFont
& _result_ref
= wxGridCell_GetFont(_arg0
);
270 _result
= (wxFont
*) &_result_ref
;
272 wxPy_END_ALLOW_THREADS
;
274 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
275 _resultobj
= Py_BuildValue("s",_ptemp
);
278 _resultobj
= Py_None
;
283 #define wxGridCell_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
284 static PyObject
*_wrap_wxGridCell_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
285 PyObject
* _resultobj
;
288 PyObject
* _argo0
= 0;
289 PyObject
* _argo1
= 0;
290 char *_kwnames
[] = { "self","f", NULL
};
293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCell_SetFont",_kwnames
,&_argo0
,&_argo1
))
296 if (_argo0
== Py_None
) { _arg0
= NULL
; }
297 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCell_p")) {
298 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCell_SetFont. Expected _wxGridCell_p.");
303 if (_argo1
== Py_None
) { _arg1
= NULL
; }
304 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
305 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCell_SetFont. Expected _wxFont_p.");
310 wxPy_BEGIN_ALLOW_THREADS
;
311 wxGridCell_SetFont(_arg0
,*_arg1
);
313 wxPy_END_ALLOW_THREADS
;
314 } Py_INCREF(Py_None
);
315 _resultobj
= Py_None
;
319 #define wxGridCell_GetTextColour(_swigobj) (_swigobj->GetTextColour())
320 static PyObject
*_wrap_wxGridCell_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
321 PyObject
* _resultobj
;
324 PyObject
* _argo0
= 0;
325 char *_kwnames
[] = { "self", NULL
};
329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCell_GetTextColour",_kwnames
,&_argo0
))
332 if (_argo0
== Py_None
) { _arg0
= NULL
; }
333 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCell_p")) {
334 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCell_GetTextColour. Expected _wxGridCell_p.");
339 wxPy_BEGIN_ALLOW_THREADS
;
340 wxColour
& _result_ref
= wxGridCell_GetTextColour(_arg0
);
341 _result
= (wxColour
*) &_result_ref
;
343 wxPy_END_ALLOW_THREADS
;
345 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
346 _resultobj
= Py_BuildValue("s",_ptemp
);
349 _resultobj
= Py_None
;
354 #define wxGridCell_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
355 static PyObject
*_wrap_wxGridCell_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
356 PyObject
* _resultobj
;
359 PyObject
* _argo0
= 0;
360 PyObject
* _argo1
= 0;
361 char *_kwnames
[] = { "self","colour", NULL
};
364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCell_SetTextColour",_kwnames
,&_argo0
,&_argo1
))
367 if (_argo0
== Py_None
) { _arg0
= NULL
; }
368 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCell_p")) {
369 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCell_SetTextColour. Expected _wxGridCell_p.");
374 if (_argo1
== Py_None
) { _arg1
= NULL
; }
375 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxColour_p")) {
376 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCell_SetTextColour. Expected _wxColour_p.");
381 wxPy_BEGIN_ALLOW_THREADS
;
382 wxGridCell_SetTextColour(_arg0
,*_arg1
);
384 wxPy_END_ALLOW_THREADS
;
385 } Py_INCREF(Py_None
);
386 _resultobj
= Py_None
;
390 #define wxGridCell_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
391 static PyObject
*_wrap_wxGridCell_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
392 PyObject
* _resultobj
;
395 PyObject
* _argo0
= 0;
396 char *_kwnames
[] = { "self", NULL
};
400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCell_GetBackgroundColour",_kwnames
,&_argo0
))
403 if (_argo0
== Py_None
) { _arg0
= NULL
; }
404 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCell_p")) {
405 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCell_GetBackgroundColour. Expected _wxGridCell_p.");
410 wxPy_BEGIN_ALLOW_THREADS
;
411 wxColour
& _result_ref
= wxGridCell_GetBackgroundColour(_arg0
);
412 _result
= (wxColour
*) &_result_ref
;
414 wxPy_END_ALLOW_THREADS
;
416 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
417 _resultobj
= Py_BuildValue("s",_ptemp
);
420 _resultobj
= Py_None
;
425 #define wxGridCell_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
426 static PyObject
*_wrap_wxGridCell_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
427 PyObject
* _resultobj
;
430 PyObject
* _argo0
= 0;
431 PyObject
* _argo1
= 0;
432 char *_kwnames
[] = { "self","colour", NULL
};
435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCell_SetBackgroundColour",_kwnames
,&_argo0
,&_argo1
))
438 if (_argo0
== Py_None
) { _arg0
= NULL
; }
439 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCell_p")) {
440 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCell_SetBackgroundColour. Expected _wxGridCell_p.");
445 if (_argo1
== Py_None
) { _arg1
= NULL
; }
446 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxColour_p")) {
447 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCell_SetBackgroundColour. Expected _wxColour_p.");
452 wxPy_BEGIN_ALLOW_THREADS
;
453 wxGridCell_SetBackgroundColour(_arg0
,*_arg1
);
455 wxPy_END_ALLOW_THREADS
;
456 } Py_INCREF(Py_None
);
457 _resultobj
= Py_None
;
461 #define wxGridCell_GetBackgroundBrush(_swigobj) (_swigobj->GetBackgroundBrush())
462 static PyObject
*_wrap_wxGridCell_GetBackgroundBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
463 PyObject
* _resultobj
;
466 PyObject
* _argo0
= 0;
467 char *_kwnames
[] = { "self", NULL
};
471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCell_GetBackgroundBrush",_kwnames
,&_argo0
))
474 if (_argo0
== Py_None
) { _arg0
= NULL
; }
475 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCell_p")) {
476 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCell_GetBackgroundBrush. Expected _wxGridCell_p.");
481 wxPy_BEGIN_ALLOW_THREADS
;
482 wxBrush
& _result_ref
= wxGridCell_GetBackgroundBrush(_arg0
);
483 _result
= (wxBrush
*) &_result_ref
;
485 wxPy_END_ALLOW_THREADS
;
487 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBrush_p");
488 _resultobj
= Py_BuildValue("s",_ptemp
);
491 _resultobj
= Py_None
;
496 #define wxGridCell_GetAlignment(_swigobj) (_swigobj->GetAlignment())
497 static PyObject
*_wrap_wxGridCell_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
498 PyObject
* _resultobj
;
501 PyObject
* _argo0
= 0;
502 char *_kwnames
[] = { "self", NULL
};
505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCell_GetAlignment",_kwnames
,&_argo0
))
508 if (_argo0
== Py_None
) { _arg0
= NULL
; }
509 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCell_p")) {
510 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCell_GetAlignment. Expected _wxGridCell_p.");
515 wxPy_BEGIN_ALLOW_THREADS
;
516 _result
= (int )wxGridCell_GetAlignment(_arg0
);
518 wxPy_END_ALLOW_THREADS
;
519 } _resultobj
= Py_BuildValue("i",_result
);
523 #define wxGridCell_SetAlignment(_swigobj,_swigarg0) (_swigobj->SetAlignment(_swigarg0))
524 static PyObject
*_wrap_wxGridCell_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
525 PyObject
* _resultobj
;
528 PyObject
* _argo0
= 0;
529 char *_kwnames
[] = { "self","align", NULL
};
532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridCell_SetAlignment",_kwnames
,&_argo0
,&_arg1
))
535 if (_argo0
== Py_None
) { _arg0
= NULL
; }
536 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCell_p")) {
537 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCell_SetAlignment. Expected _wxGridCell_p.");
542 wxPy_BEGIN_ALLOW_THREADS
;
543 wxGridCell_SetAlignment(_arg0
,_arg1
);
545 wxPy_END_ALLOW_THREADS
;
546 } Py_INCREF(Py_None
);
547 _resultobj
= Py_None
;
551 #define wxGridCell_GetCellBitmap(_swigobj) (_swigobj->GetCellBitmap())
552 static PyObject
*_wrap_wxGridCell_GetCellBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
553 PyObject
* _resultobj
;
556 PyObject
* _argo0
= 0;
557 char *_kwnames
[] = { "self", NULL
};
561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCell_GetCellBitmap",_kwnames
,&_argo0
))
564 if (_argo0
== Py_None
) { _arg0
= NULL
; }
565 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCell_p")) {
566 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCell_GetCellBitmap. Expected _wxGridCell_p.");
571 wxPy_BEGIN_ALLOW_THREADS
;
572 _result
= (wxBitmap
*)wxGridCell_GetCellBitmap(_arg0
);
574 wxPy_END_ALLOW_THREADS
;
576 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
577 _resultobj
= Py_BuildValue("s",_ptemp
);
580 _resultobj
= Py_None
;
585 #define wxGridCell_SetCellBitmap(_swigobj,_swigarg0) (_swigobj->SetCellBitmap(_swigarg0))
586 static PyObject
*_wrap_wxGridCell_SetCellBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
587 PyObject
* _resultobj
;
590 PyObject
* _argo0
= 0;
591 PyObject
* _argo1
= 0;
592 char *_kwnames
[] = { "self","bitmap", NULL
};
595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCell_SetCellBitmap",_kwnames
,&_argo0
,&_argo1
))
598 if (_argo0
== Py_None
) { _arg0
= NULL
; }
599 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCell_p")) {
600 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCell_SetCellBitmap. Expected _wxGridCell_p.");
605 if (_argo1
== Py_None
) { _arg1
= NULL
; }
606 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
607 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCell_SetCellBitmap. Expected _wxBitmap_p.");
612 wxPy_BEGIN_ALLOW_THREADS
;
613 wxGridCell_SetCellBitmap(_arg0
,_arg1
);
615 wxPy_END_ALLOW_THREADS
;
616 } Py_INCREF(Py_None
);
617 _resultobj
= Py_None
;
621 static void *SwigwxGridTowxPanel(void *ptr
) {
624 src
= (wxGrid
*) ptr
;
625 dest
= (wxPanel
*) src
;
626 return (void *) dest
;
629 static void *SwigwxGridTowxWindow(void *ptr
) {
632 src
= (wxGrid
*) ptr
;
633 dest
= (wxWindow
*) src
;
634 return (void *) dest
;
637 static void *SwigwxGridTowxEvtHandler(void *ptr
) {
640 src
= (wxGrid
*) ptr
;
641 dest
= (wxEvtHandler
*) src
;
642 return (void *) dest
;
645 #define new_wxGrid(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxGrid(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
646 static PyObject
*_wrap_new_wxGrid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
647 PyObject
* _resultobj
;
651 wxPoint
* _arg2
= (wxPoint
*) &wxPyDefaultPosition
;
652 wxSize
* _arg3
= (wxSize
*) &wxPyDefaultSize
;
653 long _arg4
= (long ) 0;
654 char * _arg5
= (char *) "grid";
655 PyObject
* _argo0
= 0;
656 PyObject
* _argo2
= 0;
657 PyObject
* _argo3
= 0;
658 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOls:new_wxGrid",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_argo3
,&_arg4
,&_arg5
))
665 if (_argo0
== Py_None
) { _arg0
= NULL
; }
666 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
667 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxGrid. Expected _wxWindow_p.");
672 if (_argo2
== Py_None
) { _arg2
= NULL
; }
673 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPoint_p")) {
674 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxGrid. Expected _wxPoint_p.");
679 if (_argo3
== Py_None
) { _arg3
= NULL
; }
680 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxSize_p")) {
681 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of new_wxGrid. Expected _wxSize_p.");
686 wxPy_BEGIN_ALLOW_THREADS
;
687 _result
= (wxGrid
*)new_wxGrid(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
689 wxPy_END_ALLOW_THREADS
;
691 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGrid_p");
692 _resultobj
= Py_BuildValue("s",_ptemp
);
695 _resultobj
= Py_None
;
700 #define wxGrid_AdjustScrollbars(_swigobj) (_swigobj->AdjustScrollbars())
701 static PyObject
*_wrap_wxGrid_AdjustScrollbars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
702 PyObject
* _resultobj
;
704 PyObject
* _argo0
= 0;
705 char *_kwnames
[] = { "self", NULL
};
708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_AdjustScrollbars",_kwnames
,&_argo0
))
711 if (_argo0
== Py_None
) { _arg0
= NULL
; }
712 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
713 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_AdjustScrollbars. Expected _wxGrid_p.");
718 wxPy_BEGIN_ALLOW_THREADS
;
719 wxGrid_AdjustScrollbars(_arg0
);
721 wxPy_END_ALLOW_THREADS
;
722 } Py_INCREF(Py_None
);
723 _resultobj
= Py_None
;
727 #define wxGrid_AppendCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->AppendCols(_swigarg0,_swigarg1))
728 static PyObject
*_wrap_wxGrid_AppendCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
729 PyObject
* _resultobj
;
732 int _arg1
= (int ) 1;
733 bool _arg2
= (bool ) TRUE
;
734 PyObject
* _argo0
= 0;
735 int tempbool2
= (int) TRUE
;
736 char *_kwnames
[] = { "self","n","updateLabels", NULL
};
739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxGrid_AppendCols",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
742 if (_argo0
== Py_None
) { _arg0
= NULL
; }
743 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
744 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_AppendCols. Expected _wxGrid_p.");
748 _arg2
= (bool ) tempbool2
;
750 wxPy_BEGIN_ALLOW_THREADS
;
751 _result
= (bool )wxGrid_AppendCols(_arg0
,_arg1
,_arg2
);
753 wxPy_END_ALLOW_THREADS
;
754 } _resultobj
= Py_BuildValue("i",_result
);
758 #define wxGrid_AppendRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->AppendRows(_swigarg0,_swigarg1))
759 static PyObject
*_wrap_wxGrid_AppendRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
760 PyObject
* _resultobj
;
763 int _arg1
= (int ) 1;
764 bool _arg2
= (bool ) TRUE
;
765 PyObject
* _argo0
= 0;
766 int tempbool2
= (int) TRUE
;
767 char *_kwnames
[] = { "self","n","updateLabels", NULL
};
770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxGrid_AppendRows",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
773 if (_argo0
== Py_None
) { _arg0
= NULL
; }
774 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
775 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_AppendRows. Expected _wxGrid_p.");
779 _arg2
= (bool ) tempbool2
;
781 wxPy_BEGIN_ALLOW_THREADS
;
782 _result
= (bool )wxGrid_AppendRows(_arg0
,_arg1
,_arg2
);
784 wxPy_END_ALLOW_THREADS
;
785 } _resultobj
= Py_BuildValue("i",_result
);
789 #define wxGrid_BeginBatch(_swigobj) (_swigobj->BeginBatch())
790 static PyObject
*_wrap_wxGrid_BeginBatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
791 PyObject
* _resultobj
;
793 PyObject
* _argo0
= 0;
794 char *_kwnames
[] = { "self", NULL
};
797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_BeginBatch",_kwnames
,&_argo0
))
800 if (_argo0
== Py_None
) { _arg0
= NULL
; }
801 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
802 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_BeginBatch. Expected _wxGrid_p.");
807 wxPy_BEGIN_ALLOW_THREADS
;
808 wxGrid_BeginBatch(_arg0
);
810 wxPy_END_ALLOW_THREADS
;
811 } Py_INCREF(Py_None
);
812 _resultobj
= Py_None
;
816 #define wxGrid_CellHitTest(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->CellHitTest(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
817 static PyObject
*_wrap_wxGrid_CellHitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
818 PyObject
* _resultobj
;
827 PyObject
* _argo0
= 0;
828 char *_kwnames
[] = { "self","x","y", NULL
};
837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_CellHitTest",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
840 if (_argo0
== Py_None
) { _arg0
= NULL
; }
841 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
842 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_CellHitTest. Expected _wxGrid_p.");
847 wxPy_BEGIN_ALLOW_THREADS
;
848 _result
= (bool )wxGrid_CellHitTest(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
850 wxPy_END_ALLOW_THREADS
;
851 } _resultobj
= Py_BuildValue("i",_result
);
854 o
= PyInt_FromLong((long) (*_arg3
));
855 _resultobj
= t_output_helper(_resultobj
, o
);
859 o
= PyInt_FromLong((long) (*_arg4
));
860 _resultobj
= t_output_helper(_resultobj
, o
);
865 static bool wxGrid_CreateGrid(wxGrid
*self
,int rows
,int cols
,short defaultWidth
,short defaultHeight
) {
866 return self
->CreateGrid(rows
, cols
, NULL
, NULL
,
867 defaultWidth
, defaultHeight
);
869 static PyObject
*_wrap_wxGrid_CreateGrid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
870 PyObject
* _resultobj
;
875 short _arg3
= (short ) wxGRID_DEFAULT_CELL_WIDTH
;
876 short _arg4
= (short ) wxGRID_DEFAULT_CELL_HEIGHT
;
877 PyObject
* _argo0
= 0;
878 char *_kwnames
[] = { "self","rows","cols","defaultWidth","defaultHeight", NULL
};
881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|hh:wxGrid_CreateGrid",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
884 if (_argo0
== Py_None
) { _arg0
= NULL
; }
885 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
886 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_CreateGrid. Expected _wxGrid_p.");
891 wxPy_BEGIN_ALLOW_THREADS
;
892 _result
= (bool )wxGrid_CreateGrid(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
894 wxPy_END_ALLOW_THREADS
;
895 } _resultobj
= Py_BuildValue("i",_result
);
899 #define wxGrid_CurrentCellVisible(_swigobj) (_swigobj->CurrentCellVisible())
900 static PyObject
*_wrap_wxGrid_CurrentCellVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
901 PyObject
* _resultobj
;
904 PyObject
* _argo0
= 0;
905 char *_kwnames
[] = { "self", NULL
};
908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_CurrentCellVisible",_kwnames
,&_argo0
))
911 if (_argo0
== Py_None
) { _arg0
= NULL
; }
912 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
913 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_CurrentCellVisible. Expected _wxGrid_p.");
918 wxPy_BEGIN_ALLOW_THREADS
;
919 _result
= (bool )wxGrid_CurrentCellVisible(_arg0
);
921 wxPy_END_ALLOW_THREADS
;
922 } _resultobj
= Py_BuildValue("i",_result
);
926 #define wxGrid_DeleteCols(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DeleteCols(_swigarg0,_swigarg1,_swigarg2))
927 static PyObject
*_wrap_wxGrid_DeleteCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
928 PyObject
* _resultobj
;
931 int _arg1
= (int ) 0;
932 int _arg2
= (int ) 1;
933 bool _arg3
= (bool ) TRUE
;
934 PyObject
* _argo0
= 0;
935 int tempbool3
= (int) TRUE
;
936 char *_kwnames
[] = { "self","pos","n","updateLabels", NULL
};
939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iii:wxGrid_DeleteCols",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
942 if (_argo0
== Py_None
) { _arg0
= NULL
; }
943 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
944 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_DeleteCols. Expected _wxGrid_p.");
948 _arg3
= (bool ) tempbool3
;
950 wxPy_BEGIN_ALLOW_THREADS
;
951 _result
= (bool )wxGrid_DeleteCols(_arg0
,_arg1
,_arg2
,_arg3
);
953 wxPy_END_ALLOW_THREADS
;
954 } _resultobj
= Py_BuildValue("i",_result
);
958 #define wxGrid_DeleteRows(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DeleteRows(_swigarg0,_swigarg1,_swigarg2))
959 static PyObject
*_wrap_wxGrid_DeleteRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
960 PyObject
* _resultobj
;
963 int _arg1
= (int ) 0;
964 int _arg2
= (int ) 1;
965 bool _arg3
= (bool ) TRUE
;
966 PyObject
* _argo0
= 0;
967 int tempbool3
= (int) TRUE
;
968 char *_kwnames
[] = { "self","pos","n","updateLabels", NULL
};
971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iii:wxGrid_DeleteRows",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
974 if (_argo0
== Py_None
) { _arg0
= NULL
; }
975 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
976 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_DeleteRows. Expected _wxGrid_p.");
980 _arg3
= (bool ) tempbool3
;
982 wxPy_BEGIN_ALLOW_THREADS
;
983 _result
= (bool )wxGrid_DeleteRows(_arg0
,_arg1
,_arg2
,_arg3
);
985 wxPy_END_ALLOW_THREADS
;
986 } _resultobj
= Py_BuildValue("i",_result
);
990 #define wxGrid_EndBatch(_swigobj) (_swigobj->EndBatch())
991 static PyObject
*_wrap_wxGrid_EndBatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
992 PyObject
* _resultobj
;
994 PyObject
* _argo0
= 0;
995 char *_kwnames
[] = { "self", NULL
};
998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_EndBatch",_kwnames
,&_argo0
))
1001 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1002 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
1003 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_EndBatch. Expected _wxGrid_p.");
1008 wxPy_BEGIN_ALLOW_THREADS
;
1009 wxGrid_EndBatch(_arg0
);
1011 wxPy_END_ALLOW_THREADS
;
1012 } Py_INCREF(Py_None
);
1013 _resultobj
= Py_None
;
1017 #define wxGrid_GetBatchCount(_swigobj) (_swigobj->GetBatchCount())
1018 static PyObject
*_wrap_wxGrid_GetBatchCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1019 PyObject
* _resultobj
;
1022 PyObject
* _argo0
= 0;
1023 char *_kwnames
[] = { "self", NULL
};
1026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetBatchCount",_kwnames
,&_argo0
))
1029 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1030 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
1031 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetBatchCount. Expected _wxGrid_p.");
1036 wxPy_BEGIN_ALLOW_THREADS
;
1037 _result
= (int )wxGrid_GetBatchCount(_arg0
);
1039 wxPy_END_ALLOW_THREADS
;
1040 } _resultobj
= Py_BuildValue("i",_result
);
1044 #define wxGrid_GetCell(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCell(_swigarg0,_swigarg1))
1045 static PyObject
*_wrap_wxGrid_GetCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1046 PyObject
* _resultobj
;
1047 wxGridCell
* _result
;
1051 PyObject
* _argo0
= 0;
1052 char *_kwnames
[] = { "self","row","col", NULL
};
1056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_GetCell",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
1059 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1060 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
1061 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCell. Expected _wxGrid_p.");
1066 wxPy_BEGIN_ALLOW_THREADS
;
1067 _result
= (wxGridCell
*)wxGrid_GetCell(_arg0
,_arg1
,_arg2
);
1069 wxPy_END_ALLOW_THREADS
;
1071 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCell_p");
1072 _resultobj
= Py_BuildValue("s",_ptemp
);
1075 _resultobj
= Py_None
;
1080 #define wxGrid_GetCellAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellAlignment(_swigarg0,_swigarg1))
1081 static PyObject
*_wrap_wxGrid_GetCellAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1082 PyObject
* _resultobj
;
1087 PyObject
* _argo0
= 0;
1088 char *_kwnames
[] = { "self","row","col", NULL
};
1091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_GetCellAlignment",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
1094 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1095 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
1096 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellAlignment. Expected _wxGrid_p.");
1101 wxPy_BEGIN_ALLOW_THREADS
;
1102 _result
= (int )wxGrid_GetCellAlignment(_arg0
,_arg1
,_arg2
);
1104 wxPy_END_ALLOW_THREADS
;
1105 } _resultobj
= Py_BuildValue("i",_result
);
1109 #define wxGrid_GetDefCellAlignment(_swigobj) (_swigobj->GetCellAlignment())
1110 static PyObject
*_wrap_wxGrid_GetDefCellAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1111 PyObject
* _resultobj
;
1114 PyObject
* _argo0
= 0;
1115 char *_kwnames
[] = { "self", NULL
};
1118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetDefCellAlignment",_kwnames
,&_argo0
))
1121 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1122 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
1123 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefCellAlignment. Expected _wxGrid_p.");
1128 wxPy_BEGIN_ALLOW_THREADS
;
1129 _result
= (int )wxGrid_GetDefCellAlignment(_arg0
);
1131 wxPy_END_ALLOW_THREADS
;
1132 } _resultobj
= Py_BuildValue("i",_result
);
1136 #define wxGrid_GetCellBackgroundColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellBackgroundColour(_swigarg0,_swigarg1))
1137 static PyObject
*_wrap_wxGrid_GetCellBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1138 PyObject
* _resultobj
;
1143 PyObject
* _argo0
= 0;
1144 char *_kwnames
[] = { "self","row","col", NULL
};
1148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_GetCellBackgroundColour",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
1151 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1152 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
1153 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellBackgroundColour. Expected _wxGrid_p.");
1158 wxPy_BEGIN_ALLOW_THREADS
;
1159 wxColour
& _result_ref
= wxGrid_GetCellBackgroundColour(_arg0
,_arg1
,_arg2
);
1160 _result
= (wxColour
*) &_result_ref
;
1162 wxPy_END_ALLOW_THREADS
;
1164 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
1165 _resultobj
= Py_BuildValue("s",_ptemp
);
1168 _resultobj
= Py_None
;
1173 #define wxGrid_GetDefCellBackgroundColour(_swigobj) (_swigobj->GetCellBackgroundColour())
1174 static PyObject
*_wrap_wxGrid_GetDefCellBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1175 PyObject
* _resultobj
;
1178 PyObject
* _argo0
= 0;
1179 char *_kwnames
[] = { "self", NULL
};
1183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetDefCellBackgroundColour",_kwnames
,&_argo0
))
1186 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1187 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
1188 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefCellBackgroundColour. Expected _wxGrid_p.");
1193 wxPy_BEGIN_ALLOW_THREADS
;
1194 wxColour
& _result_ref
= wxGrid_GetDefCellBackgroundColour(_arg0
);
1195 _result
= (wxColour
*) &_result_ref
;
1197 wxPy_END_ALLOW_THREADS
;
1199 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
1200 _resultobj
= Py_BuildValue("s",_ptemp
);
1203 _resultobj
= Py_None
;
1208 static PyObject
* wxGrid_GetCells(wxGrid
*self
) {
1210 PyObject
* rows
= PyList_New(0);
1211 for (row
=0; row
< self
->GetRows(); row
++) {
1212 PyObject
* rowList
= PyList_New(0);
1213 for (col
=0; col
< self
->GetCols(); col
++) {
1214 wxGridCell
* cell
= self
->GetCell(row
, col
);
1216 bool doSave
= wxPyRestoreThread();
1217 PyObject
* pyCell
= wxPyConstructObject(cell
, "wxGridCell");
1218 wxPySaveThread(doSave
);
1220 if (PyList_Append(rowList
, pyCell
) == -1)
1223 if (PyList_Append(rows
, rowList
) == -1)
1228 static PyObject
*_wrap_wxGrid_GetCells(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1229 PyObject
* _resultobj
;
1232 PyObject
* _argo0
= 0;
1233 char *_kwnames
[] = { "self", NULL
};
1236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetCells",_kwnames
,&_argo0
))
1239 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1240 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
1241 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCells. Expected _wxGrid_p.");
1246 wxPy_BEGIN_ALLOW_THREADS
;
1247 _result
= (PyObject
*)wxGrid_GetCells(_arg0
);
1249 wxPy_END_ALLOW_THREADS
;
1251 _resultobj
= _result
;
1256 #define wxGrid_GetCellTextColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellTextColour(_swigarg0,_swigarg1))
1257 static PyObject
*_wrap_wxGrid_GetCellTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1258 PyObject
* _resultobj
;
1263 PyObject
* _argo0
= 0;
1264 char *_kwnames
[] = { "self","row","col", NULL
};
1268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_GetCellTextColour",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
1271 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1272 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
1273 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellTextColour. Expected _wxGrid_p.");
1278 wxPy_BEGIN_ALLOW_THREADS
;
1279 wxColour
& _result_ref
= wxGrid_GetCellTextColour(_arg0
,_arg1
,_arg2
);
1280 _result
= (wxColour
*) &_result_ref
;
1282 wxPy_END_ALLOW_THREADS
;
1284 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
1285 _resultobj
= Py_BuildValue("s",_ptemp
);
1288 _resultobj
= Py_None
;
1293 #define wxGrid_GetDefCellTextColour(_swigobj) (_swigobj->GetCellTextColour())
1294 static PyObject
*_wrap_wxGrid_GetDefCellTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1295 PyObject
* _resultobj
;
1298 PyObject
* _argo0
= 0;
1299 char *_kwnames
[] = { "self", NULL
};
1303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetDefCellTextColour",_kwnames
,&_argo0
))
1306 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1307 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
1308 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefCellTextColour. Expected _wxGrid_p.");
1313 wxPy_BEGIN_ALLOW_THREADS
;
1314 wxColour
& _result_ref
= wxGrid_GetDefCellTextColour(_arg0
);
1315 _result
= (wxColour
*) &_result_ref
;
1317 wxPy_END_ALLOW_THREADS
;
1319 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
1320 _resultobj
= Py_BuildValue("s",_ptemp
);
1323 _resultobj
= Py_None
;
1328 #define wxGrid_GetCellTextFont(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellTextFont(_swigarg0,_swigarg1))
1329 static PyObject
*_wrap_wxGrid_GetCellTextFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1330 PyObject
* _resultobj
;
1335 PyObject
* _argo0
= 0;
1336 char *_kwnames
[] = { "self","row","col", NULL
};
1340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_GetCellTextFont",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
1343 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1344 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
1345 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellTextFont. Expected _wxGrid_p.");
1350 wxPy_BEGIN_ALLOW_THREADS
;
1351 wxFont
& _result_ref
= wxGrid_GetCellTextFont(_arg0
,_arg1
,_arg2
);
1352 _result
= (wxFont
*) &_result_ref
;
1354 wxPy_END_ALLOW_THREADS
;
1356 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
1357 _resultobj
= Py_BuildValue("s",_ptemp
);
1360 _resultobj
= Py_None
;
1365 #define wxGrid_GetDefCellTextFont(_swigobj) (_swigobj->GetCellTextFont())
1366 static PyObject
*_wrap_wxGrid_GetDefCellTextFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1367 PyObject
* _resultobj
;
1370 PyObject
* _argo0
= 0;
1371 char *_kwnames
[] = { "self", NULL
};
1375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetDefCellTextFont",_kwnames
,&_argo0
))
1378 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1379 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
1380 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefCellTextFont. Expected _wxGrid_p.");
1385 wxPy_BEGIN_ALLOW_THREADS
;
1386 wxFont
& _result_ref
= wxGrid_GetDefCellTextFont(_arg0
);
1387 _result
= (wxFont
*) &_result_ref
;
1389 wxPy_END_ALLOW_THREADS
;
1391 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
1392 _resultobj
= Py_BuildValue("s",_ptemp
);
1395 _resultobj
= Py_None
;
1400 #define wxGrid_GetCellValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellValue(_swigarg0,_swigarg1))
1401 static PyObject
*_wrap_wxGrid_GetCellValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1402 PyObject
* _resultobj
;
1407 PyObject
* _argo0
= 0;
1408 char *_kwnames
[] = { "self","row","col", NULL
};
1411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_GetCellValue",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
1414 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1415 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
1416 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellValue. Expected _wxGrid_p.");
1421 wxPy_BEGIN_ALLOW_THREADS
;
1422 wxString
& _result_ref
= wxGrid_GetCellValue(_arg0
,_arg1
,_arg2
);
1423 _result
= (wxString
*) &_result_ref
;
1425 wxPy_END_ALLOW_THREADS
;
1427 _resultobj
= PyString_FromString(WXSTRINGCAST (*_result
));
1432 #define wxGrid_GetCols(_swigobj) (_swigobj->GetCols())
1433 static PyObject
*_wrap_wxGrid_GetCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1434 PyObject
* _resultobj
;
1437 PyObject
* _argo0
= 0;
1438 char *_kwnames
[] = { "self", NULL
};
1441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetCols",_kwnames
,&_argo0
))
1444 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1445 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
1446 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCols. Expected _wxGrid_p.");
1451 wxPy_BEGIN_ALLOW_THREADS
;
1452 _result
= (int )wxGrid_GetCols(_arg0
);
1454 wxPy_END_ALLOW_THREADS
;
1455 } _resultobj
= Py_BuildValue("i",_result
);
1459 #define wxGrid_GetColumnWidth(_swigobj,_swigarg0) (_swigobj->GetColumnWidth(_swigarg0))
1460 static PyObject
*_wrap_wxGrid_GetColumnWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1461 PyObject
* _resultobj
;
1465 PyObject
* _argo0
= 0;
1466 char *_kwnames
[] = { "self","col", NULL
};
1469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_GetColumnWidth",_kwnames
,&_argo0
,&_arg1
))
1472 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1473 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
1474 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetColumnWidth. Expected _wxGrid_p.");
1479 wxPy_BEGIN_ALLOW_THREADS
;
1480 _result
= (int )wxGrid_GetColumnWidth(_arg0
,_arg1
);
1482 wxPy_END_ALLOW_THREADS
;
1483 } _resultobj
= Py_BuildValue("i",_result
);
1487 #define wxGrid_GetCurrentRect(_swigobj) (_swigobj->GetCurrentRect())
1488 static PyObject
*_wrap_wxGrid_GetCurrentRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1489 PyObject
* _resultobj
;
1492 PyObject
* _argo0
= 0;
1493 char *_kwnames
[] = { "self", NULL
};
1497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetCurrentRect",_kwnames
,&_argo0
))
1500 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1501 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
1502 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCurrentRect. Expected _wxGrid_p.");
1507 wxPy_BEGIN_ALLOW_THREADS
;
1508 _result
= new wxRect (wxGrid_GetCurrentRect(_arg0
));
1510 wxPy_END_ALLOW_THREADS
;
1511 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
1512 _resultobj
= Py_BuildValue("s",_ptemp
);
1516 #define wxGrid_GetCursorColumn(_swigobj) (_swigobj->GetCursorColumn())
1517 static PyObject
*_wrap_wxGrid_GetCursorColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1518 PyObject
* _resultobj
;
1521 PyObject
* _argo0
= 0;
1522 char *_kwnames
[] = { "self", NULL
};
1525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetCursorColumn",_kwnames
,&_argo0
))
1528 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1529 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
1530 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCursorColumn. Expected _wxGrid_p.");
1535 wxPy_BEGIN_ALLOW_THREADS
;
1536 _result
= (int )wxGrid_GetCursorColumn(_arg0
);
1538 wxPy_END_ALLOW_THREADS
;
1539 } _resultobj
= Py_BuildValue("i",_result
);
1543 #define wxGrid_GetCursorRow(_swigobj) (_swigobj->GetCursorRow())
1544 static PyObject
*_wrap_wxGrid_GetCursorRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1545 PyObject
* _resultobj
;
1548 PyObject
* _argo0
= 0;
1549 char *_kwnames
[] = { "self", NULL
};
1552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetCursorRow",_kwnames
,&_argo0
))
1555 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1556 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
1557 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCursorRow. Expected _wxGrid_p.");
1562 wxPy_BEGIN_ALLOW_THREADS
;
1563 _result
= (int )wxGrid_GetCursorRow(_arg0
);
1565 wxPy_END_ALLOW_THREADS
;
1566 } _resultobj
= Py_BuildValue("i",_result
);
1570 #define wxGrid_GetEditable(_swigobj) (_swigobj->GetEditable())
1571 static PyObject
*_wrap_wxGrid_GetEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1572 PyObject
* _resultobj
;
1575 PyObject
* _argo0
= 0;
1576 char *_kwnames
[] = { "self", NULL
};
1579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetEditable",_kwnames
,&_argo0
))
1582 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1583 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
1584 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetEditable. Expected _wxGrid_p.");
1589 wxPy_BEGIN_ALLOW_THREADS
;
1590 _result
= (bool )wxGrid_GetEditable(_arg0
);
1592 wxPy_END_ALLOW_THREADS
;
1593 } _resultobj
= Py_BuildValue("i",_result
);
1597 #define wxGrid_GetHorizScrollBar(_swigobj) (_swigobj->GetHorizScrollBar())
1598 static PyObject
*_wrap_wxGrid_GetHorizScrollBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1599 PyObject
* _resultobj
;
1600 wxScrollBar
* _result
;
1602 PyObject
* _argo0
= 0;
1603 char *_kwnames
[] = { "self", NULL
};
1607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetHorizScrollBar",_kwnames
,&_argo0
))
1610 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1611 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
1612 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetHorizScrollBar. Expected _wxGrid_p.");
1617 wxPy_BEGIN_ALLOW_THREADS
;
1618 _result
= (wxScrollBar
*)wxGrid_GetHorizScrollBar(_arg0
);
1620 wxPy_END_ALLOW_THREADS
;
1622 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScrollBar_p");
1623 _resultobj
= Py_BuildValue("s",_ptemp
);
1626 _resultobj
= Py_None
;
1631 #define wxGrid_GetLabelAlignment(_swigobj,_swigarg0) (_swigobj->GetLabelAlignment(_swigarg0))
1632 static PyObject
*_wrap_wxGrid_GetLabelAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1633 PyObject
* _resultobj
;
1637 PyObject
* _argo0
= 0;
1638 char *_kwnames
[] = { "self","orientation", NULL
};
1641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_GetLabelAlignment",_kwnames
,&_argo0
,&_arg1
))
1644 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1645 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
1646 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetLabelAlignment. Expected _wxGrid_p.");
1651 wxPy_BEGIN_ALLOW_THREADS
;
1652 _result
= (int )wxGrid_GetLabelAlignment(_arg0
,_arg1
);
1654 wxPy_END_ALLOW_THREADS
;
1655 } _resultobj
= Py_BuildValue("i",_result
);
1659 #define wxGrid_GetLabelBackgroundColour(_swigobj) (_swigobj->GetLabelBackgroundColour())
1660 static PyObject
*_wrap_wxGrid_GetLabelBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1661 PyObject
* _resultobj
;
1664 PyObject
* _argo0
= 0;
1665 char *_kwnames
[] = { "self", NULL
};
1669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetLabelBackgroundColour",_kwnames
,&_argo0
))
1672 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1673 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
1674 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetLabelBackgroundColour. Expected _wxGrid_p.");
1679 wxPy_BEGIN_ALLOW_THREADS
;
1680 wxColour
& _result_ref
= wxGrid_GetLabelBackgroundColour(_arg0
);
1681 _result
= (wxColour
*) &_result_ref
;
1683 wxPy_END_ALLOW_THREADS
;
1685 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
1686 _resultobj
= Py_BuildValue("s",_ptemp
);
1689 _resultobj
= Py_None
;
1694 #define wxGrid_GetLabelSize(_swigobj,_swigarg0) (_swigobj->GetLabelSize(_swigarg0))
1695 static PyObject
*_wrap_wxGrid_GetLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1696 PyObject
* _resultobj
;
1700 PyObject
* _argo0
= 0;
1701 char *_kwnames
[] = { "self","orientation", NULL
};
1704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_GetLabelSize",_kwnames
,&_argo0
,&_arg1
))
1707 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1708 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
1709 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetLabelSize. Expected _wxGrid_p.");
1714 wxPy_BEGIN_ALLOW_THREADS
;
1715 _result
= (int )wxGrid_GetLabelSize(_arg0
,_arg1
);
1717 wxPy_END_ALLOW_THREADS
;
1718 } _resultobj
= Py_BuildValue("i",_result
);
1722 #define wxGrid_GetLabelTextColour(_swigobj) (_swigobj->GetLabelTextColour())
1723 static PyObject
*_wrap_wxGrid_GetLabelTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1724 PyObject
* _resultobj
;
1727 PyObject
* _argo0
= 0;
1728 char *_kwnames
[] = { "self", NULL
};
1732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetLabelTextColour",_kwnames
,&_argo0
))
1735 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1736 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
1737 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetLabelTextColour. Expected _wxGrid_p.");
1742 wxPy_BEGIN_ALLOW_THREADS
;
1743 wxColour
& _result_ref
= wxGrid_GetLabelTextColour(_arg0
);
1744 _result
= (wxColour
*) &_result_ref
;
1746 wxPy_END_ALLOW_THREADS
;
1748 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
1749 _resultobj
= Py_BuildValue("s",_ptemp
);
1752 _resultobj
= Py_None
;
1757 #define wxGrid_GetLabelTextFont(_swigobj) (_swigobj->GetLabelTextFont())
1758 static PyObject
*_wrap_wxGrid_GetLabelTextFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1759 PyObject
* _resultobj
;
1762 PyObject
* _argo0
= 0;
1763 char *_kwnames
[] = { "self", NULL
};
1767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetLabelTextFont",_kwnames
,&_argo0
))
1770 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1771 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
1772 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetLabelTextFont. Expected _wxGrid_p.");
1777 wxPy_BEGIN_ALLOW_THREADS
;
1778 wxFont
& _result_ref
= wxGrid_GetLabelTextFont(_arg0
);
1779 _result
= (wxFont
*) &_result_ref
;
1781 wxPy_END_ALLOW_THREADS
;
1783 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
1784 _resultobj
= Py_BuildValue("s",_ptemp
);
1787 _resultobj
= Py_None
;
1792 #define wxGrid_GetLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetLabelValue(_swigarg0,_swigarg1))
1793 static PyObject
*_wrap_wxGrid_GetLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1794 PyObject
* _resultobj
;
1799 PyObject
* _argo0
= 0;
1800 char *_kwnames
[] = { "self","orientation","pos", NULL
};
1803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_GetLabelValue",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
1806 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1807 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
1808 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetLabelValue. Expected _wxGrid_p.");
1813 wxPy_BEGIN_ALLOW_THREADS
;
1814 wxString
& _result_ref
= wxGrid_GetLabelValue(_arg0
,_arg1
,_arg2
);
1815 _result
= (wxString
*) &_result_ref
;
1817 wxPy_END_ALLOW_THREADS
;
1819 _resultobj
= PyString_FromString(WXSTRINGCAST (*_result
));
1824 #define wxGrid_GetRowHeight(_swigobj,_swigarg0) (_swigobj->GetRowHeight(_swigarg0))
1825 static PyObject
*_wrap_wxGrid_GetRowHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1826 PyObject
* _resultobj
;
1830 PyObject
* _argo0
= 0;
1831 char *_kwnames
[] = { "self","row", NULL
};
1834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_GetRowHeight",_kwnames
,&_argo0
,&_arg1
))
1837 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1838 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
1839 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetRowHeight. Expected _wxGrid_p.");
1844 wxPy_BEGIN_ALLOW_THREADS
;
1845 _result
= (int )wxGrid_GetRowHeight(_arg0
,_arg1
);
1847 wxPy_END_ALLOW_THREADS
;
1848 } _resultobj
= Py_BuildValue("i",_result
);
1852 #define wxGrid_GetRows(_swigobj) (_swigobj->GetRows())
1853 static PyObject
*_wrap_wxGrid_GetRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1854 PyObject
* _resultobj
;
1857 PyObject
* _argo0
= 0;
1858 char *_kwnames
[] = { "self", NULL
};
1861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetRows",_kwnames
,&_argo0
))
1864 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1865 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
1866 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetRows. Expected _wxGrid_p.");
1871 wxPy_BEGIN_ALLOW_THREADS
;
1872 _result
= (int )wxGrid_GetRows(_arg0
);
1874 wxPy_END_ALLOW_THREADS
;
1875 } _resultobj
= Py_BuildValue("i",_result
);
1879 #define wxGrid_GetScrollPosX(_swigobj) (_swigobj->GetScrollPosX())
1880 static PyObject
*_wrap_wxGrid_GetScrollPosX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1881 PyObject
* _resultobj
;
1884 PyObject
* _argo0
= 0;
1885 char *_kwnames
[] = { "self", NULL
};
1888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetScrollPosX",_kwnames
,&_argo0
))
1891 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1892 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
1893 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetScrollPosX. Expected _wxGrid_p.");
1898 wxPy_BEGIN_ALLOW_THREADS
;
1899 _result
= (int )wxGrid_GetScrollPosX(_arg0
);
1901 wxPy_END_ALLOW_THREADS
;
1902 } _resultobj
= Py_BuildValue("i",_result
);
1906 #define wxGrid_GetScrollPosY(_swigobj) (_swigobj->GetScrollPosY())
1907 static PyObject
*_wrap_wxGrid_GetScrollPosY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1908 PyObject
* _resultobj
;
1911 PyObject
* _argo0
= 0;
1912 char *_kwnames
[] = { "self", NULL
};
1915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetScrollPosY",_kwnames
,&_argo0
))
1918 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1919 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
1920 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetScrollPosY. Expected _wxGrid_p.");
1925 wxPy_BEGIN_ALLOW_THREADS
;
1926 _result
= (int )wxGrid_GetScrollPosY(_arg0
);
1928 wxPy_END_ALLOW_THREADS
;
1929 } _resultobj
= Py_BuildValue("i",_result
);
1933 #define wxGrid_GetTextItem(_swigobj) (_swigobj->GetTextItem())
1934 static PyObject
*_wrap_wxGrid_GetTextItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1935 PyObject
* _resultobj
;
1936 wxTextCtrl
* _result
;
1938 PyObject
* _argo0
= 0;
1939 char *_kwnames
[] = { "self", NULL
};
1943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetTextItem",_kwnames
,&_argo0
))
1946 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1947 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
1948 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetTextItem. Expected _wxGrid_p.");
1953 wxPy_BEGIN_ALLOW_THREADS
;
1954 _result
= (wxTextCtrl
*)wxGrid_GetTextItem(_arg0
);
1956 wxPy_END_ALLOW_THREADS
;
1958 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTextCtrl_p");
1959 _resultobj
= Py_BuildValue("s",_ptemp
);
1962 _resultobj
= Py_None
;
1967 #define wxGrid_GetVertScrollBar(_swigobj) (_swigobj->GetVertScrollBar())
1968 static PyObject
*_wrap_wxGrid_GetVertScrollBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1969 PyObject
* _resultobj
;
1970 wxScrollBar
* _result
;
1972 PyObject
* _argo0
= 0;
1973 char *_kwnames
[] = { "self", NULL
};
1977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetVertScrollBar",_kwnames
,&_argo0
))
1980 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1981 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
1982 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetVertScrollBar. Expected _wxGrid_p.");
1987 wxPy_BEGIN_ALLOW_THREADS
;
1988 _result
= (wxScrollBar
*)wxGrid_GetVertScrollBar(_arg0
);
1990 wxPy_END_ALLOW_THREADS
;
1992 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScrollBar_p");
1993 _resultobj
= Py_BuildValue("s",_ptemp
);
1996 _resultobj
= Py_None
;
2001 #define wxGrid_InsertCols(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertCols(_swigarg0,_swigarg1,_swigarg2))
2002 static PyObject
*_wrap_wxGrid_InsertCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2003 PyObject
* _resultobj
;
2006 int _arg1
= (int ) 0;
2007 int _arg2
= (int ) 1;
2008 bool _arg3
= (bool ) TRUE
;
2009 PyObject
* _argo0
= 0;
2010 int tempbool3
= (int) TRUE
;
2011 char *_kwnames
[] = { "self","pos","n","updateLabels", NULL
};
2014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iii:wxGrid_InsertCols",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
2017 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2018 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
2019 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_InsertCols. Expected _wxGrid_p.");
2023 _arg3
= (bool ) tempbool3
;
2025 wxPy_BEGIN_ALLOW_THREADS
;
2026 _result
= (bool )wxGrid_InsertCols(_arg0
,_arg1
,_arg2
,_arg3
);
2028 wxPy_END_ALLOW_THREADS
;
2029 } _resultobj
= Py_BuildValue("i",_result
);
2033 #define wxGrid_InsertRows(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertRows(_swigarg0,_swigarg1,_swigarg2))
2034 static PyObject
*_wrap_wxGrid_InsertRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2035 PyObject
* _resultobj
;
2038 int _arg1
= (int ) 0;
2039 int _arg2
= (int ) 1;
2040 bool _arg3
= (bool ) TRUE
;
2041 PyObject
* _argo0
= 0;
2042 int tempbool3
= (int) TRUE
;
2043 char *_kwnames
[] = { "self","pos","n","updateLabels", NULL
};
2046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iii:wxGrid_InsertRows",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
2049 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2050 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
2051 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_InsertRows. Expected _wxGrid_p.");
2055 _arg3
= (bool ) tempbool3
;
2057 wxPy_BEGIN_ALLOW_THREADS
;
2058 _result
= (bool )wxGrid_InsertRows(_arg0
,_arg1
,_arg2
,_arg3
);
2060 wxPy_END_ALLOW_THREADS
;
2061 } _resultobj
= Py_BuildValue("i",_result
);
2065 #define wxGrid_OnActivate(_swigobj,_swigarg0) (_swigobj->OnActivate(_swigarg0))
2066 static PyObject
*_wrap_wxGrid_OnActivate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2067 PyObject
* _resultobj
;
2070 PyObject
* _argo0
= 0;
2072 char *_kwnames
[] = { "self","active", NULL
};
2075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_OnActivate",_kwnames
,&_argo0
,&tempbool1
))
2078 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2079 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
2080 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_OnActivate. Expected _wxGrid_p.");
2084 _arg1
= (bool ) tempbool1
;
2086 wxPy_BEGIN_ALLOW_THREADS
;
2087 wxGrid_OnActivate(_arg0
,_arg1
);
2089 wxPy_END_ALLOW_THREADS
;
2090 } Py_INCREF(Py_None
);
2091 _resultobj
= Py_None
;
2095 #define wxGrid_SetCellAlignment(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellAlignment(_swigarg0,_swigarg1,_swigarg2))
2096 static PyObject
*_wrap_wxGrid_SetCellAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2097 PyObject
* _resultobj
;
2102 PyObject
* _argo0
= 0;
2103 char *_kwnames
[] = { "self","alignment","row","col", NULL
};
2106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiii:wxGrid_SetCellAlignment",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
2109 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2110 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
2111 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellAlignment. Expected _wxGrid_p.");
2116 wxPy_BEGIN_ALLOW_THREADS
;
2117 wxGrid_SetCellAlignment(_arg0
,_arg1
,_arg2
,_arg3
);
2119 wxPy_END_ALLOW_THREADS
;
2120 } Py_INCREF(Py_None
);
2121 _resultobj
= Py_None
;
2125 #define wxGrid_SetDefCellAlignment(_swigobj,_swigarg0) (_swigobj->SetCellAlignment(_swigarg0))
2126 static PyObject
*_wrap_wxGrid_SetDefCellAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2127 PyObject
* _resultobj
;
2130 PyObject
* _argo0
= 0;
2131 char *_kwnames
[] = { "self","alignment", NULL
};
2134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_SetDefCellAlignment",_kwnames
,&_argo0
,&_arg1
))
2137 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2138 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
2139 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetDefCellAlignment. Expected _wxGrid_p.");
2144 wxPy_BEGIN_ALLOW_THREADS
;
2145 wxGrid_SetDefCellAlignment(_arg0
,_arg1
);
2147 wxPy_END_ALLOW_THREADS
;
2148 } Py_INCREF(Py_None
);
2149 _resultobj
= Py_None
;
2153 #define wxGrid_SetCellBackgroundColour(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellBackgroundColour(_swigarg0,_swigarg1,_swigarg2))
2154 static PyObject
*_wrap_wxGrid_SetCellBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2155 PyObject
* _resultobj
;
2160 PyObject
* _argo0
= 0;
2161 PyObject
* _argo1
= 0;
2162 char *_kwnames
[] = { "self","colour","row","col", NULL
};
2165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxGrid_SetCellBackgroundColour",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
2168 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2169 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
2170 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellBackgroundColour. Expected _wxGrid_p.");
2175 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2176 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxColour_p")) {
2177 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_SetCellBackgroundColour. Expected _wxColour_p.");
2182 wxPy_BEGIN_ALLOW_THREADS
;
2183 wxGrid_SetCellBackgroundColour(_arg0
,*_arg1
,_arg2
,_arg3
);
2185 wxPy_END_ALLOW_THREADS
;
2186 } Py_INCREF(Py_None
);
2187 _resultobj
= Py_None
;
2191 #define wxGrid_SetDefCellBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetCellBackgroundColour(_swigarg0))
2192 static PyObject
*_wrap_wxGrid_SetDefCellBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2193 PyObject
* _resultobj
;
2196 PyObject
* _argo0
= 0;
2197 PyObject
* _argo1
= 0;
2198 char *_kwnames
[] = { "self","colour", NULL
};
2201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetDefCellBackgroundColour",_kwnames
,&_argo0
,&_argo1
))
2204 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2205 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
2206 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetDefCellBackgroundColour. Expected _wxGrid_p.");
2211 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2212 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxColour_p")) {
2213 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_SetDefCellBackgroundColour. Expected _wxColour_p.");
2218 wxPy_BEGIN_ALLOW_THREADS
;
2219 wxGrid_SetDefCellBackgroundColour(_arg0
,*_arg1
);
2221 wxPy_END_ALLOW_THREADS
;
2222 } Py_INCREF(Py_None
);
2223 _resultobj
= Py_None
;
2227 #define wxGrid_SetCellTextColour(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellTextColour(_swigarg0,_swigarg1,_swigarg2))
2228 static PyObject
*_wrap_wxGrid_SetCellTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2229 PyObject
* _resultobj
;
2234 PyObject
* _argo0
= 0;
2235 PyObject
* _argo1
= 0;
2236 char *_kwnames
[] = { "self","colour","row","col", NULL
};
2239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxGrid_SetCellTextColour",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
2242 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2243 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
2244 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellTextColour. Expected _wxGrid_p.");
2249 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2250 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxColour_p")) {
2251 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_SetCellTextColour. Expected _wxColour_p.");
2256 wxPy_BEGIN_ALLOW_THREADS
;
2257 wxGrid_SetCellTextColour(_arg0
,*_arg1
,_arg2
,_arg3
);
2259 wxPy_END_ALLOW_THREADS
;
2260 } Py_INCREF(Py_None
);
2261 _resultobj
= Py_None
;
2265 #define wxGrid_SetDefCellTextColour(_swigobj,_swigarg0) (_swigobj->SetCellTextColour(_swigarg0))
2266 static PyObject
*_wrap_wxGrid_SetDefCellTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2267 PyObject
* _resultobj
;
2270 PyObject
* _argo0
= 0;
2271 PyObject
* _argo1
= 0;
2272 char *_kwnames
[] = { "self","colour", NULL
};
2275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetDefCellTextColour",_kwnames
,&_argo0
,&_argo1
))
2278 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2279 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
2280 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetDefCellTextColour. Expected _wxGrid_p.");
2285 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2286 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxColour_p")) {
2287 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_SetDefCellTextColour. Expected _wxColour_p.");
2292 wxPy_BEGIN_ALLOW_THREADS
;
2293 wxGrid_SetDefCellTextColour(_arg0
,*_arg1
);
2295 wxPy_END_ALLOW_THREADS
;
2296 } Py_INCREF(Py_None
);
2297 _resultobj
= Py_None
;
2301 #define wxGrid_SetCellTextFont(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellTextFont(_swigarg0,_swigarg1,_swigarg2))
2302 static PyObject
*_wrap_wxGrid_SetCellTextFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2303 PyObject
* _resultobj
;
2308 PyObject
* _argo0
= 0;
2309 PyObject
* _argo1
= 0;
2310 char *_kwnames
[] = { "self","font","row","col", NULL
};
2313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxGrid_SetCellTextFont",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
2316 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2317 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
2318 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellTextFont. Expected _wxGrid_p.");
2323 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2324 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
2325 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_SetCellTextFont. Expected _wxFont_p.");
2330 wxPy_BEGIN_ALLOW_THREADS
;
2331 wxGrid_SetCellTextFont(_arg0
,*_arg1
,_arg2
,_arg3
);
2333 wxPy_END_ALLOW_THREADS
;
2334 } Py_INCREF(Py_None
);
2335 _resultobj
= Py_None
;
2339 #define wxGrid_SetDefCellTextFont(_swigobj,_swigarg0) (_swigobj->SetCellTextFont(_swigarg0))
2340 static PyObject
*_wrap_wxGrid_SetDefCellTextFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2341 PyObject
* _resultobj
;
2344 PyObject
* _argo0
= 0;
2345 PyObject
* _argo1
= 0;
2346 char *_kwnames
[] = { "self","font", NULL
};
2349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetDefCellTextFont",_kwnames
,&_argo0
,&_argo1
))
2352 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2353 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
2354 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetDefCellTextFont. Expected _wxGrid_p.");
2359 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2360 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
2361 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_SetDefCellTextFont. Expected _wxFont_p.");
2366 wxPy_BEGIN_ALLOW_THREADS
;
2367 wxGrid_SetDefCellTextFont(_arg0
,*_arg1
);
2369 wxPy_END_ALLOW_THREADS
;
2370 } Py_INCREF(Py_None
);
2371 _resultobj
= Py_None
;
2375 #define wxGrid_SetCellValue(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellValue(_swigarg0,_swigarg1,_swigarg2))
2376 static PyObject
*_wrap_wxGrid_SetCellValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2377 PyObject
* _resultobj
;
2382 PyObject
* _argo0
= 0;
2383 PyObject
* _obj1
= 0;
2384 char *_kwnames
[] = { "self","val","row","col", NULL
};
2387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxGrid_SetCellValue",_kwnames
,&_argo0
,&_obj1
,&_arg2
,&_arg3
))
2390 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2391 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
2392 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellValue. Expected _wxGrid_p.");
2397 if (!PyString_Check(_obj1
)) {
2398 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2401 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
2404 wxPy_BEGIN_ALLOW_THREADS
;
2405 wxGrid_SetCellValue(_arg0
,*_arg1
,_arg2
,_arg3
);
2407 wxPy_END_ALLOW_THREADS
;
2408 } Py_INCREF(Py_None
);
2409 _resultobj
= Py_None
;
2417 #define wxGrid_SetColumnWidth(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColumnWidth(_swigarg0,_swigarg1))
2418 static PyObject
*_wrap_wxGrid_SetColumnWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2419 PyObject
* _resultobj
;
2423 PyObject
* _argo0
= 0;
2424 char *_kwnames
[] = { "self","col","width", NULL
};
2427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_SetColumnWidth",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2430 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2431 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
2432 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetColumnWidth. Expected _wxGrid_p.");
2437 wxPy_BEGIN_ALLOW_THREADS
;
2438 wxGrid_SetColumnWidth(_arg0
,_arg1
,_arg2
);
2440 wxPy_END_ALLOW_THREADS
;
2441 } Py_INCREF(Py_None
);
2442 _resultobj
= Py_None
;
2446 #define wxGrid_SetDividerPen(_swigobj,_swigarg0) (_swigobj->SetDividerPen(_swigarg0))
2447 static PyObject
*_wrap_wxGrid_SetDividerPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2448 PyObject
* _resultobj
;
2451 PyObject
* _argo0
= 0;
2452 PyObject
* _argo1
= 0;
2453 char *_kwnames
[] = { "self","pen", NULL
};
2456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetDividerPen",_kwnames
,&_argo0
,&_argo1
))
2459 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2460 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
2461 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetDividerPen. Expected _wxGrid_p.");
2466 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2467 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPen_p")) {
2468 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_SetDividerPen. Expected _wxPen_p.");
2473 wxPy_BEGIN_ALLOW_THREADS
;
2474 wxGrid_SetDividerPen(_arg0
,*_arg1
);
2476 wxPy_END_ALLOW_THREADS
;
2477 } Py_INCREF(Py_None
);
2478 _resultobj
= Py_None
;
2482 #define wxGrid_SetEditable(_swigobj,_swigarg0) (_swigobj->SetEditable(_swigarg0))
2483 static PyObject
*_wrap_wxGrid_SetEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2484 PyObject
* _resultobj
;
2487 PyObject
* _argo0
= 0;
2489 char *_kwnames
[] = { "self","editable", NULL
};
2492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_SetEditable",_kwnames
,&_argo0
,&tempbool1
))
2495 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2496 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
2497 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetEditable. Expected _wxGrid_p.");
2501 _arg1
= (bool ) tempbool1
;
2503 wxPy_BEGIN_ALLOW_THREADS
;
2504 wxGrid_SetEditable(_arg0
,_arg1
);
2506 wxPy_END_ALLOW_THREADS
;
2507 } Py_INCREF(Py_None
);
2508 _resultobj
= Py_None
;
2512 #define wxGrid_SetGridCursor(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetGridCursor(_swigarg0,_swigarg1))
2513 static PyObject
*_wrap_wxGrid_SetGridCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2514 PyObject
* _resultobj
;
2518 PyObject
* _argo0
= 0;
2519 char *_kwnames
[] = { "self","row","col", NULL
};
2522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_SetGridCursor",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2525 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2526 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
2527 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetGridCursor. Expected _wxGrid_p.");
2532 wxPy_BEGIN_ALLOW_THREADS
;
2533 wxGrid_SetGridCursor(_arg0
,_arg1
,_arg2
);
2535 wxPy_END_ALLOW_THREADS
;
2536 } Py_INCREF(Py_None
);
2537 _resultobj
= Py_None
;
2541 #define wxGrid_SetLabelAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabelAlignment(_swigarg0,_swigarg1))
2542 static PyObject
*_wrap_wxGrid_SetLabelAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2543 PyObject
* _resultobj
;
2547 PyObject
* _argo0
= 0;
2548 char *_kwnames
[] = { "self","orientation","alignment", NULL
};
2551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_SetLabelAlignment",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2554 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2555 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
2556 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetLabelAlignment. Expected _wxGrid_p.");
2561 wxPy_BEGIN_ALLOW_THREADS
;
2562 wxGrid_SetLabelAlignment(_arg0
,_arg1
,_arg2
);
2564 wxPy_END_ALLOW_THREADS
;
2565 } Py_INCREF(Py_None
);
2566 _resultobj
= Py_None
;
2570 #define wxGrid_SetLabelBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetLabelBackgroundColour(_swigarg0))
2571 static PyObject
*_wrap_wxGrid_SetLabelBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2572 PyObject
* _resultobj
;
2575 PyObject
* _argo0
= 0;
2576 PyObject
* _argo1
= 0;
2577 char *_kwnames
[] = { "self","value", NULL
};
2580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetLabelBackgroundColour",_kwnames
,&_argo0
,&_argo1
))
2583 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2584 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
2585 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetLabelBackgroundColour. Expected _wxGrid_p.");
2590 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2591 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxColour_p")) {
2592 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_SetLabelBackgroundColour. Expected _wxColour_p.");
2597 wxPy_BEGIN_ALLOW_THREADS
;
2598 wxGrid_SetLabelBackgroundColour(_arg0
,*_arg1
);
2600 wxPy_END_ALLOW_THREADS
;
2601 } Py_INCREF(Py_None
);
2602 _resultobj
= Py_None
;
2606 #define wxGrid_SetLabelSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabelSize(_swigarg0,_swigarg1))
2607 static PyObject
*_wrap_wxGrid_SetLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2608 PyObject
* _resultobj
;
2612 PyObject
* _argo0
= 0;
2613 char *_kwnames
[] = { "self","orientation","size", NULL
};
2616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_SetLabelSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2619 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2620 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
2621 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetLabelSize. Expected _wxGrid_p.");
2626 wxPy_BEGIN_ALLOW_THREADS
;
2627 wxGrid_SetLabelSize(_arg0
,_arg1
,_arg2
);
2629 wxPy_END_ALLOW_THREADS
;
2630 } Py_INCREF(Py_None
);
2631 _resultobj
= Py_None
;
2635 #define wxGrid_SetLabelTextColour(_swigobj,_swigarg0) (_swigobj->SetLabelTextColour(_swigarg0))
2636 static PyObject
*_wrap_wxGrid_SetLabelTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2637 PyObject
* _resultobj
;
2640 PyObject
* _argo0
= 0;
2641 PyObject
* _argo1
= 0;
2642 char *_kwnames
[] = { "self","value", NULL
};
2645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetLabelTextColour",_kwnames
,&_argo0
,&_argo1
))
2648 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2649 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
2650 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetLabelTextColour. Expected _wxGrid_p.");
2655 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2656 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxColour_p")) {
2657 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_SetLabelTextColour. Expected _wxColour_p.");
2662 wxPy_BEGIN_ALLOW_THREADS
;
2663 wxGrid_SetLabelTextColour(_arg0
,*_arg1
);
2665 wxPy_END_ALLOW_THREADS
;
2666 } Py_INCREF(Py_None
);
2667 _resultobj
= Py_None
;
2671 #define wxGrid_SetLabelTextFont(_swigobj,_swigarg0) (_swigobj->SetLabelTextFont(_swigarg0))
2672 static PyObject
*_wrap_wxGrid_SetLabelTextFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2673 PyObject
* _resultobj
;
2676 PyObject
* _argo0
= 0;
2677 PyObject
* _argo1
= 0;
2678 char *_kwnames
[] = { "self","font", NULL
};
2681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetLabelTextFont",_kwnames
,&_argo0
,&_argo1
))
2684 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2685 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
2686 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetLabelTextFont. Expected _wxGrid_p.");
2691 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2692 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
2693 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_SetLabelTextFont. Expected _wxFont_p.");
2698 wxPy_BEGIN_ALLOW_THREADS
;
2699 wxGrid_SetLabelTextFont(_arg0
,*_arg1
);
2701 wxPy_END_ALLOW_THREADS
;
2702 } Py_INCREF(Py_None
);
2703 _resultobj
= Py_None
;
2707 #define wxGrid_SetLabelValue(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetLabelValue(_swigarg0,_swigarg1,_swigarg2))
2708 static PyObject
*_wrap_wxGrid_SetLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2709 PyObject
* _resultobj
;
2714 PyObject
* _argo0
= 0;
2715 PyObject
* _obj2
= 0;
2716 char *_kwnames
[] = { "self","orientation","value","pos", NULL
};
2719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOi:wxGrid_SetLabelValue",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_arg3
))
2722 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2723 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
2724 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetLabelValue. Expected _wxGrid_p.");
2729 if (!PyString_Check(_obj2
)) {
2730 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2733 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
2736 wxPy_BEGIN_ALLOW_THREADS
;
2737 wxGrid_SetLabelValue(_arg0
,_arg1
,*_arg2
,_arg3
);
2739 wxPy_END_ALLOW_THREADS
;
2740 } Py_INCREF(Py_None
);
2741 _resultobj
= Py_None
;
2749 #define wxGrid_SetRowHeight(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowHeight(_swigarg0,_swigarg1))
2750 static PyObject
*_wrap_wxGrid_SetRowHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2751 PyObject
* _resultobj
;
2755 PyObject
* _argo0
= 0;
2756 char *_kwnames
[] = { "self","row","height", NULL
};
2759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_SetRowHeight",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2762 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2763 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
2764 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetRowHeight. Expected _wxGrid_p.");
2769 wxPy_BEGIN_ALLOW_THREADS
;
2770 wxGrid_SetRowHeight(_arg0
,_arg1
,_arg2
);
2772 wxPy_END_ALLOW_THREADS
;
2773 } Py_INCREF(Py_None
);
2774 _resultobj
= Py_None
;
2778 #define wxGrid_UpdateDimensions(_swigobj) (_swigobj->UpdateDimensions())
2779 static PyObject
*_wrap_wxGrid_UpdateDimensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2780 PyObject
* _resultobj
;
2782 PyObject
* _argo0
= 0;
2783 char *_kwnames
[] = { "self", NULL
};
2786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_UpdateDimensions",_kwnames
,&_argo0
))
2789 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2790 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
2791 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_UpdateDimensions. Expected _wxGrid_p.");
2796 wxPy_BEGIN_ALLOW_THREADS
;
2797 wxGrid_UpdateDimensions(_arg0
);
2799 wxPy_END_ALLOW_THREADS
;
2800 } Py_INCREF(Py_None
);
2801 _resultobj
= Py_None
;
2805 #define wxGrid_GetEditInPlace(_swigobj) (_swigobj->GetEditInPlace())
2806 static PyObject
*_wrap_wxGrid_GetEditInPlace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2807 PyObject
* _resultobj
;
2810 PyObject
* _argo0
= 0;
2811 char *_kwnames
[] = { "self", NULL
};
2814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetEditInPlace",_kwnames
,&_argo0
))
2817 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2818 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
2819 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetEditInPlace. Expected _wxGrid_p.");
2824 wxPy_BEGIN_ALLOW_THREADS
;
2825 _result
= (bool )wxGrid_GetEditInPlace(_arg0
);
2827 wxPy_END_ALLOW_THREADS
;
2828 } _resultobj
= Py_BuildValue("i",_result
);
2832 #define wxGrid_SetEditInPlace(_swigobj,_swigarg0) (_swigobj->SetEditInPlace(_swigarg0))
2833 static PyObject
*_wrap_wxGrid_SetEditInPlace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2834 PyObject
* _resultobj
;
2836 int _arg1
= (int ) TRUE
;
2837 PyObject
* _argo0
= 0;
2838 char *_kwnames
[] = { "self","edit", NULL
};
2841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxGrid_SetEditInPlace",_kwnames
,&_argo0
,&_arg1
))
2844 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2845 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
2846 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetEditInPlace. Expected _wxGrid_p.");
2851 wxPy_BEGIN_ALLOW_THREADS
;
2852 wxGrid_SetEditInPlace(_arg0
,_arg1
);
2854 wxPy_END_ALLOW_THREADS
;
2855 } Py_INCREF(Py_None
);
2856 _resultobj
= Py_None
;
2860 static void *SwigwxGridEventTowxEvent(void *ptr
) {
2863 src
= (wxGridEvent
*) ptr
;
2864 dest
= (wxEvent
*) src
;
2865 return (void *) dest
;
2868 #define wxGridEvent_m_row_set(_swigobj,_swigval) (_swigobj->m_row = _swigval,_swigval)
2869 static PyObject
*_wrap_wxGridEvent_m_row_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2870 PyObject
* _resultobj
;
2872 wxGridEvent
* _arg0
;
2874 PyObject
* _argo0
= 0;
2875 char *_kwnames
[] = { "self","m_row", NULL
};
2878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridEvent_m_row_set",_kwnames
,&_argo0
,&_arg1
))
2881 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2882 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
2883 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_m_row_set. Expected _wxGridEvent_p.");
2888 wxPy_BEGIN_ALLOW_THREADS
;
2889 _result
= (int )wxGridEvent_m_row_set(_arg0
,_arg1
);
2891 wxPy_END_ALLOW_THREADS
;
2892 } _resultobj
= Py_BuildValue("i",_result
);
2896 #define wxGridEvent_m_row_get(_swigobj) ((int ) _swigobj->m_row)
2897 static PyObject
*_wrap_wxGridEvent_m_row_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2898 PyObject
* _resultobj
;
2900 wxGridEvent
* _arg0
;
2901 PyObject
* _argo0
= 0;
2902 char *_kwnames
[] = { "self", NULL
};
2905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_m_row_get",_kwnames
,&_argo0
))
2908 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2909 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
2910 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_m_row_get. Expected _wxGridEvent_p.");
2915 wxPy_BEGIN_ALLOW_THREADS
;
2916 _result
= (int )wxGridEvent_m_row_get(_arg0
);
2918 wxPy_END_ALLOW_THREADS
;
2919 } _resultobj
= Py_BuildValue("i",_result
);
2923 #define wxGridEvent_m_col_set(_swigobj,_swigval) (_swigobj->m_col = _swigval,_swigval)
2924 static PyObject
*_wrap_wxGridEvent_m_col_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2925 PyObject
* _resultobj
;
2927 wxGridEvent
* _arg0
;
2929 PyObject
* _argo0
= 0;
2930 char *_kwnames
[] = { "self","m_col", NULL
};
2933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridEvent_m_col_set",_kwnames
,&_argo0
,&_arg1
))
2936 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2937 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
2938 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_m_col_set. Expected _wxGridEvent_p.");
2943 wxPy_BEGIN_ALLOW_THREADS
;
2944 _result
= (int )wxGridEvent_m_col_set(_arg0
,_arg1
);
2946 wxPy_END_ALLOW_THREADS
;
2947 } _resultobj
= Py_BuildValue("i",_result
);
2951 #define wxGridEvent_m_col_get(_swigobj) ((int ) _swigobj->m_col)
2952 static PyObject
*_wrap_wxGridEvent_m_col_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2953 PyObject
* _resultobj
;
2955 wxGridEvent
* _arg0
;
2956 PyObject
* _argo0
= 0;
2957 char *_kwnames
[] = { "self", NULL
};
2960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_m_col_get",_kwnames
,&_argo0
))
2963 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2964 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
2965 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_m_col_get. Expected _wxGridEvent_p.");
2970 wxPy_BEGIN_ALLOW_THREADS
;
2971 _result
= (int )wxGridEvent_m_col_get(_arg0
);
2973 wxPy_END_ALLOW_THREADS
;
2974 } _resultobj
= Py_BuildValue("i",_result
);
2978 #define wxGridEvent_m_x_set(_swigobj,_swigval) (_swigobj->m_x = _swigval,_swigval)
2979 static PyObject
*_wrap_wxGridEvent_m_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2980 PyObject
* _resultobj
;
2982 wxGridEvent
* _arg0
;
2984 PyObject
* _argo0
= 0;
2985 char *_kwnames
[] = { "self","m_x", NULL
};
2988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridEvent_m_x_set",_kwnames
,&_argo0
,&_arg1
))
2991 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2992 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
2993 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_m_x_set. Expected _wxGridEvent_p.");
2998 wxPy_BEGIN_ALLOW_THREADS
;
2999 _result
= (int )wxGridEvent_m_x_set(_arg0
,_arg1
);
3001 wxPy_END_ALLOW_THREADS
;
3002 } _resultobj
= Py_BuildValue("i",_result
);
3006 #define wxGridEvent_m_x_get(_swigobj) ((int ) _swigobj->m_x)
3007 static PyObject
*_wrap_wxGridEvent_m_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3008 PyObject
* _resultobj
;
3010 wxGridEvent
* _arg0
;
3011 PyObject
* _argo0
= 0;
3012 char *_kwnames
[] = { "self", NULL
};
3015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_m_x_get",_kwnames
,&_argo0
))
3018 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3019 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
3020 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_m_x_get. Expected _wxGridEvent_p.");
3025 wxPy_BEGIN_ALLOW_THREADS
;
3026 _result
= (int )wxGridEvent_m_x_get(_arg0
);
3028 wxPy_END_ALLOW_THREADS
;
3029 } _resultobj
= Py_BuildValue("i",_result
);
3033 #define wxGridEvent_m_y_set(_swigobj,_swigval) (_swigobj->m_y = _swigval,_swigval)
3034 static PyObject
*_wrap_wxGridEvent_m_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3035 PyObject
* _resultobj
;
3037 wxGridEvent
* _arg0
;
3039 PyObject
* _argo0
= 0;
3040 char *_kwnames
[] = { "self","m_y", NULL
};
3043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridEvent_m_y_set",_kwnames
,&_argo0
,&_arg1
))
3046 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3047 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
3048 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_m_y_set. Expected _wxGridEvent_p.");
3053 wxPy_BEGIN_ALLOW_THREADS
;
3054 _result
= (int )wxGridEvent_m_y_set(_arg0
,_arg1
);
3056 wxPy_END_ALLOW_THREADS
;
3057 } _resultobj
= Py_BuildValue("i",_result
);
3061 #define wxGridEvent_m_y_get(_swigobj) ((int ) _swigobj->m_y)
3062 static PyObject
*_wrap_wxGridEvent_m_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3063 PyObject
* _resultobj
;
3065 wxGridEvent
* _arg0
;
3066 PyObject
* _argo0
= 0;
3067 char *_kwnames
[] = { "self", NULL
};
3070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_m_y_get",_kwnames
,&_argo0
))
3073 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3074 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
3075 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_m_y_get. Expected _wxGridEvent_p.");
3080 wxPy_BEGIN_ALLOW_THREADS
;
3081 _result
= (int )wxGridEvent_m_y_get(_arg0
);
3083 wxPy_END_ALLOW_THREADS
;
3084 } _resultobj
= Py_BuildValue("i",_result
);
3088 #define wxGridEvent_m_control_set(_swigobj,_swigval) (_swigobj->m_control = _swigval,_swigval)
3089 static PyObject
*_wrap_wxGridEvent_m_control_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3090 PyObject
* _resultobj
;
3092 wxGridEvent
* _arg0
;
3094 PyObject
* _argo0
= 0;
3096 char *_kwnames
[] = { "self","m_control", NULL
};
3099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridEvent_m_control_set",_kwnames
,&_argo0
,&tempbool1
))
3102 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3103 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
3104 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_m_control_set. Expected _wxGridEvent_p.");
3108 _arg1
= (bool ) tempbool1
;
3110 wxPy_BEGIN_ALLOW_THREADS
;
3111 _result
= (bool )wxGridEvent_m_control_set(_arg0
,_arg1
);
3113 wxPy_END_ALLOW_THREADS
;
3114 } _resultobj
= Py_BuildValue("i",_result
);
3118 #define wxGridEvent_m_control_get(_swigobj) ((bool ) _swigobj->m_control)
3119 static PyObject
*_wrap_wxGridEvent_m_control_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3120 PyObject
* _resultobj
;
3122 wxGridEvent
* _arg0
;
3123 PyObject
* _argo0
= 0;
3124 char *_kwnames
[] = { "self", NULL
};
3127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_m_control_get",_kwnames
,&_argo0
))
3130 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3131 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
3132 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_m_control_get. Expected _wxGridEvent_p.");
3137 wxPy_BEGIN_ALLOW_THREADS
;
3138 _result
= (bool )wxGridEvent_m_control_get(_arg0
);
3140 wxPy_END_ALLOW_THREADS
;
3141 } _resultobj
= Py_BuildValue("i",_result
);
3145 #define wxGridEvent_m_shift_set(_swigobj,_swigval) (_swigobj->m_shift = _swigval,_swigval)
3146 static PyObject
*_wrap_wxGridEvent_m_shift_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3147 PyObject
* _resultobj
;
3149 wxGridEvent
* _arg0
;
3151 PyObject
* _argo0
= 0;
3153 char *_kwnames
[] = { "self","m_shift", NULL
};
3156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridEvent_m_shift_set",_kwnames
,&_argo0
,&tempbool1
))
3159 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3160 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
3161 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_m_shift_set. Expected _wxGridEvent_p.");
3165 _arg1
= (bool ) tempbool1
;
3167 wxPy_BEGIN_ALLOW_THREADS
;
3168 _result
= (bool )wxGridEvent_m_shift_set(_arg0
,_arg1
);
3170 wxPy_END_ALLOW_THREADS
;
3171 } _resultobj
= Py_BuildValue("i",_result
);
3175 #define wxGridEvent_m_shift_get(_swigobj) ((bool ) _swigobj->m_shift)
3176 static PyObject
*_wrap_wxGridEvent_m_shift_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3177 PyObject
* _resultobj
;
3179 wxGridEvent
* _arg0
;
3180 PyObject
* _argo0
= 0;
3181 char *_kwnames
[] = { "self", NULL
};
3184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_m_shift_get",_kwnames
,&_argo0
))
3187 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3188 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
3189 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_m_shift_get. Expected _wxGridEvent_p.");
3194 wxPy_BEGIN_ALLOW_THREADS
;
3195 _result
= (bool )wxGridEvent_m_shift_get(_arg0
);
3197 wxPy_END_ALLOW_THREADS
;
3198 } _resultobj
= Py_BuildValue("i",_result
);
3202 #define wxGridEvent_m_cell_set(_swigobj,_swigval) (_swigobj->m_cell = _swigval,_swigval)
3203 static PyObject
*_wrap_wxGridEvent_m_cell_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3204 PyObject
* _resultobj
;
3205 wxGridCell
* _result
;
3206 wxGridEvent
* _arg0
;
3208 PyObject
* _argo0
= 0;
3209 PyObject
* _argo1
= 0;
3210 char *_kwnames
[] = { "self","m_cell", NULL
};
3214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridEvent_m_cell_set",_kwnames
,&_argo0
,&_argo1
))
3217 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3218 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
3219 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_m_cell_set. Expected _wxGridEvent_p.");
3224 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3225 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCell_p")) {
3226 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridEvent_m_cell_set. Expected _wxGridCell_p.");
3231 wxPy_BEGIN_ALLOW_THREADS
;
3232 _result
= (wxGridCell
*)wxGridEvent_m_cell_set(_arg0
,_arg1
);
3234 wxPy_END_ALLOW_THREADS
;
3236 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCell_p");
3237 _resultobj
= Py_BuildValue("s",_ptemp
);
3240 _resultobj
= Py_None
;
3245 #define wxGridEvent_m_cell_get(_swigobj) ((wxGridCell *) _swigobj->m_cell)
3246 static PyObject
*_wrap_wxGridEvent_m_cell_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3247 PyObject
* _resultobj
;
3248 wxGridCell
* _result
;
3249 wxGridEvent
* _arg0
;
3250 PyObject
* _argo0
= 0;
3251 char *_kwnames
[] = { "self", NULL
};
3255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_m_cell_get",_kwnames
,&_argo0
))
3258 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3259 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
3260 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_m_cell_get. Expected _wxGridEvent_p.");
3265 wxPy_BEGIN_ALLOW_THREADS
;
3266 _result
= (wxGridCell
*)wxGridEvent_m_cell_get(_arg0
);
3268 wxPy_END_ALLOW_THREADS
;
3270 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCell_p");
3271 _resultobj
= Py_BuildValue("s",_ptemp
);
3274 _resultobj
= Py_None
;
3279 #define wxGridEvent_GetRow(_swigobj) (_swigobj->GetRow())
3280 static PyObject
*_wrap_wxGridEvent_GetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3281 PyObject
* _resultobj
;
3283 wxGridEvent
* _arg0
;
3284 PyObject
* _argo0
= 0;
3285 char *_kwnames
[] = { "self", NULL
};
3288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_GetRow",_kwnames
,&_argo0
))
3291 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3292 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
3293 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_GetRow. Expected _wxGridEvent_p.");
3298 wxPy_BEGIN_ALLOW_THREADS
;
3299 _result
= (int )wxGridEvent_GetRow(_arg0
);
3301 wxPy_END_ALLOW_THREADS
;
3302 } _resultobj
= Py_BuildValue("i",_result
);
3306 #define wxGridEvent_GetCol(_swigobj) (_swigobj->GetCol())
3307 static PyObject
*_wrap_wxGridEvent_GetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3308 PyObject
* _resultobj
;
3310 wxGridEvent
* _arg0
;
3311 PyObject
* _argo0
= 0;
3312 char *_kwnames
[] = { "self", NULL
};
3315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_GetCol",_kwnames
,&_argo0
))
3318 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3319 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
3320 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_GetCol. Expected _wxGridEvent_p.");
3325 wxPy_BEGIN_ALLOW_THREADS
;
3326 _result
= (int )wxGridEvent_GetCol(_arg0
);
3328 wxPy_END_ALLOW_THREADS
;
3329 } _resultobj
= Py_BuildValue("i",_result
);
3333 #define wxGridEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
3334 static PyObject
*_wrap_wxGridEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3335 PyObject
* _resultobj
;
3337 wxGridEvent
* _arg0
;
3338 PyObject
* _argo0
= 0;
3339 char *_kwnames
[] = { "self", NULL
};
3343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_GetPosition",_kwnames
,&_argo0
))
3346 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3347 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
3348 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_GetPosition. Expected _wxGridEvent_p.");
3353 wxPy_BEGIN_ALLOW_THREADS
;
3354 _result
= new wxPoint (wxGridEvent_GetPosition(_arg0
));
3356 wxPy_END_ALLOW_THREADS
;
3357 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
3358 _resultobj
= Py_BuildValue("s",_ptemp
);
3362 #define wxGridEvent_ControlDown(_swigobj) (_swigobj->ControlDown())
3363 static PyObject
*_wrap_wxGridEvent_ControlDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3364 PyObject
* _resultobj
;
3366 wxGridEvent
* _arg0
;
3367 PyObject
* _argo0
= 0;
3368 char *_kwnames
[] = { "self", NULL
};
3371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_ControlDown",_kwnames
,&_argo0
))
3374 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3375 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
3376 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_ControlDown. Expected _wxGridEvent_p.");
3381 wxPy_BEGIN_ALLOW_THREADS
;
3382 _result
= (bool )wxGridEvent_ControlDown(_arg0
);
3384 wxPy_END_ALLOW_THREADS
;
3385 } _resultobj
= Py_BuildValue("i",_result
);
3389 #define wxGridEvent_ShiftDown(_swigobj) (_swigobj->ShiftDown())
3390 static PyObject
*_wrap_wxGridEvent_ShiftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3391 PyObject
* _resultobj
;
3393 wxGridEvent
* _arg0
;
3394 PyObject
* _argo0
= 0;
3395 char *_kwnames
[] = { "self", NULL
};
3398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_ShiftDown",_kwnames
,&_argo0
))
3401 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3402 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
3403 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_ShiftDown. Expected _wxGridEvent_p.");
3408 wxPy_BEGIN_ALLOW_THREADS
;
3409 _result
= (bool )wxGridEvent_ShiftDown(_arg0
);
3411 wxPy_END_ALLOW_THREADS
;
3412 } _resultobj
= Py_BuildValue("i",_result
);
3416 #define wxGridEvent_GetCell(_swigobj) (_swigobj->GetCell())
3417 static PyObject
*_wrap_wxGridEvent_GetCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3418 PyObject
* _resultobj
;
3419 wxGridCell
* _result
;
3420 wxGridEvent
* _arg0
;
3421 PyObject
* _argo0
= 0;
3422 char *_kwnames
[] = { "self", NULL
};
3426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_GetCell",_kwnames
,&_argo0
))
3429 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3430 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
3431 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_GetCell. Expected _wxGridEvent_p.");
3436 wxPy_BEGIN_ALLOW_THREADS
;
3437 _result
= (wxGridCell
*)wxGridEvent_GetCell(_arg0
);
3439 wxPy_END_ALLOW_THREADS
;
3441 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCell_p");
3442 _resultobj
= Py_BuildValue("s",_ptemp
);
3445 _resultobj
= Py_None
;
3450 static void *SwigwxNotebookEventTowxNotifyEvent(void *ptr
) {
3451 wxNotebookEvent
*src
;
3452 wxNotifyEvent
*dest
;
3453 src
= (wxNotebookEvent
*) ptr
;
3454 dest
= (wxNotifyEvent
*) src
;
3455 return (void *) dest
;
3458 static void *SwigwxNotebookEventTowxCommandEvent(void *ptr
) {
3459 wxNotebookEvent
*src
;
3460 wxCommandEvent
*dest
;
3461 src
= (wxNotebookEvent
*) ptr
;
3462 dest
= (wxCommandEvent
*) src
;
3463 return (void *) dest
;
3466 static void *SwigwxNotebookEventTowxEvent(void *ptr
) {
3467 wxNotebookEvent
*src
;
3469 src
= (wxNotebookEvent
*) ptr
;
3470 dest
= (wxEvent
*) src
;
3471 return (void *) dest
;
3474 #define wxNotebookEvent_GetSelection(_swigobj) (_swigobj->GetSelection())
3475 static PyObject
*_wrap_wxNotebookEvent_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3476 PyObject
* _resultobj
;
3478 wxNotebookEvent
* _arg0
;
3479 PyObject
* _argo0
= 0;
3480 char *_kwnames
[] = { "self", NULL
};
3483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebookEvent_GetSelection",_kwnames
,&_argo0
))
3486 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3487 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebookEvent_p")) {
3488 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebookEvent_GetSelection. Expected _wxNotebookEvent_p.");
3493 wxPy_BEGIN_ALLOW_THREADS
;
3494 _result
= (int )wxNotebookEvent_GetSelection(_arg0
);
3496 wxPy_END_ALLOW_THREADS
;
3497 } _resultobj
= Py_BuildValue("i",_result
);
3501 #define wxNotebookEvent_GetOldSelection(_swigobj) (_swigobj->GetOldSelection())
3502 static PyObject
*_wrap_wxNotebookEvent_GetOldSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3503 PyObject
* _resultobj
;
3505 wxNotebookEvent
* _arg0
;
3506 PyObject
* _argo0
= 0;
3507 char *_kwnames
[] = { "self", NULL
};
3510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebookEvent_GetOldSelection",_kwnames
,&_argo0
))
3513 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3514 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebookEvent_p")) {
3515 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebookEvent_GetOldSelection. Expected _wxNotebookEvent_p.");
3520 wxPy_BEGIN_ALLOW_THREADS
;
3521 _result
= (int )wxNotebookEvent_GetOldSelection(_arg0
);
3523 wxPy_END_ALLOW_THREADS
;
3524 } _resultobj
= Py_BuildValue("i",_result
);
3528 #define wxNotebookEvent_SetOldSelection(_swigobj,_swigarg0) (_swigobj->SetOldSelection(_swigarg0))
3529 static PyObject
*_wrap_wxNotebookEvent_SetOldSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3530 PyObject
* _resultobj
;
3531 wxNotebookEvent
* _arg0
;
3533 PyObject
* _argo0
= 0;
3534 char *_kwnames
[] = { "self","page", NULL
};
3537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNotebookEvent_SetOldSelection",_kwnames
,&_argo0
,&_arg1
))
3540 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3541 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebookEvent_p")) {
3542 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebookEvent_SetOldSelection. Expected _wxNotebookEvent_p.");
3547 wxPy_BEGIN_ALLOW_THREADS
;
3548 wxNotebookEvent_SetOldSelection(_arg0
,_arg1
);
3550 wxPy_END_ALLOW_THREADS
;
3551 } Py_INCREF(Py_None
);
3552 _resultobj
= Py_None
;
3556 #define wxNotebookEvent_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
3557 static PyObject
*_wrap_wxNotebookEvent_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3558 PyObject
* _resultobj
;
3559 wxNotebookEvent
* _arg0
;
3561 PyObject
* _argo0
= 0;
3562 char *_kwnames
[] = { "self","page", NULL
};
3565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNotebookEvent_SetSelection",_kwnames
,&_argo0
,&_arg1
))
3568 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3569 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebookEvent_p")) {
3570 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebookEvent_SetSelection. Expected _wxNotebookEvent_p.");
3575 wxPy_BEGIN_ALLOW_THREADS
;
3576 wxNotebookEvent_SetSelection(_arg0
,_arg1
);
3578 wxPy_END_ALLOW_THREADS
;
3579 } Py_INCREF(Py_None
);
3580 _resultobj
= Py_None
;
3584 static void *SwigwxNotebookTowxControl(void *ptr
) {
3587 src
= (wxNotebook
*) ptr
;
3588 dest
= (wxControl
*) src
;
3589 return (void *) dest
;
3592 static void *SwigwxNotebookTowxWindow(void *ptr
) {
3595 src
= (wxNotebook
*) ptr
;
3596 dest
= (wxWindow
*) src
;
3597 return (void *) dest
;
3600 static void *SwigwxNotebookTowxEvtHandler(void *ptr
) {
3603 src
= (wxNotebook
*) ptr
;
3604 dest
= (wxEvtHandler
*) src
;
3605 return (void *) dest
;
3608 #define new_wxNotebook(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxNotebook(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
3609 static PyObject
*_wrap_new_wxNotebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3610 PyObject
* _resultobj
;
3611 wxNotebook
* _result
;
3614 wxPoint
* _arg2
= (wxPoint
*) &wxPyDefaultPosition
;
3615 wxSize
* _arg3
= (wxSize
*) &wxPyDefaultSize
;
3616 long _arg4
= (long ) 0;
3617 char * _arg5
= (char *) "notebook";
3618 PyObject
* _argo0
= 0;
3619 PyObject
* _argo2
= 0;
3620 PyObject
* _argo3
= 0;
3621 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
3625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOls:new_wxNotebook",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_argo3
,&_arg4
,&_arg5
))
3628 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3629 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3630 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxNotebook. Expected _wxWindow_p.");
3635 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3636 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPoint_p")) {
3637 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxNotebook. Expected _wxPoint_p.");
3642 if (_argo3
== Py_None
) { _arg3
= NULL
; }
3643 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxSize_p")) {
3644 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of new_wxNotebook. Expected _wxSize_p.");
3649 wxPy_BEGIN_ALLOW_THREADS
;
3650 _result
= (wxNotebook
*)new_wxNotebook(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
3652 wxPy_END_ALLOW_THREADS
;
3654 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxNotebook_p");
3655 _resultobj
= Py_BuildValue("s",_ptemp
);
3658 _resultobj
= Py_None
;
3663 #define wxNotebook_GetPageCount(_swigobj) (_swigobj->GetPageCount())
3664 static PyObject
*_wrap_wxNotebook_GetPageCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3665 PyObject
* _resultobj
;
3668 PyObject
* _argo0
= 0;
3669 char *_kwnames
[] = { "self", NULL
};
3672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebook_GetPageCount",_kwnames
,&_argo0
))
3675 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3676 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
3677 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_GetPageCount. Expected _wxNotebook_p.");
3682 wxPy_BEGIN_ALLOW_THREADS
;
3683 _result
= (int )wxNotebook_GetPageCount(_arg0
);
3685 wxPy_END_ALLOW_THREADS
;
3686 } _resultobj
= Py_BuildValue("i",_result
);
3690 #define wxNotebook_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
3691 static PyObject
*_wrap_wxNotebook_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3692 PyObject
* _resultobj
;
3696 PyObject
* _argo0
= 0;
3697 char *_kwnames
[] = { "self","nPage", NULL
};
3700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNotebook_SetSelection",_kwnames
,&_argo0
,&_arg1
))
3703 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3704 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
3705 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_SetSelection. Expected _wxNotebook_p.");
3710 wxPy_BEGIN_ALLOW_THREADS
;
3711 _result
= (int )wxNotebook_SetSelection(_arg0
,_arg1
);
3713 wxPy_END_ALLOW_THREADS
;
3714 } _resultobj
= Py_BuildValue("i",_result
);
3718 #define wxNotebook_AdvanceSelection(_swigobj,_swigarg0) (_swigobj->AdvanceSelection(_swigarg0))
3719 static PyObject
*_wrap_wxNotebook_AdvanceSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3720 PyObject
* _resultobj
;
3722 bool _arg1
= (bool ) TRUE
;
3723 PyObject
* _argo0
= 0;
3724 int tempbool1
= (int) TRUE
;
3725 char *_kwnames
[] = { "self","bForward", NULL
};
3728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxNotebook_AdvanceSelection",_kwnames
,&_argo0
,&tempbool1
))
3731 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3732 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
3733 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_AdvanceSelection. Expected _wxNotebook_p.");
3737 _arg1
= (bool ) tempbool1
;
3739 wxPy_BEGIN_ALLOW_THREADS
;
3740 wxNotebook_AdvanceSelection(_arg0
,_arg1
);
3742 wxPy_END_ALLOW_THREADS
;
3743 } Py_INCREF(Py_None
);
3744 _resultobj
= Py_None
;
3748 #define wxNotebook_GetSelection(_swigobj) (_swigobj->GetSelection())
3749 static PyObject
*_wrap_wxNotebook_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3750 PyObject
* _resultobj
;
3753 PyObject
* _argo0
= 0;
3754 char *_kwnames
[] = { "self", NULL
};
3757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebook_GetSelection",_kwnames
,&_argo0
))
3760 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3761 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
3762 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_GetSelection. Expected _wxNotebook_p.");
3767 wxPy_BEGIN_ALLOW_THREADS
;
3768 _result
= (int )wxNotebook_GetSelection(_arg0
);
3770 wxPy_END_ALLOW_THREADS
;
3771 } _resultobj
= Py_BuildValue("i",_result
);
3775 #define wxNotebook_SetPageText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetPageText(_swigarg0,_swigarg1))
3776 static PyObject
*_wrap_wxNotebook_SetPageText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3777 PyObject
* _resultobj
;
3782 PyObject
* _argo0
= 0;
3783 PyObject
* _obj2
= 0;
3784 char *_kwnames
[] = { "self","nPage","strText", NULL
};
3787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxNotebook_SetPageText",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
3790 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3791 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
3792 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_SetPageText. Expected _wxNotebook_p.");
3797 if (!PyString_Check(_obj2
)) {
3798 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3801 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
3804 wxPy_BEGIN_ALLOW_THREADS
;
3805 _result
= (bool )wxNotebook_SetPageText(_arg0
,_arg1
,*_arg2
);
3807 wxPy_END_ALLOW_THREADS
;
3808 } _resultobj
= Py_BuildValue("i",_result
);
3816 #define wxNotebook_GetPageText(_swigobj,_swigarg0) (_swigobj->GetPageText(_swigarg0))
3817 static PyObject
*_wrap_wxNotebook_GetPageText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3818 PyObject
* _resultobj
;
3822 PyObject
* _argo0
= 0;
3823 char *_kwnames
[] = { "self","nPage", NULL
};
3826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNotebook_GetPageText",_kwnames
,&_argo0
,&_arg1
))
3829 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3830 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
3831 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_GetPageText. Expected _wxNotebook_p.");
3836 wxPy_BEGIN_ALLOW_THREADS
;
3837 _result
= new wxString (wxNotebook_GetPageText(_arg0
,_arg1
));
3839 wxPy_END_ALLOW_THREADS
;
3841 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
3849 #define wxNotebook_SetImageList(_swigobj,_swigarg0) (_swigobj->SetImageList(_swigarg0))
3850 static PyObject
*_wrap_wxNotebook_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3851 PyObject
* _resultobj
;
3853 wxImageList
* _arg1
;
3854 PyObject
* _argo0
= 0;
3855 PyObject
* _argo1
= 0;
3856 char *_kwnames
[] = { "self","imageList", NULL
};
3859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxNotebook_SetImageList",_kwnames
,&_argo0
,&_argo1
))
3862 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3863 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
3864 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_SetImageList. Expected _wxNotebook_p.");
3869 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3870 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImageList_p")) {
3871 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxNotebook_SetImageList. Expected _wxImageList_p.");
3876 wxPy_BEGIN_ALLOW_THREADS
;
3877 wxNotebook_SetImageList(_arg0
,_arg1
);
3879 wxPy_END_ALLOW_THREADS
;
3880 } Py_INCREF(Py_None
);
3881 _resultobj
= Py_None
;
3885 #define wxNotebook_GetImageList(_swigobj) (_swigobj->GetImageList())
3886 static PyObject
*_wrap_wxNotebook_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3887 PyObject
* _resultobj
;
3888 wxImageList
* _result
;
3890 PyObject
* _argo0
= 0;
3891 char *_kwnames
[] = { "self", NULL
};
3895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebook_GetImageList",_kwnames
,&_argo0
))
3898 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3899 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
3900 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_GetImageList. Expected _wxNotebook_p.");
3905 wxPy_BEGIN_ALLOW_THREADS
;
3906 _result
= (wxImageList
*)wxNotebook_GetImageList(_arg0
);
3908 wxPy_END_ALLOW_THREADS
;
3910 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxImageList_p");
3911 _resultobj
= Py_BuildValue("s",_ptemp
);
3914 _resultobj
= Py_None
;
3919 #define wxNotebook_GetPageImage(_swigobj,_swigarg0) (_swigobj->GetPageImage(_swigarg0))
3920 static PyObject
*_wrap_wxNotebook_GetPageImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3921 PyObject
* _resultobj
;
3925 PyObject
* _argo0
= 0;
3926 char *_kwnames
[] = { "self","nPage", NULL
};
3929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNotebook_GetPageImage",_kwnames
,&_argo0
,&_arg1
))
3932 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3933 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
3934 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_GetPageImage. Expected _wxNotebook_p.");
3939 wxPy_BEGIN_ALLOW_THREADS
;
3940 _result
= (int )wxNotebook_GetPageImage(_arg0
,_arg1
);
3942 wxPy_END_ALLOW_THREADS
;
3943 } _resultobj
= Py_BuildValue("i",_result
);
3947 #define wxNotebook_SetPageImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetPageImage(_swigarg0,_swigarg1))
3948 static PyObject
*_wrap_wxNotebook_SetPageImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3949 PyObject
* _resultobj
;
3954 PyObject
* _argo0
= 0;
3955 char *_kwnames
[] = { "self","nPage","nImage", NULL
};
3958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxNotebook_SetPageImage",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3961 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3962 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
3963 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_SetPageImage. Expected _wxNotebook_p.");
3968 wxPy_BEGIN_ALLOW_THREADS
;
3969 _result
= (bool )wxNotebook_SetPageImage(_arg0
,_arg1
,_arg2
);
3971 wxPy_END_ALLOW_THREADS
;
3972 } _resultobj
= Py_BuildValue("i",_result
);
3976 #define wxNotebook_GetRowCount(_swigobj) (_swigobj->GetRowCount())
3977 static PyObject
*_wrap_wxNotebook_GetRowCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3978 PyObject
* _resultobj
;
3981 PyObject
* _argo0
= 0;
3982 char *_kwnames
[] = { "self", NULL
};
3985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebook_GetRowCount",_kwnames
,&_argo0
))
3988 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3989 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
3990 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_GetRowCount. Expected _wxNotebook_p.");
3995 wxPy_BEGIN_ALLOW_THREADS
;
3996 _result
= (int )wxNotebook_GetRowCount(_arg0
);
3998 wxPy_END_ALLOW_THREADS
;
3999 } _resultobj
= Py_BuildValue("i",_result
);
4003 #define wxNotebook_DeletePage(_swigobj,_swigarg0) (_swigobj->DeletePage(_swigarg0))
4004 static PyObject
*_wrap_wxNotebook_DeletePage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4005 PyObject
* _resultobj
;
4009 PyObject
* _argo0
= 0;
4010 char *_kwnames
[] = { "self","nPage", NULL
};
4013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNotebook_DeletePage",_kwnames
,&_argo0
,&_arg1
))
4016 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4017 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
4018 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_DeletePage. Expected _wxNotebook_p.");
4023 wxPy_BEGIN_ALLOW_THREADS
;
4024 _result
= (bool )wxNotebook_DeletePage(_arg0
,_arg1
);
4026 wxPy_END_ALLOW_THREADS
;
4027 } _resultobj
= Py_BuildValue("i",_result
);
4031 #define wxNotebook_RemovePage(_swigobj,_swigarg0) (_swigobj->RemovePage(_swigarg0))
4032 static PyObject
*_wrap_wxNotebook_RemovePage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4033 PyObject
* _resultobj
;
4037 PyObject
* _argo0
= 0;
4038 char *_kwnames
[] = { "self","nPage", NULL
};
4041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNotebook_RemovePage",_kwnames
,&_argo0
,&_arg1
))
4044 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4045 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
4046 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_RemovePage. Expected _wxNotebook_p.");
4051 wxPy_BEGIN_ALLOW_THREADS
;
4052 _result
= (bool )wxNotebook_RemovePage(_arg0
,_arg1
);
4054 wxPy_END_ALLOW_THREADS
;
4055 } _resultobj
= Py_BuildValue("i",_result
);
4059 #define wxNotebook_DeleteAllPages(_swigobj) (_swigobj->DeleteAllPages())
4060 static PyObject
*_wrap_wxNotebook_DeleteAllPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4061 PyObject
* _resultobj
;
4064 PyObject
* _argo0
= 0;
4065 char *_kwnames
[] = { "self", NULL
};
4068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebook_DeleteAllPages",_kwnames
,&_argo0
))
4071 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4072 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
4073 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_DeleteAllPages. Expected _wxNotebook_p.");
4078 wxPy_BEGIN_ALLOW_THREADS
;
4079 _result
= (bool )wxNotebook_DeleteAllPages(_arg0
);
4081 wxPy_END_ALLOW_THREADS
;
4082 } _resultobj
= Py_BuildValue("i",_result
);
4086 #define wxNotebook_AddPage(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->AddPage(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4087 static PyObject
*_wrap_wxNotebook_AddPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4088 PyObject
* _resultobj
;
4093 int _arg3
= (int ) FALSE
;
4094 int _arg4
= (int ) -1;
4095 PyObject
* _argo0
= 0;
4096 PyObject
* _argo1
= 0;
4097 PyObject
* _obj2
= 0;
4098 char *_kwnames
[] = { "self","pPage","strText","bSelect","imageId", NULL
};
4101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|ii:wxNotebook_AddPage",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_arg3
,&_arg4
))
4104 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4105 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
4106 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_AddPage. Expected _wxNotebook_p.");
4111 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4112 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4113 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxNotebook_AddPage. Expected _wxWindow_p.");
4118 if (!PyString_Check(_obj2
)) {
4119 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4122 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
4125 wxPy_BEGIN_ALLOW_THREADS
;
4126 _result
= (bool )wxNotebook_AddPage(_arg0
,_arg1
,*_arg2
,_arg3
,_arg4
);
4128 wxPy_END_ALLOW_THREADS
;
4129 } _resultobj
= Py_BuildValue("i",_result
);
4137 #define wxNotebook_InsertPage(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->InsertPage(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
4138 static PyObject
*_wrap_wxNotebook_InsertPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4139 PyObject
* _resultobj
;
4145 bool _arg4
= (bool ) FALSE
;
4146 int _arg5
= (int ) -1;
4147 PyObject
* _argo0
= 0;
4148 PyObject
* _argo2
= 0;
4149 PyObject
* _obj3
= 0;
4150 int tempbool4
= (int) FALSE
;
4151 char *_kwnames
[] = { "self","nPage","pPage","strText","bSelect","imageId", NULL
};
4154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOO|ii:wxNotebook_InsertPage",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_obj3
,&tempbool4
,&_arg5
))
4157 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4158 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
4159 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_InsertPage. Expected _wxNotebook_p.");
4164 if (_argo2
== Py_None
) { _arg2
= NULL
; }
4165 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
4166 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxNotebook_InsertPage. Expected _wxWindow_p.");
4171 if (!PyString_Check(_obj3
)) {
4172 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4175 _arg3
= new wxString(PyString_AsString(_obj3
), PyString_Size(_obj3
));
4177 _arg4
= (bool ) tempbool4
;
4179 wxPy_BEGIN_ALLOW_THREADS
;
4180 _result
= (bool )wxNotebook_InsertPage(_arg0
,_arg1
,_arg2
,*_arg3
,_arg4
,_arg5
);
4182 wxPy_END_ALLOW_THREADS
;
4183 } _resultobj
= Py_BuildValue("i",_result
);
4191 #define wxNotebook_GetPage(_swigobj,_swigarg0) (_swigobj->GetPage(_swigarg0))
4192 static PyObject
*_wrap_wxNotebook_GetPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4193 PyObject
* _resultobj
;
4197 PyObject
* _argo0
= 0;
4198 char *_kwnames
[] = { "self","nPage", NULL
};
4202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNotebook_GetPage",_kwnames
,&_argo0
,&_arg1
))
4205 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4206 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
4207 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_GetPage. Expected _wxNotebook_p.");
4212 wxPy_BEGIN_ALLOW_THREADS
;
4213 _result
= (wxWindow
*)wxNotebook_GetPage(_arg0
,_arg1
);
4215 wxPy_END_ALLOW_THREADS
;
4217 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
4218 _resultobj
= Py_BuildValue("s",_ptemp
);
4221 _resultobj
= Py_None
;
4226 static void wxNotebook_ResizeChildren(wxNotebook
*self
) {
4227 wxSizeEvent
evt(self
->GetClientSize());
4228 self
->GetEventHandler()->ProcessEvent(evt
);
4230 static PyObject
*_wrap_wxNotebook_ResizeChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4231 PyObject
* _resultobj
;
4233 PyObject
* _argo0
= 0;
4234 char *_kwnames
[] = { "self", NULL
};
4237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebook_ResizeChildren",_kwnames
,&_argo0
))
4240 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4241 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
4242 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_ResizeChildren. Expected _wxNotebook_p.");
4247 wxPy_BEGIN_ALLOW_THREADS
;
4248 wxNotebook_ResizeChildren(_arg0
);
4250 wxPy_END_ALLOW_THREADS
;
4251 } Py_INCREF(Py_None
);
4252 _resultobj
= Py_None
;
4256 static void *SwigwxSplitterEventTowxCommandEvent(void *ptr
) {
4257 wxSplitterEvent
*src
;
4258 wxCommandEvent
*dest
;
4259 src
= (wxSplitterEvent
*) ptr
;
4260 dest
= (wxCommandEvent
*) src
;
4261 return (void *) dest
;
4264 static void *SwigwxSplitterEventTowxEvent(void *ptr
) {
4265 wxSplitterEvent
*src
;
4267 src
= (wxSplitterEvent
*) ptr
;
4268 dest
= (wxEvent
*) src
;
4269 return (void *) dest
;
4272 #define wxSplitterEvent_GetSashPosition(_swigobj) (_swigobj->GetSashPosition())
4273 static PyObject
*_wrap_wxSplitterEvent_GetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4274 PyObject
* _resultobj
;
4276 wxSplitterEvent
* _arg0
;
4277 PyObject
* _argo0
= 0;
4278 char *_kwnames
[] = { "self", NULL
};
4281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterEvent_GetSashPosition",_kwnames
,&_argo0
))
4284 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4285 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterEvent_p")) {
4286 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterEvent_GetSashPosition. Expected _wxSplitterEvent_p.");
4291 wxPy_BEGIN_ALLOW_THREADS
;
4292 _result
= (int )wxSplitterEvent_GetSashPosition(_arg0
);
4294 wxPy_END_ALLOW_THREADS
;
4295 } _resultobj
= Py_BuildValue("i",_result
);
4299 #define wxSplitterEvent_GetX(_swigobj) (_swigobj->GetX())
4300 static PyObject
*_wrap_wxSplitterEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4301 PyObject
* _resultobj
;
4303 wxSplitterEvent
* _arg0
;
4304 PyObject
* _argo0
= 0;
4305 char *_kwnames
[] = { "self", NULL
};
4308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterEvent_GetX",_kwnames
,&_argo0
))
4311 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4312 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterEvent_p")) {
4313 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterEvent_GetX. Expected _wxSplitterEvent_p.");
4318 wxPy_BEGIN_ALLOW_THREADS
;
4319 _result
= (int )wxSplitterEvent_GetX(_arg0
);
4321 wxPy_END_ALLOW_THREADS
;
4322 } _resultobj
= Py_BuildValue("i",_result
);
4326 #define wxSplitterEvent_GetY(_swigobj) (_swigobj->GetY())
4327 static PyObject
*_wrap_wxSplitterEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4328 PyObject
* _resultobj
;
4330 wxSplitterEvent
* _arg0
;
4331 PyObject
* _argo0
= 0;
4332 char *_kwnames
[] = { "self", NULL
};
4335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterEvent_GetY",_kwnames
,&_argo0
))
4338 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4339 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterEvent_p")) {
4340 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterEvent_GetY. Expected _wxSplitterEvent_p.");
4345 wxPy_BEGIN_ALLOW_THREADS
;
4346 _result
= (int )wxSplitterEvent_GetY(_arg0
);
4348 wxPy_END_ALLOW_THREADS
;
4349 } _resultobj
= Py_BuildValue("i",_result
);
4353 #define wxSplitterEvent_GetWindowBeingRemoved(_swigobj) (_swigobj->GetWindowBeingRemoved())
4354 static PyObject
*_wrap_wxSplitterEvent_GetWindowBeingRemoved(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4355 PyObject
* _resultobj
;
4357 wxSplitterEvent
* _arg0
;
4358 PyObject
* _argo0
= 0;
4359 char *_kwnames
[] = { "self", NULL
};
4363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterEvent_GetWindowBeingRemoved",_kwnames
,&_argo0
))
4366 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4367 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterEvent_p")) {
4368 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterEvent_GetWindowBeingRemoved. Expected _wxSplitterEvent_p.");
4373 wxPy_BEGIN_ALLOW_THREADS
;
4374 _result
= (wxWindow
*)wxSplitterEvent_GetWindowBeingRemoved(_arg0
);
4376 wxPy_END_ALLOW_THREADS
;
4378 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
4379 _resultobj
= Py_BuildValue("s",_ptemp
);
4382 _resultobj
= Py_None
;
4387 #define wxSplitterEvent_SetSashPosition(_swigobj,_swigarg0) (_swigobj->SetSashPosition(_swigarg0))
4388 static PyObject
*_wrap_wxSplitterEvent_SetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4389 PyObject
* _resultobj
;
4390 wxSplitterEvent
* _arg0
;
4392 PyObject
* _argo0
= 0;
4393 char *_kwnames
[] = { "self","pos", NULL
};
4396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSplitterEvent_SetSashPosition",_kwnames
,&_argo0
,&_arg1
))
4399 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4400 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterEvent_p")) {
4401 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterEvent_SetSashPosition. Expected _wxSplitterEvent_p.");
4406 wxPy_BEGIN_ALLOW_THREADS
;
4407 wxSplitterEvent_SetSashPosition(_arg0
,_arg1
);
4409 wxPy_END_ALLOW_THREADS
;
4410 } Py_INCREF(Py_None
);
4411 _resultobj
= Py_None
;
4415 static void *SwigwxSplitterWindowTowxWindow(void *ptr
) {
4416 wxSplitterWindow
*src
;
4418 src
= (wxSplitterWindow
*) ptr
;
4419 dest
= (wxWindow
*) src
;
4420 return (void *) dest
;
4423 static void *SwigwxSplitterWindowTowxEvtHandler(void *ptr
) {
4424 wxSplitterWindow
*src
;
4426 src
= (wxSplitterWindow
*) ptr
;
4427 dest
= (wxEvtHandler
*) src
;
4428 return (void *) dest
;
4431 #define new_wxSplitterWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxSplitterWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4432 static PyObject
*_wrap_new_wxSplitterWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4433 PyObject
* _resultobj
;
4434 wxSplitterWindow
* _result
;
4437 wxPoint
* _arg2
= (wxPoint
*) &wxPyDefaultPosition
;
4438 wxSize
* _arg3
= (wxSize
*) &wxPyDefaultSize
;
4439 long _arg4
= (long ) wxSP_3D
|wxCLIP_CHILDREN
;
4440 char * _arg5
= (char *) "splitterWindow";
4441 PyObject
* _argo0
= 0;
4442 PyObject
* _argo2
= 0;
4443 PyObject
* _argo3
= 0;
4444 char *_kwnames
[] = { "parent","id","point","size","style","name", NULL
};
4448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOls:new_wxSplitterWindow",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_argo3
,&_arg4
,&_arg5
))
4451 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4452 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4453 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxSplitterWindow. Expected _wxWindow_p.");
4458 if (_argo2
== Py_None
) { _arg2
= NULL
; }
4459 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPoint_p")) {
4460 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxSplitterWindow. Expected _wxPoint_p.");
4465 if (_argo3
== Py_None
) { _arg3
= NULL
; }
4466 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxSize_p")) {
4467 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of new_wxSplitterWindow. Expected _wxSize_p.");
4472 wxPy_BEGIN_ALLOW_THREADS
;
4473 _result
= (wxSplitterWindow
*)new_wxSplitterWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
4475 wxPy_END_ALLOW_THREADS
;
4477 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSplitterWindow_p");
4478 _resultobj
= Py_BuildValue("s",_ptemp
);
4481 _resultobj
= Py_None
;
4486 #define wxSplitterWindow_GetBorderSize(_swigobj) (_swigobj->GetBorderSize())
4487 static PyObject
*_wrap_wxSplitterWindow_GetBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4488 PyObject
* _resultobj
;
4490 wxSplitterWindow
* _arg0
;
4491 PyObject
* _argo0
= 0;
4492 char *_kwnames
[] = { "self", NULL
};
4495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_GetBorderSize",_kwnames
,&_argo0
))
4498 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4499 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
4500 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetBorderSize. Expected _wxSplitterWindow_p.");
4505 wxPy_BEGIN_ALLOW_THREADS
;
4506 _result
= (int )wxSplitterWindow_GetBorderSize(_arg0
);
4508 wxPy_END_ALLOW_THREADS
;
4509 } _resultobj
= Py_BuildValue("i",_result
);
4513 #define wxSplitterWindow_GetMinimumPaneSize(_swigobj) (_swigobj->GetMinimumPaneSize())
4514 static PyObject
*_wrap_wxSplitterWindow_GetMinimumPaneSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4515 PyObject
* _resultobj
;
4517 wxSplitterWindow
* _arg0
;
4518 PyObject
* _argo0
= 0;
4519 char *_kwnames
[] = { "self", NULL
};
4522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_GetMinimumPaneSize",_kwnames
,&_argo0
))
4525 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4526 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
4527 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetMinimumPaneSize. Expected _wxSplitterWindow_p.");
4532 wxPy_BEGIN_ALLOW_THREADS
;
4533 _result
= (int )wxSplitterWindow_GetMinimumPaneSize(_arg0
);
4535 wxPy_END_ALLOW_THREADS
;
4536 } _resultobj
= Py_BuildValue("i",_result
);
4540 #define wxSplitterWindow_GetSashPosition(_swigobj) (_swigobj->GetSashPosition())
4541 static PyObject
*_wrap_wxSplitterWindow_GetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4542 PyObject
* _resultobj
;
4544 wxSplitterWindow
* _arg0
;
4545 PyObject
* _argo0
= 0;
4546 char *_kwnames
[] = { "self", NULL
};
4549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_GetSashPosition",_kwnames
,&_argo0
))
4552 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4553 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
4554 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetSashPosition. Expected _wxSplitterWindow_p.");
4559 wxPy_BEGIN_ALLOW_THREADS
;
4560 _result
= (int )wxSplitterWindow_GetSashPosition(_arg0
);
4562 wxPy_END_ALLOW_THREADS
;
4563 } _resultobj
= Py_BuildValue("i",_result
);
4567 #define wxSplitterWindow_GetSashSize(_swigobj) (_swigobj->GetSashSize())
4568 static PyObject
*_wrap_wxSplitterWindow_GetSashSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4569 PyObject
* _resultobj
;
4571 wxSplitterWindow
* _arg0
;
4572 PyObject
* _argo0
= 0;
4573 char *_kwnames
[] = { "self", NULL
};
4576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_GetSashSize",_kwnames
,&_argo0
))
4579 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4580 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
4581 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetSashSize. Expected _wxSplitterWindow_p.");
4586 wxPy_BEGIN_ALLOW_THREADS
;
4587 _result
= (int )wxSplitterWindow_GetSashSize(_arg0
);
4589 wxPy_END_ALLOW_THREADS
;
4590 } _resultobj
= Py_BuildValue("i",_result
);
4594 #define wxSplitterWindow_GetSplitMode(_swigobj) (_swigobj->GetSplitMode())
4595 static PyObject
*_wrap_wxSplitterWindow_GetSplitMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4596 PyObject
* _resultobj
;
4598 wxSplitterWindow
* _arg0
;
4599 PyObject
* _argo0
= 0;
4600 char *_kwnames
[] = { "self", NULL
};
4603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_GetSplitMode",_kwnames
,&_argo0
))
4606 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4607 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
4608 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetSplitMode. Expected _wxSplitterWindow_p.");
4613 wxPy_BEGIN_ALLOW_THREADS
;
4614 _result
= (int )wxSplitterWindow_GetSplitMode(_arg0
);
4616 wxPy_END_ALLOW_THREADS
;
4617 } _resultobj
= Py_BuildValue("i",_result
);
4621 #define wxSplitterWindow_GetWindow1(_swigobj) (_swigobj->GetWindow1())
4622 static PyObject
*_wrap_wxSplitterWindow_GetWindow1(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4623 PyObject
* _resultobj
;
4625 wxSplitterWindow
* _arg0
;
4626 PyObject
* _argo0
= 0;
4627 char *_kwnames
[] = { "self", NULL
};
4631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_GetWindow1",_kwnames
,&_argo0
))
4634 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4635 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
4636 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetWindow1. Expected _wxSplitterWindow_p.");
4641 wxPy_BEGIN_ALLOW_THREADS
;
4642 _result
= (wxWindow
*)wxSplitterWindow_GetWindow1(_arg0
);
4644 wxPy_END_ALLOW_THREADS
;
4646 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
4647 _resultobj
= Py_BuildValue("s",_ptemp
);
4650 _resultobj
= Py_None
;
4655 #define wxSplitterWindow_GetWindow2(_swigobj) (_swigobj->GetWindow2())
4656 static PyObject
*_wrap_wxSplitterWindow_GetWindow2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4657 PyObject
* _resultobj
;
4659 wxSplitterWindow
* _arg0
;
4660 PyObject
* _argo0
= 0;
4661 char *_kwnames
[] = { "self", NULL
};
4665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_GetWindow2",_kwnames
,&_argo0
))
4668 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4669 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
4670 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetWindow2. Expected _wxSplitterWindow_p.");
4675 wxPy_BEGIN_ALLOW_THREADS
;
4676 _result
= (wxWindow
*)wxSplitterWindow_GetWindow2(_arg0
);
4678 wxPy_END_ALLOW_THREADS
;
4680 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
4681 _resultobj
= Py_BuildValue("s",_ptemp
);
4684 _resultobj
= Py_None
;
4689 #define wxSplitterWindow_Initialize(_swigobj,_swigarg0) (_swigobj->Initialize(_swigarg0))
4690 static PyObject
*_wrap_wxSplitterWindow_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4691 PyObject
* _resultobj
;
4692 wxSplitterWindow
* _arg0
;
4694 PyObject
* _argo0
= 0;
4695 PyObject
* _argo1
= 0;
4696 char *_kwnames
[] = { "self","window", NULL
};
4699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxSplitterWindow_Initialize",_kwnames
,&_argo0
,&_argo1
))
4702 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4703 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
4704 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_Initialize. Expected _wxSplitterWindow_p.");
4709 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4710 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4711 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSplitterWindow_Initialize. Expected _wxWindow_p.");
4716 wxPy_BEGIN_ALLOW_THREADS
;
4717 wxSplitterWindow_Initialize(_arg0
,_arg1
);
4719 wxPy_END_ALLOW_THREADS
;
4720 } Py_INCREF(Py_None
);
4721 _resultobj
= Py_None
;
4725 #define wxSplitterWindow_IsSplit(_swigobj) (_swigobj->IsSplit())
4726 static PyObject
*_wrap_wxSplitterWindow_IsSplit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4727 PyObject
* _resultobj
;
4729 wxSplitterWindow
* _arg0
;
4730 PyObject
* _argo0
= 0;
4731 char *_kwnames
[] = { "self", NULL
};
4734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_IsSplit",_kwnames
,&_argo0
))
4737 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4738 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
4739 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_IsSplit. Expected _wxSplitterWindow_p.");
4744 wxPy_BEGIN_ALLOW_THREADS
;
4745 _result
= (bool )wxSplitterWindow_IsSplit(_arg0
);
4747 wxPy_END_ALLOW_THREADS
;
4748 } _resultobj
= Py_BuildValue("i",_result
);
4752 #define wxSplitterWindow_SetBorderSize(_swigobj,_swigarg0) (_swigobj->SetBorderSize(_swigarg0))
4753 static PyObject
*_wrap_wxSplitterWindow_SetBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4754 PyObject
* _resultobj
;
4755 wxSplitterWindow
* _arg0
;
4757 PyObject
* _argo0
= 0;
4758 char *_kwnames
[] = { "self","width", NULL
};
4761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSplitterWindow_SetBorderSize",_kwnames
,&_argo0
,&_arg1
))
4764 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4765 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
4766 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SetBorderSize. Expected _wxSplitterWindow_p.");
4771 wxPy_BEGIN_ALLOW_THREADS
;
4772 wxSplitterWindow_SetBorderSize(_arg0
,_arg1
);
4774 wxPy_END_ALLOW_THREADS
;
4775 } Py_INCREF(Py_None
);
4776 _resultobj
= Py_None
;
4780 #define wxSplitterWindow_SetSashPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSashPosition(_swigarg0,_swigarg1))
4781 static PyObject
*_wrap_wxSplitterWindow_SetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4782 PyObject
* _resultobj
;
4783 wxSplitterWindow
* _arg0
;
4785 int _arg2
= (int ) TRUE
;
4786 PyObject
* _argo0
= 0;
4787 char *_kwnames
[] = { "self","position","redraw", NULL
};
4790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxSplitterWindow_SetSashPosition",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4793 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4794 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
4795 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SetSashPosition. Expected _wxSplitterWindow_p.");
4800 wxPy_BEGIN_ALLOW_THREADS
;
4801 wxSplitterWindow_SetSashPosition(_arg0
,_arg1
,_arg2
);
4803 wxPy_END_ALLOW_THREADS
;
4804 } Py_INCREF(Py_None
);
4805 _resultobj
= Py_None
;
4809 #define wxSplitterWindow_SetSashSize(_swigobj,_swigarg0) (_swigobj->SetSashSize(_swigarg0))
4810 static PyObject
*_wrap_wxSplitterWindow_SetSashSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4811 PyObject
* _resultobj
;
4812 wxSplitterWindow
* _arg0
;
4814 PyObject
* _argo0
= 0;
4815 char *_kwnames
[] = { "self","width", NULL
};
4818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSplitterWindow_SetSashSize",_kwnames
,&_argo0
,&_arg1
))
4821 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4822 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
4823 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SetSashSize. Expected _wxSplitterWindow_p.");
4828 wxPy_BEGIN_ALLOW_THREADS
;
4829 wxSplitterWindow_SetSashSize(_arg0
,_arg1
);
4831 wxPy_END_ALLOW_THREADS
;
4832 } Py_INCREF(Py_None
);
4833 _resultobj
= Py_None
;
4837 #define wxSplitterWindow_SetMinimumPaneSize(_swigobj,_swigarg0) (_swigobj->SetMinimumPaneSize(_swigarg0))
4838 static PyObject
*_wrap_wxSplitterWindow_SetMinimumPaneSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4839 PyObject
* _resultobj
;
4840 wxSplitterWindow
* _arg0
;
4842 PyObject
* _argo0
= 0;
4843 char *_kwnames
[] = { "self","paneSize", NULL
};
4846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSplitterWindow_SetMinimumPaneSize",_kwnames
,&_argo0
,&_arg1
))
4849 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4850 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
4851 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SetMinimumPaneSize. Expected _wxSplitterWindow_p.");
4856 wxPy_BEGIN_ALLOW_THREADS
;
4857 wxSplitterWindow_SetMinimumPaneSize(_arg0
,_arg1
);
4859 wxPy_END_ALLOW_THREADS
;
4860 } Py_INCREF(Py_None
);
4861 _resultobj
= Py_None
;
4865 #define wxSplitterWindow_SetSplitMode(_swigobj,_swigarg0) (_swigobj->SetSplitMode(_swigarg0))
4866 static PyObject
*_wrap_wxSplitterWindow_SetSplitMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4867 PyObject
* _resultobj
;
4868 wxSplitterWindow
* _arg0
;
4870 PyObject
* _argo0
= 0;
4871 char *_kwnames
[] = { "self","mode", NULL
};
4874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSplitterWindow_SetSplitMode",_kwnames
,&_argo0
,&_arg1
))
4877 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4878 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
4879 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SetSplitMode. Expected _wxSplitterWindow_p.");
4884 wxPy_BEGIN_ALLOW_THREADS
;
4885 wxSplitterWindow_SetSplitMode(_arg0
,_arg1
);
4887 wxPy_END_ALLOW_THREADS
;
4888 } Py_INCREF(Py_None
);
4889 _resultobj
= Py_None
;
4893 #define wxSplitterWindow_SplitHorizontally(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SplitHorizontally(_swigarg0,_swigarg1,_swigarg2))
4894 static PyObject
*_wrap_wxSplitterWindow_SplitHorizontally(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4895 PyObject
* _resultobj
;
4897 wxSplitterWindow
* _arg0
;
4900 int _arg3
= (int ) 0;
4901 PyObject
* _argo0
= 0;
4902 PyObject
* _argo1
= 0;
4903 PyObject
* _argo2
= 0;
4904 char *_kwnames
[] = { "self","window1","window2","sashPosition", NULL
};
4907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|i:wxSplitterWindow_SplitHorizontally",_kwnames
,&_argo0
,&_argo1
,&_argo2
,&_arg3
))
4910 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4911 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
4912 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SplitHorizontally. Expected _wxSplitterWindow_p.");
4917 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4918 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4919 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSplitterWindow_SplitHorizontally. Expected _wxWindow_p.");
4924 if (_argo2
== Py_None
) { _arg2
= NULL
; }
4925 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
4926 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxSplitterWindow_SplitHorizontally. Expected _wxWindow_p.");
4931 wxPy_BEGIN_ALLOW_THREADS
;
4932 _result
= (bool )wxSplitterWindow_SplitHorizontally(_arg0
,_arg1
,_arg2
,_arg3
);
4934 wxPy_END_ALLOW_THREADS
;
4935 } _resultobj
= Py_BuildValue("i",_result
);
4939 #define wxSplitterWindow_SplitVertically(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SplitVertically(_swigarg0,_swigarg1,_swigarg2))
4940 static PyObject
*_wrap_wxSplitterWindow_SplitVertically(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4941 PyObject
* _resultobj
;
4943 wxSplitterWindow
* _arg0
;
4946 int _arg3
= (int ) 0;
4947 PyObject
* _argo0
= 0;
4948 PyObject
* _argo1
= 0;
4949 PyObject
* _argo2
= 0;
4950 char *_kwnames
[] = { "self","window1","window2","sashPosition", NULL
};
4953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|i:wxSplitterWindow_SplitVertically",_kwnames
,&_argo0
,&_argo1
,&_argo2
,&_arg3
))
4956 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4957 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
4958 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SplitVertically. Expected _wxSplitterWindow_p.");
4963 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4964 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4965 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSplitterWindow_SplitVertically. Expected _wxWindow_p.");
4970 if (_argo2
== Py_None
) { _arg2
= NULL
; }
4971 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
4972 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxSplitterWindow_SplitVertically. Expected _wxWindow_p.");
4977 wxPy_BEGIN_ALLOW_THREADS
;
4978 _result
= (bool )wxSplitterWindow_SplitVertically(_arg0
,_arg1
,_arg2
,_arg3
);
4980 wxPy_END_ALLOW_THREADS
;
4981 } _resultobj
= Py_BuildValue("i",_result
);
4985 #define wxSplitterWindow_Unsplit(_swigobj,_swigarg0) (_swigobj->Unsplit(_swigarg0))
4986 static PyObject
*_wrap_wxSplitterWindow_Unsplit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4987 PyObject
* _resultobj
;
4989 wxSplitterWindow
* _arg0
;
4990 wxWindow
* _arg1
= (wxWindow
*) NULL
;
4991 PyObject
* _argo0
= 0;
4992 PyObject
* _argo1
= 0;
4993 char *_kwnames
[] = { "self","toRemove", NULL
};
4996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxSplitterWindow_Unsplit",_kwnames
,&_argo0
,&_argo1
))
4999 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5000 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
5001 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_Unsplit. Expected _wxSplitterWindow_p.");
5006 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5007 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
5008 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSplitterWindow_Unsplit. Expected _wxWindow_p.");
5013 wxPy_BEGIN_ALLOW_THREADS
;
5014 _result
= (bool )wxSplitterWindow_Unsplit(_arg0
,_arg1
);
5016 wxPy_END_ALLOW_THREADS
;
5017 } _resultobj
= Py_BuildValue("i",_result
);
5021 static void *SwigwxTaskBarIconTowxEvtHandler(void *ptr
) {
5024 src
= (wxTaskBarIcon
*) ptr
;
5025 dest
= (wxEvtHandler
*) src
;
5026 return (void *) dest
;
5029 #define new_wxTaskBarIcon() (new wxTaskBarIcon())
5030 static PyObject
*_wrap_new_wxTaskBarIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5031 PyObject
* _resultobj
;
5032 wxTaskBarIcon
* _result
;
5033 char *_kwnames
[] = { NULL
};
5037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxTaskBarIcon",_kwnames
))
5040 wxPy_BEGIN_ALLOW_THREADS
;
5041 _result
= (wxTaskBarIcon
*)new_wxTaskBarIcon();
5043 wxPy_END_ALLOW_THREADS
;
5045 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTaskBarIcon_p");
5046 _resultobj
= Py_BuildValue("s",_ptemp
);
5049 _resultobj
= Py_None
;
5054 #define delete_wxTaskBarIcon(_swigobj) (delete _swigobj)
5055 static PyObject
*_wrap_delete_wxTaskBarIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5056 PyObject
* _resultobj
;
5057 wxTaskBarIcon
* _arg0
;
5058 PyObject
* _argo0
= 0;
5059 char *_kwnames
[] = { "self", NULL
};
5062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxTaskBarIcon",_kwnames
,&_argo0
))
5065 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5066 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTaskBarIcon_p")) {
5067 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxTaskBarIcon. Expected _wxTaskBarIcon_p.");
5072 wxPy_BEGIN_ALLOW_THREADS
;
5073 delete_wxTaskBarIcon(_arg0
);
5075 wxPy_END_ALLOW_THREADS
;
5076 } Py_INCREF(Py_None
);
5077 _resultobj
= Py_None
;
5081 #define wxTaskBarIcon_SetIcon(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetIcon(_swigarg0,_swigarg1))
5082 static PyObject
*_wrap_wxTaskBarIcon_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5083 PyObject
* _resultobj
;
5085 wxTaskBarIcon
* _arg0
;
5087 char * _arg2
= (char *) "";
5088 PyObject
* _argo0
= 0;
5089 PyObject
* _argo1
= 0;
5090 char *_kwnames
[] = { "self","icon","tooltip", NULL
};
5093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|s:wxTaskBarIcon_SetIcon",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
5096 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5097 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTaskBarIcon_p")) {
5098 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTaskBarIcon_SetIcon. Expected _wxTaskBarIcon_p.");
5103 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5104 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxIcon_p")) {
5105 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTaskBarIcon_SetIcon. Expected _wxIcon_p.");
5110 wxPy_BEGIN_ALLOW_THREADS
;
5111 _result
= (bool )wxTaskBarIcon_SetIcon(_arg0
,*_arg1
,_arg2
);
5113 wxPy_END_ALLOW_THREADS
;
5114 } _resultobj
= Py_BuildValue("i",_result
);
5118 #define wxTaskBarIcon_RemoveIcon(_swigobj) (_swigobj->RemoveIcon())
5119 static PyObject
*_wrap_wxTaskBarIcon_RemoveIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5120 PyObject
* _resultobj
;
5122 wxTaskBarIcon
* _arg0
;
5123 PyObject
* _argo0
= 0;
5124 char *_kwnames
[] = { "self", NULL
};
5127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTaskBarIcon_RemoveIcon",_kwnames
,&_argo0
))
5130 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5131 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTaskBarIcon_p")) {
5132 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTaskBarIcon_RemoveIcon. Expected _wxTaskBarIcon_p.");
5137 wxPy_BEGIN_ALLOW_THREADS
;
5138 _result
= (bool )wxTaskBarIcon_RemoveIcon(_arg0
);
5140 wxPy_END_ALLOW_THREADS
;
5141 } _resultobj
= Py_BuildValue("i",_result
);
5145 #define wxTaskBarIcon_PopupMenu(_swigobj,_swigarg0) (_swigobj->PopupMenu(_swigarg0))
5146 static PyObject
*_wrap_wxTaskBarIcon_PopupMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5147 PyObject
* _resultobj
;
5149 wxTaskBarIcon
* _arg0
;
5151 PyObject
* _argo0
= 0;
5152 PyObject
* _argo1
= 0;
5153 char *_kwnames
[] = { "self","menu", NULL
};
5156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTaskBarIcon_PopupMenu",_kwnames
,&_argo0
,&_argo1
))
5159 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5160 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTaskBarIcon_p")) {
5161 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTaskBarIcon_PopupMenu. Expected _wxTaskBarIcon_p.");
5166 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5167 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
5168 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTaskBarIcon_PopupMenu. Expected _wxMenu_p.");
5173 wxPy_BEGIN_ALLOW_THREADS
;
5174 _result
= (bool )wxTaskBarIcon_PopupMenu(_arg0
,_arg1
);
5176 wxPy_END_ALLOW_THREADS
;
5177 } _resultobj
= Py_BuildValue("i",_result
);
5181 static PyMethodDef windows2cMethods
[] = {
5182 { "wxTaskBarIcon_PopupMenu", (PyCFunction
) _wrap_wxTaskBarIcon_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
},
5183 { "wxTaskBarIcon_RemoveIcon", (PyCFunction
) _wrap_wxTaskBarIcon_RemoveIcon
, METH_VARARGS
| METH_KEYWORDS
},
5184 { "wxTaskBarIcon_SetIcon", (PyCFunction
) _wrap_wxTaskBarIcon_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
5185 { "delete_wxTaskBarIcon", (PyCFunction
) _wrap_delete_wxTaskBarIcon
, METH_VARARGS
| METH_KEYWORDS
},
5186 { "new_wxTaskBarIcon", (PyCFunction
) _wrap_new_wxTaskBarIcon
, METH_VARARGS
| METH_KEYWORDS
},
5187 { "wxSplitterWindow_Unsplit", (PyCFunction
) _wrap_wxSplitterWindow_Unsplit
, METH_VARARGS
| METH_KEYWORDS
},
5188 { "wxSplitterWindow_SplitVertically", (PyCFunction
) _wrap_wxSplitterWindow_SplitVertically
, METH_VARARGS
| METH_KEYWORDS
},
5189 { "wxSplitterWindow_SplitHorizontally", (PyCFunction
) _wrap_wxSplitterWindow_SplitHorizontally
, METH_VARARGS
| METH_KEYWORDS
},
5190 { "wxSplitterWindow_SetSplitMode", (PyCFunction
) _wrap_wxSplitterWindow_SetSplitMode
, METH_VARARGS
| METH_KEYWORDS
},
5191 { "wxSplitterWindow_SetMinimumPaneSize", (PyCFunction
) _wrap_wxSplitterWindow_SetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
},
5192 { "wxSplitterWindow_SetSashSize", (PyCFunction
) _wrap_wxSplitterWindow_SetSashSize
, METH_VARARGS
| METH_KEYWORDS
},
5193 { "wxSplitterWindow_SetSashPosition", (PyCFunction
) _wrap_wxSplitterWindow_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
5194 { "wxSplitterWindow_SetBorderSize", (PyCFunction
) _wrap_wxSplitterWindow_SetBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
5195 { "wxSplitterWindow_IsSplit", (PyCFunction
) _wrap_wxSplitterWindow_IsSplit
, METH_VARARGS
| METH_KEYWORDS
},
5196 { "wxSplitterWindow_Initialize", (PyCFunction
) _wrap_wxSplitterWindow_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
5197 { "wxSplitterWindow_GetWindow2", (PyCFunction
) _wrap_wxSplitterWindow_GetWindow2
, METH_VARARGS
| METH_KEYWORDS
},
5198 { "wxSplitterWindow_GetWindow1", (PyCFunction
) _wrap_wxSplitterWindow_GetWindow1
, METH_VARARGS
| METH_KEYWORDS
},
5199 { "wxSplitterWindow_GetSplitMode", (PyCFunction
) _wrap_wxSplitterWindow_GetSplitMode
, METH_VARARGS
| METH_KEYWORDS
},
5200 { "wxSplitterWindow_GetSashSize", (PyCFunction
) _wrap_wxSplitterWindow_GetSashSize
, METH_VARARGS
| METH_KEYWORDS
},
5201 { "wxSplitterWindow_GetSashPosition", (PyCFunction
) _wrap_wxSplitterWindow_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
5202 { "wxSplitterWindow_GetMinimumPaneSize", (PyCFunction
) _wrap_wxSplitterWindow_GetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
},
5203 { "wxSplitterWindow_GetBorderSize", (PyCFunction
) _wrap_wxSplitterWindow_GetBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
5204 { "new_wxSplitterWindow", (PyCFunction
) _wrap_new_wxSplitterWindow
, METH_VARARGS
| METH_KEYWORDS
},
5205 { "wxSplitterEvent_SetSashPosition", (PyCFunction
) _wrap_wxSplitterEvent_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
5206 { "wxSplitterEvent_GetWindowBeingRemoved", (PyCFunction
) _wrap_wxSplitterEvent_GetWindowBeingRemoved
, METH_VARARGS
| METH_KEYWORDS
},
5207 { "wxSplitterEvent_GetY", (PyCFunction
) _wrap_wxSplitterEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
5208 { "wxSplitterEvent_GetX", (PyCFunction
) _wrap_wxSplitterEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
5209 { "wxSplitterEvent_GetSashPosition", (PyCFunction
) _wrap_wxSplitterEvent_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
5210 { "wxNotebook_ResizeChildren", (PyCFunction
) _wrap_wxNotebook_ResizeChildren
, METH_VARARGS
| METH_KEYWORDS
},
5211 { "wxNotebook_GetPage", (PyCFunction
) _wrap_wxNotebook_GetPage
, METH_VARARGS
| METH_KEYWORDS
},
5212 { "wxNotebook_InsertPage", (PyCFunction
) _wrap_wxNotebook_InsertPage
, METH_VARARGS
| METH_KEYWORDS
},
5213 { "wxNotebook_AddPage", (PyCFunction
) _wrap_wxNotebook_AddPage
, METH_VARARGS
| METH_KEYWORDS
},
5214 { "wxNotebook_DeleteAllPages", (PyCFunction
) _wrap_wxNotebook_DeleteAllPages
, METH_VARARGS
| METH_KEYWORDS
},
5215 { "wxNotebook_RemovePage", (PyCFunction
) _wrap_wxNotebook_RemovePage
, METH_VARARGS
| METH_KEYWORDS
},
5216 { "wxNotebook_DeletePage", (PyCFunction
) _wrap_wxNotebook_DeletePage
, METH_VARARGS
| METH_KEYWORDS
},
5217 { "wxNotebook_GetRowCount", (PyCFunction
) _wrap_wxNotebook_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
},
5218 { "wxNotebook_SetPageImage", (PyCFunction
) _wrap_wxNotebook_SetPageImage
, METH_VARARGS
| METH_KEYWORDS
},
5219 { "wxNotebook_GetPageImage", (PyCFunction
) _wrap_wxNotebook_GetPageImage
, METH_VARARGS
| METH_KEYWORDS
},
5220 { "wxNotebook_GetImageList", (PyCFunction
) _wrap_wxNotebook_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
5221 { "wxNotebook_SetImageList", (PyCFunction
) _wrap_wxNotebook_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
5222 { "wxNotebook_GetPageText", (PyCFunction
) _wrap_wxNotebook_GetPageText
, METH_VARARGS
| METH_KEYWORDS
},
5223 { "wxNotebook_SetPageText", (PyCFunction
) _wrap_wxNotebook_SetPageText
, METH_VARARGS
| METH_KEYWORDS
},
5224 { "wxNotebook_GetSelection", (PyCFunction
) _wrap_wxNotebook_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
5225 { "wxNotebook_AdvanceSelection", (PyCFunction
) _wrap_wxNotebook_AdvanceSelection
, METH_VARARGS
| METH_KEYWORDS
},
5226 { "wxNotebook_SetSelection", (PyCFunction
) _wrap_wxNotebook_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
5227 { "wxNotebook_GetPageCount", (PyCFunction
) _wrap_wxNotebook_GetPageCount
, METH_VARARGS
| METH_KEYWORDS
},
5228 { "new_wxNotebook", (PyCFunction
) _wrap_new_wxNotebook
, METH_VARARGS
| METH_KEYWORDS
},
5229 { "wxNotebookEvent_SetSelection", (PyCFunction
) _wrap_wxNotebookEvent_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
5230 { "wxNotebookEvent_SetOldSelection", (PyCFunction
) _wrap_wxNotebookEvent_SetOldSelection
, METH_VARARGS
| METH_KEYWORDS
},
5231 { "wxNotebookEvent_GetOldSelection", (PyCFunction
) _wrap_wxNotebookEvent_GetOldSelection
, METH_VARARGS
| METH_KEYWORDS
},
5232 { "wxNotebookEvent_GetSelection", (PyCFunction
) _wrap_wxNotebookEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
5233 { "wxGridEvent_GetCell", (PyCFunction
) _wrap_wxGridEvent_GetCell
, METH_VARARGS
| METH_KEYWORDS
},
5234 { "wxGridEvent_ShiftDown", (PyCFunction
) _wrap_wxGridEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
},
5235 { "wxGridEvent_ControlDown", (PyCFunction
) _wrap_wxGridEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
},
5236 { "wxGridEvent_GetPosition", (PyCFunction
) _wrap_wxGridEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
5237 { "wxGridEvent_GetCol", (PyCFunction
) _wrap_wxGridEvent_GetCol
, METH_VARARGS
| METH_KEYWORDS
},
5238 { "wxGridEvent_GetRow", (PyCFunction
) _wrap_wxGridEvent_GetRow
, METH_VARARGS
| METH_KEYWORDS
},
5239 { "wxGridEvent_m_cell_get", (PyCFunction
) _wrap_wxGridEvent_m_cell_get
, METH_VARARGS
| METH_KEYWORDS
},
5240 { "wxGridEvent_m_cell_set", (PyCFunction
) _wrap_wxGridEvent_m_cell_set
, METH_VARARGS
| METH_KEYWORDS
},
5241 { "wxGridEvent_m_shift_get", (PyCFunction
) _wrap_wxGridEvent_m_shift_get
, METH_VARARGS
| METH_KEYWORDS
},
5242 { "wxGridEvent_m_shift_set", (PyCFunction
) _wrap_wxGridEvent_m_shift_set
, METH_VARARGS
| METH_KEYWORDS
},
5243 { "wxGridEvent_m_control_get", (PyCFunction
) _wrap_wxGridEvent_m_control_get
, METH_VARARGS
| METH_KEYWORDS
},
5244 { "wxGridEvent_m_control_set", (PyCFunction
) _wrap_wxGridEvent_m_control_set
, METH_VARARGS
| METH_KEYWORDS
},
5245 { "wxGridEvent_m_y_get", (PyCFunction
) _wrap_wxGridEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
},
5246 { "wxGridEvent_m_y_set", (PyCFunction
) _wrap_wxGridEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
},
5247 { "wxGridEvent_m_x_get", (PyCFunction
) _wrap_wxGridEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
},
5248 { "wxGridEvent_m_x_set", (PyCFunction
) _wrap_wxGridEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
},
5249 { "wxGridEvent_m_col_get", (PyCFunction
) _wrap_wxGridEvent_m_col_get
, METH_VARARGS
| METH_KEYWORDS
},
5250 { "wxGridEvent_m_col_set", (PyCFunction
) _wrap_wxGridEvent_m_col_set
, METH_VARARGS
| METH_KEYWORDS
},
5251 { "wxGridEvent_m_row_get", (PyCFunction
) _wrap_wxGridEvent_m_row_get
, METH_VARARGS
| METH_KEYWORDS
},
5252 { "wxGridEvent_m_row_set", (PyCFunction
) _wrap_wxGridEvent_m_row_set
, METH_VARARGS
| METH_KEYWORDS
},
5253 { "wxGrid_SetEditInPlace", (PyCFunction
) _wrap_wxGrid_SetEditInPlace
, METH_VARARGS
| METH_KEYWORDS
},
5254 { "wxGrid_GetEditInPlace", (PyCFunction
) _wrap_wxGrid_GetEditInPlace
, METH_VARARGS
| METH_KEYWORDS
},
5255 { "wxGrid_UpdateDimensions", (PyCFunction
) _wrap_wxGrid_UpdateDimensions
, METH_VARARGS
| METH_KEYWORDS
},
5256 { "wxGrid_SetRowHeight", (PyCFunction
) _wrap_wxGrid_SetRowHeight
, METH_VARARGS
| METH_KEYWORDS
},
5257 { "wxGrid_SetLabelValue", (PyCFunction
) _wrap_wxGrid_SetLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
5258 { "wxGrid_SetLabelTextFont", (PyCFunction
) _wrap_wxGrid_SetLabelTextFont
, METH_VARARGS
| METH_KEYWORDS
},
5259 { "wxGrid_SetLabelTextColour", (PyCFunction
) _wrap_wxGrid_SetLabelTextColour
, METH_VARARGS
| METH_KEYWORDS
},
5260 { "wxGrid_SetLabelSize", (PyCFunction
) _wrap_wxGrid_SetLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
5261 { "wxGrid_SetLabelBackgroundColour", (PyCFunction
) _wrap_wxGrid_SetLabelBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
5262 { "wxGrid_SetLabelAlignment", (PyCFunction
) _wrap_wxGrid_SetLabelAlignment
, METH_VARARGS
| METH_KEYWORDS
},
5263 { "wxGrid_SetGridCursor", (PyCFunction
) _wrap_wxGrid_SetGridCursor
, METH_VARARGS
| METH_KEYWORDS
},
5264 { "wxGrid_SetEditable", (PyCFunction
) _wrap_wxGrid_SetEditable
, METH_VARARGS
| METH_KEYWORDS
},
5265 { "wxGrid_SetDividerPen", (PyCFunction
) _wrap_wxGrid_SetDividerPen
, METH_VARARGS
| METH_KEYWORDS
},
5266 { "wxGrid_SetColumnWidth", (PyCFunction
) _wrap_wxGrid_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
},
5267 { "wxGrid_SetCellValue", (PyCFunction
) _wrap_wxGrid_SetCellValue
, METH_VARARGS
| METH_KEYWORDS
},
5268 { "wxGrid_SetDefCellTextFont", (PyCFunction
) _wrap_wxGrid_SetDefCellTextFont
, METH_VARARGS
| METH_KEYWORDS
},
5269 { "wxGrid_SetCellTextFont", (PyCFunction
) _wrap_wxGrid_SetCellTextFont
, METH_VARARGS
| METH_KEYWORDS
},
5270 { "wxGrid_SetDefCellTextColour", (PyCFunction
) _wrap_wxGrid_SetDefCellTextColour
, METH_VARARGS
| METH_KEYWORDS
},
5271 { "wxGrid_SetCellTextColour", (PyCFunction
) _wrap_wxGrid_SetCellTextColour
, METH_VARARGS
| METH_KEYWORDS
},
5272 { "wxGrid_SetDefCellBackgroundColour", (PyCFunction
) _wrap_wxGrid_SetDefCellBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
5273 { "wxGrid_SetCellBackgroundColour", (PyCFunction
) _wrap_wxGrid_SetCellBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
5274 { "wxGrid_SetDefCellAlignment", (PyCFunction
) _wrap_wxGrid_SetDefCellAlignment
, METH_VARARGS
| METH_KEYWORDS
},
5275 { "wxGrid_SetCellAlignment", (PyCFunction
) _wrap_wxGrid_SetCellAlignment
, METH_VARARGS
| METH_KEYWORDS
},
5276 { "wxGrid_OnActivate", (PyCFunction
) _wrap_wxGrid_OnActivate
, METH_VARARGS
| METH_KEYWORDS
},
5277 { "wxGrid_InsertRows", (PyCFunction
) _wrap_wxGrid_InsertRows
, METH_VARARGS
| METH_KEYWORDS
},
5278 { "wxGrid_InsertCols", (PyCFunction
) _wrap_wxGrid_InsertCols
, METH_VARARGS
| METH_KEYWORDS
},
5279 { "wxGrid_GetVertScrollBar", (PyCFunction
) _wrap_wxGrid_GetVertScrollBar
, METH_VARARGS
| METH_KEYWORDS
},
5280 { "wxGrid_GetTextItem", (PyCFunction
) _wrap_wxGrid_GetTextItem
, METH_VARARGS
| METH_KEYWORDS
},
5281 { "wxGrid_GetScrollPosY", (PyCFunction
) _wrap_wxGrid_GetScrollPosY
, METH_VARARGS
| METH_KEYWORDS
},
5282 { "wxGrid_GetScrollPosX", (PyCFunction
) _wrap_wxGrid_GetScrollPosX
, METH_VARARGS
| METH_KEYWORDS
},
5283 { "wxGrid_GetRows", (PyCFunction
) _wrap_wxGrid_GetRows
, METH_VARARGS
| METH_KEYWORDS
},
5284 { "wxGrid_GetRowHeight", (PyCFunction
) _wrap_wxGrid_GetRowHeight
, METH_VARARGS
| METH_KEYWORDS
},
5285 { "wxGrid_GetLabelValue", (PyCFunction
) _wrap_wxGrid_GetLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
5286 { "wxGrid_GetLabelTextFont", (PyCFunction
) _wrap_wxGrid_GetLabelTextFont
, METH_VARARGS
| METH_KEYWORDS
},
5287 { "wxGrid_GetLabelTextColour", (PyCFunction
) _wrap_wxGrid_GetLabelTextColour
, METH_VARARGS
| METH_KEYWORDS
},
5288 { "wxGrid_GetLabelSize", (PyCFunction
) _wrap_wxGrid_GetLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
5289 { "wxGrid_GetLabelBackgroundColour", (PyCFunction
) _wrap_wxGrid_GetLabelBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
5290 { "wxGrid_GetLabelAlignment", (PyCFunction
) _wrap_wxGrid_GetLabelAlignment
, METH_VARARGS
| METH_KEYWORDS
},
5291 { "wxGrid_GetHorizScrollBar", (PyCFunction
) _wrap_wxGrid_GetHorizScrollBar
, METH_VARARGS
| METH_KEYWORDS
},
5292 { "wxGrid_GetEditable", (PyCFunction
) _wrap_wxGrid_GetEditable
, METH_VARARGS
| METH_KEYWORDS
},
5293 { "wxGrid_GetCursorRow", (PyCFunction
) _wrap_wxGrid_GetCursorRow
, METH_VARARGS
| METH_KEYWORDS
},
5294 { "wxGrid_GetCursorColumn", (PyCFunction
) _wrap_wxGrid_GetCursorColumn
, METH_VARARGS
| METH_KEYWORDS
},
5295 { "wxGrid_GetCurrentRect", (PyCFunction
) _wrap_wxGrid_GetCurrentRect
, METH_VARARGS
| METH_KEYWORDS
},
5296 { "wxGrid_GetColumnWidth", (PyCFunction
) _wrap_wxGrid_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
},
5297 { "wxGrid_GetCols", (PyCFunction
) _wrap_wxGrid_GetCols
, METH_VARARGS
| METH_KEYWORDS
},
5298 { "wxGrid_GetCellValue", (PyCFunction
) _wrap_wxGrid_GetCellValue
, METH_VARARGS
| METH_KEYWORDS
},
5299 { "wxGrid_GetDefCellTextFont", (PyCFunction
) _wrap_wxGrid_GetDefCellTextFont
, METH_VARARGS
| METH_KEYWORDS
},
5300 { "wxGrid_GetCellTextFont", (PyCFunction
) _wrap_wxGrid_GetCellTextFont
, METH_VARARGS
| METH_KEYWORDS
},
5301 { "wxGrid_GetDefCellTextColour", (PyCFunction
) _wrap_wxGrid_GetDefCellTextColour
, METH_VARARGS
| METH_KEYWORDS
},
5302 { "wxGrid_GetCellTextColour", (PyCFunction
) _wrap_wxGrid_GetCellTextColour
, METH_VARARGS
| METH_KEYWORDS
},
5303 { "wxGrid_GetCells", (PyCFunction
) _wrap_wxGrid_GetCells
, METH_VARARGS
| METH_KEYWORDS
},
5304 { "wxGrid_GetDefCellBackgroundColour", (PyCFunction
) _wrap_wxGrid_GetDefCellBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
5305 { "wxGrid_GetCellBackgroundColour", (PyCFunction
) _wrap_wxGrid_GetCellBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
5306 { "wxGrid_GetDefCellAlignment", (PyCFunction
) _wrap_wxGrid_GetDefCellAlignment
, METH_VARARGS
| METH_KEYWORDS
},
5307 { "wxGrid_GetCellAlignment", (PyCFunction
) _wrap_wxGrid_GetCellAlignment
, METH_VARARGS
| METH_KEYWORDS
},
5308 { "wxGrid_GetCell", (PyCFunction
) _wrap_wxGrid_GetCell
, METH_VARARGS
| METH_KEYWORDS
},
5309 { "wxGrid_GetBatchCount", (PyCFunction
) _wrap_wxGrid_GetBatchCount
, METH_VARARGS
| METH_KEYWORDS
},
5310 { "wxGrid_EndBatch", (PyCFunction
) _wrap_wxGrid_EndBatch
, METH_VARARGS
| METH_KEYWORDS
},
5311 { "wxGrid_DeleteRows", (PyCFunction
) _wrap_wxGrid_DeleteRows
, METH_VARARGS
| METH_KEYWORDS
},
5312 { "wxGrid_DeleteCols", (PyCFunction
) _wrap_wxGrid_DeleteCols
, METH_VARARGS
| METH_KEYWORDS
},
5313 { "wxGrid_CurrentCellVisible", (PyCFunction
) _wrap_wxGrid_CurrentCellVisible
, METH_VARARGS
| METH_KEYWORDS
},
5314 { "wxGrid_CreateGrid", (PyCFunction
) _wrap_wxGrid_CreateGrid
, METH_VARARGS
| METH_KEYWORDS
},
5315 { "wxGrid_CellHitTest", (PyCFunction
) _wrap_wxGrid_CellHitTest
, METH_VARARGS
| METH_KEYWORDS
},
5316 { "wxGrid_BeginBatch", (PyCFunction
) _wrap_wxGrid_BeginBatch
, METH_VARARGS
| METH_KEYWORDS
},
5317 { "wxGrid_AppendRows", (PyCFunction
) _wrap_wxGrid_AppendRows
, METH_VARARGS
| METH_KEYWORDS
},
5318 { "wxGrid_AppendCols", (PyCFunction
) _wrap_wxGrid_AppendCols
, METH_VARARGS
| METH_KEYWORDS
},
5319 { "wxGrid_AdjustScrollbars", (PyCFunction
) _wrap_wxGrid_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
5320 { "new_wxGrid", (PyCFunction
) _wrap_new_wxGrid
, METH_VARARGS
| METH_KEYWORDS
},
5321 { "wxGridCell_SetCellBitmap", (PyCFunction
) _wrap_wxGridCell_SetCellBitmap
, METH_VARARGS
| METH_KEYWORDS
},
5322 { "wxGridCell_GetCellBitmap", (PyCFunction
) _wrap_wxGridCell_GetCellBitmap
, METH_VARARGS
| METH_KEYWORDS
},
5323 { "wxGridCell_SetAlignment", (PyCFunction
) _wrap_wxGridCell_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
5324 { "wxGridCell_GetAlignment", (PyCFunction
) _wrap_wxGridCell_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
5325 { "wxGridCell_GetBackgroundBrush", (PyCFunction
) _wrap_wxGridCell_GetBackgroundBrush
, METH_VARARGS
| METH_KEYWORDS
},
5326 { "wxGridCell_SetBackgroundColour", (PyCFunction
) _wrap_wxGridCell_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
5327 { "wxGridCell_GetBackgroundColour", (PyCFunction
) _wrap_wxGridCell_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
5328 { "wxGridCell_SetTextColour", (PyCFunction
) _wrap_wxGridCell_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
5329 { "wxGridCell_GetTextColour", (PyCFunction
) _wrap_wxGridCell_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
5330 { "wxGridCell_SetFont", (PyCFunction
) _wrap_wxGridCell_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
5331 { "wxGridCell_GetFont", (PyCFunction
) _wrap_wxGridCell_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
5332 { "wxGridCell_SetTextValue", (PyCFunction
) _wrap_wxGridCell_SetTextValue
, METH_VARARGS
| METH_KEYWORDS
},
5333 { "wxGridCell_GetTextValue", (PyCFunction
) _wrap_wxGridCell_GetTextValue
, METH_VARARGS
| METH_KEYWORDS
},
5334 { "delete_wxGridCell", (PyCFunction
) _wrap_delete_wxGridCell
, METH_VARARGS
| METH_KEYWORDS
},
5335 { "new_wxGridCell", (PyCFunction
) _wrap_new_wxGridCell
, METH_VARARGS
| METH_KEYWORDS
},
5342 * This table is used by the pointer type-checker
5344 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
5345 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
5346 { "_wxEvent","_class_wxSplitterEvent",SwigwxSplitterEventTowxEvent
},
5347 { "_wxEvent","_wxSplitterEvent",SwigwxSplitterEventTowxEvent
},
5348 { "_wxEvent","_class_wxNotebookEvent",SwigwxNotebookEventTowxEvent
},
5349 { "_wxEvent","_wxNotebookEvent",SwigwxNotebookEventTowxEvent
},
5350 { "_wxEvent","_class_wxGridEvent",SwigwxGridEventTowxEvent
},
5351 { "_wxEvent","_wxGridEvent",SwigwxGridEventTowxEvent
},
5352 { "_wxEvent","_class_wxEvent",0},
5353 { "_class_wxActivateEvent","_wxActivateEvent",0},
5354 { "_signed_long","_long",0},
5355 { "_wxMenuEvent","_class_wxMenuEvent",0},
5356 { "_wxPrintQuality","_int",0},
5357 { "_wxPrintQuality","_signed_int",0},
5358 { "_wxPrintQuality","_unsigned_int",0},
5359 { "_wxPrintQuality","_wxWindowID",0},
5360 { "_wxPrintQuality","_uint",0},
5361 { "_wxPrintQuality","_EBool",0},
5362 { "_wxPrintQuality","_size_t",0},
5363 { "_class_wxRegionIterator","_wxRegionIterator",0},
5364 { "_class_wxMenuBar","_wxMenuBar",0},
5365 { "_class_wxEvtHandler","_class_wxTaskBarIcon",SwigwxTaskBarIconTowxEvtHandler
},
5366 { "_class_wxEvtHandler","_wxTaskBarIcon",SwigwxTaskBarIconTowxEvtHandler
},
5367 { "_class_wxEvtHandler","_class_wxSplitterWindow",SwigwxSplitterWindowTowxEvtHandler
},
5368 { "_class_wxEvtHandler","_wxSplitterWindow",SwigwxSplitterWindowTowxEvtHandler
},
5369 { "_class_wxEvtHandler","_class_wxNotebook",SwigwxNotebookTowxEvtHandler
},
5370 { "_class_wxEvtHandler","_wxNotebook",SwigwxNotebookTowxEvtHandler
},
5371 { "_class_wxEvtHandler","_class_wxGrid",SwigwxGridTowxEvtHandler
},
5372 { "_class_wxEvtHandler","_wxGrid",SwigwxGridTowxEvtHandler
},
5373 { "_class_wxEvtHandler","_wxEvtHandler",0},
5374 { "_wxPaintEvent","_class_wxPaintEvent",0},
5375 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
5376 { "_wxCursor","_class_wxCursor",0},
5377 { "_wxNotifyEvent","_class_wxNotebookEvent",SwigwxNotebookEventTowxNotifyEvent
},
5378 { "_wxNotifyEvent","_wxNotebookEvent",SwigwxNotebookEventTowxNotifyEvent
},
5379 { "_wxNotifyEvent","_class_wxNotifyEvent",0},
5380 { "_wxMask","_class_wxMask",0},
5381 { "_wxGrid","_class_wxGrid",0},
5382 { "_wxPen","_class_wxPen",0},
5383 { "_wxUpdateUIEvent","_class_wxUpdateUIEvent",0},
5384 { "_byte","_unsigned_char",0},
5385 { "_wxStaticBox","_class_wxStaticBox",0},
5386 { "_wxChoice","_class_wxChoice",0},
5387 { "_wxSlider","_class_wxSlider",0},
5388 { "_wxNotebookEvent","_class_wxNotebookEvent",0},
5389 { "_long","_wxDash",0},
5390 { "_long","_unsigned_long",0},
5391 { "_long","_signed_long",0},
5392 { "_wxImageList","_class_wxImageList",0},
5393 { "_wxDropFilesEvent","_class_wxDropFilesEvent",0},
5394 { "_wxBitmapButton","_class_wxBitmapButton",0},
5395 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
5396 { "_class_wxGauge","_wxGauge",0},
5397 { "_wxDC","_class_wxDC",0},
5398 { "_wxSpinEvent","_class_wxSpinEvent",0},
5399 { "_size_t","_wxPrintQuality",0},
5400 { "_size_t","_unsigned_int",0},
5401 { "_size_t","_int",0},
5402 { "_size_t","_wxWindowID",0},
5403 { "_size_t","_uint",0},
5404 { "_class_wxRealPoint","_wxRealPoint",0},
5405 { "_wxPrinterDC","_class_wxPrinterDC",0},
5406 { "_class_wxMenuItem","_wxMenuItem",0},
5407 { "_class_wxPaintEvent","_wxPaintEvent",0},
5408 { "_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0},
5409 { "_wxPanel","_class_wxGrid",SwigwxGridTowxPanel
},
5410 { "_wxPanel","_wxGrid",SwigwxGridTowxPanel
},
5411 { "_wxPanel","_class_wxPanel",0},
5412 { "_wxInitDialogEvent","_class_wxInitDialogEvent",0},
5413 { "_wxCheckBox","_class_wxCheckBox",0},
5414 { "_wxPyEvent","_class_wxPyEvent",0},
5415 { "_wxTextCtrl","_class_wxTextCtrl",0},
5416 { "_class_wxMask","_wxMask",0},
5417 { "_class_wxKeyEvent","_wxKeyEvent",0},
5418 { "_class_wxGrid","_wxGrid",0},
5419 { "_wxColour","_class_wxColour",0},
5420 { "_class_wxDialog","_wxDialog",0},
5421 { "_wxIdleEvent","_class_wxIdleEvent",0},
5422 { "_class_wxUpdateUIEvent","_wxUpdateUIEvent",0},
5423 { "_wxStaticLine","_class_wxStaticLine",0},
5424 { "_wxBrush","_class_wxBrush",0},
5425 { "_class_wxNotebookEvent","_wxNotebookEvent",0},
5426 { "_wxShowEvent","_class_wxShowEvent",0},
5427 { "_uint","_wxPrintQuality",0},
5428 { "_uint","_size_t",0},
5429 { "_uint","_unsigned_int",0},
5430 { "_uint","_int",0},
5431 { "_uint","_wxWindowID",0},
5432 { "_class_wxEvent","_class_wxSplitterEvent",SwigwxSplitterEventTowxEvent
},
5433 { "_class_wxEvent","_wxSplitterEvent",SwigwxSplitterEventTowxEvent
},
5434 { "_class_wxEvent","_class_wxNotebookEvent",SwigwxNotebookEventTowxEvent
},
5435 { "_class_wxEvent","_wxNotebookEvent",SwigwxNotebookEventTowxEvent
},
5436 { "_class_wxEvent","_class_wxGridEvent",SwigwxGridEventTowxEvent
},
5437 { "_class_wxEvent","_wxGridEvent",SwigwxGridEventTowxEvent
},
5438 { "_class_wxEvent","_wxEvent",0},
5439 { "_wxCheckListBox","_class_wxCheckListBox",0},
5440 { "_wxSplitterEvent","_class_wxSplitterEvent",0},
5441 { "_wxGridEvent","_class_wxGridEvent",0},
5442 { "_wxRect","_class_wxRect",0},
5443 { "_wxCommandEvent","_class_wxSplitterEvent",SwigwxSplitterEventTowxCommandEvent
},
5444 { "_wxCommandEvent","_wxSplitterEvent",SwigwxSplitterEventTowxCommandEvent
},
5445 { "_wxCommandEvent","_class_wxNotebookEvent",SwigwxNotebookEventTowxCommandEvent
},
5446 { "_wxCommandEvent","_wxNotebookEvent",SwigwxNotebookEventTowxCommandEvent
},
5447 { "_wxCommandEvent","_class_wxCommandEvent",0},
5448 { "_wxSizeEvent","_class_wxSizeEvent",0},
5449 { "_wxPoint","_class_wxPoint",0},
5450 { "_class_wxButton","_wxButton",0},
5451 { "_wxRadioBox","_class_wxRadioBox",0},
5452 { "_wxBitmap","_class_wxBitmap",0},
5453 { "_wxTaskBarIcon","_class_wxTaskBarIcon",0},
5454 { "_wxPyTimer","_class_wxPyTimer",0},
5455 { "_wxWindowDC","_class_wxWindowDC",0},
5456 { "_wxScrollBar","_class_wxScrollBar",0},
5457 { "_wxSpinButton","_class_wxSpinButton",0},
5458 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
5459 { "_class_wxNotifyEvent","_class_wxNotebookEvent",SwigwxNotebookEventTowxNotifyEvent
},
5460 { "_class_wxNotifyEvent","_wxNotebookEvent",SwigwxNotebookEventTowxNotifyEvent
},
5461 { "_class_wxNotifyEvent","_wxNotifyEvent",0},
5462 { "_class_wxPyEvent","_wxPyEvent",0},
5463 { "_class_wxIconizeEvent","_wxIconizeEvent",0},
5464 { "_class_wxStaticBitmap","_wxStaticBitmap",0},
5465 { "_class_wxStaticLine","_wxStaticLine",0},
5466 { "_wxScrollEvent","_class_wxScrollEvent",0},
5467 { "_EBool","_wxPrintQuality",0},
5468 { "_EBool","_signed_int",0},
5469 { "_EBool","_int",0},
5470 { "_EBool","_wxWindowID",0},
5471 { "_class_wxRegion","_wxRegion",0},
5472 { "_class_wxDropFilesEvent","_wxDropFilesEvent",0},
5473 { "_wxStaticText","_class_wxStaticText",0},
5474 { "_wxFont","_class_wxFont",0},
5475 { "_wxCloseEvent","_class_wxCloseEvent",0},
5476 { "_class_wxSplitterEvent","_wxSplitterEvent",0},
5477 { "_wxNotebook","_class_wxNotebook",0},
5478 { "_unsigned_long","_wxDash",0},
5479 { "_unsigned_long","_long",0},
5480 { "_class_wxRect","_wxRect",0},
5481 { "_class_wxDC","_wxDC",0},
5482 { "_class_wxPyTimer","_wxPyTimer",0},
5483 { "_wxFocusEvent","_class_wxFocusEvent",0},
5484 { "_wxMaximizeEvent","_class_wxMaximizeEvent",0},
5485 { "_class_wxSpinButton","_wxSpinButton",0},
5486 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
5487 { "_class_wxPanel","_class_wxGrid",SwigwxGridTowxPanel
},
5488 { "_class_wxPanel","_wxGrid",SwigwxGridTowxPanel
},
5489 { "_class_wxPanel","_wxPanel",0},
5490 { "_class_wxCheckBox","_wxCheckBox",0},
5491 { "_wxComboBox","_class_wxComboBox",0},
5492 { "_wxRadioButton","_class_wxRadioButton",0},
5493 { "_signed_int","_wxPrintQuality",0},
5494 { "_signed_int","_EBool",0},
5495 { "_signed_int","_wxWindowID",0},
5496 { "_signed_int","_int",0},
5497 { "_class_wxTextCtrl","_wxTextCtrl",0},
5498 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
5499 { "_wxMetaFileDC","_class_wxMetaFileDC",0},
5500 { "_wxMenu","_class_wxMenu",0},
5501 { "_class_wxMoveEvent","_wxMoveEvent",0},
5502 { "_wxListBox","_class_wxListBox",0},
5503 { "_wxScreenDC","_class_wxScreenDC",0},
5504 { "_WXTYPE","_short",0},
5505 { "_WXTYPE","_signed_short",0},
5506 { "_WXTYPE","_unsigned_short",0},
5507 { "_class_wxBrush","_wxBrush",0},
5508 { "_unsigned_short","_WXTYPE",0},
5509 { "_unsigned_short","_short",0},
5510 { "_class_wxWindow","_class_wxSplitterWindow",SwigwxSplitterWindowTowxWindow
},
5511 { "_class_wxWindow","_wxSplitterWindow",SwigwxSplitterWindowTowxWindow
},
5512 { "_class_wxWindow","_class_wxNotebook",SwigwxNotebookTowxWindow
},
5513 { "_class_wxWindow","_wxNotebook",SwigwxNotebookTowxWindow
},
5514 { "_class_wxWindow","_class_wxGrid",SwigwxGridTowxWindow
},
5515 { "_class_wxWindow","_wxGrid",SwigwxGridTowxWindow
},
5516 { "_class_wxWindow","_wxWindow",0},
5517 { "_wxSplitterWindow","_class_wxSplitterWindow",0},
5518 { "_class_wxStaticText","_wxStaticText",0},
5519 { "_class_wxFont","_wxFont",0},
5520 { "_class_wxCloseEvent","_wxCloseEvent",0},
5521 { "_class_wxMenuEvent","_wxMenuEvent",0},
5522 { "_wxClientDC","_class_wxClientDC",0},
5523 { "_wxMouseEvent","_class_wxMouseEvent",0},
5524 { "_class_wxPoint","_wxPoint",0},
5525 { "_wxRealPoint","_class_wxRealPoint",0},
5526 { "_class_wxRadioBox","_wxRadioBox",0},
5527 { "_wxGridCell","_class_wxGridCell",0},
5528 { "_signed_short","_WXTYPE",0},
5529 { "_signed_short","_short",0},
5530 { "_wxMemoryDC","_class_wxMemoryDC",0},
5531 { "_class_wxTaskBarIcon","_wxTaskBarIcon",0},
5532 { "_wxPaintDC","_class_wxPaintDC",0},
5533 { "_class_wxWindowDC","_wxWindowDC",0},
5534 { "_class_wxFocusEvent","_wxFocusEvent",0},
5535 { "_class_wxMaximizeEvent","_wxMaximizeEvent",0},
5536 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
5537 { "_class_wxCursor","_wxCursor",0},
5538 { "_wxScrolledWindow","_class_wxScrolledWindow",0},
5539 { "_unsigned_char","_byte",0},
5540 { "_class_wxMetaFileDC","_wxMetaFileDC",0},
5541 { "_class_wxMenu","_wxMenu",0},
5542 { "_wxControl","_class_wxNotebook",SwigwxNotebookTowxControl
},
5543 { "_wxControl","_wxNotebook",SwigwxNotebookTowxControl
},
5544 { "_wxControl","_class_wxControl",0},
5545 { "_class_wxListBox","_wxListBox",0},
5546 { "_unsigned_int","_wxPrintQuality",0},
5547 { "_unsigned_int","_size_t",0},
5548 { "_unsigned_int","_uint",0},
5549 { "_unsigned_int","_wxWindowID",0},
5550 { "_unsigned_int","_int",0},
5551 { "_wxIcon","_class_wxIcon",0},
5552 { "_wxDialog","_class_wxDialog",0},
5553 { "_class_wxPen","_wxPen",0},
5554 { "_short","_WXTYPE",0},
5555 { "_short","_unsigned_short",0},
5556 { "_short","_signed_short",0},
5557 { "_class_wxStaticBox","_wxStaticBox",0},
5558 { "_class_wxScrollEvent","_wxScrollEvent",0},
5559 { "_wxJoystickEvent","_class_wxJoystickEvent",0},
5560 { "_class_wxChoice","_wxChoice",0},
5561 { "_class_wxSlider","_wxSlider",0},
5562 { "_class_wxImageList","_wxImageList",0},
5563 { "_class_wxBitmapButton","_wxBitmapButton",0},
5564 { "_class_wxNotebook","_wxNotebook",0},
5565 { "_wxWindowID","_wxPrintQuality",0},
5566 { "_wxWindowID","_size_t",0},
5567 { "_wxWindowID","_EBool",0},
5568 { "_wxWindowID","_uint",0},
5569 { "_wxWindowID","_int",0},
5570 { "_wxWindowID","_signed_int",0},
5571 { "_wxWindowID","_unsigned_int",0},
5572 { "_int","_wxPrintQuality",0},
5573 { "_int","_size_t",0},
5574 { "_int","_EBool",0},
5575 { "_int","_uint",0},
5576 { "_int","_wxWindowID",0},
5577 { "_int","_unsigned_int",0},
5578 { "_int","_signed_int",0},
5579 { "_class_wxMouseEvent","_wxMouseEvent",0},
5580 { "_class_wxSpinEvent","_wxSpinEvent",0},
5581 { "_wxButton","_class_wxButton",0},
5582 { "_wxSize","_class_wxSize",0},
5583 { "_wxRegionIterator","_class_wxRegionIterator",0},
5584 { "_class_wxPrinterDC","_wxPrinterDC",0},
5585 { "_class_wxPaintDC","_wxPaintDC",0},
5586 { "_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0},
5587 { "_class_wxInitDialogEvent","_wxInitDialogEvent",0},
5588 { "_class_wxComboBox","_wxComboBox",0},
5589 { "_class_wxRadioButton","_wxRadioButton",0},
5590 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
5591 { "_wxIconizeEvent","_class_wxIconizeEvent",0},
5592 { "_class_wxControl","_class_wxNotebook",SwigwxNotebookTowxControl
},
5593 { "_class_wxControl","_wxNotebook",SwigwxNotebookTowxControl
},
5594 { "_class_wxControl","_wxControl",0},
5595 { "_wxStaticBitmap","_class_wxStaticBitmap",0},
5596 { "_class_wxIcon","_wxIcon",0},
5597 { "_class_wxColour","_wxColour",0},
5598 { "_class_wxScreenDC","_wxScreenDC",0},
5599 { "_wxPalette","_class_wxPalette",0},
5600 { "_class_wxIdleEvent","_wxIdleEvent",0},
5601 { "_wxEraseEvent","_class_wxEraseEvent",0},
5602 { "_class_wxJoystickEvent","_wxJoystickEvent",0},
5603 { "_wxRegion","_class_wxRegion",0},
5604 { "_class_wxSplitterWindow","_wxSplitterWindow",0},
5605 { "_class_wxShowEvent","_wxShowEvent",0},
5606 { "_wxActivateEvent","_class_wxActivateEvent",0},
5607 { "_wxGauge","_class_wxGauge",0},
5608 { "_class_wxCheckListBox","_wxCheckListBox",0},
5609 { "_class_wxGridEvent","_wxGridEvent",0},
5610 { "_class_wxCommandEvent","_class_wxSplitterEvent",SwigwxSplitterEventTowxCommandEvent
},
5611 { "_class_wxCommandEvent","_wxSplitterEvent",SwigwxSplitterEventTowxCommandEvent
},
5612 { "_class_wxCommandEvent","_class_wxNotebookEvent",SwigwxNotebookEventTowxCommandEvent
},
5613 { "_class_wxCommandEvent","_wxNotebookEvent",SwigwxNotebookEventTowxCommandEvent
},
5614 { "_class_wxCommandEvent","_wxCommandEvent",0},
5615 { "_class_wxClientDC","_wxClientDC",0},
5616 { "_class_wxSizeEvent","_wxSizeEvent",0},
5617 { "_class_wxGridCell","_wxGridCell",0},
5618 { "_class_wxSize","_wxSize",0},
5619 { "_class_wxBitmap","_wxBitmap",0},
5620 { "_class_wxMemoryDC","_wxMemoryDC",0},
5621 { "_wxMenuBar","_class_wxMenuBar",0},
5622 { "_wxEvtHandler","_class_wxTaskBarIcon",SwigwxTaskBarIconTowxEvtHandler
},
5623 { "_wxEvtHandler","_wxTaskBarIcon",SwigwxTaskBarIconTowxEvtHandler
},
5624 { "_wxEvtHandler","_class_wxSplitterWindow",SwigwxSplitterWindowTowxEvtHandler
},
5625 { "_wxEvtHandler","_wxSplitterWindow",SwigwxSplitterWindowTowxEvtHandler
},
5626 { "_wxEvtHandler","_class_wxNotebook",SwigwxNotebookTowxEvtHandler
},
5627 { "_wxEvtHandler","_wxNotebook",SwigwxNotebookTowxEvtHandler
},
5628 { "_wxEvtHandler","_class_wxGrid",SwigwxGridTowxEvtHandler
},
5629 { "_wxEvtHandler","_wxGrid",SwigwxGridTowxEvtHandler
},
5630 { "_wxEvtHandler","_class_wxEvtHandler",0},
5631 { "_wxMenuItem","_class_wxMenuItem",0},
5632 { "_class_wxScrollBar","_wxScrollBar",0},
5633 { "_wxDash","_unsigned_long",0},
5634 { "_wxDash","_long",0},
5635 { "_class_wxScrolledWindow","_wxScrolledWindow",0},
5636 { "_wxKeyEvent","_class_wxKeyEvent",0},
5637 { "_wxMoveEvent","_class_wxMoveEvent",0},
5638 { "_class_wxPalette","_wxPalette",0},
5639 { "_class_wxEraseEvent","_wxEraseEvent",0},
5640 { "_wxWindow","_class_wxSplitterWindow",SwigwxSplitterWindowTowxWindow
},
5641 { "_wxWindow","_wxSplitterWindow",SwigwxSplitterWindowTowxWindow
},
5642 { "_wxWindow","_class_wxNotebook",SwigwxNotebookTowxWindow
},
5643 { "_wxWindow","_wxNotebook",SwigwxNotebookTowxWindow
},
5644 { "_wxWindow","_class_wxGrid",SwigwxGridTowxWindow
},
5645 { "_wxWindow","_wxGrid",SwigwxGridTowxWindow
},
5646 { "_wxWindow","_class_wxWindow",0},
5649 static PyObject
*SWIG_globals
;
5653 SWIGEXPORT(void) initwindows2c() {
5655 SWIG_globals
= SWIG_newvarlink();
5656 m
= Py_InitModule("windows2c", windows2cMethods
);
5657 d
= PyModule_GetDict(m
);
5658 PyDict_SetItemString(d
,"wxGRID_TEXT_CTRL", PyInt_FromLong((long) wxGRID_TEXT_CTRL
));
5659 PyDict_SetItemString(d
,"wxGRID_HSCROLL", PyInt_FromLong((long) wxGRID_HSCROLL
));
5660 PyDict_SetItemString(d
,"wxGRID_VSCROLL", PyInt_FromLong((long) wxGRID_VSCROLL
));
5661 PyDict_SetItemString(d
,"wxEVT_GRID_SELECT_CELL", PyInt_FromLong((long) wxEVT_GRID_SELECT_CELL
));
5662 PyDict_SetItemString(d
,"wxEVT_GRID_CREATE_CELL", PyInt_FromLong((long) wxEVT_GRID_CREATE_CELL
));
5663 PyDict_SetItemString(d
,"wxEVT_GRID_CHANGE_LABELS", PyInt_FromLong((long) wxEVT_GRID_CHANGE_LABELS
));
5664 PyDict_SetItemString(d
,"wxEVT_GRID_CHANGE_SEL_LABEL", PyInt_FromLong((long) wxEVT_GRID_CHANGE_SEL_LABEL
));
5665 PyDict_SetItemString(d
,"wxEVT_GRID_CELL_CHANGE", PyInt_FromLong((long) wxEVT_GRID_CELL_CHANGE
));
5666 PyDict_SetItemString(d
,"wxEVT_GRID_CELL_LCLICK", PyInt_FromLong((long) wxEVT_GRID_CELL_LCLICK
));
5667 PyDict_SetItemString(d
,"wxEVT_GRID_CELL_RCLICK", PyInt_FromLong((long) wxEVT_GRID_CELL_RCLICK
));
5668 PyDict_SetItemString(d
,"wxEVT_GRID_LABEL_LCLICK", PyInt_FromLong((long) wxEVT_GRID_LABEL_LCLICK
));
5669 PyDict_SetItemString(d
,"wxEVT_GRID_LABEL_RCLICK", PyInt_FromLong((long) wxEVT_GRID_LABEL_RCLICK
));
5670 PyDict_SetItemString(d
,"wxEVT_TASKBAR_MOVE", PyInt_FromLong((long) wxEVT_TASKBAR_MOVE
));
5671 PyDict_SetItemString(d
,"wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong((long) wxEVT_TASKBAR_LEFT_DOWN
));
5672 PyDict_SetItemString(d
,"wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong((long) wxEVT_TASKBAR_LEFT_UP
));
5673 PyDict_SetItemString(d
,"wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong((long) wxEVT_TASKBAR_RIGHT_DOWN
));
5674 PyDict_SetItemString(d
,"wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong((long) wxEVT_TASKBAR_RIGHT_UP
));
5675 PyDict_SetItemString(d
,"wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong((long) wxEVT_TASKBAR_LEFT_DCLICK
));
5676 PyDict_SetItemString(d
,"wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong((long) wxEVT_TASKBAR_RIGHT_DCLICK
));
5679 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
5680 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);