2 * FILE : msw/windows2.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 794)
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
32 # define SWIGEXPORT(a) a
36 # define SWIGEXPORT(a) a
43 extern void SWIG_MakePtr(char *, void *, char *);
44 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
45 extern char *SWIG_GetPtr(char *, void **, char *);
46 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
47 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
48 extern PyObject
*SWIG_newvarlink(void);
52 #define SWIG_init initwindows2c
54 #define SWIG_name "windows2c"
58 #include <wx/notebook.h>
59 #include <wx/splitter.h>
61 #include <wx/msw/taskbar.h>
64 static PyObject
* l_output_helper(PyObject
* target
, PyObject
* o
) {
69 } else if (target
== Py_None
) {
73 if (!PyList_Check(target
)) {
75 target
= PyList_New(0);
76 PyList_Append(target
, o2
);
79 PyList_Append(target
,o
);
85 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
91 } else if (target
== Py_None
) {
95 if (!PyTuple_Check(target
)) {
97 target
= PyTuple_New(1);
98 PyTuple_SetItem(target
, 0, o2
);
101 PyTuple_SetItem(o3
, 0, o
);
104 target
= PySequence_Concat(o2
, o3
);
112 extern byte
* byte_LIST_helper(PyObject
* source
);
113 extern int* int_LIST_helper(PyObject
* source
);
114 extern long* long_LIST_helper(PyObject
* source
);
115 extern char** string_LIST_helper(PyObject
* source
);
116 extern wxPoint
* wxPoint_LIST_helper(PyObject
* source
);
117 extern wxBitmap
** wxBitmap_LIST_helper(PyObject
* source
);
118 extern wxString
* wxString_LIST_helper(PyObject
* source
);
119 extern wxAcceleratorEntry
* wxAcceleratorEntry_LIST_helper(PyObject
* source
);
122 static char* wxStringErrorMsg
= "string type is required for parameter";
126 #define new_wxGridCell() (new wxGridCell())
127 static PyObject
*_wrap_new_wxGridCell(PyObject
*self
, PyObject
*args
, 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 #ifdef WXP_WITH_THREAD
1217 PyEval_RestoreThread(wxPyEventThreadState
);
1220 PyObject
* pyCell
= wxPyConstructObject(cell
, "wxGridCell");
1221 #ifdef WXP_WITH_THREAD
1222 PyEval_SaveThread();
1223 wxPyInEvent
= false;
1226 if (PyList_Append(rowList
, pyCell
) == -1)
1229 if (PyList_Append(rows
, rowList
) == -1)
1234 static PyObject
*_wrap_wxGrid_GetCells(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1235 PyObject
* _resultobj
;
1238 PyObject
* _argo0
= 0;
1239 char *_kwnames
[] = { "self", NULL
};
1242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetCells",_kwnames
,&_argo0
))
1245 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1246 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
1247 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCells. Expected _wxGrid_p.");
1252 wxPy_BEGIN_ALLOW_THREADS
;
1253 _result
= (PyObject
*)wxGrid_GetCells(_arg0
);
1255 wxPy_END_ALLOW_THREADS
;
1257 _resultobj
= _result
;
1262 #define wxGrid_GetCellTextColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellTextColour(_swigarg0,_swigarg1))
1263 static PyObject
*_wrap_wxGrid_GetCellTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1264 PyObject
* _resultobj
;
1269 PyObject
* _argo0
= 0;
1270 char *_kwnames
[] = { "self","row","col", NULL
};
1274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_GetCellTextColour",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
1277 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1278 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
1279 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellTextColour. Expected _wxGrid_p.");
1284 wxPy_BEGIN_ALLOW_THREADS
;
1285 wxColour
& _result_ref
= wxGrid_GetCellTextColour(_arg0
,_arg1
,_arg2
);
1286 _result
= (wxColour
*) &_result_ref
;
1288 wxPy_END_ALLOW_THREADS
;
1290 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
1291 _resultobj
= Py_BuildValue("s",_ptemp
);
1294 _resultobj
= Py_None
;
1299 #define wxGrid_GetDefCellTextColour(_swigobj) (_swigobj->GetCellTextColour())
1300 static PyObject
*_wrap_wxGrid_GetDefCellTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1301 PyObject
* _resultobj
;
1304 PyObject
* _argo0
= 0;
1305 char *_kwnames
[] = { "self", NULL
};
1309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetDefCellTextColour",_kwnames
,&_argo0
))
1312 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1313 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
1314 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefCellTextColour. Expected _wxGrid_p.");
1319 wxPy_BEGIN_ALLOW_THREADS
;
1320 wxColour
& _result_ref
= wxGrid_GetDefCellTextColour(_arg0
);
1321 _result
= (wxColour
*) &_result_ref
;
1323 wxPy_END_ALLOW_THREADS
;
1325 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
1326 _resultobj
= Py_BuildValue("s",_ptemp
);
1329 _resultobj
= Py_None
;
1334 #define wxGrid_GetCellTextFont(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellTextFont(_swigarg0,_swigarg1))
1335 static PyObject
*_wrap_wxGrid_GetCellTextFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1336 PyObject
* _resultobj
;
1341 PyObject
* _argo0
= 0;
1342 char *_kwnames
[] = { "self","row","col", NULL
};
1346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_GetCellTextFont",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
1349 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1350 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
1351 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellTextFont. Expected _wxGrid_p.");
1356 wxPy_BEGIN_ALLOW_THREADS
;
1357 wxFont
& _result_ref
= wxGrid_GetCellTextFont(_arg0
,_arg1
,_arg2
);
1358 _result
= (wxFont
*) &_result_ref
;
1360 wxPy_END_ALLOW_THREADS
;
1362 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
1363 _resultobj
= Py_BuildValue("s",_ptemp
);
1366 _resultobj
= Py_None
;
1371 #define wxGrid_GetDefCellTextFont(_swigobj) (_swigobj->GetCellTextFont())
1372 static PyObject
*_wrap_wxGrid_GetDefCellTextFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1373 PyObject
* _resultobj
;
1376 PyObject
* _argo0
= 0;
1377 char *_kwnames
[] = { "self", NULL
};
1381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetDefCellTextFont",_kwnames
,&_argo0
))
1384 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1385 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
1386 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefCellTextFont. Expected _wxGrid_p.");
1391 wxPy_BEGIN_ALLOW_THREADS
;
1392 wxFont
& _result_ref
= wxGrid_GetDefCellTextFont(_arg0
);
1393 _result
= (wxFont
*) &_result_ref
;
1395 wxPy_END_ALLOW_THREADS
;
1397 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
1398 _resultobj
= Py_BuildValue("s",_ptemp
);
1401 _resultobj
= Py_None
;
1406 #define wxGrid_GetCellValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellValue(_swigarg0,_swigarg1))
1407 static PyObject
*_wrap_wxGrid_GetCellValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1408 PyObject
* _resultobj
;
1413 PyObject
* _argo0
= 0;
1414 char *_kwnames
[] = { "self","row","col", NULL
};
1417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_GetCellValue",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
1420 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1421 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
1422 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellValue. Expected _wxGrid_p.");
1427 wxPy_BEGIN_ALLOW_THREADS
;
1428 wxString
& _result_ref
= wxGrid_GetCellValue(_arg0
,_arg1
,_arg2
);
1429 _result
= (wxString
*) &_result_ref
;
1431 wxPy_END_ALLOW_THREADS
;
1433 _resultobj
= PyString_FromString(WXSTRINGCAST (*_result
));
1438 #define wxGrid_GetCols(_swigobj) (_swigobj->GetCols())
1439 static PyObject
*_wrap_wxGrid_GetCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1440 PyObject
* _resultobj
;
1443 PyObject
* _argo0
= 0;
1444 char *_kwnames
[] = { "self", NULL
};
1447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetCols",_kwnames
,&_argo0
))
1450 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1451 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
1452 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCols. Expected _wxGrid_p.");
1457 wxPy_BEGIN_ALLOW_THREADS
;
1458 _result
= (int )wxGrid_GetCols(_arg0
);
1460 wxPy_END_ALLOW_THREADS
;
1461 } _resultobj
= Py_BuildValue("i",_result
);
1465 #define wxGrid_GetColumnWidth(_swigobj,_swigarg0) (_swigobj->GetColumnWidth(_swigarg0))
1466 static PyObject
*_wrap_wxGrid_GetColumnWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1467 PyObject
* _resultobj
;
1471 PyObject
* _argo0
= 0;
1472 char *_kwnames
[] = { "self","col", NULL
};
1475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_GetColumnWidth",_kwnames
,&_argo0
,&_arg1
))
1478 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1479 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
1480 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetColumnWidth. Expected _wxGrid_p.");
1485 wxPy_BEGIN_ALLOW_THREADS
;
1486 _result
= (int )wxGrid_GetColumnWidth(_arg0
,_arg1
);
1488 wxPy_END_ALLOW_THREADS
;
1489 } _resultobj
= Py_BuildValue("i",_result
);
1493 #define wxGrid_GetCurrentRect(_swigobj) (_swigobj->GetCurrentRect())
1494 static PyObject
*_wrap_wxGrid_GetCurrentRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1495 PyObject
* _resultobj
;
1498 PyObject
* _argo0
= 0;
1499 char *_kwnames
[] = { "self", NULL
};
1503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetCurrentRect",_kwnames
,&_argo0
))
1506 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1507 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
1508 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCurrentRect. Expected _wxGrid_p.");
1513 wxPy_BEGIN_ALLOW_THREADS
;
1514 _result
= new wxRect (wxGrid_GetCurrentRect(_arg0
));
1516 wxPy_END_ALLOW_THREADS
;
1517 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
1518 _resultobj
= Py_BuildValue("s",_ptemp
);
1522 #define wxGrid_GetCursorColumn(_swigobj) (_swigobj->GetCursorColumn())
1523 static PyObject
*_wrap_wxGrid_GetCursorColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1524 PyObject
* _resultobj
;
1527 PyObject
* _argo0
= 0;
1528 char *_kwnames
[] = { "self", NULL
};
1531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetCursorColumn",_kwnames
,&_argo0
))
1534 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1535 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
1536 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCursorColumn. Expected _wxGrid_p.");
1541 wxPy_BEGIN_ALLOW_THREADS
;
1542 _result
= (int )wxGrid_GetCursorColumn(_arg0
);
1544 wxPy_END_ALLOW_THREADS
;
1545 } _resultobj
= Py_BuildValue("i",_result
);
1549 #define wxGrid_GetCursorRow(_swigobj) (_swigobj->GetCursorRow())
1550 static PyObject
*_wrap_wxGrid_GetCursorRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1551 PyObject
* _resultobj
;
1554 PyObject
* _argo0
= 0;
1555 char *_kwnames
[] = { "self", NULL
};
1558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetCursorRow",_kwnames
,&_argo0
))
1561 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1562 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
1563 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCursorRow. Expected _wxGrid_p.");
1568 wxPy_BEGIN_ALLOW_THREADS
;
1569 _result
= (int )wxGrid_GetCursorRow(_arg0
);
1571 wxPy_END_ALLOW_THREADS
;
1572 } _resultobj
= Py_BuildValue("i",_result
);
1576 #define wxGrid_GetEditable(_swigobj) (_swigobj->GetEditable())
1577 static PyObject
*_wrap_wxGrid_GetEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1578 PyObject
* _resultobj
;
1581 PyObject
* _argo0
= 0;
1582 char *_kwnames
[] = { "self", NULL
};
1585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetEditable",_kwnames
,&_argo0
))
1588 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1589 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
1590 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetEditable. Expected _wxGrid_p.");
1595 wxPy_BEGIN_ALLOW_THREADS
;
1596 _result
= (bool )wxGrid_GetEditable(_arg0
);
1598 wxPy_END_ALLOW_THREADS
;
1599 } _resultobj
= Py_BuildValue("i",_result
);
1603 #define wxGrid_GetHorizScrollBar(_swigobj) (_swigobj->GetHorizScrollBar())
1604 static PyObject
*_wrap_wxGrid_GetHorizScrollBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1605 PyObject
* _resultobj
;
1606 wxScrollBar
* _result
;
1608 PyObject
* _argo0
= 0;
1609 char *_kwnames
[] = { "self", NULL
};
1613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetHorizScrollBar",_kwnames
,&_argo0
))
1616 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1617 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
1618 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetHorizScrollBar. Expected _wxGrid_p.");
1623 wxPy_BEGIN_ALLOW_THREADS
;
1624 _result
= (wxScrollBar
*)wxGrid_GetHorizScrollBar(_arg0
);
1626 wxPy_END_ALLOW_THREADS
;
1628 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScrollBar_p");
1629 _resultobj
= Py_BuildValue("s",_ptemp
);
1632 _resultobj
= Py_None
;
1637 #define wxGrid_GetLabelAlignment(_swigobj,_swigarg0) (_swigobj->GetLabelAlignment(_swigarg0))
1638 static PyObject
*_wrap_wxGrid_GetLabelAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1639 PyObject
* _resultobj
;
1643 PyObject
* _argo0
= 0;
1644 char *_kwnames
[] = { "self","orientation", NULL
};
1647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_GetLabelAlignment",_kwnames
,&_argo0
,&_arg1
))
1650 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1651 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
1652 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetLabelAlignment. Expected _wxGrid_p.");
1657 wxPy_BEGIN_ALLOW_THREADS
;
1658 _result
= (int )wxGrid_GetLabelAlignment(_arg0
,_arg1
);
1660 wxPy_END_ALLOW_THREADS
;
1661 } _resultobj
= Py_BuildValue("i",_result
);
1665 #define wxGrid_GetLabelBackgroundColour(_swigobj) (_swigobj->GetLabelBackgroundColour())
1666 static PyObject
*_wrap_wxGrid_GetLabelBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1667 PyObject
* _resultobj
;
1670 PyObject
* _argo0
= 0;
1671 char *_kwnames
[] = { "self", NULL
};
1675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetLabelBackgroundColour",_kwnames
,&_argo0
))
1678 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1679 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
1680 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetLabelBackgroundColour. Expected _wxGrid_p.");
1685 wxPy_BEGIN_ALLOW_THREADS
;
1686 wxColour
& _result_ref
= wxGrid_GetLabelBackgroundColour(_arg0
);
1687 _result
= (wxColour
*) &_result_ref
;
1689 wxPy_END_ALLOW_THREADS
;
1691 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
1692 _resultobj
= Py_BuildValue("s",_ptemp
);
1695 _resultobj
= Py_None
;
1700 #define wxGrid_GetLabelSize(_swigobj,_swigarg0) (_swigobj->GetLabelSize(_swigarg0))
1701 static PyObject
*_wrap_wxGrid_GetLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1702 PyObject
* _resultobj
;
1706 PyObject
* _argo0
= 0;
1707 char *_kwnames
[] = { "self","orientation", NULL
};
1710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_GetLabelSize",_kwnames
,&_argo0
,&_arg1
))
1713 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1714 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
1715 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetLabelSize. Expected _wxGrid_p.");
1720 wxPy_BEGIN_ALLOW_THREADS
;
1721 _result
= (int )wxGrid_GetLabelSize(_arg0
,_arg1
);
1723 wxPy_END_ALLOW_THREADS
;
1724 } _resultobj
= Py_BuildValue("i",_result
);
1728 #define wxGrid_GetLabelTextColour(_swigobj) (_swigobj->GetLabelTextColour())
1729 static PyObject
*_wrap_wxGrid_GetLabelTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1730 PyObject
* _resultobj
;
1733 PyObject
* _argo0
= 0;
1734 char *_kwnames
[] = { "self", NULL
};
1738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetLabelTextColour",_kwnames
,&_argo0
))
1741 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1742 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
1743 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetLabelTextColour. Expected _wxGrid_p.");
1748 wxPy_BEGIN_ALLOW_THREADS
;
1749 wxColour
& _result_ref
= wxGrid_GetLabelTextColour(_arg0
);
1750 _result
= (wxColour
*) &_result_ref
;
1752 wxPy_END_ALLOW_THREADS
;
1754 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
1755 _resultobj
= Py_BuildValue("s",_ptemp
);
1758 _resultobj
= Py_None
;
1763 #define wxGrid_GetLabelTextFont(_swigobj) (_swigobj->GetLabelTextFont())
1764 static PyObject
*_wrap_wxGrid_GetLabelTextFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1765 PyObject
* _resultobj
;
1768 PyObject
* _argo0
= 0;
1769 char *_kwnames
[] = { "self", NULL
};
1773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetLabelTextFont",_kwnames
,&_argo0
))
1776 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1777 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
1778 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetLabelTextFont. Expected _wxGrid_p.");
1783 wxPy_BEGIN_ALLOW_THREADS
;
1784 wxFont
& _result_ref
= wxGrid_GetLabelTextFont(_arg0
);
1785 _result
= (wxFont
*) &_result_ref
;
1787 wxPy_END_ALLOW_THREADS
;
1789 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
1790 _resultobj
= Py_BuildValue("s",_ptemp
);
1793 _resultobj
= Py_None
;
1798 #define wxGrid_GetLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetLabelValue(_swigarg0,_swigarg1))
1799 static PyObject
*_wrap_wxGrid_GetLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1800 PyObject
* _resultobj
;
1805 PyObject
* _argo0
= 0;
1806 char *_kwnames
[] = { "self","orientation","pos", NULL
};
1809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_GetLabelValue",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
1812 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1813 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
1814 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetLabelValue. Expected _wxGrid_p.");
1819 wxPy_BEGIN_ALLOW_THREADS
;
1820 wxString
& _result_ref
= wxGrid_GetLabelValue(_arg0
,_arg1
,_arg2
);
1821 _result
= (wxString
*) &_result_ref
;
1823 wxPy_END_ALLOW_THREADS
;
1825 _resultobj
= PyString_FromString(WXSTRINGCAST (*_result
));
1830 #define wxGrid_GetRowHeight(_swigobj,_swigarg0) (_swigobj->GetRowHeight(_swigarg0))
1831 static PyObject
*_wrap_wxGrid_GetRowHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1832 PyObject
* _resultobj
;
1836 PyObject
* _argo0
= 0;
1837 char *_kwnames
[] = { "self","row", NULL
};
1840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_GetRowHeight",_kwnames
,&_argo0
,&_arg1
))
1843 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1844 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
1845 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetRowHeight. Expected _wxGrid_p.");
1850 wxPy_BEGIN_ALLOW_THREADS
;
1851 _result
= (int )wxGrid_GetRowHeight(_arg0
,_arg1
);
1853 wxPy_END_ALLOW_THREADS
;
1854 } _resultobj
= Py_BuildValue("i",_result
);
1858 #define wxGrid_GetRows(_swigobj) (_swigobj->GetRows())
1859 static PyObject
*_wrap_wxGrid_GetRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1860 PyObject
* _resultobj
;
1863 PyObject
* _argo0
= 0;
1864 char *_kwnames
[] = { "self", NULL
};
1867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetRows",_kwnames
,&_argo0
))
1870 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1871 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
1872 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetRows. Expected _wxGrid_p.");
1877 wxPy_BEGIN_ALLOW_THREADS
;
1878 _result
= (int )wxGrid_GetRows(_arg0
);
1880 wxPy_END_ALLOW_THREADS
;
1881 } _resultobj
= Py_BuildValue("i",_result
);
1885 #define wxGrid_GetScrollPosX(_swigobj) (_swigobj->GetScrollPosX())
1886 static PyObject
*_wrap_wxGrid_GetScrollPosX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1887 PyObject
* _resultobj
;
1890 PyObject
* _argo0
= 0;
1891 char *_kwnames
[] = { "self", NULL
};
1894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetScrollPosX",_kwnames
,&_argo0
))
1897 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1898 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
1899 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetScrollPosX. Expected _wxGrid_p.");
1904 wxPy_BEGIN_ALLOW_THREADS
;
1905 _result
= (int )wxGrid_GetScrollPosX(_arg0
);
1907 wxPy_END_ALLOW_THREADS
;
1908 } _resultobj
= Py_BuildValue("i",_result
);
1912 #define wxGrid_GetScrollPosY(_swigobj) (_swigobj->GetScrollPosY())
1913 static PyObject
*_wrap_wxGrid_GetScrollPosY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1914 PyObject
* _resultobj
;
1917 PyObject
* _argo0
= 0;
1918 char *_kwnames
[] = { "self", NULL
};
1921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetScrollPosY",_kwnames
,&_argo0
))
1924 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1925 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
1926 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetScrollPosY. Expected _wxGrid_p.");
1931 wxPy_BEGIN_ALLOW_THREADS
;
1932 _result
= (int )wxGrid_GetScrollPosY(_arg0
);
1934 wxPy_END_ALLOW_THREADS
;
1935 } _resultobj
= Py_BuildValue("i",_result
);
1939 #define wxGrid_GetTextItem(_swigobj) (_swigobj->GetTextItem())
1940 static PyObject
*_wrap_wxGrid_GetTextItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1941 PyObject
* _resultobj
;
1942 wxTextCtrl
* _result
;
1944 PyObject
* _argo0
= 0;
1945 char *_kwnames
[] = { "self", NULL
};
1949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetTextItem",_kwnames
,&_argo0
))
1952 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1953 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
1954 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetTextItem. Expected _wxGrid_p.");
1959 wxPy_BEGIN_ALLOW_THREADS
;
1960 _result
= (wxTextCtrl
*)wxGrid_GetTextItem(_arg0
);
1962 wxPy_END_ALLOW_THREADS
;
1964 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTextCtrl_p");
1965 _resultobj
= Py_BuildValue("s",_ptemp
);
1968 _resultobj
= Py_None
;
1973 #define wxGrid_GetVertScrollBar(_swigobj) (_swigobj->GetVertScrollBar())
1974 static PyObject
*_wrap_wxGrid_GetVertScrollBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1975 PyObject
* _resultobj
;
1976 wxScrollBar
* _result
;
1978 PyObject
* _argo0
= 0;
1979 char *_kwnames
[] = { "self", NULL
};
1983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetVertScrollBar",_kwnames
,&_argo0
))
1986 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1987 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
1988 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetVertScrollBar. Expected _wxGrid_p.");
1993 wxPy_BEGIN_ALLOW_THREADS
;
1994 _result
= (wxScrollBar
*)wxGrid_GetVertScrollBar(_arg0
);
1996 wxPy_END_ALLOW_THREADS
;
1998 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScrollBar_p");
1999 _resultobj
= Py_BuildValue("s",_ptemp
);
2002 _resultobj
= Py_None
;
2007 #define wxGrid_InsertCols(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertCols(_swigarg0,_swigarg1,_swigarg2))
2008 static PyObject
*_wrap_wxGrid_InsertCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2009 PyObject
* _resultobj
;
2012 int _arg1
= (int ) 0;
2013 int _arg2
= (int ) 1;
2014 bool _arg3
= (bool ) TRUE
;
2015 PyObject
* _argo0
= 0;
2016 int tempbool3
= (int) TRUE
;
2017 char *_kwnames
[] = { "self","pos","n","updateLabels", NULL
};
2020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iii:wxGrid_InsertCols",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
2023 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2024 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
2025 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_InsertCols. Expected _wxGrid_p.");
2029 _arg3
= (bool ) tempbool3
;
2031 wxPy_BEGIN_ALLOW_THREADS
;
2032 _result
= (bool )wxGrid_InsertCols(_arg0
,_arg1
,_arg2
,_arg3
);
2034 wxPy_END_ALLOW_THREADS
;
2035 } _resultobj
= Py_BuildValue("i",_result
);
2039 #define wxGrid_InsertRows(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertRows(_swigarg0,_swigarg1,_swigarg2))
2040 static PyObject
*_wrap_wxGrid_InsertRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2041 PyObject
* _resultobj
;
2044 int _arg1
= (int ) 0;
2045 int _arg2
= (int ) 1;
2046 bool _arg3
= (bool ) TRUE
;
2047 PyObject
* _argo0
= 0;
2048 int tempbool3
= (int) TRUE
;
2049 char *_kwnames
[] = { "self","pos","n","updateLabels", NULL
};
2052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iii:wxGrid_InsertRows",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
2055 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2056 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
2057 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_InsertRows. Expected _wxGrid_p.");
2061 _arg3
= (bool ) tempbool3
;
2063 wxPy_BEGIN_ALLOW_THREADS
;
2064 _result
= (bool )wxGrid_InsertRows(_arg0
,_arg1
,_arg2
,_arg3
);
2066 wxPy_END_ALLOW_THREADS
;
2067 } _resultobj
= Py_BuildValue("i",_result
);
2071 #define wxGrid_OnActivate(_swigobj,_swigarg0) (_swigobj->OnActivate(_swigarg0))
2072 static PyObject
*_wrap_wxGrid_OnActivate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2073 PyObject
* _resultobj
;
2076 PyObject
* _argo0
= 0;
2078 char *_kwnames
[] = { "self","active", NULL
};
2081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_OnActivate",_kwnames
,&_argo0
,&tempbool1
))
2084 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2085 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
2086 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_OnActivate. Expected _wxGrid_p.");
2090 _arg1
= (bool ) tempbool1
;
2092 wxPy_BEGIN_ALLOW_THREADS
;
2093 wxGrid_OnActivate(_arg0
,_arg1
);
2095 wxPy_END_ALLOW_THREADS
;
2096 } Py_INCREF(Py_None
);
2097 _resultobj
= Py_None
;
2101 #define wxGrid_SetCellAlignment(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellAlignment(_swigarg0,_swigarg1,_swigarg2))
2102 static PyObject
*_wrap_wxGrid_SetCellAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2103 PyObject
* _resultobj
;
2108 PyObject
* _argo0
= 0;
2109 char *_kwnames
[] = { "self","alignment","row","col", NULL
};
2112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiii:wxGrid_SetCellAlignment",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
2115 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2116 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
2117 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellAlignment. Expected _wxGrid_p.");
2122 wxPy_BEGIN_ALLOW_THREADS
;
2123 wxGrid_SetCellAlignment(_arg0
,_arg1
,_arg2
,_arg3
);
2125 wxPy_END_ALLOW_THREADS
;
2126 } Py_INCREF(Py_None
);
2127 _resultobj
= Py_None
;
2131 #define wxGrid_SetDefCellAlignment(_swigobj,_swigarg0) (_swigobj->SetCellAlignment(_swigarg0))
2132 static PyObject
*_wrap_wxGrid_SetDefCellAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2133 PyObject
* _resultobj
;
2136 PyObject
* _argo0
= 0;
2137 char *_kwnames
[] = { "self","alignment", NULL
};
2140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_SetDefCellAlignment",_kwnames
,&_argo0
,&_arg1
))
2143 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2144 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
2145 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetDefCellAlignment. Expected _wxGrid_p.");
2150 wxPy_BEGIN_ALLOW_THREADS
;
2151 wxGrid_SetDefCellAlignment(_arg0
,_arg1
);
2153 wxPy_END_ALLOW_THREADS
;
2154 } Py_INCREF(Py_None
);
2155 _resultobj
= Py_None
;
2159 #define wxGrid_SetCellBackgroundColour(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellBackgroundColour(_swigarg0,_swigarg1,_swigarg2))
2160 static PyObject
*_wrap_wxGrid_SetCellBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2161 PyObject
* _resultobj
;
2166 PyObject
* _argo0
= 0;
2167 PyObject
* _argo1
= 0;
2168 char *_kwnames
[] = { "self","colour","row","col", NULL
};
2171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxGrid_SetCellBackgroundColour",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
2174 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2175 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
2176 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellBackgroundColour. Expected _wxGrid_p.");
2181 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2182 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxColour_p")) {
2183 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_SetCellBackgroundColour. Expected _wxColour_p.");
2188 wxPy_BEGIN_ALLOW_THREADS
;
2189 wxGrid_SetCellBackgroundColour(_arg0
,*_arg1
,_arg2
,_arg3
);
2191 wxPy_END_ALLOW_THREADS
;
2192 } Py_INCREF(Py_None
);
2193 _resultobj
= Py_None
;
2197 #define wxGrid_SetDefCellBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetCellBackgroundColour(_swigarg0))
2198 static PyObject
*_wrap_wxGrid_SetDefCellBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2199 PyObject
* _resultobj
;
2202 PyObject
* _argo0
= 0;
2203 PyObject
* _argo1
= 0;
2204 char *_kwnames
[] = { "self","colour", NULL
};
2207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetDefCellBackgroundColour",_kwnames
,&_argo0
,&_argo1
))
2210 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2211 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
2212 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetDefCellBackgroundColour. Expected _wxGrid_p.");
2217 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2218 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxColour_p")) {
2219 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_SetDefCellBackgroundColour. Expected _wxColour_p.");
2224 wxPy_BEGIN_ALLOW_THREADS
;
2225 wxGrid_SetDefCellBackgroundColour(_arg0
,*_arg1
);
2227 wxPy_END_ALLOW_THREADS
;
2228 } Py_INCREF(Py_None
);
2229 _resultobj
= Py_None
;
2233 #define wxGrid_SetCellTextColour(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellTextColour(_swigarg0,_swigarg1,_swigarg2))
2234 static PyObject
*_wrap_wxGrid_SetCellTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2235 PyObject
* _resultobj
;
2240 PyObject
* _argo0
= 0;
2241 PyObject
* _argo1
= 0;
2242 char *_kwnames
[] = { "self","colour","row","col", NULL
};
2245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxGrid_SetCellTextColour",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
2248 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2249 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
2250 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellTextColour. Expected _wxGrid_p.");
2255 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2256 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxColour_p")) {
2257 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_SetCellTextColour. Expected _wxColour_p.");
2262 wxPy_BEGIN_ALLOW_THREADS
;
2263 wxGrid_SetCellTextColour(_arg0
,*_arg1
,_arg2
,_arg3
);
2265 wxPy_END_ALLOW_THREADS
;
2266 } Py_INCREF(Py_None
);
2267 _resultobj
= Py_None
;
2271 #define wxGrid_SetDefCellTextColour(_swigobj,_swigarg0) (_swigobj->SetCellTextColour(_swigarg0))
2272 static PyObject
*_wrap_wxGrid_SetDefCellTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2273 PyObject
* _resultobj
;
2276 PyObject
* _argo0
= 0;
2277 PyObject
* _argo1
= 0;
2278 char *_kwnames
[] = { "self","colour", NULL
};
2281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetDefCellTextColour",_kwnames
,&_argo0
,&_argo1
))
2284 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2285 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
2286 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetDefCellTextColour. Expected _wxGrid_p.");
2291 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2292 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxColour_p")) {
2293 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_SetDefCellTextColour. Expected _wxColour_p.");
2298 wxPy_BEGIN_ALLOW_THREADS
;
2299 wxGrid_SetDefCellTextColour(_arg0
,*_arg1
);
2301 wxPy_END_ALLOW_THREADS
;
2302 } Py_INCREF(Py_None
);
2303 _resultobj
= Py_None
;
2307 #define wxGrid_SetCellTextFont(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellTextFont(_swigarg0,_swigarg1,_swigarg2))
2308 static PyObject
*_wrap_wxGrid_SetCellTextFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2309 PyObject
* _resultobj
;
2314 PyObject
* _argo0
= 0;
2315 PyObject
* _argo1
= 0;
2316 char *_kwnames
[] = { "self","font","row","col", NULL
};
2319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxGrid_SetCellTextFont",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
2322 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2323 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
2324 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellTextFont. Expected _wxGrid_p.");
2329 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2330 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
2331 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_SetCellTextFont. Expected _wxFont_p.");
2336 wxPy_BEGIN_ALLOW_THREADS
;
2337 wxGrid_SetCellTextFont(_arg0
,*_arg1
,_arg2
,_arg3
);
2339 wxPy_END_ALLOW_THREADS
;
2340 } Py_INCREF(Py_None
);
2341 _resultobj
= Py_None
;
2345 #define wxGrid_SetDefCellTextFont(_swigobj,_swigarg0) (_swigobj->SetCellTextFont(_swigarg0))
2346 static PyObject
*_wrap_wxGrid_SetDefCellTextFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2347 PyObject
* _resultobj
;
2350 PyObject
* _argo0
= 0;
2351 PyObject
* _argo1
= 0;
2352 char *_kwnames
[] = { "self","font", NULL
};
2355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetDefCellTextFont",_kwnames
,&_argo0
,&_argo1
))
2358 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2359 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
2360 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetDefCellTextFont. Expected _wxGrid_p.");
2365 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2366 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
2367 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_SetDefCellTextFont. Expected _wxFont_p.");
2372 wxPy_BEGIN_ALLOW_THREADS
;
2373 wxGrid_SetDefCellTextFont(_arg0
,*_arg1
);
2375 wxPy_END_ALLOW_THREADS
;
2376 } Py_INCREF(Py_None
);
2377 _resultobj
= Py_None
;
2381 #define wxGrid_SetCellValue(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellValue(_swigarg0,_swigarg1,_swigarg2))
2382 static PyObject
*_wrap_wxGrid_SetCellValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2383 PyObject
* _resultobj
;
2388 PyObject
* _argo0
= 0;
2389 PyObject
* _obj1
= 0;
2390 char *_kwnames
[] = { "self","val","row","col", NULL
};
2393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxGrid_SetCellValue",_kwnames
,&_argo0
,&_obj1
,&_arg2
,&_arg3
))
2396 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2397 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
2398 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellValue. Expected _wxGrid_p.");
2403 if (!PyString_Check(_obj1
)) {
2404 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2407 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
2410 wxPy_BEGIN_ALLOW_THREADS
;
2411 wxGrid_SetCellValue(_arg0
,*_arg1
,_arg2
,_arg3
);
2413 wxPy_END_ALLOW_THREADS
;
2414 } Py_INCREF(Py_None
);
2415 _resultobj
= Py_None
;
2423 #define wxGrid_SetColumnWidth(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColumnWidth(_swigarg0,_swigarg1))
2424 static PyObject
*_wrap_wxGrid_SetColumnWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2425 PyObject
* _resultobj
;
2429 PyObject
* _argo0
= 0;
2430 char *_kwnames
[] = { "self","col","width", NULL
};
2433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_SetColumnWidth",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2436 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2437 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
2438 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetColumnWidth. Expected _wxGrid_p.");
2443 wxPy_BEGIN_ALLOW_THREADS
;
2444 wxGrid_SetColumnWidth(_arg0
,_arg1
,_arg2
);
2446 wxPy_END_ALLOW_THREADS
;
2447 } Py_INCREF(Py_None
);
2448 _resultobj
= Py_None
;
2452 #define wxGrid_SetDividerPen(_swigobj,_swigarg0) (_swigobj->SetDividerPen(_swigarg0))
2453 static PyObject
*_wrap_wxGrid_SetDividerPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2454 PyObject
* _resultobj
;
2457 PyObject
* _argo0
= 0;
2458 PyObject
* _argo1
= 0;
2459 char *_kwnames
[] = { "self","pen", NULL
};
2462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetDividerPen",_kwnames
,&_argo0
,&_argo1
))
2465 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2466 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
2467 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetDividerPen. Expected _wxGrid_p.");
2472 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2473 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPen_p")) {
2474 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_SetDividerPen. Expected _wxPen_p.");
2479 wxPy_BEGIN_ALLOW_THREADS
;
2480 wxGrid_SetDividerPen(_arg0
,*_arg1
);
2482 wxPy_END_ALLOW_THREADS
;
2483 } Py_INCREF(Py_None
);
2484 _resultobj
= Py_None
;
2488 #define wxGrid_SetEditable(_swigobj,_swigarg0) (_swigobj->SetEditable(_swigarg0))
2489 static PyObject
*_wrap_wxGrid_SetEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2490 PyObject
* _resultobj
;
2493 PyObject
* _argo0
= 0;
2495 char *_kwnames
[] = { "self","editable", NULL
};
2498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_SetEditable",_kwnames
,&_argo0
,&tempbool1
))
2501 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2502 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
2503 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetEditable. Expected _wxGrid_p.");
2507 _arg1
= (bool ) tempbool1
;
2509 wxPy_BEGIN_ALLOW_THREADS
;
2510 wxGrid_SetEditable(_arg0
,_arg1
);
2512 wxPy_END_ALLOW_THREADS
;
2513 } Py_INCREF(Py_None
);
2514 _resultobj
= Py_None
;
2518 #define wxGrid_SetGridCursor(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetGridCursor(_swigarg0,_swigarg1))
2519 static PyObject
*_wrap_wxGrid_SetGridCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2520 PyObject
* _resultobj
;
2524 PyObject
* _argo0
= 0;
2525 char *_kwnames
[] = { "self","row","col", NULL
};
2528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_SetGridCursor",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2531 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2532 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
2533 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetGridCursor. Expected _wxGrid_p.");
2538 wxPy_BEGIN_ALLOW_THREADS
;
2539 wxGrid_SetGridCursor(_arg0
,_arg1
,_arg2
);
2541 wxPy_END_ALLOW_THREADS
;
2542 } Py_INCREF(Py_None
);
2543 _resultobj
= Py_None
;
2547 #define wxGrid_SetLabelAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabelAlignment(_swigarg0,_swigarg1))
2548 static PyObject
*_wrap_wxGrid_SetLabelAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2549 PyObject
* _resultobj
;
2553 PyObject
* _argo0
= 0;
2554 char *_kwnames
[] = { "self","orientation","alignment", NULL
};
2557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_SetLabelAlignment",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2560 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2561 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
2562 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetLabelAlignment. Expected _wxGrid_p.");
2567 wxPy_BEGIN_ALLOW_THREADS
;
2568 wxGrid_SetLabelAlignment(_arg0
,_arg1
,_arg2
);
2570 wxPy_END_ALLOW_THREADS
;
2571 } Py_INCREF(Py_None
);
2572 _resultobj
= Py_None
;
2576 #define wxGrid_SetLabelBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetLabelBackgroundColour(_swigarg0))
2577 static PyObject
*_wrap_wxGrid_SetLabelBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2578 PyObject
* _resultobj
;
2581 PyObject
* _argo0
= 0;
2582 PyObject
* _argo1
= 0;
2583 char *_kwnames
[] = { "self","value", NULL
};
2586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetLabelBackgroundColour",_kwnames
,&_argo0
,&_argo1
))
2589 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2590 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
2591 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetLabelBackgroundColour. Expected _wxGrid_p.");
2596 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2597 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxColour_p")) {
2598 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_SetLabelBackgroundColour. Expected _wxColour_p.");
2603 wxPy_BEGIN_ALLOW_THREADS
;
2604 wxGrid_SetLabelBackgroundColour(_arg0
,*_arg1
);
2606 wxPy_END_ALLOW_THREADS
;
2607 } Py_INCREF(Py_None
);
2608 _resultobj
= Py_None
;
2612 #define wxGrid_SetLabelSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabelSize(_swigarg0,_swigarg1))
2613 static PyObject
*_wrap_wxGrid_SetLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2614 PyObject
* _resultobj
;
2618 PyObject
* _argo0
= 0;
2619 char *_kwnames
[] = { "self","orientation","size", NULL
};
2622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_SetLabelSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2625 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2626 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
2627 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetLabelSize. Expected _wxGrid_p.");
2632 wxPy_BEGIN_ALLOW_THREADS
;
2633 wxGrid_SetLabelSize(_arg0
,_arg1
,_arg2
);
2635 wxPy_END_ALLOW_THREADS
;
2636 } Py_INCREF(Py_None
);
2637 _resultobj
= Py_None
;
2641 #define wxGrid_SetLabelTextColour(_swigobj,_swigarg0) (_swigobj->SetLabelTextColour(_swigarg0))
2642 static PyObject
*_wrap_wxGrid_SetLabelTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2643 PyObject
* _resultobj
;
2646 PyObject
* _argo0
= 0;
2647 PyObject
* _argo1
= 0;
2648 char *_kwnames
[] = { "self","value", NULL
};
2651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetLabelTextColour",_kwnames
,&_argo0
,&_argo1
))
2654 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2655 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
2656 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetLabelTextColour. Expected _wxGrid_p.");
2661 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2662 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxColour_p")) {
2663 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_SetLabelTextColour. Expected _wxColour_p.");
2668 wxPy_BEGIN_ALLOW_THREADS
;
2669 wxGrid_SetLabelTextColour(_arg0
,*_arg1
);
2671 wxPy_END_ALLOW_THREADS
;
2672 } Py_INCREF(Py_None
);
2673 _resultobj
= Py_None
;
2677 #define wxGrid_SetLabelTextFont(_swigobj,_swigarg0) (_swigobj->SetLabelTextFont(_swigarg0))
2678 static PyObject
*_wrap_wxGrid_SetLabelTextFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2679 PyObject
* _resultobj
;
2682 PyObject
* _argo0
= 0;
2683 PyObject
* _argo1
= 0;
2684 char *_kwnames
[] = { "self","font", NULL
};
2687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetLabelTextFont",_kwnames
,&_argo0
,&_argo1
))
2690 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2691 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
2692 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetLabelTextFont. Expected _wxGrid_p.");
2697 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2698 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
2699 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_SetLabelTextFont. Expected _wxFont_p.");
2704 wxPy_BEGIN_ALLOW_THREADS
;
2705 wxGrid_SetLabelTextFont(_arg0
,*_arg1
);
2707 wxPy_END_ALLOW_THREADS
;
2708 } Py_INCREF(Py_None
);
2709 _resultobj
= Py_None
;
2713 #define wxGrid_SetLabelValue(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetLabelValue(_swigarg0,_swigarg1,_swigarg2))
2714 static PyObject
*_wrap_wxGrid_SetLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2715 PyObject
* _resultobj
;
2720 PyObject
* _argo0
= 0;
2721 PyObject
* _obj2
= 0;
2722 char *_kwnames
[] = { "self","orientation","value","pos", NULL
};
2725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOi:wxGrid_SetLabelValue",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_arg3
))
2728 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2729 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
2730 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetLabelValue. Expected _wxGrid_p.");
2735 if (!PyString_Check(_obj2
)) {
2736 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2739 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
2742 wxPy_BEGIN_ALLOW_THREADS
;
2743 wxGrid_SetLabelValue(_arg0
,_arg1
,*_arg2
,_arg3
);
2745 wxPy_END_ALLOW_THREADS
;
2746 } Py_INCREF(Py_None
);
2747 _resultobj
= Py_None
;
2755 #define wxGrid_SetRowHeight(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowHeight(_swigarg0,_swigarg1))
2756 static PyObject
*_wrap_wxGrid_SetRowHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2757 PyObject
* _resultobj
;
2761 PyObject
* _argo0
= 0;
2762 char *_kwnames
[] = { "self","row","height", NULL
};
2765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_SetRowHeight",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2768 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2769 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
2770 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetRowHeight. Expected _wxGrid_p.");
2775 wxPy_BEGIN_ALLOW_THREADS
;
2776 wxGrid_SetRowHeight(_arg0
,_arg1
,_arg2
);
2778 wxPy_END_ALLOW_THREADS
;
2779 } Py_INCREF(Py_None
);
2780 _resultobj
= Py_None
;
2784 #define wxGrid_UpdateDimensions(_swigobj) (_swigobj->UpdateDimensions())
2785 static PyObject
*_wrap_wxGrid_UpdateDimensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2786 PyObject
* _resultobj
;
2788 PyObject
* _argo0
= 0;
2789 char *_kwnames
[] = { "self", NULL
};
2792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_UpdateDimensions",_kwnames
,&_argo0
))
2795 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2796 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
2797 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_UpdateDimensions. Expected _wxGrid_p.");
2802 wxPy_BEGIN_ALLOW_THREADS
;
2803 wxGrid_UpdateDimensions(_arg0
);
2805 wxPy_END_ALLOW_THREADS
;
2806 } Py_INCREF(Py_None
);
2807 _resultobj
= Py_None
;
2811 #define wxGrid_GetEditInPlace(_swigobj) (_swigobj->GetEditInPlace())
2812 static PyObject
*_wrap_wxGrid_GetEditInPlace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2813 PyObject
* _resultobj
;
2816 PyObject
* _argo0
= 0;
2817 char *_kwnames
[] = { "self", NULL
};
2820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetEditInPlace",_kwnames
,&_argo0
))
2823 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2824 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
2825 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetEditInPlace. Expected _wxGrid_p.");
2830 wxPy_BEGIN_ALLOW_THREADS
;
2831 _result
= (bool )wxGrid_GetEditInPlace(_arg0
);
2833 wxPy_END_ALLOW_THREADS
;
2834 } _resultobj
= Py_BuildValue("i",_result
);
2838 #define wxGrid_SetEditInPlace(_swigobj,_swigarg0) (_swigobj->SetEditInPlace(_swigarg0))
2839 static PyObject
*_wrap_wxGrid_SetEditInPlace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2840 PyObject
* _resultobj
;
2842 int _arg1
= (int ) TRUE
;
2843 PyObject
* _argo0
= 0;
2844 char *_kwnames
[] = { "self","edit", NULL
};
2847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxGrid_SetEditInPlace",_kwnames
,&_argo0
,&_arg1
))
2850 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2851 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
2852 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetEditInPlace. Expected _wxGrid_p.");
2857 wxPy_BEGIN_ALLOW_THREADS
;
2858 wxGrid_SetEditInPlace(_arg0
,_arg1
);
2860 wxPy_END_ALLOW_THREADS
;
2861 } Py_INCREF(Py_None
);
2862 _resultobj
= Py_None
;
2866 static void *SwigwxGridEventTowxEvent(void *ptr
) {
2869 src
= (wxGridEvent
*) ptr
;
2870 dest
= (wxEvent
*) src
;
2871 return (void *) dest
;
2874 #define wxGridEvent_m_row_set(_swigobj,_swigval) (_swigobj->m_row = _swigval,_swigval)
2875 static PyObject
*_wrap_wxGridEvent_m_row_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2876 PyObject
* _resultobj
;
2878 wxGridEvent
* _arg0
;
2880 PyObject
* _argo0
= 0;
2881 char *_kwnames
[] = { "self","m_row", NULL
};
2884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridEvent_m_row_set",_kwnames
,&_argo0
,&_arg1
))
2887 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2888 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
2889 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_m_row_set. Expected _wxGridEvent_p.");
2894 wxPy_BEGIN_ALLOW_THREADS
;
2895 _result
= (int )wxGridEvent_m_row_set(_arg0
,_arg1
);
2897 wxPy_END_ALLOW_THREADS
;
2898 } _resultobj
= Py_BuildValue("i",_result
);
2902 #define wxGridEvent_m_row_get(_swigobj) ((int ) _swigobj->m_row)
2903 static PyObject
*_wrap_wxGridEvent_m_row_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2904 PyObject
* _resultobj
;
2906 wxGridEvent
* _arg0
;
2907 PyObject
* _argo0
= 0;
2908 char *_kwnames
[] = { "self", NULL
};
2911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_m_row_get",_kwnames
,&_argo0
))
2914 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2915 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
2916 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_m_row_get. Expected _wxGridEvent_p.");
2921 wxPy_BEGIN_ALLOW_THREADS
;
2922 _result
= (int )wxGridEvent_m_row_get(_arg0
);
2924 wxPy_END_ALLOW_THREADS
;
2925 } _resultobj
= Py_BuildValue("i",_result
);
2929 #define wxGridEvent_m_col_set(_swigobj,_swigval) (_swigobj->m_col = _swigval,_swigval)
2930 static PyObject
*_wrap_wxGridEvent_m_col_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2931 PyObject
* _resultobj
;
2933 wxGridEvent
* _arg0
;
2935 PyObject
* _argo0
= 0;
2936 char *_kwnames
[] = { "self","m_col", NULL
};
2939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridEvent_m_col_set",_kwnames
,&_argo0
,&_arg1
))
2942 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2943 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
2944 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_m_col_set. Expected _wxGridEvent_p.");
2949 wxPy_BEGIN_ALLOW_THREADS
;
2950 _result
= (int )wxGridEvent_m_col_set(_arg0
,_arg1
);
2952 wxPy_END_ALLOW_THREADS
;
2953 } _resultobj
= Py_BuildValue("i",_result
);
2957 #define wxGridEvent_m_col_get(_swigobj) ((int ) _swigobj->m_col)
2958 static PyObject
*_wrap_wxGridEvent_m_col_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2959 PyObject
* _resultobj
;
2961 wxGridEvent
* _arg0
;
2962 PyObject
* _argo0
= 0;
2963 char *_kwnames
[] = { "self", NULL
};
2966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_m_col_get",_kwnames
,&_argo0
))
2969 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2970 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
2971 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_m_col_get. Expected _wxGridEvent_p.");
2976 wxPy_BEGIN_ALLOW_THREADS
;
2977 _result
= (int )wxGridEvent_m_col_get(_arg0
);
2979 wxPy_END_ALLOW_THREADS
;
2980 } _resultobj
= Py_BuildValue("i",_result
);
2984 #define wxGridEvent_m_x_set(_swigobj,_swigval) (_swigobj->m_x = _swigval,_swigval)
2985 static PyObject
*_wrap_wxGridEvent_m_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2986 PyObject
* _resultobj
;
2988 wxGridEvent
* _arg0
;
2990 PyObject
* _argo0
= 0;
2991 char *_kwnames
[] = { "self","m_x", NULL
};
2994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridEvent_m_x_set",_kwnames
,&_argo0
,&_arg1
))
2997 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2998 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
2999 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_m_x_set. Expected _wxGridEvent_p.");
3004 wxPy_BEGIN_ALLOW_THREADS
;
3005 _result
= (int )wxGridEvent_m_x_set(_arg0
,_arg1
);
3007 wxPy_END_ALLOW_THREADS
;
3008 } _resultobj
= Py_BuildValue("i",_result
);
3012 #define wxGridEvent_m_x_get(_swigobj) ((int ) _swigobj->m_x)
3013 static PyObject
*_wrap_wxGridEvent_m_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3014 PyObject
* _resultobj
;
3016 wxGridEvent
* _arg0
;
3017 PyObject
* _argo0
= 0;
3018 char *_kwnames
[] = { "self", NULL
};
3021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_m_x_get",_kwnames
,&_argo0
))
3024 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3025 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
3026 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_m_x_get. Expected _wxGridEvent_p.");
3031 wxPy_BEGIN_ALLOW_THREADS
;
3032 _result
= (int )wxGridEvent_m_x_get(_arg0
);
3034 wxPy_END_ALLOW_THREADS
;
3035 } _resultobj
= Py_BuildValue("i",_result
);
3039 #define wxGridEvent_m_y_set(_swigobj,_swigval) (_swigobj->m_y = _swigval,_swigval)
3040 static PyObject
*_wrap_wxGridEvent_m_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3041 PyObject
* _resultobj
;
3043 wxGridEvent
* _arg0
;
3045 PyObject
* _argo0
= 0;
3046 char *_kwnames
[] = { "self","m_y", NULL
};
3049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridEvent_m_y_set",_kwnames
,&_argo0
,&_arg1
))
3052 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3053 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
3054 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_m_y_set. Expected _wxGridEvent_p.");
3059 wxPy_BEGIN_ALLOW_THREADS
;
3060 _result
= (int )wxGridEvent_m_y_set(_arg0
,_arg1
);
3062 wxPy_END_ALLOW_THREADS
;
3063 } _resultobj
= Py_BuildValue("i",_result
);
3067 #define wxGridEvent_m_y_get(_swigobj) ((int ) _swigobj->m_y)
3068 static PyObject
*_wrap_wxGridEvent_m_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3069 PyObject
* _resultobj
;
3071 wxGridEvent
* _arg0
;
3072 PyObject
* _argo0
= 0;
3073 char *_kwnames
[] = { "self", NULL
};
3076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_m_y_get",_kwnames
,&_argo0
))
3079 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3080 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
3081 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_m_y_get. Expected _wxGridEvent_p.");
3086 wxPy_BEGIN_ALLOW_THREADS
;
3087 _result
= (int )wxGridEvent_m_y_get(_arg0
);
3089 wxPy_END_ALLOW_THREADS
;
3090 } _resultobj
= Py_BuildValue("i",_result
);
3094 #define wxGridEvent_m_control_set(_swigobj,_swigval) (_swigobj->m_control = _swigval,_swigval)
3095 static PyObject
*_wrap_wxGridEvent_m_control_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3096 PyObject
* _resultobj
;
3098 wxGridEvent
* _arg0
;
3100 PyObject
* _argo0
= 0;
3102 char *_kwnames
[] = { "self","m_control", NULL
};
3105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridEvent_m_control_set",_kwnames
,&_argo0
,&tempbool1
))
3108 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3109 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
3110 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_m_control_set. Expected _wxGridEvent_p.");
3114 _arg1
= (bool ) tempbool1
;
3116 wxPy_BEGIN_ALLOW_THREADS
;
3117 _result
= (bool )wxGridEvent_m_control_set(_arg0
,_arg1
);
3119 wxPy_END_ALLOW_THREADS
;
3120 } _resultobj
= Py_BuildValue("i",_result
);
3124 #define wxGridEvent_m_control_get(_swigobj) ((bool ) _swigobj->m_control)
3125 static PyObject
*_wrap_wxGridEvent_m_control_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3126 PyObject
* _resultobj
;
3128 wxGridEvent
* _arg0
;
3129 PyObject
* _argo0
= 0;
3130 char *_kwnames
[] = { "self", NULL
};
3133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_m_control_get",_kwnames
,&_argo0
))
3136 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3137 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
3138 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_m_control_get. Expected _wxGridEvent_p.");
3143 wxPy_BEGIN_ALLOW_THREADS
;
3144 _result
= (bool )wxGridEvent_m_control_get(_arg0
);
3146 wxPy_END_ALLOW_THREADS
;
3147 } _resultobj
= Py_BuildValue("i",_result
);
3151 #define wxGridEvent_m_shift_set(_swigobj,_swigval) (_swigobj->m_shift = _swigval,_swigval)
3152 static PyObject
*_wrap_wxGridEvent_m_shift_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3153 PyObject
* _resultobj
;
3155 wxGridEvent
* _arg0
;
3157 PyObject
* _argo0
= 0;
3159 char *_kwnames
[] = { "self","m_shift", NULL
};
3162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridEvent_m_shift_set",_kwnames
,&_argo0
,&tempbool1
))
3165 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3166 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
3167 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_m_shift_set. Expected _wxGridEvent_p.");
3171 _arg1
= (bool ) tempbool1
;
3173 wxPy_BEGIN_ALLOW_THREADS
;
3174 _result
= (bool )wxGridEvent_m_shift_set(_arg0
,_arg1
);
3176 wxPy_END_ALLOW_THREADS
;
3177 } _resultobj
= Py_BuildValue("i",_result
);
3181 #define wxGridEvent_m_shift_get(_swigobj) ((bool ) _swigobj->m_shift)
3182 static PyObject
*_wrap_wxGridEvent_m_shift_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3183 PyObject
* _resultobj
;
3185 wxGridEvent
* _arg0
;
3186 PyObject
* _argo0
= 0;
3187 char *_kwnames
[] = { "self", NULL
};
3190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_m_shift_get",_kwnames
,&_argo0
))
3193 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3194 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
3195 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_m_shift_get. Expected _wxGridEvent_p.");
3200 wxPy_BEGIN_ALLOW_THREADS
;
3201 _result
= (bool )wxGridEvent_m_shift_get(_arg0
);
3203 wxPy_END_ALLOW_THREADS
;
3204 } _resultobj
= Py_BuildValue("i",_result
);
3208 #define wxGridEvent_m_cell_set(_swigobj,_swigval) (_swigobj->m_cell = _swigval,_swigval)
3209 static PyObject
*_wrap_wxGridEvent_m_cell_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3210 PyObject
* _resultobj
;
3211 wxGridCell
* _result
;
3212 wxGridEvent
* _arg0
;
3214 PyObject
* _argo0
= 0;
3215 PyObject
* _argo1
= 0;
3216 char *_kwnames
[] = { "self","m_cell", NULL
};
3220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridEvent_m_cell_set",_kwnames
,&_argo0
,&_argo1
))
3223 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3224 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
3225 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_m_cell_set. Expected _wxGridEvent_p.");
3230 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3231 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCell_p")) {
3232 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridEvent_m_cell_set. Expected _wxGridCell_p.");
3237 wxPy_BEGIN_ALLOW_THREADS
;
3238 _result
= (wxGridCell
*)wxGridEvent_m_cell_set(_arg0
,_arg1
);
3240 wxPy_END_ALLOW_THREADS
;
3242 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCell_p");
3243 _resultobj
= Py_BuildValue("s",_ptemp
);
3246 _resultobj
= Py_None
;
3251 #define wxGridEvent_m_cell_get(_swigobj) ((wxGridCell *) _swigobj->m_cell)
3252 static PyObject
*_wrap_wxGridEvent_m_cell_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3253 PyObject
* _resultobj
;
3254 wxGridCell
* _result
;
3255 wxGridEvent
* _arg0
;
3256 PyObject
* _argo0
= 0;
3257 char *_kwnames
[] = { "self", NULL
};
3261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_m_cell_get",_kwnames
,&_argo0
))
3264 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3265 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
3266 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_m_cell_get. Expected _wxGridEvent_p.");
3271 wxPy_BEGIN_ALLOW_THREADS
;
3272 _result
= (wxGridCell
*)wxGridEvent_m_cell_get(_arg0
);
3274 wxPy_END_ALLOW_THREADS
;
3276 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCell_p");
3277 _resultobj
= Py_BuildValue("s",_ptemp
);
3280 _resultobj
= Py_None
;
3285 #define wxGridEvent_GetRow(_swigobj) (_swigobj->GetRow())
3286 static PyObject
*_wrap_wxGridEvent_GetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3287 PyObject
* _resultobj
;
3289 wxGridEvent
* _arg0
;
3290 PyObject
* _argo0
= 0;
3291 char *_kwnames
[] = { "self", NULL
};
3294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_GetRow",_kwnames
,&_argo0
))
3297 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3298 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
3299 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_GetRow. Expected _wxGridEvent_p.");
3304 wxPy_BEGIN_ALLOW_THREADS
;
3305 _result
= (int )wxGridEvent_GetRow(_arg0
);
3307 wxPy_END_ALLOW_THREADS
;
3308 } _resultobj
= Py_BuildValue("i",_result
);
3312 #define wxGridEvent_GetCol(_swigobj) (_swigobj->GetCol())
3313 static PyObject
*_wrap_wxGridEvent_GetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3314 PyObject
* _resultobj
;
3316 wxGridEvent
* _arg0
;
3317 PyObject
* _argo0
= 0;
3318 char *_kwnames
[] = { "self", NULL
};
3321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_GetCol",_kwnames
,&_argo0
))
3324 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3325 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
3326 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_GetCol. Expected _wxGridEvent_p.");
3331 wxPy_BEGIN_ALLOW_THREADS
;
3332 _result
= (int )wxGridEvent_GetCol(_arg0
);
3334 wxPy_END_ALLOW_THREADS
;
3335 } _resultobj
= Py_BuildValue("i",_result
);
3339 #define wxGridEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
3340 static PyObject
*_wrap_wxGridEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3341 PyObject
* _resultobj
;
3343 wxGridEvent
* _arg0
;
3344 PyObject
* _argo0
= 0;
3345 char *_kwnames
[] = { "self", NULL
};
3349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_GetPosition",_kwnames
,&_argo0
))
3352 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3353 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
3354 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_GetPosition. Expected _wxGridEvent_p.");
3359 wxPy_BEGIN_ALLOW_THREADS
;
3360 _result
= new wxPoint (wxGridEvent_GetPosition(_arg0
));
3362 wxPy_END_ALLOW_THREADS
;
3363 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
3364 _resultobj
= Py_BuildValue("s",_ptemp
);
3368 #define wxGridEvent_ControlDown(_swigobj) (_swigobj->ControlDown())
3369 static PyObject
*_wrap_wxGridEvent_ControlDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3370 PyObject
* _resultobj
;
3372 wxGridEvent
* _arg0
;
3373 PyObject
* _argo0
= 0;
3374 char *_kwnames
[] = { "self", NULL
};
3377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_ControlDown",_kwnames
,&_argo0
))
3380 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3381 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
3382 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_ControlDown. Expected _wxGridEvent_p.");
3387 wxPy_BEGIN_ALLOW_THREADS
;
3388 _result
= (bool )wxGridEvent_ControlDown(_arg0
);
3390 wxPy_END_ALLOW_THREADS
;
3391 } _resultobj
= Py_BuildValue("i",_result
);
3395 #define wxGridEvent_ShiftDown(_swigobj) (_swigobj->ShiftDown())
3396 static PyObject
*_wrap_wxGridEvent_ShiftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3397 PyObject
* _resultobj
;
3399 wxGridEvent
* _arg0
;
3400 PyObject
* _argo0
= 0;
3401 char *_kwnames
[] = { "self", NULL
};
3404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_ShiftDown",_kwnames
,&_argo0
))
3407 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3408 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
3409 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_ShiftDown. Expected _wxGridEvent_p.");
3414 wxPy_BEGIN_ALLOW_THREADS
;
3415 _result
= (bool )wxGridEvent_ShiftDown(_arg0
);
3417 wxPy_END_ALLOW_THREADS
;
3418 } _resultobj
= Py_BuildValue("i",_result
);
3422 #define wxGridEvent_GetCell(_swigobj) (_swigobj->GetCell())
3423 static PyObject
*_wrap_wxGridEvent_GetCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3424 PyObject
* _resultobj
;
3425 wxGridCell
* _result
;
3426 wxGridEvent
* _arg0
;
3427 PyObject
* _argo0
= 0;
3428 char *_kwnames
[] = { "self", NULL
};
3432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_GetCell",_kwnames
,&_argo0
))
3435 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3436 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
3437 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_GetCell. Expected _wxGridEvent_p.");
3442 wxPy_BEGIN_ALLOW_THREADS
;
3443 _result
= (wxGridCell
*)wxGridEvent_GetCell(_arg0
);
3445 wxPy_END_ALLOW_THREADS
;
3447 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCell_p");
3448 _resultobj
= Py_BuildValue("s",_ptemp
);
3451 _resultobj
= Py_None
;
3456 static void *SwigwxNotebookEventTowxNotifyEvent(void *ptr
) {
3457 wxNotebookEvent
*src
;
3458 wxNotifyEvent
*dest
;
3459 src
= (wxNotebookEvent
*) ptr
;
3460 dest
= (wxNotifyEvent
*) src
;
3461 return (void *) dest
;
3464 static void *SwigwxNotebookEventTowxCommandEvent(void *ptr
) {
3465 wxNotebookEvent
*src
;
3466 wxCommandEvent
*dest
;
3467 src
= (wxNotebookEvent
*) ptr
;
3468 dest
= (wxCommandEvent
*) src
;
3469 return (void *) dest
;
3472 static void *SwigwxNotebookEventTowxEvent(void *ptr
) {
3473 wxNotebookEvent
*src
;
3475 src
= (wxNotebookEvent
*) ptr
;
3476 dest
= (wxEvent
*) src
;
3477 return (void *) dest
;
3480 #define wxNotebookEvent_GetSelection(_swigobj) (_swigobj->GetSelection())
3481 static PyObject
*_wrap_wxNotebookEvent_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3482 PyObject
* _resultobj
;
3484 wxNotebookEvent
* _arg0
;
3485 PyObject
* _argo0
= 0;
3486 char *_kwnames
[] = { "self", NULL
};
3489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebookEvent_GetSelection",_kwnames
,&_argo0
))
3492 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3493 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebookEvent_p")) {
3494 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebookEvent_GetSelection. Expected _wxNotebookEvent_p.");
3499 wxPy_BEGIN_ALLOW_THREADS
;
3500 _result
= (int )wxNotebookEvent_GetSelection(_arg0
);
3502 wxPy_END_ALLOW_THREADS
;
3503 } _resultobj
= Py_BuildValue("i",_result
);
3507 #define wxNotebookEvent_GetOldSelection(_swigobj) (_swigobj->GetOldSelection())
3508 static PyObject
*_wrap_wxNotebookEvent_GetOldSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3509 PyObject
* _resultobj
;
3511 wxNotebookEvent
* _arg0
;
3512 PyObject
* _argo0
= 0;
3513 char *_kwnames
[] = { "self", NULL
};
3516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebookEvent_GetOldSelection",_kwnames
,&_argo0
))
3519 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3520 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebookEvent_p")) {
3521 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebookEvent_GetOldSelection. Expected _wxNotebookEvent_p.");
3526 wxPy_BEGIN_ALLOW_THREADS
;
3527 _result
= (int )wxNotebookEvent_GetOldSelection(_arg0
);
3529 wxPy_END_ALLOW_THREADS
;
3530 } _resultobj
= Py_BuildValue("i",_result
);
3534 #define wxNotebookEvent_SetOldSelection(_swigobj,_swigarg0) (_swigobj->SetOldSelection(_swigarg0))
3535 static PyObject
*_wrap_wxNotebookEvent_SetOldSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3536 PyObject
* _resultobj
;
3537 wxNotebookEvent
* _arg0
;
3539 PyObject
* _argo0
= 0;
3540 char *_kwnames
[] = { "self","page", NULL
};
3543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNotebookEvent_SetOldSelection",_kwnames
,&_argo0
,&_arg1
))
3546 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3547 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebookEvent_p")) {
3548 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebookEvent_SetOldSelection. Expected _wxNotebookEvent_p.");
3553 wxPy_BEGIN_ALLOW_THREADS
;
3554 wxNotebookEvent_SetOldSelection(_arg0
,_arg1
);
3556 wxPy_END_ALLOW_THREADS
;
3557 } Py_INCREF(Py_None
);
3558 _resultobj
= Py_None
;
3562 #define wxNotebookEvent_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
3563 static PyObject
*_wrap_wxNotebookEvent_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3564 PyObject
* _resultobj
;
3565 wxNotebookEvent
* _arg0
;
3567 PyObject
* _argo0
= 0;
3568 char *_kwnames
[] = { "self","page", NULL
};
3571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNotebookEvent_SetSelection",_kwnames
,&_argo0
,&_arg1
))
3574 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3575 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebookEvent_p")) {
3576 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebookEvent_SetSelection. Expected _wxNotebookEvent_p.");
3581 wxPy_BEGIN_ALLOW_THREADS
;
3582 wxNotebookEvent_SetSelection(_arg0
,_arg1
);
3584 wxPy_END_ALLOW_THREADS
;
3585 } Py_INCREF(Py_None
);
3586 _resultobj
= Py_None
;
3590 static void *SwigwxNotebookTowxControl(void *ptr
) {
3593 src
= (wxNotebook
*) ptr
;
3594 dest
= (wxControl
*) src
;
3595 return (void *) dest
;
3598 static void *SwigwxNotebookTowxWindow(void *ptr
) {
3601 src
= (wxNotebook
*) ptr
;
3602 dest
= (wxWindow
*) src
;
3603 return (void *) dest
;
3606 static void *SwigwxNotebookTowxEvtHandler(void *ptr
) {
3609 src
= (wxNotebook
*) ptr
;
3610 dest
= (wxEvtHandler
*) src
;
3611 return (void *) dest
;
3614 #define new_wxNotebook(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxNotebook(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
3615 static PyObject
*_wrap_new_wxNotebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3616 PyObject
* _resultobj
;
3617 wxNotebook
* _result
;
3620 wxPoint
* _arg2
= (wxPoint
*) &wxPyDefaultPosition
;
3621 wxSize
* _arg3
= (wxSize
*) &wxPyDefaultSize
;
3622 long _arg4
= (long ) 0;
3623 char * _arg5
= (char *) "notebook";
3624 PyObject
* _argo0
= 0;
3625 PyObject
* _argo2
= 0;
3626 PyObject
* _argo3
= 0;
3627 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
3631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOls:new_wxNotebook",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_argo3
,&_arg4
,&_arg5
))
3634 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3635 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3636 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxNotebook. Expected _wxWindow_p.");
3641 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3642 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPoint_p")) {
3643 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxNotebook. Expected _wxPoint_p.");
3648 if (_argo3
== Py_None
) { _arg3
= NULL
; }
3649 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxSize_p")) {
3650 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of new_wxNotebook. Expected _wxSize_p.");
3655 wxPy_BEGIN_ALLOW_THREADS
;
3656 _result
= (wxNotebook
*)new_wxNotebook(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
3658 wxPy_END_ALLOW_THREADS
;
3660 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxNotebook_p");
3661 _resultobj
= Py_BuildValue("s",_ptemp
);
3664 _resultobj
= Py_None
;
3669 #define wxNotebook_GetPageCount(_swigobj) (_swigobj->GetPageCount())
3670 static PyObject
*_wrap_wxNotebook_GetPageCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3671 PyObject
* _resultobj
;
3674 PyObject
* _argo0
= 0;
3675 char *_kwnames
[] = { "self", NULL
};
3678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebook_GetPageCount",_kwnames
,&_argo0
))
3681 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3682 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
3683 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_GetPageCount. Expected _wxNotebook_p.");
3688 wxPy_BEGIN_ALLOW_THREADS
;
3689 _result
= (int )wxNotebook_GetPageCount(_arg0
);
3691 wxPy_END_ALLOW_THREADS
;
3692 } _resultobj
= Py_BuildValue("i",_result
);
3696 #define wxNotebook_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
3697 static PyObject
*_wrap_wxNotebook_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3698 PyObject
* _resultobj
;
3702 PyObject
* _argo0
= 0;
3703 char *_kwnames
[] = { "self","nPage", NULL
};
3706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNotebook_SetSelection",_kwnames
,&_argo0
,&_arg1
))
3709 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3710 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
3711 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_SetSelection. Expected _wxNotebook_p.");
3716 wxPy_BEGIN_ALLOW_THREADS
;
3717 _result
= (int )wxNotebook_SetSelection(_arg0
,_arg1
);
3719 wxPy_END_ALLOW_THREADS
;
3720 } _resultobj
= Py_BuildValue("i",_result
);
3724 #define wxNotebook_AdvanceSelection(_swigobj,_swigarg0) (_swigobj->AdvanceSelection(_swigarg0))
3725 static PyObject
*_wrap_wxNotebook_AdvanceSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3726 PyObject
* _resultobj
;
3728 bool _arg1
= (bool ) TRUE
;
3729 PyObject
* _argo0
= 0;
3730 int tempbool1
= (int) TRUE
;
3731 char *_kwnames
[] = { "self","bForward", NULL
};
3734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxNotebook_AdvanceSelection",_kwnames
,&_argo0
,&tempbool1
))
3737 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3738 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
3739 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_AdvanceSelection. Expected _wxNotebook_p.");
3743 _arg1
= (bool ) tempbool1
;
3745 wxPy_BEGIN_ALLOW_THREADS
;
3746 wxNotebook_AdvanceSelection(_arg0
,_arg1
);
3748 wxPy_END_ALLOW_THREADS
;
3749 } Py_INCREF(Py_None
);
3750 _resultobj
= Py_None
;
3754 #define wxNotebook_GetSelection(_swigobj) (_swigobj->GetSelection())
3755 static PyObject
*_wrap_wxNotebook_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3756 PyObject
* _resultobj
;
3759 PyObject
* _argo0
= 0;
3760 char *_kwnames
[] = { "self", NULL
};
3763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebook_GetSelection",_kwnames
,&_argo0
))
3766 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3767 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
3768 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_GetSelection. Expected _wxNotebook_p.");
3773 wxPy_BEGIN_ALLOW_THREADS
;
3774 _result
= (int )wxNotebook_GetSelection(_arg0
);
3776 wxPy_END_ALLOW_THREADS
;
3777 } _resultobj
= Py_BuildValue("i",_result
);
3781 #define wxNotebook_SetPageText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetPageText(_swigarg0,_swigarg1))
3782 static PyObject
*_wrap_wxNotebook_SetPageText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3783 PyObject
* _resultobj
;
3788 PyObject
* _argo0
= 0;
3789 PyObject
* _obj2
= 0;
3790 char *_kwnames
[] = { "self","nPage","strText", NULL
};
3793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxNotebook_SetPageText",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
3796 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3797 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
3798 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_SetPageText. Expected _wxNotebook_p.");
3803 if (!PyString_Check(_obj2
)) {
3804 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3807 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
3810 wxPy_BEGIN_ALLOW_THREADS
;
3811 _result
= (bool )wxNotebook_SetPageText(_arg0
,_arg1
,*_arg2
);
3813 wxPy_END_ALLOW_THREADS
;
3814 } _resultobj
= Py_BuildValue("i",_result
);
3822 #define wxNotebook_GetPageText(_swigobj,_swigarg0) (_swigobj->GetPageText(_swigarg0))
3823 static PyObject
*_wrap_wxNotebook_GetPageText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3824 PyObject
* _resultobj
;
3828 PyObject
* _argo0
= 0;
3829 char *_kwnames
[] = { "self","nPage", NULL
};
3832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNotebook_GetPageText",_kwnames
,&_argo0
,&_arg1
))
3835 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3836 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
3837 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_GetPageText. Expected _wxNotebook_p.");
3842 wxPy_BEGIN_ALLOW_THREADS
;
3843 _result
= new wxString (wxNotebook_GetPageText(_arg0
,_arg1
));
3845 wxPy_END_ALLOW_THREADS
;
3847 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
3855 #define wxNotebook_SetImageList(_swigobj,_swigarg0) (_swigobj->SetImageList(_swigarg0))
3856 static PyObject
*_wrap_wxNotebook_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3857 PyObject
* _resultobj
;
3859 wxImageList
* _arg1
;
3860 PyObject
* _argo0
= 0;
3861 PyObject
* _argo1
= 0;
3862 char *_kwnames
[] = { "self","imageList", NULL
};
3865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxNotebook_SetImageList",_kwnames
,&_argo0
,&_argo1
))
3868 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3869 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
3870 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_SetImageList. Expected _wxNotebook_p.");
3875 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3876 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImageList_p")) {
3877 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxNotebook_SetImageList. Expected _wxImageList_p.");
3882 wxPy_BEGIN_ALLOW_THREADS
;
3883 wxNotebook_SetImageList(_arg0
,_arg1
);
3885 wxPy_END_ALLOW_THREADS
;
3886 } Py_INCREF(Py_None
);
3887 _resultobj
= Py_None
;
3891 #define wxNotebook_GetImageList(_swigobj) (_swigobj->GetImageList())
3892 static PyObject
*_wrap_wxNotebook_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3893 PyObject
* _resultobj
;
3894 wxImageList
* _result
;
3896 PyObject
* _argo0
= 0;
3897 char *_kwnames
[] = { "self", NULL
};
3901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebook_GetImageList",_kwnames
,&_argo0
))
3904 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3905 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
3906 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_GetImageList. Expected _wxNotebook_p.");
3911 wxPy_BEGIN_ALLOW_THREADS
;
3912 _result
= (wxImageList
*)wxNotebook_GetImageList(_arg0
);
3914 wxPy_END_ALLOW_THREADS
;
3916 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxImageList_p");
3917 _resultobj
= Py_BuildValue("s",_ptemp
);
3920 _resultobj
= Py_None
;
3925 #define wxNotebook_GetPageImage(_swigobj,_swigarg0) (_swigobj->GetPageImage(_swigarg0))
3926 static PyObject
*_wrap_wxNotebook_GetPageImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3927 PyObject
* _resultobj
;
3931 PyObject
* _argo0
= 0;
3932 char *_kwnames
[] = { "self","nPage", NULL
};
3935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNotebook_GetPageImage",_kwnames
,&_argo0
,&_arg1
))
3938 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3939 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
3940 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_GetPageImage. Expected _wxNotebook_p.");
3945 wxPy_BEGIN_ALLOW_THREADS
;
3946 _result
= (int )wxNotebook_GetPageImage(_arg0
,_arg1
);
3948 wxPy_END_ALLOW_THREADS
;
3949 } _resultobj
= Py_BuildValue("i",_result
);
3953 #define wxNotebook_SetPageImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetPageImage(_swigarg0,_swigarg1))
3954 static PyObject
*_wrap_wxNotebook_SetPageImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3955 PyObject
* _resultobj
;
3960 PyObject
* _argo0
= 0;
3961 char *_kwnames
[] = { "self","nPage","nImage", NULL
};
3964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxNotebook_SetPageImage",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3967 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3968 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
3969 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_SetPageImage. Expected _wxNotebook_p.");
3974 wxPy_BEGIN_ALLOW_THREADS
;
3975 _result
= (bool )wxNotebook_SetPageImage(_arg0
,_arg1
,_arg2
);
3977 wxPy_END_ALLOW_THREADS
;
3978 } _resultobj
= Py_BuildValue("i",_result
);
3982 #define wxNotebook_GetRowCount(_swigobj) (_swigobj->GetRowCount())
3983 static PyObject
*_wrap_wxNotebook_GetRowCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3984 PyObject
* _resultobj
;
3987 PyObject
* _argo0
= 0;
3988 char *_kwnames
[] = { "self", NULL
};
3991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebook_GetRowCount",_kwnames
,&_argo0
))
3994 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3995 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
3996 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_GetRowCount. Expected _wxNotebook_p.");
4001 wxPy_BEGIN_ALLOW_THREADS
;
4002 _result
= (int )wxNotebook_GetRowCount(_arg0
);
4004 wxPy_END_ALLOW_THREADS
;
4005 } _resultobj
= Py_BuildValue("i",_result
);
4009 #define wxNotebook_DeletePage(_swigobj,_swigarg0) (_swigobj->DeletePage(_swigarg0))
4010 static PyObject
*_wrap_wxNotebook_DeletePage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4011 PyObject
* _resultobj
;
4015 PyObject
* _argo0
= 0;
4016 char *_kwnames
[] = { "self","nPage", NULL
};
4019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNotebook_DeletePage",_kwnames
,&_argo0
,&_arg1
))
4022 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4023 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
4024 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_DeletePage. Expected _wxNotebook_p.");
4029 wxPy_BEGIN_ALLOW_THREADS
;
4030 _result
= (bool )wxNotebook_DeletePage(_arg0
,_arg1
);
4032 wxPy_END_ALLOW_THREADS
;
4033 } _resultobj
= Py_BuildValue("i",_result
);
4037 #define wxNotebook_RemovePage(_swigobj,_swigarg0) (_swigobj->RemovePage(_swigarg0))
4038 static PyObject
*_wrap_wxNotebook_RemovePage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4039 PyObject
* _resultobj
;
4043 PyObject
* _argo0
= 0;
4044 char *_kwnames
[] = { "self","nPage", NULL
};
4047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNotebook_RemovePage",_kwnames
,&_argo0
,&_arg1
))
4050 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4051 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
4052 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_RemovePage. Expected _wxNotebook_p.");
4057 wxPy_BEGIN_ALLOW_THREADS
;
4058 _result
= (bool )wxNotebook_RemovePage(_arg0
,_arg1
);
4060 wxPy_END_ALLOW_THREADS
;
4061 } _resultobj
= Py_BuildValue("i",_result
);
4065 #define wxNotebook_DeleteAllPages(_swigobj) (_swigobj->DeleteAllPages())
4066 static PyObject
*_wrap_wxNotebook_DeleteAllPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4067 PyObject
* _resultobj
;
4070 PyObject
* _argo0
= 0;
4071 char *_kwnames
[] = { "self", NULL
};
4074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebook_DeleteAllPages",_kwnames
,&_argo0
))
4077 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4078 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
4079 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_DeleteAllPages. Expected _wxNotebook_p.");
4084 wxPy_BEGIN_ALLOW_THREADS
;
4085 _result
= (bool )wxNotebook_DeleteAllPages(_arg0
);
4087 wxPy_END_ALLOW_THREADS
;
4088 } _resultobj
= Py_BuildValue("i",_result
);
4092 #define wxNotebook_AddPage(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->AddPage(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4093 static PyObject
*_wrap_wxNotebook_AddPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4094 PyObject
* _resultobj
;
4099 int _arg3
= (int ) FALSE
;
4100 int _arg4
= (int ) -1;
4101 PyObject
* _argo0
= 0;
4102 PyObject
* _argo1
= 0;
4103 PyObject
* _obj2
= 0;
4104 char *_kwnames
[] = { "self","pPage","strText","bSelect","imageId", NULL
};
4107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|ii:wxNotebook_AddPage",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_arg3
,&_arg4
))
4110 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4111 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
4112 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_AddPage. Expected _wxNotebook_p.");
4117 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4118 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4119 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxNotebook_AddPage. Expected _wxWindow_p.");
4124 if (!PyString_Check(_obj2
)) {
4125 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4128 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
4131 wxPy_BEGIN_ALLOW_THREADS
;
4132 _result
= (bool )wxNotebook_AddPage(_arg0
,_arg1
,*_arg2
,_arg3
,_arg4
);
4134 wxPy_END_ALLOW_THREADS
;
4135 } _resultobj
= Py_BuildValue("i",_result
);
4143 #define wxNotebook_InsertPage(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->InsertPage(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
4144 static PyObject
*_wrap_wxNotebook_InsertPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4145 PyObject
* _resultobj
;
4151 bool _arg4
= (bool ) FALSE
;
4152 int _arg5
= (int ) -1;
4153 PyObject
* _argo0
= 0;
4154 PyObject
* _argo2
= 0;
4155 PyObject
* _obj3
= 0;
4156 int tempbool4
= (int) FALSE
;
4157 char *_kwnames
[] = { "self","nPage","pPage","strText","bSelect","imageId", NULL
};
4160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOO|ii:wxNotebook_InsertPage",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_obj3
,&tempbool4
,&_arg5
))
4163 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4164 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
4165 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_InsertPage. Expected _wxNotebook_p.");
4170 if (_argo2
== Py_None
) { _arg2
= NULL
; }
4171 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
4172 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxNotebook_InsertPage. Expected _wxWindow_p.");
4177 if (!PyString_Check(_obj3
)) {
4178 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4181 _arg3
= new wxString(PyString_AsString(_obj3
), PyString_Size(_obj3
));
4183 _arg4
= (bool ) tempbool4
;
4185 wxPy_BEGIN_ALLOW_THREADS
;
4186 _result
= (bool )wxNotebook_InsertPage(_arg0
,_arg1
,_arg2
,*_arg3
,_arg4
,_arg5
);
4188 wxPy_END_ALLOW_THREADS
;
4189 } _resultobj
= Py_BuildValue("i",_result
);
4197 #define wxNotebook_GetPage(_swigobj,_swigarg0) (_swigobj->GetPage(_swigarg0))
4198 static PyObject
*_wrap_wxNotebook_GetPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4199 PyObject
* _resultobj
;
4203 PyObject
* _argo0
= 0;
4204 char *_kwnames
[] = { "self","nPage", NULL
};
4208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNotebook_GetPage",_kwnames
,&_argo0
,&_arg1
))
4211 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4212 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
4213 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_GetPage. Expected _wxNotebook_p.");
4218 wxPy_BEGIN_ALLOW_THREADS
;
4219 _result
= (wxWindow
*)wxNotebook_GetPage(_arg0
,_arg1
);
4221 wxPy_END_ALLOW_THREADS
;
4223 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
4224 _resultobj
= Py_BuildValue("s",_ptemp
);
4227 _resultobj
= Py_None
;
4232 static void wxNotebook_ResizeChildren(wxNotebook
*self
) {
4233 wxSizeEvent
evt(self
->GetClientSize());
4234 self
->GetEventHandler()->ProcessEvent(evt
);
4236 static PyObject
*_wrap_wxNotebook_ResizeChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4237 PyObject
* _resultobj
;
4239 PyObject
* _argo0
= 0;
4240 char *_kwnames
[] = { "self", NULL
};
4243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebook_ResizeChildren",_kwnames
,&_argo0
))
4246 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4247 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
4248 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_ResizeChildren. Expected _wxNotebook_p.");
4253 wxPy_BEGIN_ALLOW_THREADS
;
4254 wxNotebook_ResizeChildren(_arg0
);
4256 wxPy_END_ALLOW_THREADS
;
4257 } Py_INCREF(Py_None
);
4258 _resultobj
= Py_None
;
4262 static void *SwigwxSplitterEventTowxCommandEvent(void *ptr
) {
4263 wxSplitterEvent
*src
;
4264 wxCommandEvent
*dest
;
4265 src
= (wxSplitterEvent
*) ptr
;
4266 dest
= (wxCommandEvent
*) src
;
4267 return (void *) dest
;
4270 static void *SwigwxSplitterEventTowxEvent(void *ptr
) {
4271 wxSplitterEvent
*src
;
4273 src
= (wxSplitterEvent
*) ptr
;
4274 dest
= (wxEvent
*) src
;
4275 return (void *) dest
;
4278 #define wxSplitterEvent_GetSashPosition(_swigobj) (_swigobj->GetSashPosition())
4279 static PyObject
*_wrap_wxSplitterEvent_GetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4280 PyObject
* _resultobj
;
4282 wxSplitterEvent
* _arg0
;
4283 PyObject
* _argo0
= 0;
4284 char *_kwnames
[] = { "self", NULL
};
4287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterEvent_GetSashPosition",_kwnames
,&_argo0
))
4290 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4291 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterEvent_p")) {
4292 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterEvent_GetSashPosition. Expected _wxSplitterEvent_p.");
4297 wxPy_BEGIN_ALLOW_THREADS
;
4298 _result
= (int )wxSplitterEvent_GetSashPosition(_arg0
);
4300 wxPy_END_ALLOW_THREADS
;
4301 } _resultobj
= Py_BuildValue("i",_result
);
4305 #define wxSplitterEvent_GetX(_swigobj) (_swigobj->GetX())
4306 static PyObject
*_wrap_wxSplitterEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4307 PyObject
* _resultobj
;
4309 wxSplitterEvent
* _arg0
;
4310 PyObject
* _argo0
= 0;
4311 char *_kwnames
[] = { "self", NULL
};
4314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterEvent_GetX",_kwnames
,&_argo0
))
4317 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4318 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterEvent_p")) {
4319 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterEvent_GetX. Expected _wxSplitterEvent_p.");
4324 wxPy_BEGIN_ALLOW_THREADS
;
4325 _result
= (int )wxSplitterEvent_GetX(_arg0
);
4327 wxPy_END_ALLOW_THREADS
;
4328 } _resultobj
= Py_BuildValue("i",_result
);
4332 #define wxSplitterEvent_GetY(_swigobj) (_swigobj->GetY())
4333 static PyObject
*_wrap_wxSplitterEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4334 PyObject
* _resultobj
;
4336 wxSplitterEvent
* _arg0
;
4337 PyObject
* _argo0
= 0;
4338 char *_kwnames
[] = { "self", NULL
};
4341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterEvent_GetY",_kwnames
,&_argo0
))
4344 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4345 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterEvent_p")) {
4346 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterEvent_GetY. Expected _wxSplitterEvent_p.");
4351 wxPy_BEGIN_ALLOW_THREADS
;
4352 _result
= (int )wxSplitterEvent_GetY(_arg0
);
4354 wxPy_END_ALLOW_THREADS
;
4355 } _resultobj
= Py_BuildValue("i",_result
);
4359 #define wxSplitterEvent_GetWindowBeingRemoved(_swigobj) (_swigobj->GetWindowBeingRemoved())
4360 static PyObject
*_wrap_wxSplitterEvent_GetWindowBeingRemoved(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4361 PyObject
* _resultobj
;
4363 wxSplitterEvent
* _arg0
;
4364 PyObject
* _argo0
= 0;
4365 char *_kwnames
[] = { "self", NULL
};
4369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterEvent_GetWindowBeingRemoved",_kwnames
,&_argo0
))
4372 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4373 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterEvent_p")) {
4374 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterEvent_GetWindowBeingRemoved. Expected _wxSplitterEvent_p.");
4379 wxPy_BEGIN_ALLOW_THREADS
;
4380 _result
= (wxWindow
*)wxSplitterEvent_GetWindowBeingRemoved(_arg0
);
4382 wxPy_END_ALLOW_THREADS
;
4384 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
4385 _resultobj
= Py_BuildValue("s",_ptemp
);
4388 _resultobj
= Py_None
;
4393 #define wxSplitterEvent_SetSashPosition(_swigobj,_swigarg0) (_swigobj->SetSashPosition(_swigarg0))
4394 static PyObject
*_wrap_wxSplitterEvent_SetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4395 PyObject
* _resultobj
;
4396 wxSplitterEvent
* _arg0
;
4398 PyObject
* _argo0
= 0;
4399 char *_kwnames
[] = { "self","pos", NULL
};
4402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSplitterEvent_SetSashPosition",_kwnames
,&_argo0
,&_arg1
))
4405 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4406 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterEvent_p")) {
4407 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterEvent_SetSashPosition. Expected _wxSplitterEvent_p.");
4412 wxPy_BEGIN_ALLOW_THREADS
;
4413 wxSplitterEvent_SetSashPosition(_arg0
,_arg1
);
4415 wxPy_END_ALLOW_THREADS
;
4416 } Py_INCREF(Py_None
);
4417 _resultobj
= Py_None
;
4421 static void *SwigwxSplitterWindowTowxWindow(void *ptr
) {
4422 wxSplitterWindow
*src
;
4424 src
= (wxSplitterWindow
*) ptr
;
4425 dest
= (wxWindow
*) src
;
4426 return (void *) dest
;
4429 static void *SwigwxSplitterWindowTowxEvtHandler(void *ptr
) {
4430 wxSplitterWindow
*src
;
4432 src
= (wxSplitterWindow
*) ptr
;
4433 dest
= (wxEvtHandler
*) src
;
4434 return (void *) dest
;
4437 #define new_wxSplitterWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxSplitterWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4438 static PyObject
*_wrap_new_wxSplitterWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4439 PyObject
* _resultobj
;
4440 wxSplitterWindow
* _result
;
4443 wxPoint
* _arg2
= (wxPoint
*) &wxPyDefaultPosition
;
4444 wxSize
* _arg3
= (wxSize
*) &wxPyDefaultSize
;
4445 long _arg4
= (long ) wxSP_3D
|wxCLIP_CHILDREN
;
4446 char * _arg5
= (char *) "splitterWindow";
4447 PyObject
* _argo0
= 0;
4448 PyObject
* _argo2
= 0;
4449 PyObject
* _argo3
= 0;
4450 char *_kwnames
[] = { "parent","id","point","size","style","name", NULL
};
4454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOls:new_wxSplitterWindow",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_argo3
,&_arg4
,&_arg5
))
4457 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4458 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4459 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxSplitterWindow. Expected _wxWindow_p.");
4464 if (_argo2
== Py_None
) { _arg2
= NULL
; }
4465 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPoint_p")) {
4466 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxSplitterWindow. Expected _wxPoint_p.");
4471 if (_argo3
== Py_None
) { _arg3
= NULL
; }
4472 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxSize_p")) {
4473 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of new_wxSplitterWindow. Expected _wxSize_p.");
4478 wxPy_BEGIN_ALLOW_THREADS
;
4479 _result
= (wxSplitterWindow
*)new_wxSplitterWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
4481 wxPy_END_ALLOW_THREADS
;
4483 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSplitterWindow_p");
4484 _resultobj
= Py_BuildValue("s",_ptemp
);
4487 _resultobj
= Py_None
;
4492 #define wxSplitterWindow_GetBorderSize(_swigobj) (_swigobj->GetBorderSize())
4493 static PyObject
*_wrap_wxSplitterWindow_GetBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4494 PyObject
* _resultobj
;
4496 wxSplitterWindow
* _arg0
;
4497 PyObject
* _argo0
= 0;
4498 char *_kwnames
[] = { "self", NULL
};
4501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_GetBorderSize",_kwnames
,&_argo0
))
4504 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4505 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
4506 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetBorderSize. Expected _wxSplitterWindow_p.");
4511 wxPy_BEGIN_ALLOW_THREADS
;
4512 _result
= (int )wxSplitterWindow_GetBorderSize(_arg0
);
4514 wxPy_END_ALLOW_THREADS
;
4515 } _resultobj
= Py_BuildValue("i",_result
);
4519 #define wxSplitterWindow_GetMinimumPaneSize(_swigobj) (_swigobj->GetMinimumPaneSize())
4520 static PyObject
*_wrap_wxSplitterWindow_GetMinimumPaneSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4521 PyObject
* _resultobj
;
4523 wxSplitterWindow
* _arg0
;
4524 PyObject
* _argo0
= 0;
4525 char *_kwnames
[] = { "self", NULL
};
4528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_GetMinimumPaneSize",_kwnames
,&_argo0
))
4531 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4532 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
4533 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetMinimumPaneSize. Expected _wxSplitterWindow_p.");
4538 wxPy_BEGIN_ALLOW_THREADS
;
4539 _result
= (int )wxSplitterWindow_GetMinimumPaneSize(_arg0
);
4541 wxPy_END_ALLOW_THREADS
;
4542 } _resultobj
= Py_BuildValue("i",_result
);
4546 #define wxSplitterWindow_GetSashPosition(_swigobj) (_swigobj->GetSashPosition())
4547 static PyObject
*_wrap_wxSplitterWindow_GetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4548 PyObject
* _resultobj
;
4550 wxSplitterWindow
* _arg0
;
4551 PyObject
* _argo0
= 0;
4552 char *_kwnames
[] = { "self", NULL
};
4555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_GetSashPosition",_kwnames
,&_argo0
))
4558 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4559 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
4560 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetSashPosition. Expected _wxSplitterWindow_p.");
4565 wxPy_BEGIN_ALLOW_THREADS
;
4566 _result
= (int )wxSplitterWindow_GetSashPosition(_arg0
);
4568 wxPy_END_ALLOW_THREADS
;
4569 } _resultobj
= Py_BuildValue("i",_result
);
4573 #define wxSplitterWindow_GetSashSize(_swigobj) (_swigobj->GetSashSize())
4574 static PyObject
*_wrap_wxSplitterWindow_GetSashSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4575 PyObject
* _resultobj
;
4577 wxSplitterWindow
* _arg0
;
4578 PyObject
* _argo0
= 0;
4579 char *_kwnames
[] = { "self", NULL
};
4582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_GetSashSize",_kwnames
,&_argo0
))
4585 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4586 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
4587 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetSashSize. Expected _wxSplitterWindow_p.");
4592 wxPy_BEGIN_ALLOW_THREADS
;
4593 _result
= (int )wxSplitterWindow_GetSashSize(_arg0
);
4595 wxPy_END_ALLOW_THREADS
;
4596 } _resultobj
= Py_BuildValue("i",_result
);
4600 #define wxSplitterWindow_GetSplitMode(_swigobj) (_swigobj->GetSplitMode())
4601 static PyObject
*_wrap_wxSplitterWindow_GetSplitMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4602 PyObject
* _resultobj
;
4604 wxSplitterWindow
* _arg0
;
4605 PyObject
* _argo0
= 0;
4606 char *_kwnames
[] = { "self", NULL
};
4609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_GetSplitMode",_kwnames
,&_argo0
))
4612 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4613 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
4614 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetSplitMode. Expected _wxSplitterWindow_p.");
4619 wxPy_BEGIN_ALLOW_THREADS
;
4620 _result
= (int )wxSplitterWindow_GetSplitMode(_arg0
);
4622 wxPy_END_ALLOW_THREADS
;
4623 } _resultobj
= Py_BuildValue("i",_result
);
4627 #define wxSplitterWindow_GetWindow1(_swigobj) (_swigobj->GetWindow1())
4628 static PyObject
*_wrap_wxSplitterWindow_GetWindow1(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4629 PyObject
* _resultobj
;
4631 wxSplitterWindow
* _arg0
;
4632 PyObject
* _argo0
= 0;
4633 char *_kwnames
[] = { "self", NULL
};
4637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_GetWindow1",_kwnames
,&_argo0
))
4640 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4641 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
4642 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetWindow1. Expected _wxSplitterWindow_p.");
4647 wxPy_BEGIN_ALLOW_THREADS
;
4648 _result
= (wxWindow
*)wxSplitterWindow_GetWindow1(_arg0
);
4650 wxPy_END_ALLOW_THREADS
;
4652 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
4653 _resultobj
= Py_BuildValue("s",_ptemp
);
4656 _resultobj
= Py_None
;
4661 #define wxSplitterWindow_GetWindow2(_swigobj) (_swigobj->GetWindow2())
4662 static PyObject
*_wrap_wxSplitterWindow_GetWindow2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4663 PyObject
* _resultobj
;
4665 wxSplitterWindow
* _arg0
;
4666 PyObject
* _argo0
= 0;
4667 char *_kwnames
[] = { "self", NULL
};
4671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_GetWindow2",_kwnames
,&_argo0
))
4674 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4675 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
4676 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetWindow2. Expected _wxSplitterWindow_p.");
4681 wxPy_BEGIN_ALLOW_THREADS
;
4682 _result
= (wxWindow
*)wxSplitterWindow_GetWindow2(_arg0
);
4684 wxPy_END_ALLOW_THREADS
;
4686 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
4687 _resultobj
= Py_BuildValue("s",_ptemp
);
4690 _resultobj
= Py_None
;
4695 #define wxSplitterWindow_Initialize(_swigobj,_swigarg0) (_swigobj->Initialize(_swigarg0))
4696 static PyObject
*_wrap_wxSplitterWindow_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4697 PyObject
* _resultobj
;
4698 wxSplitterWindow
* _arg0
;
4700 PyObject
* _argo0
= 0;
4701 PyObject
* _argo1
= 0;
4702 char *_kwnames
[] = { "self","window", NULL
};
4705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxSplitterWindow_Initialize",_kwnames
,&_argo0
,&_argo1
))
4708 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4709 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
4710 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_Initialize. Expected _wxSplitterWindow_p.");
4715 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4716 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4717 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSplitterWindow_Initialize. Expected _wxWindow_p.");
4722 wxPy_BEGIN_ALLOW_THREADS
;
4723 wxSplitterWindow_Initialize(_arg0
,_arg1
);
4725 wxPy_END_ALLOW_THREADS
;
4726 } Py_INCREF(Py_None
);
4727 _resultobj
= Py_None
;
4731 #define wxSplitterWindow_IsSplit(_swigobj) (_swigobj->IsSplit())
4732 static PyObject
*_wrap_wxSplitterWindow_IsSplit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4733 PyObject
* _resultobj
;
4735 wxSplitterWindow
* _arg0
;
4736 PyObject
* _argo0
= 0;
4737 char *_kwnames
[] = { "self", NULL
};
4740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_IsSplit",_kwnames
,&_argo0
))
4743 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4744 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
4745 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_IsSplit. Expected _wxSplitterWindow_p.");
4750 wxPy_BEGIN_ALLOW_THREADS
;
4751 _result
= (bool )wxSplitterWindow_IsSplit(_arg0
);
4753 wxPy_END_ALLOW_THREADS
;
4754 } _resultobj
= Py_BuildValue("i",_result
);
4758 #define wxSplitterWindow_SetBorderSize(_swigobj,_swigarg0) (_swigobj->SetBorderSize(_swigarg0))
4759 static PyObject
*_wrap_wxSplitterWindow_SetBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4760 PyObject
* _resultobj
;
4761 wxSplitterWindow
* _arg0
;
4763 PyObject
* _argo0
= 0;
4764 char *_kwnames
[] = { "self","width", NULL
};
4767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSplitterWindow_SetBorderSize",_kwnames
,&_argo0
,&_arg1
))
4770 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4771 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
4772 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SetBorderSize. Expected _wxSplitterWindow_p.");
4777 wxPy_BEGIN_ALLOW_THREADS
;
4778 wxSplitterWindow_SetBorderSize(_arg0
,_arg1
);
4780 wxPy_END_ALLOW_THREADS
;
4781 } Py_INCREF(Py_None
);
4782 _resultobj
= Py_None
;
4786 #define wxSplitterWindow_SetSashPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSashPosition(_swigarg0,_swigarg1))
4787 static PyObject
*_wrap_wxSplitterWindow_SetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4788 PyObject
* _resultobj
;
4789 wxSplitterWindow
* _arg0
;
4791 int _arg2
= (int ) TRUE
;
4792 PyObject
* _argo0
= 0;
4793 char *_kwnames
[] = { "self","position","redraw", NULL
};
4796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxSplitterWindow_SetSashPosition",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4799 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4800 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
4801 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SetSashPosition. Expected _wxSplitterWindow_p.");
4806 wxPy_BEGIN_ALLOW_THREADS
;
4807 wxSplitterWindow_SetSashPosition(_arg0
,_arg1
,_arg2
);
4809 wxPy_END_ALLOW_THREADS
;
4810 } Py_INCREF(Py_None
);
4811 _resultobj
= Py_None
;
4815 #define wxSplitterWindow_SetSashSize(_swigobj,_swigarg0) (_swigobj->SetSashSize(_swigarg0))
4816 static PyObject
*_wrap_wxSplitterWindow_SetSashSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4817 PyObject
* _resultobj
;
4818 wxSplitterWindow
* _arg0
;
4820 PyObject
* _argo0
= 0;
4821 char *_kwnames
[] = { "self","width", NULL
};
4824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSplitterWindow_SetSashSize",_kwnames
,&_argo0
,&_arg1
))
4827 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4828 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
4829 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SetSashSize. Expected _wxSplitterWindow_p.");
4834 wxPy_BEGIN_ALLOW_THREADS
;
4835 wxSplitterWindow_SetSashSize(_arg0
,_arg1
);
4837 wxPy_END_ALLOW_THREADS
;
4838 } Py_INCREF(Py_None
);
4839 _resultobj
= Py_None
;
4843 #define wxSplitterWindow_SetMinimumPaneSize(_swigobj,_swigarg0) (_swigobj->SetMinimumPaneSize(_swigarg0))
4844 static PyObject
*_wrap_wxSplitterWindow_SetMinimumPaneSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4845 PyObject
* _resultobj
;
4846 wxSplitterWindow
* _arg0
;
4848 PyObject
* _argo0
= 0;
4849 char *_kwnames
[] = { "self","paneSize", NULL
};
4852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSplitterWindow_SetMinimumPaneSize",_kwnames
,&_argo0
,&_arg1
))
4855 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4856 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
4857 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SetMinimumPaneSize. Expected _wxSplitterWindow_p.");
4862 wxPy_BEGIN_ALLOW_THREADS
;
4863 wxSplitterWindow_SetMinimumPaneSize(_arg0
,_arg1
);
4865 wxPy_END_ALLOW_THREADS
;
4866 } Py_INCREF(Py_None
);
4867 _resultobj
= Py_None
;
4871 #define wxSplitterWindow_SetSplitMode(_swigobj,_swigarg0) (_swigobj->SetSplitMode(_swigarg0))
4872 static PyObject
*_wrap_wxSplitterWindow_SetSplitMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4873 PyObject
* _resultobj
;
4874 wxSplitterWindow
* _arg0
;
4876 PyObject
* _argo0
= 0;
4877 char *_kwnames
[] = { "self","mode", NULL
};
4880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSplitterWindow_SetSplitMode",_kwnames
,&_argo0
,&_arg1
))
4883 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4884 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
4885 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SetSplitMode. Expected _wxSplitterWindow_p.");
4890 wxPy_BEGIN_ALLOW_THREADS
;
4891 wxSplitterWindow_SetSplitMode(_arg0
,_arg1
);
4893 wxPy_END_ALLOW_THREADS
;
4894 } Py_INCREF(Py_None
);
4895 _resultobj
= Py_None
;
4899 #define wxSplitterWindow_SplitHorizontally(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SplitHorizontally(_swigarg0,_swigarg1,_swigarg2))
4900 static PyObject
*_wrap_wxSplitterWindow_SplitHorizontally(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4901 PyObject
* _resultobj
;
4903 wxSplitterWindow
* _arg0
;
4906 int _arg3
= (int ) 0;
4907 PyObject
* _argo0
= 0;
4908 PyObject
* _argo1
= 0;
4909 PyObject
* _argo2
= 0;
4910 char *_kwnames
[] = { "self","window1","window2","sashPosition", NULL
};
4913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|i:wxSplitterWindow_SplitHorizontally",_kwnames
,&_argo0
,&_argo1
,&_argo2
,&_arg3
))
4916 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4917 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
4918 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SplitHorizontally. Expected _wxSplitterWindow_p.");
4923 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4924 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4925 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSplitterWindow_SplitHorizontally. Expected _wxWindow_p.");
4930 if (_argo2
== Py_None
) { _arg2
= NULL
; }
4931 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
4932 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxSplitterWindow_SplitHorizontally. Expected _wxWindow_p.");
4937 wxPy_BEGIN_ALLOW_THREADS
;
4938 _result
= (bool )wxSplitterWindow_SplitHorizontally(_arg0
,_arg1
,_arg2
,_arg3
);
4940 wxPy_END_ALLOW_THREADS
;
4941 } _resultobj
= Py_BuildValue("i",_result
);
4945 #define wxSplitterWindow_SplitVertically(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SplitVertically(_swigarg0,_swigarg1,_swigarg2))
4946 static PyObject
*_wrap_wxSplitterWindow_SplitVertically(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4947 PyObject
* _resultobj
;
4949 wxSplitterWindow
* _arg0
;
4952 int _arg3
= (int ) 0;
4953 PyObject
* _argo0
= 0;
4954 PyObject
* _argo1
= 0;
4955 PyObject
* _argo2
= 0;
4956 char *_kwnames
[] = { "self","window1","window2","sashPosition", NULL
};
4959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|i:wxSplitterWindow_SplitVertically",_kwnames
,&_argo0
,&_argo1
,&_argo2
,&_arg3
))
4962 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4963 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
4964 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SplitVertically. Expected _wxSplitterWindow_p.");
4969 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4970 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4971 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSplitterWindow_SplitVertically. Expected _wxWindow_p.");
4976 if (_argo2
== Py_None
) { _arg2
= NULL
; }
4977 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
4978 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxSplitterWindow_SplitVertically. Expected _wxWindow_p.");
4983 wxPy_BEGIN_ALLOW_THREADS
;
4984 _result
= (bool )wxSplitterWindow_SplitVertically(_arg0
,_arg1
,_arg2
,_arg3
);
4986 wxPy_END_ALLOW_THREADS
;
4987 } _resultobj
= Py_BuildValue("i",_result
);
4991 #define wxSplitterWindow_Unsplit(_swigobj,_swigarg0) (_swigobj->Unsplit(_swigarg0))
4992 static PyObject
*_wrap_wxSplitterWindow_Unsplit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4993 PyObject
* _resultobj
;
4995 wxSplitterWindow
* _arg0
;
4996 wxWindow
* _arg1
= (wxWindow
*) NULL
;
4997 PyObject
* _argo0
= 0;
4998 PyObject
* _argo1
= 0;
4999 char *_kwnames
[] = { "self","toRemove", NULL
};
5002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxSplitterWindow_Unsplit",_kwnames
,&_argo0
,&_argo1
))
5005 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5006 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
5007 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_Unsplit. Expected _wxSplitterWindow_p.");
5012 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5013 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
5014 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSplitterWindow_Unsplit. Expected _wxWindow_p.");
5019 wxPy_BEGIN_ALLOW_THREADS
;
5020 _result
= (bool )wxSplitterWindow_Unsplit(_arg0
,_arg1
);
5022 wxPy_END_ALLOW_THREADS
;
5023 } _resultobj
= Py_BuildValue("i",_result
);
5027 static void *SwigwxTaskBarIconTowxEvtHandler(void *ptr
) {
5030 src
= (wxTaskBarIcon
*) ptr
;
5031 dest
= (wxEvtHandler
*) src
;
5032 return (void *) dest
;
5035 #define new_wxTaskBarIcon() (new wxTaskBarIcon())
5036 static PyObject
*_wrap_new_wxTaskBarIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5037 PyObject
* _resultobj
;
5038 wxTaskBarIcon
* _result
;
5039 char *_kwnames
[] = { NULL
};
5043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxTaskBarIcon",_kwnames
))
5046 wxPy_BEGIN_ALLOW_THREADS
;
5047 _result
= (wxTaskBarIcon
*)new_wxTaskBarIcon();
5049 wxPy_END_ALLOW_THREADS
;
5051 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTaskBarIcon_p");
5052 _resultobj
= Py_BuildValue("s",_ptemp
);
5055 _resultobj
= Py_None
;
5060 #define delete_wxTaskBarIcon(_swigobj) (delete _swigobj)
5061 static PyObject
*_wrap_delete_wxTaskBarIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5062 PyObject
* _resultobj
;
5063 wxTaskBarIcon
* _arg0
;
5064 PyObject
* _argo0
= 0;
5065 char *_kwnames
[] = { "self", NULL
};
5068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxTaskBarIcon",_kwnames
,&_argo0
))
5071 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5072 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTaskBarIcon_p")) {
5073 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxTaskBarIcon. Expected _wxTaskBarIcon_p.");
5078 wxPy_BEGIN_ALLOW_THREADS
;
5079 delete_wxTaskBarIcon(_arg0
);
5081 wxPy_END_ALLOW_THREADS
;
5082 } Py_INCREF(Py_None
);
5083 _resultobj
= Py_None
;
5087 #define wxTaskBarIcon_SetIcon(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetIcon(_swigarg0,_swigarg1))
5088 static PyObject
*_wrap_wxTaskBarIcon_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5089 PyObject
* _resultobj
;
5091 wxTaskBarIcon
* _arg0
;
5093 char * _arg2
= (char *) "";
5094 PyObject
* _argo0
= 0;
5095 PyObject
* _argo1
= 0;
5096 char *_kwnames
[] = { "self","icon","tooltip", NULL
};
5099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|s:wxTaskBarIcon_SetIcon",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
5102 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5103 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTaskBarIcon_p")) {
5104 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTaskBarIcon_SetIcon. Expected _wxTaskBarIcon_p.");
5109 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5110 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxIcon_p")) {
5111 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTaskBarIcon_SetIcon. Expected _wxIcon_p.");
5116 wxPy_BEGIN_ALLOW_THREADS
;
5117 _result
= (bool )wxTaskBarIcon_SetIcon(_arg0
,*_arg1
,_arg2
);
5119 wxPy_END_ALLOW_THREADS
;
5120 } _resultobj
= Py_BuildValue("i",_result
);
5124 #define wxTaskBarIcon_RemoveIcon(_swigobj) (_swigobj->RemoveIcon())
5125 static PyObject
*_wrap_wxTaskBarIcon_RemoveIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5126 PyObject
* _resultobj
;
5128 wxTaskBarIcon
* _arg0
;
5129 PyObject
* _argo0
= 0;
5130 char *_kwnames
[] = { "self", NULL
};
5133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTaskBarIcon_RemoveIcon",_kwnames
,&_argo0
))
5136 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5137 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTaskBarIcon_p")) {
5138 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTaskBarIcon_RemoveIcon. Expected _wxTaskBarIcon_p.");
5143 wxPy_BEGIN_ALLOW_THREADS
;
5144 _result
= (bool )wxTaskBarIcon_RemoveIcon(_arg0
);
5146 wxPy_END_ALLOW_THREADS
;
5147 } _resultobj
= Py_BuildValue("i",_result
);
5151 #define wxTaskBarIcon_PopupMenu(_swigobj,_swigarg0) (_swigobj->PopupMenu(_swigarg0))
5152 static PyObject
*_wrap_wxTaskBarIcon_PopupMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5153 PyObject
* _resultobj
;
5155 wxTaskBarIcon
* _arg0
;
5157 PyObject
* _argo0
= 0;
5158 PyObject
* _argo1
= 0;
5159 char *_kwnames
[] = { "self","menu", NULL
};
5162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTaskBarIcon_PopupMenu",_kwnames
,&_argo0
,&_argo1
))
5165 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5166 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTaskBarIcon_p")) {
5167 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTaskBarIcon_PopupMenu. Expected _wxTaskBarIcon_p.");
5172 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5173 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
5174 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTaskBarIcon_PopupMenu. Expected _wxMenu_p.");
5179 wxPy_BEGIN_ALLOW_THREADS
;
5180 _result
= (bool )wxTaskBarIcon_PopupMenu(_arg0
,_arg1
);
5182 wxPy_END_ALLOW_THREADS
;
5183 } _resultobj
= Py_BuildValue("i",_result
);
5187 static PyMethodDef windows2cMethods
[] = {
5188 { "wxTaskBarIcon_PopupMenu", (PyCFunction
) _wrap_wxTaskBarIcon_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
},
5189 { "wxTaskBarIcon_RemoveIcon", (PyCFunction
) _wrap_wxTaskBarIcon_RemoveIcon
, METH_VARARGS
| METH_KEYWORDS
},
5190 { "wxTaskBarIcon_SetIcon", (PyCFunction
) _wrap_wxTaskBarIcon_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
5191 { "delete_wxTaskBarIcon", (PyCFunction
) _wrap_delete_wxTaskBarIcon
, METH_VARARGS
| METH_KEYWORDS
},
5192 { "new_wxTaskBarIcon", (PyCFunction
) _wrap_new_wxTaskBarIcon
, METH_VARARGS
| METH_KEYWORDS
},
5193 { "wxSplitterWindow_Unsplit", (PyCFunction
) _wrap_wxSplitterWindow_Unsplit
, METH_VARARGS
| METH_KEYWORDS
},
5194 { "wxSplitterWindow_SplitVertically", (PyCFunction
) _wrap_wxSplitterWindow_SplitVertically
, METH_VARARGS
| METH_KEYWORDS
},
5195 { "wxSplitterWindow_SplitHorizontally", (PyCFunction
) _wrap_wxSplitterWindow_SplitHorizontally
, METH_VARARGS
| METH_KEYWORDS
},
5196 { "wxSplitterWindow_SetSplitMode", (PyCFunction
) _wrap_wxSplitterWindow_SetSplitMode
, METH_VARARGS
| METH_KEYWORDS
},
5197 { "wxSplitterWindow_SetMinimumPaneSize", (PyCFunction
) _wrap_wxSplitterWindow_SetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
},
5198 { "wxSplitterWindow_SetSashSize", (PyCFunction
) _wrap_wxSplitterWindow_SetSashSize
, METH_VARARGS
| METH_KEYWORDS
},
5199 { "wxSplitterWindow_SetSashPosition", (PyCFunction
) _wrap_wxSplitterWindow_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
5200 { "wxSplitterWindow_SetBorderSize", (PyCFunction
) _wrap_wxSplitterWindow_SetBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
5201 { "wxSplitterWindow_IsSplit", (PyCFunction
) _wrap_wxSplitterWindow_IsSplit
, METH_VARARGS
| METH_KEYWORDS
},
5202 { "wxSplitterWindow_Initialize", (PyCFunction
) _wrap_wxSplitterWindow_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
5203 { "wxSplitterWindow_GetWindow2", (PyCFunction
) _wrap_wxSplitterWindow_GetWindow2
, METH_VARARGS
| METH_KEYWORDS
},
5204 { "wxSplitterWindow_GetWindow1", (PyCFunction
) _wrap_wxSplitterWindow_GetWindow1
, METH_VARARGS
| METH_KEYWORDS
},
5205 { "wxSplitterWindow_GetSplitMode", (PyCFunction
) _wrap_wxSplitterWindow_GetSplitMode
, METH_VARARGS
| METH_KEYWORDS
},
5206 { "wxSplitterWindow_GetSashSize", (PyCFunction
) _wrap_wxSplitterWindow_GetSashSize
, METH_VARARGS
| METH_KEYWORDS
},
5207 { "wxSplitterWindow_GetSashPosition", (PyCFunction
) _wrap_wxSplitterWindow_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
5208 { "wxSplitterWindow_GetMinimumPaneSize", (PyCFunction
) _wrap_wxSplitterWindow_GetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
},
5209 { "wxSplitterWindow_GetBorderSize", (PyCFunction
) _wrap_wxSplitterWindow_GetBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
5210 { "new_wxSplitterWindow", (PyCFunction
) _wrap_new_wxSplitterWindow
, METH_VARARGS
| METH_KEYWORDS
},
5211 { "wxSplitterEvent_SetSashPosition", (PyCFunction
) _wrap_wxSplitterEvent_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
5212 { "wxSplitterEvent_GetWindowBeingRemoved", (PyCFunction
) _wrap_wxSplitterEvent_GetWindowBeingRemoved
, METH_VARARGS
| METH_KEYWORDS
},
5213 { "wxSplitterEvent_GetY", (PyCFunction
) _wrap_wxSplitterEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
5214 { "wxSplitterEvent_GetX", (PyCFunction
) _wrap_wxSplitterEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
5215 { "wxSplitterEvent_GetSashPosition", (PyCFunction
) _wrap_wxSplitterEvent_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
5216 { "wxNotebook_ResizeChildren", (PyCFunction
) _wrap_wxNotebook_ResizeChildren
, METH_VARARGS
| METH_KEYWORDS
},
5217 { "wxNotebook_GetPage", (PyCFunction
) _wrap_wxNotebook_GetPage
, METH_VARARGS
| METH_KEYWORDS
},
5218 { "wxNotebook_InsertPage", (PyCFunction
) _wrap_wxNotebook_InsertPage
, METH_VARARGS
| METH_KEYWORDS
},
5219 { "wxNotebook_AddPage", (PyCFunction
) _wrap_wxNotebook_AddPage
, METH_VARARGS
| METH_KEYWORDS
},
5220 { "wxNotebook_DeleteAllPages", (PyCFunction
) _wrap_wxNotebook_DeleteAllPages
, METH_VARARGS
| METH_KEYWORDS
},
5221 { "wxNotebook_RemovePage", (PyCFunction
) _wrap_wxNotebook_RemovePage
, METH_VARARGS
| METH_KEYWORDS
},
5222 { "wxNotebook_DeletePage", (PyCFunction
) _wrap_wxNotebook_DeletePage
, METH_VARARGS
| METH_KEYWORDS
},
5223 { "wxNotebook_GetRowCount", (PyCFunction
) _wrap_wxNotebook_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
},
5224 { "wxNotebook_SetPageImage", (PyCFunction
) _wrap_wxNotebook_SetPageImage
, METH_VARARGS
| METH_KEYWORDS
},
5225 { "wxNotebook_GetPageImage", (PyCFunction
) _wrap_wxNotebook_GetPageImage
, METH_VARARGS
| METH_KEYWORDS
},
5226 { "wxNotebook_GetImageList", (PyCFunction
) _wrap_wxNotebook_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
5227 { "wxNotebook_SetImageList", (PyCFunction
) _wrap_wxNotebook_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
5228 { "wxNotebook_GetPageText", (PyCFunction
) _wrap_wxNotebook_GetPageText
, METH_VARARGS
| METH_KEYWORDS
},
5229 { "wxNotebook_SetPageText", (PyCFunction
) _wrap_wxNotebook_SetPageText
, METH_VARARGS
| METH_KEYWORDS
},
5230 { "wxNotebook_GetSelection", (PyCFunction
) _wrap_wxNotebook_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
5231 { "wxNotebook_AdvanceSelection", (PyCFunction
) _wrap_wxNotebook_AdvanceSelection
, METH_VARARGS
| METH_KEYWORDS
},
5232 { "wxNotebook_SetSelection", (PyCFunction
) _wrap_wxNotebook_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
5233 { "wxNotebook_GetPageCount", (PyCFunction
) _wrap_wxNotebook_GetPageCount
, METH_VARARGS
| METH_KEYWORDS
},
5234 { "new_wxNotebook", (PyCFunction
) _wrap_new_wxNotebook
, METH_VARARGS
| METH_KEYWORDS
},
5235 { "wxNotebookEvent_SetSelection", (PyCFunction
) _wrap_wxNotebookEvent_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
5236 { "wxNotebookEvent_SetOldSelection", (PyCFunction
) _wrap_wxNotebookEvent_SetOldSelection
, METH_VARARGS
| METH_KEYWORDS
},
5237 { "wxNotebookEvent_GetOldSelection", (PyCFunction
) _wrap_wxNotebookEvent_GetOldSelection
, METH_VARARGS
| METH_KEYWORDS
},
5238 { "wxNotebookEvent_GetSelection", (PyCFunction
) _wrap_wxNotebookEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
5239 { "wxGridEvent_GetCell", (PyCFunction
) _wrap_wxGridEvent_GetCell
, METH_VARARGS
| METH_KEYWORDS
},
5240 { "wxGridEvent_ShiftDown", (PyCFunction
) _wrap_wxGridEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
},
5241 { "wxGridEvent_ControlDown", (PyCFunction
) _wrap_wxGridEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
},
5242 { "wxGridEvent_GetPosition", (PyCFunction
) _wrap_wxGridEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
5243 { "wxGridEvent_GetCol", (PyCFunction
) _wrap_wxGridEvent_GetCol
, METH_VARARGS
| METH_KEYWORDS
},
5244 { "wxGridEvent_GetRow", (PyCFunction
) _wrap_wxGridEvent_GetRow
, METH_VARARGS
| METH_KEYWORDS
},
5245 { "wxGridEvent_m_cell_get", (PyCFunction
) _wrap_wxGridEvent_m_cell_get
, METH_VARARGS
| METH_KEYWORDS
},
5246 { "wxGridEvent_m_cell_set", (PyCFunction
) _wrap_wxGridEvent_m_cell_set
, METH_VARARGS
| METH_KEYWORDS
},
5247 { "wxGridEvent_m_shift_get", (PyCFunction
) _wrap_wxGridEvent_m_shift_get
, METH_VARARGS
| METH_KEYWORDS
},
5248 { "wxGridEvent_m_shift_set", (PyCFunction
) _wrap_wxGridEvent_m_shift_set
, METH_VARARGS
| METH_KEYWORDS
},
5249 { "wxGridEvent_m_control_get", (PyCFunction
) _wrap_wxGridEvent_m_control_get
, METH_VARARGS
| METH_KEYWORDS
},
5250 { "wxGridEvent_m_control_set", (PyCFunction
) _wrap_wxGridEvent_m_control_set
, METH_VARARGS
| METH_KEYWORDS
},
5251 { "wxGridEvent_m_y_get", (PyCFunction
) _wrap_wxGridEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
},
5252 { "wxGridEvent_m_y_set", (PyCFunction
) _wrap_wxGridEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
},
5253 { "wxGridEvent_m_x_get", (PyCFunction
) _wrap_wxGridEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
},
5254 { "wxGridEvent_m_x_set", (PyCFunction
) _wrap_wxGridEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
},
5255 { "wxGridEvent_m_col_get", (PyCFunction
) _wrap_wxGridEvent_m_col_get
, METH_VARARGS
| METH_KEYWORDS
},
5256 { "wxGridEvent_m_col_set", (PyCFunction
) _wrap_wxGridEvent_m_col_set
, METH_VARARGS
| METH_KEYWORDS
},
5257 { "wxGridEvent_m_row_get", (PyCFunction
) _wrap_wxGridEvent_m_row_get
, METH_VARARGS
| METH_KEYWORDS
},
5258 { "wxGridEvent_m_row_set", (PyCFunction
) _wrap_wxGridEvent_m_row_set
, METH_VARARGS
| METH_KEYWORDS
},
5259 { "wxGrid_SetEditInPlace", (PyCFunction
) _wrap_wxGrid_SetEditInPlace
, METH_VARARGS
| METH_KEYWORDS
},
5260 { "wxGrid_GetEditInPlace", (PyCFunction
) _wrap_wxGrid_GetEditInPlace
, METH_VARARGS
| METH_KEYWORDS
},
5261 { "wxGrid_UpdateDimensions", (PyCFunction
) _wrap_wxGrid_UpdateDimensions
, METH_VARARGS
| METH_KEYWORDS
},
5262 { "wxGrid_SetRowHeight", (PyCFunction
) _wrap_wxGrid_SetRowHeight
, METH_VARARGS
| METH_KEYWORDS
},
5263 { "wxGrid_SetLabelValue", (PyCFunction
) _wrap_wxGrid_SetLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
5264 { "wxGrid_SetLabelTextFont", (PyCFunction
) _wrap_wxGrid_SetLabelTextFont
, METH_VARARGS
| METH_KEYWORDS
},
5265 { "wxGrid_SetLabelTextColour", (PyCFunction
) _wrap_wxGrid_SetLabelTextColour
, METH_VARARGS
| METH_KEYWORDS
},
5266 { "wxGrid_SetLabelSize", (PyCFunction
) _wrap_wxGrid_SetLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
5267 { "wxGrid_SetLabelBackgroundColour", (PyCFunction
) _wrap_wxGrid_SetLabelBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
5268 { "wxGrid_SetLabelAlignment", (PyCFunction
) _wrap_wxGrid_SetLabelAlignment
, METH_VARARGS
| METH_KEYWORDS
},
5269 { "wxGrid_SetGridCursor", (PyCFunction
) _wrap_wxGrid_SetGridCursor
, METH_VARARGS
| METH_KEYWORDS
},
5270 { "wxGrid_SetEditable", (PyCFunction
) _wrap_wxGrid_SetEditable
, METH_VARARGS
| METH_KEYWORDS
},
5271 { "wxGrid_SetDividerPen", (PyCFunction
) _wrap_wxGrid_SetDividerPen
, METH_VARARGS
| METH_KEYWORDS
},
5272 { "wxGrid_SetColumnWidth", (PyCFunction
) _wrap_wxGrid_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
},
5273 { "wxGrid_SetCellValue", (PyCFunction
) _wrap_wxGrid_SetCellValue
, METH_VARARGS
| METH_KEYWORDS
},
5274 { "wxGrid_SetDefCellTextFont", (PyCFunction
) _wrap_wxGrid_SetDefCellTextFont
, METH_VARARGS
| METH_KEYWORDS
},
5275 { "wxGrid_SetCellTextFont", (PyCFunction
) _wrap_wxGrid_SetCellTextFont
, METH_VARARGS
| METH_KEYWORDS
},
5276 { "wxGrid_SetDefCellTextColour", (PyCFunction
) _wrap_wxGrid_SetDefCellTextColour
, METH_VARARGS
| METH_KEYWORDS
},
5277 { "wxGrid_SetCellTextColour", (PyCFunction
) _wrap_wxGrid_SetCellTextColour
, METH_VARARGS
| METH_KEYWORDS
},
5278 { "wxGrid_SetDefCellBackgroundColour", (PyCFunction
) _wrap_wxGrid_SetDefCellBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
5279 { "wxGrid_SetCellBackgroundColour", (PyCFunction
) _wrap_wxGrid_SetCellBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
5280 { "wxGrid_SetDefCellAlignment", (PyCFunction
) _wrap_wxGrid_SetDefCellAlignment
, METH_VARARGS
| METH_KEYWORDS
},
5281 { "wxGrid_SetCellAlignment", (PyCFunction
) _wrap_wxGrid_SetCellAlignment
, METH_VARARGS
| METH_KEYWORDS
},
5282 { "wxGrid_OnActivate", (PyCFunction
) _wrap_wxGrid_OnActivate
, METH_VARARGS
| METH_KEYWORDS
},
5283 { "wxGrid_InsertRows", (PyCFunction
) _wrap_wxGrid_InsertRows
, METH_VARARGS
| METH_KEYWORDS
},
5284 { "wxGrid_InsertCols", (PyCFunction
) _wrap_wxGrid_InsertCols
, METH_VARARGS
| METH_KEYWORDS
},
5285 { "wxGrid_GetVertScrollBar", (PyCFunction
) _wrap_wxGrid_GetVertScrollBar
, METH_VARARGS
| METH_KEYWORDS
},
5286 { "wxGrid_GetTextItem", (PyCFunction
) _wrap_wxGrid_GetTextItem
, METH_VARARGS
| METH_KEYWORDS
},
5287 { "wxGrid_GetScrollPosY", (PyCFunction
) _wrap_wxGrid_GetScrollPosY
, METH_VARARGS
| METH_KEYWORDS
},
5288 { "wxGrid_GetScrollPosX", (PyCFunction
) _wrap_wxGrid_GetScrollPosX
, METH_VARARGS
| METH_KEYWORDS
},
5289 { "wxGrid_GetRows", (PyCFunction
) _wrap_wxGrid_GetRows
, METH_VARARGS
| METH_KEYWORDS
},
5290 { "wxGrid_GetRowHeight", (PyCFunction
) _wrap_wxGrid_GetRowHeight
, METH_VARARGS
| METH_KEYWORDS
},
5291 { "wxGrid_GetLabelValue", (PyCFunction
) _wrap_wxGrid_GetLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
5292 { "wxGrid_GetLabelTextFont", (PyCFunction
) _wrap_wxGrid_GetLabelTextFont
, METH_VARARGS
| METH_KEYWORDS
},
5293 { "wxGrid_GetLabelTextColour", (PyCFunction
) _wrap_wxGrid_GetLabelTextColour
, METH_VARARGS
| METH_KEYWORDS
},
5294 { "wxGrid_GetLabelSize", (PyCFunction
) _wrap_wxGrid_GetLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
5295 { "wxGrid_GetLabelBackgroundColour", (PyCFunction
) _wrap_wxGrid_GetLabelBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
5296 { "wxGrid_GetLabelAlignment", (PyCFunction
) _wrap_wxGrid_GetLabelAlignment
, METH_VARARGS
| METH_KEYWORDS
},
5297 { "wxGrid_GetHorizScrollBar", (PyCFunction
) _wrap_wxGrid_GetHorizScrollBar
, METH_VARARGS
| METH_KEYWORDS
},
5298 { "wxGrid_GetEditable", (PyCFunction
) _wrap_wxGrid_GetEditable
, METH_VARARGS
| METH_KEYWORDS
},
5299 { "wxGrid_GetCursorRow", (PyCFunction
) _wrap_wxGrid_GetCursorRow
, METH_VARARGS
| METH_KEYWORDS
},
5300 { "wxGrid_GetCursorColumn", (PyCFunction
) _wrap_wxGrid_GetCursorColumn
, METH_VARARGS
| METH_KEYWORDS
},
5301 { "wxGrid_GetCurrentRect", (PyCFunction
) _wrap_wxGrid_GetCurrentRect
, METH_VARARGS
| METH_KEYWORDS
},
5302 { "wxGrid_GetColumnWidth", (PyCFunction
) _wrap_wxGrid_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
},
5303 { "wxGrid_GetCols", (PyCFunction
) _wrap_wxGrid_GetCols
, METH_VARARGS
| METH_KEYWORDS
},
5304 { "wxGrid_GetCellValue", (PyCFunction
) _wrap_wxGrid_GetCellValue
, METH_VARARGS
| METH_KEYWORDS
},
5305 { "wxGrid_GetDefCellTextFont", (PyCFunction
) _wrap_wxGrid_GetDefCellTextFont
, METH_VARARGS
| METH_KEYWORDS
},
5306 { "wxGrid_GetCellTextFont", (PyCFunction
) _wrap_wxGrid_GetCellTextFont
, METH_VARARGS
| METH_KEYWORDS
},
5307 { "wxGrid_GetDefCellTextColour", (PyCFunction
) _wrap_wxGrid_GetDefCellTextColour
, METH_VARARGS
| METH_KEYWORDS
},
5308 { "wxGrid_GetCellTextColour", (PyCFunction
) _wrap_wxGrid_GetCellTextColour
, METH_VARARGS
| METH_KEYWORDS
},
5309 { "wxGrid_GetCells", (PyCFunction
) _wrap_wxGrid_GetCells
, METH_VARARGS
| METH_KEYWORDS
},
5310 { "wxGrid_GetDefCellBackgroundColour", (PyCFunction
) _wrap_wxGrid_GetDefCellBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
5311 { "wxGrid_GetCellBackgroundColour", (PyCFunction
) _wrap_wxGrid_GetCellBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
5312 { "wxGrid_GetDefCellAlignment", (PyCFunction
) _wrap_wxGrid_GetDefCellAlignment
, METH_VARARGS
| METH_KEYWORDS
},
5313 { "wxGrid_GetCellAlignment", (PyCFunction
) _wrap_wxGrid_GetCellAlignment
, METH_VARARGS
| METH_KEYWORDS
},
5314 { "wxGrid_GetCell", (PyCFunction
) _wrap_wxGrid_GetCell
, METH_VARARGS
| METH_KEYWORDS
},
5315 { "wxGrid_GetBatchCount", (PyCFunction
) _wrap_wxGrid_GetBatchCount
, METH_VARARGS
| METH_KEYWORDS
},
5316 { "wxGrid_EndBatch", (PyCFunction
) _wrap_wxGrid_EndBatch
, METH_VARARGS
| METH_KEYWORDS
},
5317 { "wxGrid_DeleteRows", (PyCFunction
) _wrap_wxGrid_DeleteRows
, METH_VARARGS
| METH_KEYWORDS
},
5318 { "wxGrid_DeleteCols", (PyCFunction
) _wrap_wxGrid_DeleteCols
, METH_VARARGS
| METH_KEYWORDS
},
5319 { "wxGrid_CurrentCellVisible", (PyCFunction
) _wrap_wxGrid_CurrentCellVisible
, METH_VARARGS
| METH_KEYWORDS
},
5320 { "wxGrid_CreateGrid", (PyCFunction
) _wrap_wxGrid_CreateGrid
, METH_VARARGS
| METH_KEYWORDS
},
5321 { "wxGrid_CellHitTest", (PyCFunction
) _wrap_wxGrid_CellHitTest
, METH_VARARGS
| METH_KEYWORDS
},
5322 { "wxGrid_BeginBatch", (PyCFunction
) _wrap_wxGrid_BeginBatch
, METH_VARARGS
| METH_KEYWORDS
},
5323 { "wxGrid_AppendRows", (PyCFunction
) _wrap_wxGrid_AppendRows
, METH_VARARGS
| METH_KEYWORDS
},
5324 { "wxGrid_AppendCols", (PyCFunction
) _wrap_wxGrid_AppendCols
, METH_VARARGS
| METH_KEYWORDS
},
5325 { "wxGrid_AdjustScrollbars", (PyCFunction
) _wrap_wxGrid_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
5326 { "new_wxGrid", (PyCFunction
) _wrap_new_wxGrid
, METH_VARARGS
| METH_KEYWORDS
},
5327 { "wxGridCell_SetCellBitmap", (PyCFunction
) _wrap_wxGridCell_SetCellBitmap
, METH_VARARGS
| METH_KEYWORDS
},
5328 { "wxGridCell_GetCellBitmap", (PyCFunction
) _wrap_wxGridCell_GetCellBitmap
, METH_VARARGS
| METH_KEYWORDS
},
5329 { "wxGridCell_SetAlignment", (PyCFunction
) _wrap_wxGridCell_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
5330 { "wxGridCell_GetAlignment", (PyCFunction
) _wrap_wxGridCell_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
5331 { "wxGridCell_GetBackgroundBrush", (PyCFunction
) _wrap_wxGridCell_GetBackgroundBrush
, METH_VARARGS
| METH_KEYWORDS
},
5332 { "wxGridCell_SetBackgroundColour", (PyCFunction
) _wrap_wxGridCell_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
5333 { "wxGridCell_GetBackgroundColour", (PyCFunction
) _wrap_wxGridCell_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
5334 { "wxGridCell_SetTextColour", (PyCFunction
) _wrap_wxGridCell_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
5335 { "wxGridCell_GetTextColour", (PyCFunction
) _wrap_wxGridCell_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
5336 { "wxGridCell_SetFont", (PyCFunction
) _wrap_wxGridCell_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
5337 { "wxGridCell_GetFont", (PyCFunction
) _wrap_wxGridCell_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
5338 { "wxGridCell_SetTextValue", (PyCFunction
) _wrap_wxGridCell_SetTextValue
, METH_VARARGS
| METH_KEYWORDS
},
5339 { "wxGridCell_GetTextValue", (PyCFunction
) _wrap_wxGridCell_GetTextValue
, METH_VARARGS
| METH_KEYWORDS
},
5340 { "delete_wxGridCell", (PyCFunction
) _wrap_delete_wxGridCell
, METH_VARARGS
| METH_KEYWORDS
},
5341 { "new_wxGridCell", (PyCFunction
) _wrap_new_wxGridCell
, METH_VARARGS
| METH_KEYWORDS
},
5348 * This table is used by the pointer type-checker
5350 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
5351 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
5352 { "_wxEvent","_class_wxSplitterEvent",SwigwxSplitterEventTowxEvent
},
5353 { "_wxEvent","_wxSplitterEvent",SwigwxSplitterEventTowxEvent
},
5354 { "_wxEvent","_class_wxNotebookEvent",SwigwxNotebookEventTowxEvent
},
5355 { "_wxEvent","_wxNotebookEvent",SwigwxNotebookEventTowxEvent
},
5356 { "_wxEvent","_class_wxGridEvent",SwigwxGridEventTowxEvent
},
5357 { "_wxEvent","_wxGridEvent",SwigwxGridEventTowxEvent
},
5358 { "_wxEvent","_class_wxEvent",0},
5359 { "_class_wxActivateEvent","_wxActivateEvent",0},
5360 { "_signed_long","_long",0},
5361 { "_wxMenuEvent","_class_wxMenuEvent",0},
5362 { "_wxPrintQuality","_int",0},
5363 { "_wxPrintQuality","_signed_int",0},
5364 { "_wxPrintQuality","_unsigned_int",0},
5365 { "_wxPrintQuality","_wxWindowID",0},
5366 { "_wxPrintQuality","_uint",0},
5367 { "_wxPrintQuality","_EBool",0},
5368 { "_wxPrintQuality","_size_t",0},
5369 { "_class_wxRegionIterator","_wxRegionIterator",0},
5370 { "_class_wxMenuBar","_wxMenuBar",0},
5371 { "_class_wxEvtHandler","_class_wxTaskBarIcon",SwigwxTaskBarIconTowxEvtHandler
},
5372 { "_class_wxEvtHandler","_wxTaskBarIcon",SwigwxTaskBarIconTowxEvtHandler
},
5373 { "_class_wxEvtHandler","_class_wxSplitterWindow",SwigwxSplitterWindowTowxEvtHandler
},
5374 { "_class_wxEvtHandler","_wxSplitterWindow",SwigwxSplitterWindowTowxEvtHandler
},
5375 { "_class_wxEvtHandler","_class_wxNotebook",SwigwxNotebookTowxEvtHandler
},
5376 { "_class_wxEvtHandler","_wxNotebook",SwigwxNotebookTowxEvtHandler
},
5377 { "_class_wxEvtHandler","_class_wxGrid",SwigwxGridTowxEvtHandler
},
5378 { "_class_wxEvtHandler","_wxGrid",SwigwxGridTowxEvtHandler
},
5379 { "_class_wxEvtHandler","_wxEvtHandler",0},
5380 { "_wxPaintEvent","_class_wxPaintEvent",0},
5381 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
5382 { "_wxCursor","_class_wxCursor",0},
5383 { "_wxNotifyEvent","_class_wxNotebookEvent",SwigwxNotebookEventTowxNotifyEvent
},
5384 { "_wxNotifyEvent","_wxNotebookEvent",SwigwxNotebookEventTowxNotifyEvent
},
5385 { "_wxNotifyEvent","_class_wxNotifyEvent",0},
5386 { "_wxMask","_class_wxMask",0},
5387 { "_wxGrid","_class_wxGrid",0},
5388 { "_wxPen","_class_wxPen",0},
5389 { "_wxUpdateUIEvent","_class_wxUpdateUIEvent",0},
5390 { "_byte","_unsigned_char",0},
5391 { "_wxStaticBox","_class_wxStaticBox",0},
5392 { "_wxChoice","_class_wxChoice",0},
5393 { "_wxSlider","_class_wxSlider",0},
5394 { "_wxNotebookEvent","_class_wxNotebookEvent",0},
5395 { "_long","_wxDash",0},
5396 { "_long","_unsigned_long",0},
5397 { "_long","_signed_long",0},
5398 { "_wxImageList","_class_wxImageList",0},
5399 { "_wxDropFilesEvent","_class_wxDropFilesEvent",0},
5400 { "_wxBitmapButton","_class_wxBitmapButton",0},
5401 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
5402 { "_class_wxGauge","_wxGauge",0},
5403 { "_wxDC","_class_wxDC",0},
5404 { "_wxSpinEvent","_class_wxSpinEvent",0},
5405 { "_size_t","_wxPrintQuality",0},
5406 { "_size_t","_unsigned_int",0},
5407 { "_size_t","_int",0},
5408 { "_size_t","_wxWindowID",0},
5409 { "_size_t","_uint",0},
5410 { "_class_wxRealPoint","_wxRealPoint",0},
5411 { "_wxPrinterDC","_class_wxPrinterDC",0},
5412 { "_class_wxMenuItem","_wxMenuItem",0},
5413 { "_class_wxPaintEvent","_wxPaintEvent",0},
5414 { "_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0},
5415 { "_wxPanel","_class_wxGrid",SwigwxGridTowxPanel
},
5416 { "_wxPanel","_wxGrid",SwigwxGridTowxPanel
},
5417 { "_wxPanel","_class_wxPanel",0},
5418 { "_wxInitDialogEvent","_class_wxInitDialogEvent",0},
5419 { "_wxCheckBox","_class_wxCheckBox",0},
5420 { "_wxPyEvent","_class_wxPyEvent",0},
5421 { "_wxTextCtrl","_class_wxTextCtrl",0},
5422 { "_class_wxMask","_wxMask",0},
5423 { "_class_wxKeyEvent","_wxKeyEvent",0},
5424 { "_class_wxGrid","_wxGrid",0},
5425 { "_wxColour","_class_wxColour",0},
5426 { "_class_wxDialog","_wxDialog",0},
5427 { "_wxIdleEvent","_class_wxIdleEvent",0},
5428 { "_class_wxUpdateUIEvent","_wxUpdateUIEvent",0},
5429 { "_wxStaticLine","_class_wxStaticLine",0},
5430 { "_wxBrush","_class_wxBrush",0},
5431 { "_class_wxNotebookEvent","_wxNotebookEvent",0},
5432 { "_wxShowEvent","_class_wxShowEvent",0},
5433 { "_uint","_wxPrintQuality",0},
5434 { "_uint","_size_t",0},
5435 { "_uint","_unsigned_int",0},
5436 { "_uint","_int",0},
5437 { "_uint","_wxWindowID",0},
5438 { "_class_wxEvent","_class_wxSplitterEvent",SwigwxSplitterEventTowxEvent
},
5439 { "_class_wxEvent","_wxSplitterEvent",SwigwxSplitterEventTowxEvent
},
5440 { "_class_wxEvent","_class_wxNotebookEvent",SwigwxNotebookEventTowxEvent
},
5441 { "_class_wxEvent","_wxNotebookEvent",SwigwxNotebookEventTowxEvent
},
5442 { "_class_wxEvent","_class_wxGridEvent",SwigwxGridEventTowxEvent
},
5443 { "_class_wxEvent","_wxGridEvent",SwigwxGridEventTowxEvent
},
5444 { "_class_wxEvent","_wxEvent",0},
5445 { "_wxCheckListBox","_class_wxCheckListBox",0},
5446 { "_wxSplitterEvent","_class_wxSplitterEvent",0},
5447 { "_wxGridEvent","_class_wxGridEvent",0},
5448 { "_wxRect","_class_wxRect",0},
5449 { "_wxCommandEvent","_class_wxSplitterEvent",SwigwxSplitterEventTowxCommandEvent
},
5450 { "_wxCommandEvent","_wxSplitterEvent",SwigwxSplitterEventTowxCommandEvent
},
5451 { "_wxCommandEvent","_class_wxNotebookEvent",SwigwxNotebookEventTowxCommandEvent
},
5452 { "_wxCommandEvent","_wxNotebookEvent",SwigwxNotebookEventTowxCommandEvent
},
5453 { "_wxCommandEvent","_class_wxCommandEvent",0},
5454 { "_wxSizeEvent","_class_wxSizeEvent",0},
5455 { "_wxPoint","_class_wxPoint",0},
5456 { "_class_wxButton","_wxButton",0},
5457 { "_wxRadioBox","_class_wxRadioBox",0},
5458 { "_wxBitmap","_class_wxBitmap",0},
5459 { "_wxTaskBarIcon","_class_wxTaskBarIcon",0},
5460 { "_wxPyTimer","_class_wxPyTimer",0},
5461 { "_wxWindowDC","_class_wxWindowDC",0},
5462 { "_wxScrollBar","_class_wxScrollBar",0},
5463 { "_wxSpinButton","_class_wxSpinButton",0},
5464 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
5465 { "_class_wxNotifyEvent","_class_wxNotebookEvent",SwigwxNotebookEventTowxNotifyEvent
},
5466 { "_class_wxNotifyEvent","_wxNotebookEvent",SwigwxNotebookEventTowxNotifyEvent
},
5467 { "_class_wxNotifyEvent","_wxNotifyEvent",0},
5468 { "_class_wxPyEvent","_wxPyEvent",0},
5469 { "_class_wxIconizeEvent","_wxIconizeEvent",0},
5470 { "_class_wxStaticBitmap","_wxStaticBitmap",0},
5471 { "_class_wxStaticLine","_wxStaticLine",0},
5472 { "_wxScrollEvent","_class_wxScrollEvent",0},
5473 { "_EBool","_wxPrintQuality",0},
5474 { "_EBool","_signed_int",0},
5475 { "_EBool","_int",0},
5476 { "_EBool","_wxWindowID",0},
5477 { "_class_wxRegion","_wxRegion",0},
5478 { "_class_wxDropFilesEvent","_wxDropFilesEvent",0},
5479 { "_wxStaticText","_class_wxStaticText",0},
5480 { "_wxFont","_class_wxFont",0},
5481 { "_wxCloseEvent","_class_wxCloseEvent",0},
5482 { "_class_wxSplitterEvent","_wxSplitterEvent",0},
5483 { "_wxNotebook","_class_wxNotebook",0},
5484 { "_unsigned_long","_wxDash",0},
5485 { "_unsigned_long","_long",0},
5486 { "_class_wxRect","_wxRect",0},
5487 { "_class_wxDC","_wxDC",0},
5488 { "_class_wxPyTimer","_wxPyTimer",0},
5489 { "_wxFocusEvent","_class_wxFocusEvent",0},
5490 { "_wxMaximizeEvent","_class_wxMaximizeEvent",0},
5491 { "_class_wxSpinButton","_wxSpinButton",0},
5492 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
5493 { "_class_wxPanel","_class_wxGrid",SwigwxGridTowxPanel
},
5494 { "_class_wxPanel","_wxGrid",SwigwxGridTowxPanel
},
5495 { "_class_wxPanel","_wxPanel",0},
5496 { "_class_wxCheckBox","_wxCheckBox",0},
5497 { "_wxComboBox","_class_wxComboBox",0},
5498 { "_wxRadioButton","_class_wxRadioButton",0},
5499 { "_signed_int","_wxPrintQuality",0},
5500 { "_signed_int","_EBool",0},
5501 { "_signed_int","_wxWindowID",0},
5502 { "_signed_int","_int",0},
5503 { "_class_wxTextCtrl","_wxTextCtrl",0},
5504 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
5505 { "_wxMetaFileDC","_class_wxMetaFileDC",0},
5506 { "_wxMenu","_class_wxMenu",0},
5507 { "_class_wxMoveEvent","_wxMoveEvent",0},
5508 { "_wxListBox","_class_wxListBox",0},
5509 { "_wxScreenDC","_class_wxScreenDC",0},
5510 { "_WXTYPE","_short",0},
5511 { "_WXTYPE","_signed_short",0},
5512 { "_WXTYPE","_unsigned_short",0},
5513 { "_class_wxBrush","_wxBrush",0},
5514 { "_unsigned_short","_WXTYPE",0},
5515 { "_unsigned_short","_short",0},
5516 { "_class_wxWindow","_class_wxSplitterWindow",SwigwxSplitterWindowTowxWindow
},
5517 { "_class_wxWindow","_wxSplitterWindow",SwigwxSplitterWindowTowxWindow
},
5518 { "_class_wxWindow","_class_wxNotebook",SwigwxNotebookTowxWindow
},
5519 { "_class_wxWindow","_wxNotebook",SwigwxNotebookTowxWindow
},
5520 { "_class_wxWindow","_class_wxGrid",SwigwxGridTowxWindow
},
5521 { "_class_wxWindow","_wxGrid",SwigwxGridTowxWindow
},
5522 { "_class_wxWindow","_wxWindow",0},
5523 { "_wxSplitterWindow","_class_wxSplitterWindow",0},
5524 { "_class_wxStaticText","_wxStaticText",0},
5525 { "_class_wxFont","_wxFont",0},
5526 { "_class_wxCloseEvent","_wxCloseEvent",0},
5527 { "_class_wxMenuEvent","_wxMenuEvent",0},
5528 { "_wxClientDC","_class_wxClientDC",0},
5529 { "_wxMouseEvent","_class_wxMouseEvent",0},
5530 { "_class_wxPoint","_wxPoint",0},
5531 { "_wxRealPoint","_class_wxRealPoint",0},
5532 { "_class_wxRadioBox","_wxRadioBox",0},
5533 { "_wxGridCell","_class_wxGridCell",0},
5534 { "_signed_short","_WXTYPE",0},
5535 { "_signed_short","_short",0},
5536 { "_wxMemoryDC","_class_wxMemoryDC",0},
5537 { "_class_wxTaskBarIcon","_wxTaskBarIcon",0},
5538 { "_wxPaintDC","_class_wxPaintDC",0},
5539 { "_class_wxWindowDC","_wxWindowDC",0},
5540 { "_class_wxFocusEvent","_wxFocusEvent",0},
5541 { "_class_wxMaximizeEvent","_wxMaximizeEvent",0},
5542 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
5543 { "_class_wxCursor","_wxCursor",0},
5544 { "_wxScrolledWindow","_class_wxScrolledWindow",0},
5545 { "_unsigned_char","_byte",0},
5546 { "_class_wxMetaFileDC","_wxMetaFileDC",0},
5547 { "_class_wxMenu","_wxMenu",0},
5548 { "_wxControl","_class_wxNotebook",SwigwxNotebookTowxControl
},
5549 { "_wxControl","_wxNotebook",SwigwxNotebookTowxControl
},
5550 { "_wxControl","_class_wxControl",0},
5551 { "_class_wxListBox","_wxListBox",0},
5552 { "_unsigned_int","_wxPrintQuality",0},
5553 { "_unsigned_int","_size_t",0},
5554 { "_unsigned_int","_uint",0},
5555 { "_unsigned_int","_wxWindowID",0},
5556 { "_unsigned_int","_int",0},
5557 { "_wxIcon","_class_wxIcon",0},
5558 { "_wxDialog","_class_wxDialog",0},
5559 { "_class_wxPen","_wxPen",0},
5560 { "_short","_WXTYPE",0},
5561 { "_short","_unsigned_short",0},
5562 { "_short","_signed_short",0},
5563 { "_class_wxStaticBox","_wxStaticBox",0},
5564 { "_class_wxScrollEvent","_wxScrollEvent",0},
5565 { "_wxJoystickEvent","_class_wxJoystickEvent",0},
5566 { "_class_wxChoice","_wxChoice",0},
5567 { "_class_wxSlider","_wxSlider",0},
5568 { "_class_wxImageList","_wxImageList",0},
5569 { "_class_wxBitmapButton","_wxBitmapButton",0},
5570 { "_class_wxNotebook","_wxNotebook",0},
5571 { "_wxWindowID","_wxPrintQuality",0},
5572 { "_wxWindowID","_size_t",0},
5573 { "_wxWindowID","_EBool",0},
5574 { "_wxWindowID","_uint",0},
5575 { "_wxWindowID","_int",0},
5576 { "_wxWindowID","_signed_int",0},
5577 { "_wxWindowID","_unsigned_int",0},
5578 { "_int","_wxPrintQuality",0},
5579 { "_int","_size_t",0},
5580 { "_int","_EBool",0},
5581 { "_int","_uint",0},
5582 { "_int","_wxWindowID",0},
5583 { "_int","_unsigned_int",0},
5584 { "_int","_signed_int",0},
5585 { "_class_wxMouseEvent","_wxMouseEvent",0},
5586 { "_class_wxSpinEvent","_wxSpinEvent",0},
5587 { "_wxButton","_class_wxButton",0},
5588 { "_wxSize","_class_wxSize",0},
5589 { "_wxRegionIterator","_class_wxRegionIterator",0},
5590 { "_class_wxPrinterDC","_wxPrinterDC",0},
5591 { "_class_wxPaintDC","_wxPaintDC",0},
5592 { "_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0},
5593 { "_class_wxInitDialogEvent","_wxInitDialogEvent",0},
5594 { "_class_wxComboBox","_wxComboBox",0},
5595 { "_class_wxRadioButton","_wxRadioButton",0},
5596 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
5597 { "_wxIconizeEvent","_class_wxIconizeEvent",0},
5598 { "_class_wxControl","_class_wxNotebook",SwigwxNotebookTowxControl
},
5599 { "_class_wxControl","_wxNotebook",SwigwxNotebookTowxControl
},
5600 { "_class_wxControl","_wxControl",0},
5601 { "_wxStaticBitmap","_class_wxStaticBitmap",0},
5602 { "_class_wxIcon","_wxIcon",0},
5603 { "_class_wxColour","_wxColour",0},
5604 { "_class_wxScreenDC","_wxScreenDC",0},
5605 { "_wxPalette","_class_wxPalette",0},
5606 { "_class_wxIdleEvent","_wxIdleEvent",0},
5607 { "_wxEraseEvent","_class_wxEraseEvent",0},
5608 { "_class_wxJoystickEvent","_wxJoystickEvent",0},
5609 { "_wxRegion","_class_wxRegion",0},
5610 { "_class_wxSplitterWindow","_wxSplitterWindow",0},
5611 { "_class_wxShowEvent","_wxShowEvent",0},
5612 { "_wxActivateEvent","_class_wxActivateEvent",0},
5613 { "_wxGauge","_class_wxGauge",0},
5614 { "_class_wxCheckListBox","_wxCheckListBox",0},
5615 { "_class_wxGridEvent","_wxGridEvent",0},
5616 { "_class_wxCommandEvent","_class_wxSplitterEvent",SwigwxSplitterEventTowxCommandEvent
},
5617 { "_class_wxCommandEvent","_wxSplitterEvent",SwigwxSplitterEventTowxCommandEvent
},
5618 { "_class_wxCommandEvent","_class_wxNotebookEvent",SwigwxNotebookEventTowxCommandEvent
},
5619 { "_class_wxCommandEvent","_wxNotebookEvent",SwigwxNotebookEventTowxCommandEvent
},
5620 { "_class_wxCommandEvent","_wxCommandEvent",0},
5621 { "_class_wxClientDC","_wxClientDC",0},
5622 { "_class_wxSizeEvent","_wxSizeEvent",0},
5623 { "_class_wxGridCell","_wxGridCell",0},
5624 { "_class_wxSize","_wxSize",0},
5625 { "_class_wxBitmap","_wxBitmap",0},
5626 { "_class_wxMemoryDC","_wxMemoryDC",0},
5627 { "_wxMenuBar","_class_wxMenuBar",0},
5628 { "_wxEvtHandler","_class_wxTaskBarIcon",SwigwxTaskBarIconTowxEvtHandler
},
5629 { "_wxEvtHandler","_wxTaskBarIcon",SwigwxTaskBarIconTowxEvtHandler
},
5630 { "_wxEvtHandler","_class_wxSplitterWindow",SwigwxSplitterWindowTowxEvtHandler
},
5631 { "_wxEvtHandler","_wxSplitterWindow",SwigwxSplitterWindowTowxEvtHandler
},
5632 { "_wxEvtHandler","_class_wxNotebook",SwigwxNotebookTowxEvtHandler
},
5633 { "_wxEvtHandler","_wxNotebook",SwigwxNotebookTowxEvtHandler
},
5634 { "_wxEvtHandler","_class_wxGrid",SwigwxGridTowxEvtHandler
},
5635 { "_wxEvtHandler","_wxGrid",SwigwxGridTowxEvtHandler
},
5636 { "_wxEvtHandler","_class_wxEvtHandler",0},
5637 { "_wxMenuItem","_class_wxMenuItem",0},
5638 { "_class_wxScrollBar","_wxScrollBar",0},
5639 { "_wxDash","_unsigned_long",0},
5640 { "_wxDash","_long",0},
5641 { "_class_wxScrolledWindow","_wxScrolledWindow",0},
5642 { "_wxKeyEvent","_class_wxKeyEvent",0},
5643 { "_wxMoveEvent","_class_wxMoveEvent",0},
5644 { "_class_wxPalette","_wxPalette",0},
5645 { "_class_wxEraseEvent","_wxEraseEvent",0},
5646 { "_wxWindow","_class_wxSplitterWindow",SwigwxSplitterWindowTowxWindow
},
5647 { "_wxWindow","_wxSplitterWindow",SwigwxSplitterWindowTowxWindow
},
5648 { "_wxWindow","_class_wxNotebook",SwigwxNotebookTowxWindow
},
5649 { "_wxWindow","_wxNotebook",SwigwxNotebookTowxWindow
},
5650 { "_wxWindow","_class_wxGrid",SwigwxGridTowxWindow
},
5651 { "_wxWindow","_wxGrid",SwigwxGridTowxWindow
},
5652 { "_wxWindow","_class_wxWindow",0},
5655 static PyObject
*SWIG_globals
;
5659 SWIGEXPORT(void) initwindows2c() {
5661 SWIG_globals
= SWIG_newvarlink();
5662 m
= Py_InitModule("windows2c", windows2cMethods
);
5663 d
= PyModule_GetDict(m
);
5664 PyDict_SetItemString(d
,"wxGRID_TEXT_CTRL", PyInt_FromLong((long) wxGRID_TEXT_CTRL
));
5665 PyDict_SetItemString(d
,"wxGRID_HSCROLL", PyInt_FromLong((long) wxGRID_HSCROLL
));
5666 PyDict_SetItemString(d
,"wxGRID_VSCROLL", PyInt_FromLong((long) wxGRID_VSCROLL
));
5667 PyDict_SetItemString(d
,"wxEVT_GRID_SELECT_CELL", PyInt_FromLong((long) wxEVT_GRID_SELECT_CELL
));
5668 PyDict_SetItemString(d
,"wxEVT_GRID_CREATE_CELL", PyInt_FromLong((long) wxEVT_GRID_CREATE_CELL
));
5669 PyDict_SetItemString(d
,"wxEVT_GRID_CHANGE_LABELS", PyInt_FromLong((long) wxEVT_GRID_CHANGE_LABELS
));
5670 PyDict_SetItemString(d
,"wxEVT_GRID_CHANGE_SEL_LABEL", PyInt_FromLong((long) wxEVT_GRID_CHANGE_SEL_LABEL
));
5671 PyDict_SetItemString(d
,"wxEVT_GRID_CELL_CHANGE", PyInt_FromLong((long) wxEVT_GRID_CELL_CHANGE
));
5672 PyDict_SetItemString(d
,"wxEVT_GRID_CELL_LCLICK", PyInt_FromLong((long) wxEVT_GRID_CELL_LCLICK
));
5673 PyDict_SetItemString(d
,"wxEVT_GRID_CELL_RCLICK", PyInt_FromLong((long) wxEVT_GRID_CELL_RCLICK
));
5674 PyDict_SetItemString(d
,"wxEVT_GRID_LABEL_LCLICK", PyInt_FromLong((long) wxEVT_GRID_LABEL_LCLICK
));
5675 PyDict_SetItemString(d
,"wxEVT_GRID_LABEL_RCLICK", PyInt_FromLong((long) wxEVT_GRID_LABEL_RCLICK
));
5676 PyDict_SetItemString(d
,"wxEVT_TASKBAR_MOVE", PyInt_FromLong((long) wxEVT_TASKBAR_MOVE
));
5677 PyDict_SetItemString(d
,"wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong((long) wxEVT_TASKBAR_LEFT_DOWN
));
5678 PyDict_SetItemString(d
,"wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong((long) wxEVT_TASKBAR_LEFT_UP
));
5679 PyDict_SetItemString(d
,"wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong((long) wxEVT_TASKBAR_RIGHT_DOWN
));
5680 PyDict_SetItemString(d
,"wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong((long) wxEVT_TASKBAR_RIGHT_UP
));
5681 PyDict_SetItemString(d
,"wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong((long) wxEVT_TASKBAR_LEFT_DCLICK
));
5682 PyDict_SetItemString(d
,"wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong((long) wxEVT_TASKBAR_RIGHT_DCLICK
));
5685 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
5686 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);