2 * FILE : msw/windows2.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 810)
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
32 # define SWIGEXPORT(a) a
36 # define SWIGEXPORT(a) a
43 extern void SWIG_MakePtr(char *, void *, char *);
44 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
45 extern char *SWIG_GetPtr(char *, void **, char *);
46 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
47 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
48 extern PyObject
*SWIG_newvarlink(void);
52 #define SWIG_init initwindows2c
54 #define SWIG_name "windows2c"
58 #include <wx/notebook.h>
59 #include <wx/splitter.h>
61 #include <wx/msw/taskbar.h>
64 static PyObject
* l_output_helper(PyObject
* target
, PyObject
* o
) {
69 } else if (target
== Py_None
) {
73 if (!PyList_Check(target
)) {
75 target
= PyList_New(0);
76 PyList_Append(target
, o2
);
79 PyList_Append(target
,o
);
85 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
91 } else if (target
== Py_None
) {
95 if (!PyTuple_Check(target
)) {
97 target
= PyTuple_New(1);
98 PyTuple_SetItem(target
, 0, o2
);
101 PyTuple_SetItem(o3
, 0, o
);
104 target
= PySequence_Concat(o2
, o3
);
111 static char* wxStringErrorMsg
= "string type is required for parameter";
115 #define new_wxGridCell() (new wxGridCell())
116 static PyObject
*_wrap_new_wxGridCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
117 PyObject
* _resultobj
;
118 wxGridCell
* _result
;
119 char *_kwnames
[] = { NULL
};
123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxGridCell",_kwnames
))
126 wxPy_BEGIN_ALLOW_THREADS
;
127 _result
= (wxGridCell
*)new_wxGridCell();
129 wxPy_END_ALLOW_THREADS
;
131 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCell_p");
132 _resultobj
= Py_BuildValue("s",_ptemp
);
135 _resultobj
= Py_None
;
140 #define delete_wxGridCell(_swigobj) (delete _swigobj)
141 static PyObject
*_wrap_delete_wxGridCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
142 PyObject
* _resultobj
;
144 PyObject
* _argo0
= 0;
145 char *_kwnames
[] = { "self", NULL
};
148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxGridCell",_kwnames
,&_argo0
))
151 if (_argo0
== Py_None
) { _arg0
= NULL
; }
152 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCell_p")) {
153 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxGridCell. Expected _wxGridCell_p.");
158 wxPy_BEGIN_ALLOW_THREADS
;
159 delete_wxGridCell(_arg0
);
161 wxPy_END_ALLOW_THREADS
;
162 } Py_INCREF(Py_None
);
163 _resultobj
= Py_None
;
167 #define wxGridCell_GetTextValue(_swigobj) (_swigobj->GetTextValue())
168 static PyObject
*_wrap_wxGridCell_GetTextValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
169 PyObject
* _resultobj
;
172 PyObject
* _argo0
= 0;
173 char *_kwnames
[] = { "self", NULL
};
176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCell_GetTextValue",_kwnames
,&_argo0
))
179 if (_argo0
== Py_None
) { _arg0
= NULL
; }
180 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCell_p")) {
181 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCell_GetTextValue. Expected _wxGridCell_p.");
186 wxPy_BEGIN_ALLOW_THREADS
;
187 wxString
& _result_ref
= wxGridCell_GetTextValue(_arg0
);
188 _result
= (wxString
*) &_result_ref
;
190 wxPy_END_ALLOW_THREADS
;
192 _resultobj
= PyString_FromString(WXSTRINGCAST (*_result
));
197 #define wxGridCell_SetTextValue(_swigobj,_swigarg0) (_swigobj->SetTextValue(_swigarg0))
198 static PyObject
*_wrap_wxGridCell_SetTextValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
199 PyObject
* _resultobj
;
202 PyObject
* _argo0
= 0;
203 PyObject
* _obj1
= 0;
204 char *_kwnames
[] = { "self","str", NULL
};
207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCell_SetTextValue",_kwnames
,&_argo0
,&_obj1
))
210 if (_argo0
== Py_None
) { _arg0
= NULL
; }
211 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCell_p")) {
212 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCell_SetTextValue. Expected _wxGridCell_p.");
217 if (!PyString_Check(_obj1
)) {
218 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
221 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
224 wxPy_BEGIN_ALLOW_THREADS
;
225 wxGridCell_SetTextValue(_arg0
,*_arg1
);
227 wxPy_END_ALLOW_THREADS
;
228 } Py_INCREF(Py_None
);
229 _resultobj
= Py_None
;
237 #define wxGridCell_GetFont(_swigobj) (_swigobj->GetFont())
238 static PyObject
*_wrap_wxGridCell_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
239 PyObject
* _resultobj
;
242 PyObject
* _argo0
= 0;
243 char *_kwnames
[] = { "self", NULL
};
247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCell_GetFont",_kwnames
,&_argo0
))
250 if (_argo0
== Py_None
) { _arg0
= NULL
; }
251 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCell_p")) {
252 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCell_GetFont. Expected _wxGridCell_p.");
257 wxPy_BEGIN_ALLOW_THREADS
;
258 wxFont
& _result_ref
= wxGridCell_GetFont(_arg0
);
259 _result
= (wxFont
*) &_result_ref
;
261 wxPy_END_ALLOW_THREADS
;
263 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
264 _resultobj
= Py_BuildValue("s",_ptemp
);
267 _resultobj
= Py_None
;
272 #define wxGridCell_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
273 static PyObject
*_wrap_wxGridCell_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
274 PyObject
* _resultobj
;
277 PyObject
* _argo0
= 0;
278 PyObject
* _argo1
= 0;
279 char *_kwnames
[] = { "self","f", NULL
};
282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCell_SetFont",_kwnames
,&_argo0
,&_argo1
))
285 if (_argo0
== Py_None
) { _arg0
= NULL
; }
286 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCell_p")) {
287 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCell_SetFont. Expected _wxGridCell_p.");
292 if (_argo1
== Py_None
) { _arg1
= NULL
; }
293 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
294 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCell_SetFont. Expected _wxFont_p.");
299 wxPy_BEGIN_ALLOW_THREADS
;
300 wxGridCell_SetFont(_arg0
,*_arg1
);
302 wxPy_END_ALLOW_THREADS
;
303 } Py_INCREF(Py_None
);
304 _resultobj
= Py_None
;
308 #define wxGridCell_GetTextColour(_swigobj) (_swigobj->GetTextColour())
309 static PyObject
*_wrap_wxGridCell_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
310 PyObject
* _resultobj
;
313 PyObject
* _argo0
= 0;
314 char *_kwnames
[] = { "self", NULL
};
318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCell_GetTextColour",_kwnames
,&_argo0
))
321 if (_argo0
== Py_None
) { _arg0
= NULL
; }
322 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCell_p")) {
323 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCell_GetTextColour. Expected _wxGridCell_p.");
328 wxPy_BEGIN_ALLOW_THREADS
;
329 wxColour
& _result_ref
= wxGridCell_GetTextColour(_arg0
);
330 _result
= (wxColour
*) &_result_ref
;
332 wxPy_END_ALLOW_THREADS
;
334 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
335 _resultobj
= Py_BuildValue("s",_ptemp
);
338 _resultobj
= Py_None
;
343 #define wxGridCell_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
344 static PyObject
*_wrap_wxGridCell_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
345 PyObject
* _resultobj
;
348 PyObject
* _argo0
= 0;
349 PyObject
* _argo1
= 0;
350 char *_kwnames
[] = { "self","colour", NULL
};
353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCell_SetTextColour",_kwnames
,&_argo0
,&_argo1
))
356 if (_argo0
== Py_None
) { _arg0
= NULL
; }
357 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCell_p")) {
358 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCell_SetTextColour. Expected _wxGridCell_p.");
363 if (_argo1
== Py_None
) { _arg1
= NULL
; }
364 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxColour_p")) {
365 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCell_SetTextColour. Expected _wxColour_p.");
370 wxPy_BEGIN_ALLOW_THREADS
;
371 wxGridCell_SetTextColour(_arg0
,*_arg1
);
373 wxPy_END_ALLOW_THREADS
;
374 } Py_INCREF(Py_None
);
375 _resultobj
= Py_None
;
379 #define wxGridCell_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
380 static PyObject
*_wrap_wxGridCell_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
381 PyObject
* _resultobj
;
384 PyObject
* _argo0
= 0;
385 char *_kwnames
[] = { "self", NULL
};
389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCell_GetBackgroundColour",_kwnames
,&_argo0
))
392 if (_argo0
== Py_None
) { _arg0
= NULL
; }
393 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCell_p")) {
394 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCell_GetBackgroundColour. Expected _wxGridCell_p.");
399 wxPy_BEGIN_ALLOW_THREADS
;
400 wxColour
& _result_ref
= wxGridCell_GetBackgroundColour(_arg0
);
401 _result
= (wxColour
*) &_result_ref
;
403 wxPy_END_ALLOW_THREADS
;
405 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
406 _resultobj
= Py_BuildValue("s",_ptemp
);
409 _resultobj
= Py_None
;
414 #define wxGridCell_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
415 static PyObject
*_wrap_wxGridCell_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
416 PyObject
* _resultobj
;
419 PyObject
* _argo0
= 0;
420 PyObject
* _argo1
= 0;
421 char *_kwnames
[] = { "self","colour", NULL
};
424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCell_SetBackgroundColour",_kwnames
,&_argo0
,&_argo1
))
427 if (_argo0
== Py_None
) { _arg0
= NULL
; }
428 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCell_p")) {
429 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCell_SetBackgroundColour. Expected _wxGridCell_p.");
434 if (_argo1
== Py_None
) { _arg1
= NULL
; }
435 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxColour_p")) {
436 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCell_SetBackgroundColour. Expected _wxColour_p.");
441 wxPy_BEGIN_ALLOW_THREADS
;
442 wxGridCell_SetBackgroundColour(_arg0
,*_arg1
);
444 wxPy_END_ALLOW_THREADS
;
445 } Py_INCREF(Py_None
);
446 _resultobj
= Py_None
;
450 #define wxGridCell_GetBackgroundBrush(_swigobj) (_swigobj->GetBackgroundBrush())
451 static PyObject
*_wrap_wxGridCell_GetBackgroundBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
452 PyObject
* _resultobj
;
455 PyObject
* _argo0
= 0;
456 char *_kwnames
[] = { "self", NULL
};
460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCell_GetBackgroundBrush",_kwnames
,&_argo0
))
463 if (_argo0
== Py_None
) { _arg0
= NULL
; }
464 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCell_p")) {
465 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCell_GetBackgroundBrush. Expected _wxGridCell_p.");
470 wxPy_BEGIN_ALLOW_THREADS
;
471 wxBrush
& _result_ref
= wxGridCell_GetBackgroundBrush(_arg0
);
472 _result
= (wxBrush
*) &_result_ref
;
474 wxPy_END_ALLOW_THREADS
;
476 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBrush_p");
477 _resultobj
= Py_BuildValue("s",_ptemp
);
480 _resultobj
= Py_None
;
485 #define wxGridCell_GetAlignment(_swigobj) (_swigobj->GetAlignment())
486 static PyObject
*_wrap_wxGridCell_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
487 PyObject
* _resultobj
;
490 PyObject
* _argo0
= 0;
491 char *_kwnames
[] = { "self", NULL
};
494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCell_GetAlignment",_kwnames
,&_argo0
))
497 if (_argo0
== Py_None
) { _arg0
= NULL
; }
498 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCell_p")) {
499 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCell_GetAlignment. Expected _wxGridCell_p.");
504 wxPy_BEGIN_ALLOW_THREADS
;
505 _result
= (int )wxGridCell_GetAlignment(_arg0
);
507 wxPy_END_ALLOW_THREADS
;
508 } _resultobj
= Py_BuildValue("i",_result
);
512 #define wxGridCell_SetAlignment(_swigobj,_swigarg0) (_swigobj->SetAlignment(_swigarg0))
513 static PyObject
*_wrap_wxGridCell_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
514 PyObject
* _resultobj
;
517 PyObject
* _argo0
= 0;
518 char *_kwnames
[] = { "self","align", NULL
};
521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridCell_SetAlignment",_kwnames
,&_argo0
,&_arg1
))
524 if (_argo0
== Py_None
) { _arg0
= NULL
; }
525 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCell_p")) {
526 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCell_SetAlignment. Expected _wxGridCell_p.");
531 wxPy_BEGIN_ALLOW_THREADS
;
532 wxGridCell_SetAlignment(_arg0
,_arg1
);
534 wxPy_END_ALLOW_THREADS
;
535 } Py_INCREF(Py_None
);
536 _resultobj
= Py_None
;
540 #define wxGridCell_GetCellBitmap(_swigobj) (_swigobj->GetCellBitmap())
541 static PyObject
*_wrap_wxGridCell_GetCellBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
542 PyObject
* _resultobj
;
545 PyObject
* _argo0
= 0;
546 char *_kwnames
[] = { "self", NULL
};
550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCell_GetCellBitmap",_kwnames
,&_argo0
))
553 if (_argo0
== Py_None
) { _arg0
= NULL
; }
554 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCell_p")) {
555 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCell_GetCellBitmap. Expected _wxGridCell_p.");
560 wxPy_BEGIN_ALLOW_THREADS
;
561 _result
= (wxBitmap
*)wxGridCell_GetCellBitmap(_arg0
);
563 wxPy_END_ALLOW_THREADS
;
565 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
566 _resultobj
= Py_BuildValue("s",_ptemp
);
569 _resultobj
= Py_None
;
574 #define wxGridCell_SetCellBitmap(_swigobj,_swigarg0) (_swigobj->SetCellBitmap(_swigarg0))
575 static PyObject
*_wrap_wxGridCell_SetCellBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
576 PyObject
* _resultobj
;
579 PyObject
* _argo0
= 0;
580 PyObject
* _argo1
= 0;
581 char *_kwnames
[] = { "self","bitmap", NULL
};
584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCell_SetCellBitmap",_kwnames
,&_argo0
,&_argo1
))
587 if (_argo0
== Py_None
) { _arg0
= NULL
; }
588 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCell_p")) {
589 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCell_SetCellBitmap. Expected _wxGridCell_p.");
594 if (_argo1
== Py_None
) { _arg1
= NULL
; }
595 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
596 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCell_SetCellBitmap. Expected _wxBitmap_p.");
601 wxPy_BEGIN_ALLOW_THREADS
;
602 wxGridCell_SetCellBitmap(_arg0
,_arg1
);
604 wxPy_END_ALLOW_THREADS
;
605 } Py_INCREF(Py_None
);
606 _resultobj
= Py_None
;
610 static void *SwigwxGridTowxPanel(void *ptr
) {
613 src
= (wxGrid
*) ptr
;
614 dest
= (wxPanel
*) src
;
615 return (void *) dest
;
618 static void *SwigwxGridTowxWindow(void *ptr
) {
621 src
= (wxGrid
*) ptr
;
622 dest
= (wxWindow
*) src
;
623 return (void *) dest
;
626 static void *SwigwxGridTowxEvtHandler(void *ptr
) {
629 src
= (wxGrid
*) ptr
;
630 dest
= (wxEvtHandler
*) src
;
631 return (void *) dest
;
634 #define new_wxGrid(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxGrid(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
635 static PyObject
*_wrap_new_wxGrid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
636 PyObject
* _resultobj
;
640 wxPoint
* _arg2
= (wxPoint
*) &wxPyDefaultPosition
;
641 wxSize
* _arg3
= (wxSize
*) &wxPyDefaultSize
;
642 long _arg4
= (long ) 0;
643 char * _arg5
= (char *) "grid";
644 PyObject
* _argo0
= 0;
646 PyObject
* _obj2
= 0;
648 PyObject
* _obj3
= 0;
649 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOls:new_wxGrid",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
656 if (_argo0
== Py_None
) { _arg0
= NULL
; }
657 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
658 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxGrid. Expected _wxWindow_p.");
665 if (! wxPoint_helper(_obj2
, &_arg2
))
671 if (! wxSize_helper(_obj3
, &_arg3
))
675 wxPy_BEGIN_ALLOW_THREADS
;
676 _result
= (wxGrid
*)new_wxGrid(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
678 wxPy_END_ALLOW_THREADS
;
680 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGrid_p");
681 _resultobj
= Py_BuildValue("s",_ptemp
);
684 _resultobj
= Py_None
;
689 #define wxGrid_AdjustScrollbars(_swigobj) (_swigobj->AdjustScrollbars())
690 static PyObject
*_wrap_wxGrid_AdjustScrollbars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
691 PyObject
* _resultobj
;
693 PyObject
* _argo0
= 0;
694 char *_kwnames
[] = { "self", NULL
};
697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_AdjustScrollbars",_kwnames
,&_argo0
))
700 if (_argo0
== Py_None
) { _arg0
= NULL
; }
701 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
702 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_AdjustScrollbars. Expected _wxGrid_p.");
707 wxPy_BEGIN_ALLOW_THREADS
;
708 wxGrid_AdjustScrollbars(_arg0
);
710 wxPy_END_ALLOW_THREADS
;
711 } Py_INCREF(Py_None
);
712 _resultobj
= Py_None
;
716 #define wxGrid_AppendCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->AppendCols(_swigarg0,_swigarg1))
717 static PyObject
*_wrap_wxGrid_AppendCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
718 PyObject
* _resultobj
;
721 int _arg1
= (int ) 1;
722 bool _arg2
= (bool ) TRUE
;
723 PyObject
* _argo0
= 0;
724 int tempbool2
= (int) TRUE
;
725 char *_kwnames
[] = { "self","n","updateLabels", NULL
};
728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxGrid_AppendCols",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
731 if (_argo0
== Py_None
) { _arg0
= NULL
; }
732 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
733 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_AppendCols. Expected _wxGrid_p.");
737 _arg2
= (bool ) tempbool2
;
739 wxPy_BEGIN_ALLOW_THREADS
;
740 _result
= (bool )wxGrid_AppendCols(_arg0
,_arg1
,_arg2
);
742 wxPy_END_ALLOW_THREADS
;
743 } _resultobj
= Py_BuildValue("i",_result
);
747 #define wxGrid_AppendRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->AppendRows(_swigarg0,_swigarg1))
748 static PyObject
*_wrap_wxGrid_AppendRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
749 PyObject
* _resultobj
;
752 int _arg1
= (int ) 1;
753 bool _arg2
= (bool ) TRUE
;
754 PyObject
* _argo0
= 0;
755 int tempbool2
= (int) TRUE
;
756 char *_kwnames
[] = { "self","n","updateLabels", NULL
};
759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxGrid_AppendRows",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
762 if (_argo0
== Py_None
) { _arg0
= NULL
; }
763 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
764 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_AppendRows. Expected _wxGrid_p.");
768 _arg2
= (bool ) tempbool2
;
770 wxPy_BEGIN_ALLOW_THREADS
;
771 _result
= (bool )wxGrid_AppendRows(_arg0
,_arg1
,_arg2
);
773 wxPy_END_ALLOW_THREADS
;
774 } _resultobj
= Py_BuildValue("i",_result
);
778 #define wxGrid_BeginBatch(_swigobj) (_swigobj->BeginBatch())
779 static PyObject
*_wrap_wxGrid_BeginBatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
780 PyObject
* _resultobj
;
782 PyObject
* _argo0
= 0;
783 char *_kwnames
[] = { "self", NULL
};
786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_BeginBatch",_kwnames
,&_argo0
))
789 if (_argo0
== Py_None
) { _arg0
= NULL
; }
790 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
791 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_BeginBatch. Expected _wxGrid_p.");
796 wxPy_BEGIN_ALLOW_THREADS
;
797 wxGrid_BeginBatch(_arg0
);
799 wxPy_END_ALLOW_THREADS
;
800 } Py_INCREF(Py_None
);
801 _resultobj
= Py_None
;
805 #define wxGrid_CellHitTest(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->CellHitTest(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
806 static PyObject
*_wrap_wxGrid_CellHitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
807 PyObject
* _resultobj
;
816 PyObject
* _argo0
= 0;
817 char *_kwnames
[] = { "self","x","y", NULL
};
826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_CellHitTest",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
829 if (_argo0
== Py_None
) { _arg0
= NULL
; }
830 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
831 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_CellHitTest. Expected _wxGrid_p.");
836 wxPy_BEGIN_ALLOW_THREADS
;
837 _result
= (bool )wxGrid_CellHitTest(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
839 wxPy_END_ALLOW_THREADS
;
840 } _resultobj
= Py_BuildValue("i",_result
);
843 o
= PyInt_FromLong((long) (*_arg3
));
844 _resultobj
= t_output_helper(_resultobj
, o
);
848 o
= PyInt_FromLong((long) (*_arg4
));
849 _resultobj
= t_output_helper(_resultobj
, o
);
854 static bool wxGrid_CreateGrid(wxGrid
*self
,int rows
,int cols
,short defaultWidth
,short defaultHeight
) {
855 return self
->CreateGrid(rows
, cols
, NULL
, NULL
,
856 defaultWidth
, defaultHeight
);
858 static PyObject
*_wrap_wxGrid_CreateGrid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
859 PyObject
* _resultobj
;
864 short _arg3
= (short ) wxGRID_DEFAULT_CELL_WIDTH
;
865 short _arg4
= (short ) wxGRID_DEFAULT_CELL_HEIGHT
;
866 PyObject
* _argo0
= 0;
867 char *_kwnames
[] = { "self","rows","cols","defaultWidth","defaultHeight", NULL
};
870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|hh:wxGrid_CreateGrid",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
873 if (_argo0
== Py_None
) { _arg0
= NULL
; }
874 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
875 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_CreateGrid. Expected _wxGrid_p.");
880 wxPy_BEGIN_ALLOW_THREADS
;
881 _result
= (bool )wxGrid_CreateGrid(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
883 wxPy_END_ALLOW_THREADS
;
884 } _resultobj
= Py_BuildValue("i",_result
);
888 #define wxGrid_CurrentCellVisible(_swigobj) (_swigobj->CurrentCellVisible())
889 static PyObject
*_wrap_wxGrid_CurrentCellVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
890 PyObject
* _resultobj
;
893 PyObject
* _argo0
= 0;
894 char *_kwnames
[] = { "self", NULL
};
897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_CurrentCellVisible",_kwnames
,&_argo0
))
900 if (_argo0
== Py_None
) { _arg0
= NULL
; }
901 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
902 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_CurrentCellVisible. Expected _wxGrid_p.");
907 wxPy_BEGIN_ALLOW_THREADS
;
908 _result
= (bool )wxGrid_CurrentCellVisible(_arg0
);
910 wxPy_END_ALLOW_THREADS
;
911 } _resultobj
= Py_BuildValue("i",_result
);
915 #define wxGrid_DeleteCols(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DeleteCols(_swigarg0,_swigarg1,_swigarg2))
916 static PyObject
*_wrap_wxGrid_DeleteCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
917 PyObject
* _resultobj
;
920 int _arg1
= (int ) 0;
921 int _arg2
= (int ) 1;
922 bool _arg3
= (bool ) TRUE
;
923 PyObject
* _argo0
= 0;
924 int tempbool3
= (int) TRUE
;
925 char *_kwnames
[] = { "self","pos","n","updateLabels", NULL
};
928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iii:wxGrid_DeleteCols",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
931 if (_argo0
== Py_None
) { _arg0
= NULL
; }
932 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
933 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_DeleteCols. Expected _wxGrid_p.");
937 _arg3
= (bool ) tempbool3
;
939 wxPy_BEGIN_ALLOW_THREADS
;
940 _result
= (bool )wxGrid_DeleteCols(_arg0
,_arg1
,_arg2
,_arg3
);
942 wxPy_END_ALLOW_THREADS
;
943 } _resultobj
= Py_BuildValue("i",_result
);
947 #define wxGrid_DeleteRows(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DeleteRows(_swigarg0,_swigarg1,_swigarg2))
948 static PyObject
*_wrap_wxGrid_DeleteRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
949 PyObject
* _resultobj
;
952 int _arg1
= (int ) 0;
953 int _arg2
= (int ) 1;
954 bool _arg3
= (bool ) TRUE
;
955 PyObject
* _argo0
= 0;
956 int tempbool3
= (int) TRUE
;
957 char *_kwnames
[] = { "self","pos","n","updateLabels", NULL
};
960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iii:wxGrid_DeleteRows",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
963 if (_argo0
== Py_None
) { _arg0
= NULL
; }
964 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
965 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_DeleteRows. Expected _wxGrid_p.");
969 _arg3
= (bool ) tempbool3
;
971 wxPy_BEGIN_ALLOW_THREADS
;
972 _result
= (bool )wxGrid_DeleteRows(_arg0
,_arg1
,_arg2
,_arg3
);
974 wxPy_END_ALLOW_THREADS
;
975 } _resultobj
= Py_BuildValue("i",_result
);
979 #define wxGrid_EndBatch(_swigobj) (_swigobj->EndBatch())
980 static PyObject
*_wrap_wxGrid_EndBatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
981 PyObject
* _resultobj
;
983 PyObject
* _argo0
= 0;
984 char *_kwnames
[] = { "self", NULL
};
987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_EndBatch",_kwnames
,&_argo0
))
990 if (_argo0
== Py_None
) { _arg0
= NULL
; }
991 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
992 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_EndBatch. Expected _wxGrid_p.");
997 wxPy_BEGIN_ALLOW_THREADS
;
998 wxGrid_EndBatch(_arg0
);
1000 wxPy_END_ALLOW_THREADS
;
1001 } Py_INCREF(Py_None
);
1002 _resultobj
= Py_None
;
1006 #define wxGrid_GetBatchCount(_swigobj) (_swigobj->GetBatchCount())
1007 static PyObject
*_wrap_wxGrid_GetBatchCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1008 PyObject
* _resultobj
;
1011 PyObject
* _argo0
= 0;
1012 char *_kwnames
[] = { "self", NULL
};
1015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetBatchCount",_kwnames
,&_argo0
))
1018 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1019 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
1020 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetBatchCount. Expected _wxGrid_p.");
1025 wxPy_BEGIN_ALLOW_THREADS
;
1026 _result
= (int )wxGrid_GetBatchCount(_arg0
);
1028 wxPy_END_ALLOW_THREADS
;
1029 } _resultobj
= Py_BuildValue("i",_result
);
1033 #define wxGrid_GetCell(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCell(_swigarg0,_swigarg1))
1034 static PyObject
*_wrap_wxGrid_GetCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1035 PyObject
* _resultobj
;
1036 wxGridCell
* _result
;
1040 PyObject
* _argo0
= 0;
1041 char *_kwnames
[] = { "self","row","col", NULL
};
1045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_GetCell",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
1048 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1049 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
1050 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCell. Expected _wxGrid_p.");
1055 wxPy_BEGIN_ALLOW_THREADS
;
1056 _result
= (wxGridCell
*)wxGrid_GetCell(_arg0
,_arg1
,_arg2
);
1058 wxPy_END_ALLOW_THREADS
;
1060 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCell_p");
1061 _resultobj
= Py_BuildValue("s",_ptemp
);
1064 _resultobj
= Py_None
;
1069 #define wxGrid_GetCellAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellAlignment(_swigarg0,_swigarg1))
1070 static PyObject
*_wrap_wxGrid_GetCellAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1071 PyObject
* _resultobj
;
1076 PyObject
* _argo0
= 0;
1077 char *_kwnames
[] = { "self","row","col", NULL
};
1080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_GetCellAlignment",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
1083 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1084 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
1085 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellAlignment. Expected _wxGrid_p.");
1090 wxPy_BEGIN_ALLOW_THREADS
;
1091 _result
= (int )wxGrid_GetCellAlignment(_arg0
,_arg1
,_arg2
);
1093 wxPy_END_ALLOW_THREADS
;
1094 } _resultobj
= Py_BuildValue("i",_result
);
1098 #define wxGrid_GetDefCellAlignment(_swigobj) (_swigobj->GetCellAlignment())
1099 static PyObject
*_wrap_wxGrid_GetDefCellAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1100 PyObject
* _resultobj
;
1103 PyObject
* _argo0
= 0;
1104 char *_kwnames
[] = { "self", NULL
};
1107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetDefCellAlignment",_kwnames
,&_argo0
))
1110 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1111 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
1112 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefCellAlignment. Expected _wxGrid_p.");
1117 wxPy_BEGIN_ALLOW_THREADS
;
1118 _result
= (int )wxGrid_GetDefCellAlignment(_arg0
);
1120 wxPy_END_ALLOW_THREADS
;
1121 } _resultobj
= Py_BuildValue("i",_result
);
1125 #define wxGrid_GetCellBackgroundColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellBackgroundColour(_swigarg0,_swigarg1))
1126 static PyObject
*_wrap_wxGrid_GetCellBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1127 PyObject
* _resultobj
;
1132 PyObject
* _argo0
= 0;
1133 char *_kwnames
[] = { "self","row","col", NULL
};
1137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_GetCellBackgroundColour",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
1140 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1141 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
1142 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellBackgroundColour. Expected _wxGrid_p.");
1147 wxPy_BEGIN_ALLOW_THREADS
;
1148 wxColour
& _result_ref
= wxGrid_GetCellBackgroundColour(_arg0
,_arg1
,_arg2
);
1149 _result
= (wxColour
*) &_result_ref
;
1151 wxPy_END_ALLOW_THREADS
;
1153 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
1154 _resultobj
= Py_BuildValue("s",_ptemp
);
1157 _resultobj
= Py_None
;
1162 #define wxGrid_GetDefCellBackgroundColour(_swigobj) (_swigobj->GetCellBackgroundColour())
1163 static PyObject
*_wrap_wxGrid_GetDefCellBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1164 PyObject
* _resultobj
;
1167 PyObject
* _argo0
= 0;
1168 char *_kwnames
[] = { "self", NULL
};
1172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetDefCellBackgroundColour",_kwnames
,&_argo0
))
1175 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1176 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
1177 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefCellBackgroundColour. Expected _wxGrid_p.");
1182 wxPy_BEGIN_ALLOW_THREADS
;
1183 wxColour
& _result_ref
= wxGrid_GetDefCellBackgroundColour(_arg0
);
1184 _result
= (wxColour
*) &_result_ref
;
1186 wxPy_END_ALLOW_THREADS
;
1188 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
1189 _resultobj
= Py_BuildValue("s",_ptemp
);
1192 _resultobj
= Py_None
;
1197 static PyObject
* wxGrid_GetCells(wxGrid
*self
) {
1199 PyObject
* rows
= PyList_New(0);
1200 for (row
=0; row
< self
->GetRows(); row
++) {
1201 PyObject
* rowList
= PyList_New(0);
1202 for (col
=0; col
< self
->GetCols(); col
++) {
1203 wxGridCell
* cell
= self
->GetCell(row
, col
);
1205 bool doSave
= wxPyRestoreThread();
1206 PyObject
* pyCell
= wxPyConstructObject(cell
, "wxGridCell");
1207 wxPySaveThread(doSave
);
1209 if (PyList_Append(rowList
, pyCell
) == -1)
1212 if (PyList_Append(rows
, rowList
) == -1)
1217 static PyObject
*_wrap_wxGrid_GetCells(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1218 PyObject
* _resultobj
;
1221 PyObject
* _argo0
= 0;
1222 char *_kwnames
[] = { "self", NULL
};
1225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetCells",_kwnames
,&_argo0
))
1228 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1229 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
1230 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCells. Expected _wxGrid_p.");
1235 wxPy_BEGIN_ALLOW_THREADS
;
1236 _result
= (PyObject
*)wxGrid_GetCells(_arg0
);
1238 wxPy_END_ALLOW_THREADS
;
1240 _resultobj
= _result
;
1245 #define wxGrid_GetCellTextColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellTextColour(_swigarg0,_swigarg1))
1246 static PyObject
*_wrap_wxGrid_GetCellTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1247 PyObject
* _resultobj
;
1252 PyObject
* _argo0
= 0;
1253 char *_kwnames
[] = { "self","row","col", NULL
};
1257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_GetCellTextColour",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
1260 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1261 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
1262 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellTextColour. Expected _wxGrid_p.");
1267 wxPy_BEGIN_ALLOW_THREADS
;
1268 wxColour
& _result_ref
= wxGrid_GetCellTextColour(_arg0
,_arg1
,_arg2
);
1269 _result
= (wxColour
*) &_result_ref
;
1271 wxPy_END_ALLOW_THREADS
;
1273 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
1274 _resultobj
= Py_BuildValue("s",_ptemp
);
1277 _resultobj
= Py_None
;
1282 #define wxGrid_GetDefCellTextColour(_swigobj) (_swigobj->GetCellTextColour())
1283 static PyObject
*_wrap_wxGrid_GetDefCellTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1284 PyObject
* _resultobj
;
1287 PyObject
* _argo0
= 0;
1288 char *_kwnames
[] = { "self", NULL
};
1292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetDefCellTextColour",_kwnames
,&_argo0
))
1295 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1296 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
1297 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefCellTextColour. Expected _wxGrid_p.");
1302 wxPy_BEGIN_ALLOW_THREADS
;
1303 wxColour
& _result_ref
= wxGrid_GetDefCellTextColour(_arg0
);
1304 _result
= (wxColour
*) &_result_ref
;
1306 wxPy_END_ALLOW_THREADS
;
1308 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
1309 _resultobj
= Py_BuildValue("s",_ptemp
);
1312 _resultobj
= Py_None
;
1317 #define wxGrid_GetCellTextFont(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellTextFont(_swigarg0,_swigarg1))
1318 static PyObject
*_wrap_wxGrid_GetCellTextFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1319 PyObject
* _resultobj
;
1324 PyObject
* _argo0
= 0;
1325 char *_kwnames
[] = { "self","row","col", NULL
};
1329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_GetCellTextFont",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
1332 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1333 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
1334 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellTextFont. Expected _wxGrid_p.");
1339 wxPy_BEGIN_ALLOW_THREADS
;
1340 wxFont
& _result_ref
= wxGrid_GetCellTextFont(_arg0
,_arg1
,_arg2
);
1341 _result
= (wxFont
*) &_result_ref
;
1343 wxPy_END_ALLOW_THREADS
;
1345 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
1346 _resultobj
= Py_BuildValue("s",_ptemp
);
1349 _resultobj
= Py_None
;
1354 #define wxGrid_GetDefCellTextFont(_swigobj) (_swigobj->GetCellTextFont())
1355 static PyObject
*_wrap_wxGrid_GetDefCellTextFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1356 PyObject
* _resultobj
;
1359 PyObject
* _argo0
= 0;
1360 char *_kwnames
[] = { "self", NULL
};
1364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetDefCellTextFont",_kwnames
,&_argo0
))
1367 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1368 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
1369 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefCellTextFont. Expected _wxGrid_p.");
1374 wxPy_BEGIN_ALLOW_THREADS
;
1375 wxFont
& _result_ref
= wxGrid_GetDefCellTextFont(_arg0
);
1376 _result
= (wxFont
*) &_result_ref
;
1378 wxPy_END_ALLOW_THREADS
;
1380 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
1381 _resultobj
= Py_BuildValue("s",_ptemp
);
1384 _resultobj
= Py_None
;
1389 #define wxGrid_GetCellValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellValue(_swigarg0,_swigarg1))
1390 static PyObject
*_wrap_wxGrid_GetCellValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1391 PyObject
* _resultobj
;
1396 PyObject
* _argo0
= 0;
1397 char *_kwnames
[] = { "self","row","col", NULL
};
1400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_GetCellValue",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
1403 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1404 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
1405 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellValue. Expected _wxGrid_p.");
1410 wxPy_BEGIN_ALLOW_THREADS
;
1411 wxString
& _result_ref
= wxGrid_GetCellValue(_arg0
,_arg1
,_arg2
);
1412 _result
= (wxString
*) &_result_ref
;
1414 wxPy_END_ALLOW_THREADS
;
1416 _resultobj
= PyString_FromString(WXSTRINGCAST (*_result
));
1421 #define wxGrid_GetCols(_swigobj) (_swigobj->GetCols())
1422 static PyObject
*_wrap_wxGrid_GetCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1423 PyObject
* _resultobj
;
1426 PyObject
* _argo0
= 0;
1427 char *_kwnames
[] = { "self", NULL
};
1430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetCols",_kwnames
,&_argo0
))
1433 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1434 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
1435 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCols. Expected _wxGrid_p.");
1440 wxPy_BEGIN_ALLOW_THREADS
;
1441 _result
= (int )wxGrid_GetCols(_arg0
);
1443 wxPy_END_ALLOW_THREADS
;
1444 } _resultobj
= Py_BuildValue("i",_result
);
1448 #define wxGrid_GetColumnWidth(_swigobj,_swigarg0) (_swigobj->GetColumnWidth(_swigarg0))
1449 static PyObject
*_wrap_wxGrid_GetColumnWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1450 PyObject
* _resultobj
;
1454 PyObject
* _argo0
= 0;
1455 char *_kwnames
[] = { "self","col", NULL
};
1458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_GetColumnWidth",_kwnames
,&_argo0
,&_arg1
))
1461 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1462 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
1463 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetColumnWidth. Expected _wxGrid_p.");
1468 wxPy_BEGIN_ALLOW_THREADS
;
1469 _result
= (int )wxGrid_GetColumnWidth(_arg0
,_arg1
);
1471 wxPy_END_ALLOW_THREADS
;
1472 } _resultobj
= Py_BuildValue("i",_result
);
1476 #define wxGrid_GetCurrentRect(_swigobj) (_swigobj->GetCurrentRect())
1477 static PyObject
*_wrap_wxGrid_GetCurrentRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1478 PyObject
* _resultobj
;
1481 PyObject
* _argo0
= 0;
1482 char *_kwnames
[] = { "self", NULL
};
1486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetCurrentRect",_kwnames
,&_argo0
))
1489 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1490 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
1491 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCurrentRect. Expected _wxGrid_p.");
1496 wxPy_BEGIN_ALLOW_THREADS
;
1497 _result
= new wxRect (wxGrid_GetCurrentRect(_arg0
));
1499 wxPy_END_ALLOW_THREADS
;
1500 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
1501 _resultobj
= Py_BuildValue("s",_ptemp
);
1505 #define wxGrid_GetCursorColumn(_swigobj) (_swigobj->GetCursorColumn())
1506 static PyObject
*_wrap_wxGrid_GetCursorColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1507 PyObject
* _resultobj
;
1510 PyObject
* _argo0
= 0;
1511 char *_kwnames
[] = { "self", NULL
};
1514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetCursorColumn",_kwnames
,&_argo0
))
1517 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1518 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
1519 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCursorColumn. Expected _wxGrid_p.");
1524 wxPy_BEGIN_ALLOW_THREADS
;
1525 _result
= (int )wxGrid_GetCursorColumn(_arg0
);
1527 wxPy_END_ALLOW_THREADS
;
1528 } _resultobj
= Py_BuildValue("i",_result
);
1532 #define wxGrid_GetCursorRow(_swigobj) (_swigobj->GetCursorRow())
1533 static PyObject
*_wrap_wxGrid_GetCursorRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1534 PyObject
* _resultobj
;
1537 PyObject
* _argo0
= 0;
1538 char *_kwnames
[] = { "self", NULL
};
1541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetCursorRow",_kwnames
,&_argo0
))
1544 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1545 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
1546 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCursorRow. Expected _wxGrid_p.");
1551 wxPy_BEGIN_ALLOW_THREADS
;
1552 _result
= (int )wxGrid_GetCursorRow(_arg0
);
1554 wxPy_END_ALLOW_THREADS
;
1555 } _resultobj
= Py_BuildValue("i",_result
);
1559 #define wxGrid_GetEditable(_swigobj) (_swigobj->GetEditable())
1560 static PyObject
*_wrap_wxGrid_GetEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1561 PyObject
* _resultobj
;
1564 PyObject
* _argo0
= 0;
1565 char *_kwnames
[] = { "self", NULL
};
1568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetEditable",_kwnames
,&_argo0
))
1571 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1572 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
1573 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetEditable. Expected _wxGrid_p.");
1578 wxPy_BEGIN_ALLOW_THREADS
;
1579 _result
= (bool )wxGrid_GetEditable(_arg0
);
1581 wxPy_END_ALLOW_THREADS
;
1582 } _resultobj
= Py_BuildValue("i",_result
);
1586 #define wxGrid_GetHorizScrollBar(_swigobj) (_swigobj->GetHorizScrollBar())
1587 static PyObject
*_wrap_wxGrid_GetHorizScrollBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1588 PyObject
* _resultobj
;
1589 wxScrollBar
* _result
;
1591 PyObject
* _argo0
= 0;
1592 char *_kwnames
[] = { "self", NULL
};
1596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetHorizScrollBar",_kwnames
,&_argo0
))
1599 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1600 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
1601 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetHorizScrollBar. Expected _wxGrid_p.");
1606 wxPy_BEGIN_ALLOW_THREADS
;
1607 _result
= (wxScrollBar
*)wxGrid_GetHorizScrollBar(_arg0
);
1609 wxPy_END_ALLOW_THREADS
;
1611 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScrollBar_p");
1612 _resultobj
= Py_BuildValue("s",_ptemp
);
1615 _resultobj
= Py_None
;
1620 #define wxGrid_GetLabelAlignment(_swigobj,_swigarg0) (_swigobj->GetLabelAlignment(_swigarg0))
1621 static PyObject
*_wrap_wxGrid_GetLabelAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1622 PyObject
* _resultobj
;
1626 PyObject
* _argo0
= 0;
1627 char *_kwnames
[] = { "self","orientation", NULL
};
1630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_GetLabelAlignment",_kwnames
,&_argo0
,&_arg1
))
1633 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1634 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
1635 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetLabelAlignment. Expected _wxGrid_p.");
1640 wxPy_BEGIN_ALLOW_THREADS
;
1641 _result
= (int )wxGrid_GetLabelAlignment(_arg0
,_arg1
);
1643 wxPy_END_ALLOW_THREADS
;
1644 } _resultobj
= Py_BuildValue("i",_result
);
1648 #define wxGrid_GetLabelBackgroundColour(_swigobj) (_swigobj->GetLabelBackgroundColour())
1649 static PyObject
*_wrap_wxGrid_GetLabelBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1650 PyObject
* _resultobj
;
1653 PyObject
* _argo0
= 0;
1654 char *_kwnames
[] = { "self", NULL
};
1658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetLabelBackgroundColour",_kwnames
,&_argo0
))
1661 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1662 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
1663 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetLabelBackgroundColour. Expected _wxGrid_p.");
1668 wxPy_BEGIN_ALLOW_THREADS
;
1669 wxColour
& _result_ref
= wxGrid_GetLabelBackgroundColour(_arg0
);
1670 _result
= (wxColour
*) &_result_ref
;
1672 wxPy_END_ALLOW_THREADS
;
1674 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
1675 _resultobj
= Py_BuildValue("s",_ptemp
);
1678 _resultobj
= Py_None
;
1683 #define wxGrid_GetLabelSize(_swigobj,_swigarg0) (_swigobj->GetLabelSize(_swigarg0))
1684 static PyObject
*_wrap_wxGrid_GetLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1685 PyObject
* _resultobj
;
1689 PyObject
* _argo0
= 0;
1690 char *_kwnames
[] = { "self","orientation", NULL
};
1693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_GetLabelSize",_kwnames
,&_argo0
,&_arg1
))
1696 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1697 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
1698 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetLabelSize. Expected _wxGrid_p.");
1703 wxPy_BEGIN_ALLOW_THREADS
;
1704 _result
= (int )wxGrid_GetLabelSize(_arg0
,_arg1
);
1706 wxPy_END_ALLOW_THREADS
;
1707 } _resultobj
= Py_BuildValue("i",_result
);
1711 #define wxGrid_GetLabelTextColour(_swigobj) (_swigobj->GetLabelTextColour())
1712 static PyObject
*_wrap_wxGrid_GetLabelTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1713 PyObject
* _resultobj
;
1716 PyObject
* _argo0
= 0;
1717 char *_kwnames
[] = { "self", NULL
};
1721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetLabelTextColour",_kwnames
,&_argo0
))
1724 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1725 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
1726 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetLabelTextColour. Expected _wxGrid_p.");
1731 wxPy_BEGIN_ALLOW_THREADS
;
1732 wxColour
& _result_ref
= wxGrid_GetLabelTextColour(_arg0
);
1733 _result
= (wxColour
*) &_result_ref
;
1735 wxPy_END_ALLOW_THREADS
;
1737 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
1738 _resultobj
= Py_BuildValue("s",_ptemp
);
1741 _resultobj
= Py_None
;
1746 #define wxGrid_GetLabelTextFont(_swigobj) (_swigobj->GetLabelTextFont())
1747 static PyObject
*_wrap_wxGrid_GetLabelTextFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1748 PyObject
* _resultobj
;
1751 PyObject
* _argo0
= 0;
1752 char *_kwnames
[] = { "self", NULL
};
1756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetLabelTextFont",_kwnames
,&_argo0
))
1759 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1760 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
1761 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetLabelTextFont. Expected _wxGrid_p.");
1766 wxPy_BEGIN_ALLOW_THREADS
;
1767 wxFont
& _result_ref
= wxGrid_GetLabelTextFont(_arg0
);
1768 _result
= (wxFont
*) &_result_ref
;
1770 wxPy_END_ALLOW_THREADS
;
1772 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
1773 _resultobj
= Py_BuildValue("s",_ptemp
);
1776 _resultobj
= Py_None
;
1781 #define wxGrid_GetLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetLabelValue(_swigarg0,_swigarg1))
1782 static PyObject
*_wrap_wxGrid_GetLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1783 PyObject
* _resultobj
;
1788 PyObject
* _argo0
= 0;
1789 char *_kwnames
[] = { "self","orientation","pos", NULL
};
1792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_GetLabelValue",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
1795 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1796 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
1797 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetLabelValue. Expected _wxGrid_p.");
1802 wxPy_BEGIN_ALLOW_THREADS
;
1803 wxString
& _result_ref
= wxGrid_GetLabelValue(_arg0
,_arg1
,_arg2
);
1804 _result
= (wxString
*) &_result_ref
;
1806 wxPy_END_ALLOW_THREADS
;
1808 _resultobj
= PyString_FromString(WXSTRINGCAST (*_result
));
1813 #define wxGrid_GetRowHeight(_swigobj,_swigarg0) (_swigobj->GetRowHeight(_swigarg0))
1814 static PyObject
*_wrap_wxGrid_GetRowHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1815 PyObject
* _resultobj
;
1819 PyObject
* _argo0
= 0;
1820 char *_kwnames
[] = { "self","row", NULL
};
1823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_GetRowHeight",_kwnames
,&_argo0
,&_arg1
))
1826 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1827 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
1828 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetRowHeight. Expected _wxGrid_p.");
1833 wxPy_BEGIN_ALLOW_THREADS
;
1834 _result
= (int )wxGrid_GetRowHeight(_arg0
,_arg1
);
1836 wxPy_END_ALLOW_THREADS
;
1837 } _resultobj
= Py_BuildValue("i",_result
);
1841 #define wxGrid_GetRows(_swigobj) (_swigobj->GetRows())
1842 static PyObject
*_wrap_wxGrid_GetRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1843 PyObject
* _resultobj
;
1846 PyObject
* _argo0
= 0;
1847 char *_kwnames
[] = { "self", NULL
};
1850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetRows",_kwnames
,&_argo0
))
1853 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1854 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
1855 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetRows. Expected _wxGrid_p.");
1860 wxPy_BEGIN_ALLOW_THREADS
;
1861 _result
= (int )wxGrid_GetRows(_arg0
);
1863 wxPy_END_ALLOW_THREADS
;
1864 } _resultobj
= Py_BuildValue("i",_result
);
1868 #define wxGrid_GetScrollPosX(_swigobj) (_swigobj->GetScrollPosX())
1869 static PyObject
*_wrap_wxGrid_GetScrollPosX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1870 PyObject
* _resultobj
;
1873 PyObject
* _argo0
= 0;
1874 char *_kwnames
[] = { "self", NULL
};
1877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetScrollPosX",_kwnames
,&_argo0
))
1880 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1881 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
1882 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetScrollPosX. Expected _wxGrid_p.");
1887 wxPy_BEGIN_ALLOW_THREADS
;
1888 _result
= (int )wxGrid_GetScrollPosX(_arg0
);
1890 wxPy_END_ALLOW_THREADS
;
1891 } _resultobj
= Py_BuildValue("i",_result
);
1895 #define wxGrid_GetScrollPosY(_swigobj) (_swigobj->GetScrollPosY())
1896 static PyObject
*_wrap_wxGrid_GetScrollPosY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1897 PyObject
* _resultobj
;
1900 PyObject
* _argo0
= 0;
1901 char *_kwnames
[] = { "self", NULL
};
1904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetScrollPosY",_kwnames
,&_argo0
))
1907 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1908 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
1909 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetScrollPosY. Expected _wxGrid_p.");
1914 wxPy_BEGIN_ALLOW_THREADS
;
1915 _result
= (int )wxGrid_GetScrollPosY(_arg0
);
1917 wxPy_END_ALLOW_THREADS
;
1918 } _resultobj
= Py_BuildValue("i",_result
);
1922 #define wxGrid_GetTextItem(_swigobj) (_swigobj->GetTextItem())
1923 static PyObject
*_wrap_wxGrid_GetTextItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1924 PyObject
* _resultobj
;
1925 wxTextCtrl
* _result
;
1927 PyObject
* _argo0
= 0;
1928 char *_kwnames
[] = { "self", NULL
};
1932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetTextItem",_kwnames
,&_argo0
))
1935 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1936 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
1937 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetTextItem. Expected _wxGrid_p.");
1942 wxPy_BEGIN_ALLOW_THREADS
;
1943 _result
= (wxTextCtrl
*)wxGrid_GetTextItem(_arg0
);
1945 wxPy_END_ALLOW_THREADS
;
1947 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTextCtrl_p");
1948 _resultobj
= Py_BuildValue("s",_ptemp
);
1951 _resultobj
= Py_None
;
1956 #define wxGrid_GetVertScrollBar(_swigobj) (_swigobj->GetVertScrollBar())
1957 static PyObject
*_wrap_wxGrid_GetVertScrollBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1958 PyObject
* _resultobj
;
1959 wxScrollBar
* _result
;
1961 PyObject
* _argo0
= 0;
1962 char *_kwnames
[] = { "self", NULL
};
1966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetVertScrollBar",_kwnames
,&_argo0
))
1969 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1970 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
1971 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetVertScrollBar. Expected _wxGrid_p.");
1976 wxPy_BEGIN_ALLOW_THREADS
;
1977 _result
= (wxScrollBar
*)wxGrid_GetVertScrollBar(_arg0
);
1979 wxPy_END_ALLOW_THREADS
;
1981 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScrollBar_p");
1982 _resultobj
= Py_BuildValue("s",_ptemp
);
1985 _resultobj
= Py_None
;
1990 #define wxGrid_InsertCols(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertCols(_swigarg0,_swigarg1,_swigarg2))
1991 static PyObject
*_wrap_wxGrid_InsertCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1992 PyObject
* _resultobj
;
1995 int _arg1
= (int ) 0;
1996 int _arg2
= (int ) 1;
1997 bool _arg3
= (bool ) TRUE
;
1998 PyObject
* _argo0
= 0;
1999 int tempbool3
= (int) TRUE
;
2000 char *_kwnames
[] = { "self","pos","n","updateLabels", NULL
};
2003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iii:wxGrid_InsertCols",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
2006 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2007 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
2008 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_InsertCols. Expected _wxGrid_p.");
2012 _arg3
= (bool ) tempbool3
;
2014 wxPy_BEGIN_ALLOW_THREADS
;
2015 _result
= (bool )wxGrid_InsertCols(_arg0
,_arg1
,_arg2
,_arg3
);
2017 wxPy_END_ALLOW_THREADS
;
2018 } _resultobj
= Py_BuildValue("i",_result
);
2022 #define wxGrid_InsertRows(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertRows(_swigarg0,_swigarg1,_swigarg2))
2023 static PyObject
*_wrap_wxGrid_InsertRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2024 PyObject
* _resultobj
;
2027 int _arg1
= (int ) 0;
2028 int _arg2
= (int ) 1;
2029 bool _arg3
= (bool ) TRUE
;
2030 PyObject
* _argo0
= 0;
2031 int tempbool3
= (int) TRUE
;
2032 char *_kwnames
[] = { "self","pos","n","updateLabels", NULL
};
2035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iii:wxGrid_InsertRows",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
2038 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2039 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
2040 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_InsertRows. Expected _wxGrid_p.");
2044 _arg3
= (bool ) tempbool3
;
2046 wxPy_BEGIN_ALLOW_THREADS
;
2047 _result
= (bool )wxGrid_InsertRows(_arg0
,_arg1
,_arg2
,_arg3
);
2049 wxPy_END_ALLOW_THREADS
;
2050 } _resultobj
= Py_BuildValue("i",_result
);
2054 #define wxGrid_OnActivate(_swigobj,_swigarg0) (_swigobj->OnActivate(_swigarg0))
2055 static PyObject
*_wrap_wxGrid_OnActivate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2056 PyObject
* _resultobj
;
2059 PyObject
* _argo0
= 0;
2061 char *_kwnames
[] = { "self","active", NULL
};
2064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_OnActivate",_kwnames
,&_argo0
,&tempbool1
))
2067 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2068 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
2069 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_OnActivate. Expected _wxGrid_p.");
2073 _arg1
= (bool ) tempbool1
;
2075 wxPy_BEGIN_ALLOW_THREADS
;
2076 wxGrid_OnActivate(_arg0
,_arg1
);
2078 wxPy_END_ALLOW_THREADS
;
2079 } Py_INCREF(Py_None
);
2080 _resultobj
= Py_None
;
2084 #define wxGrid_SetCellAlignment(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellAlignment(_swigarg0,_swigarg1,_swigarg2))
2085 static PyObject
*_wrap_wxGrid_SetCellAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2086 PyObject
* _resultobj
;
2091 PyObject
* _argo0
= 0;
2092 char *_kwnames
[] = { "self","alignment","row","col", NULL
};
2095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiii:wxGrid_SetCellAlignment",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
2098 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2099 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
2100 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellAlignment. Expected _wxGrid_p.");
2105 wxPy_BEGIN_ALLOW_THREADS
;
2106 wxGrid_SetCellAlignment(_arg0
,_arg1
,_arg2
,_arg3
);
2108 wxPy_END_ALLOW_THREADS
;
2109 } Py_INCREF(Py_None
);
2110 _resultobj
= Py_None
;
2114 #define wxGrid_SetDefCellAlignment(_swigobj,_swigarg0) (_swigobj->SetCellAlignment(_swigarg0))
2115 static PyObject
*_wrap_wxGrid_SetDefCellAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2116 PyObject
* _resultobj
;
2119 PyObject
* _argo0
= 0;
2120 char *_kwnames
[] = { "self","alignment", NULL
};
2123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_SetDefCellAlignment",_kwnames
,&_argo0
,&_arg1
))
2126 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2127 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
2128 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetDefCellAlignment. Expected _wxGrid_p.");
2133 wxPy_BEGIN_ALLOW_THREADS
;
2134 wxGrid_SetDefCellAlignment(_arg0
,_arg1
);
2136 wxPy_END_ALLOW_THREADS
;
2137 } Py_INCREF(Py_None
);
2138 _resultobj
= Py_None
;
2142 #define wxGrid_SetCellBackgroundColour(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellBackgroundColour(_swigarg0,_swigarg1,_swigarg2))
2143 static PyObject
*_wrap_wxGrid_SetCellBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2144 PyObject
* _resultobj
;
2149 PyObject
* _argo0
= 0;
2150 PyObject
* _argo1
= 0;
2151 char *_kwnames
[] = { "self","colour","row","col", NULL
};
2154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxGrid_SetCellBackgroundColour",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
2157 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2158 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
2159 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellBackgroundColour. Expected _wxGrid_p.");
2164 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2165 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxColour_p")) {
2166 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_SetCellBackgroundColour. Expected _wxColour_p.");
2171 wxPy_BEGIN_ALLOW_THREADS
;
2172 wxGrid_SetCellBackgroundColour(_arg0
,*_arg1
,_arg2
,_arg3
);
2174 wxPy_END_ALLOW_THREADS
;
2175 } Py_INCREF(Py_None
);
2176 _resultobj
= Py_None
;
2180 #define wxGrid_SetDefCellBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetCellBackgroundColour(_swigarg0))
2181 static PyObject
*_wrap_wxGrid_SetDefCellBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2182 PyObject
* _resultobj
;
2185 PyObject
* _argo0
= 0;
2186 PyObject
* _argo1
= 0;
2187 char *_kwnames
[] = { "self","colour", NULL
};
2190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetDefCellBackgroundColour",_kwnames
,&_argo0
,&_argo1
))
2193 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2194 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
2195 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetDefCellBackgroundColour. Expected _wxGrid_p.");
2200 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2201 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxColour_p")) {
2202 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_SetDefCellBackgroundColour. Expected _wxColour_p.");
2207 wxPy_BEGIN_ALLOW_THREADS
;
2208 wxGrid_SetDefCellBackgroundColour(_arg0
,*_arg1
);
2210 wxPy_END_ALLOW_THREADS
;
2211 } Py_INCREF(Py_None
);
2212 _resultobj
= Py_None
;
2216 #define wxGrid_SetCellTextColour(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellTextColour(_swigarg0,_swigarg1,_swigarg2))
2217 static PyObject
*_wrap_wxGrid_SetCellTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2218 PyObject
* _resultobj
;
2223 PyObject
* _argo0
= 0;
2224 PyObject
* _argo1
= 0;
2225 char *_kwnames
[] = { "self","colour","row","col", NULL
};
2228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxGrid_SetCellTextColour",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
2231 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2232 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
2233 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellTextColour. Expected _wxGrid_p.");
2238 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2239 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxColour_p")) {
2240 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_SetCellTextColour. Expected _wxColour_p.");
2245 wxPy_BEGIN_ALLOW_THREADS
;
2246 wxGrid_SetCellTextColour(_arg0
,*_arg1
,_arg2
,_arg3
);
2248 wxPy_END_ALLOW_THREADS
;
2249 } Py_INCREF(Py_None
);
2250 _resultobj
= Py_None
;
2254 #define wxGrid_SetDefCellTextColour(_swigobj,_swigarg0) (_swigobj->SetCellTextColour(_swigarg0))
2255 static PyObject
*_wrap_wxGrid_SetDefCellTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2256 PyObject
* _resultobj
;
2259 PyObject
* _argo0
= 0;
2260 PyObject
* _argo1
= 0;
2261 char *_kwnames
[] = { "self","colour", NULL
};
2264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetDefCellTextColour",_kwnames
,&_argo0
,&_argo1
))
2267 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2268 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
2269 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetDefCellTextColour. Expected _wxGrid_p.");
2274 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2275 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxColour_p")) {
2276 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_SetDefCellTextColour. Expected _wxColour_p.");
2281 wxPy_BEGIN_ALLOW_THREADS
;
2282 wxGrid_SetDefCellTextColour(_arg0
,*_arg1
);
2284 wxPy_END_ALLOW_THREADS
;
2285 } Py_INCREF(Py_None
);
2286 _resultobj
= Py_None
;
2290 #define wxGrid_SetCellTextFont(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellTextFont(_swigarg0,_swigarg1,_swigarg2))
2291 static PyObject
*_wrap_wxGrid_SetCellTextFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2292 PyObject
* _resultobj
;
2297 PyObject
* _argo0
= 0;
2298 PyObject
* _argo1
= 0;
2299 char *_kwnames
[] = { "self","font","row","col", NULL
};
2302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxGrid_SetCellTextFont",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
2305 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2306 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
2307 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellTextFont. Expected _wxGrid_p.");
2312 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2313 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
2314 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_SetCellTextFont. Expected _wxFont_p.");
2319 wxPy_BEGIN_ALLOW_THREADS
;
2320 wxGrid_SetCellTextFont(_arg0
,*_arg1
,_arg2
,_arg3
);
2322 wxPy_END_ALLOW_THREADS
;
2323 } Py_INCREF(Py_None
);
2324 _resultobj
= Py_None
;
2328 #define wxGrid_SetDefCellTextFont(_swigobj,_swigarg0) (_swigobj->SetCellTextFont(_swigarg0))
2329 static PyObject
*_wrap_wxGrid_SetDefCellTextFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2330 PyObject
* _resultobj
;
2333 PyObject
* _argo0
= 0;
2334 PyObject
* _argo1
= 0;
2335 char *_kwnames
[] = { "self","font", NULL
};
2338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetDefCellTextFont",_kwnames
,&_argo0
,&_argo1
))
2341 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2342 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
2343 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetDefCellTextFont. Expected _wxGrid_p.");
2348 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2349 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
2350 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_SetDefCellTextFont. Expected _wxFont_p.");
2355 wxPy_BEGIN_ALLOW_THREADS
;
2356 wxGrid_SetDefCellTextFont(_arg0
,*_arg1
);
2358 wxPy_END_ALLOW_THREADS
;
2359 } Py_INCREF(Py_None
);
2360 _resultobj
= Py_None
;
2364 #define wxGrid_SetCellValue(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellValue(_swigarg0,_swigarg1,_swigarg2))
2365 static PyObject
*_wrap_wxGrid_SetCellValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2366 PyObject
* _resultobj
;
2371 PyObject
* _argo0
= 0;
2372 PyObject
* _obj1
= 0;
2373 char *_kwnames
[] = { "self","val","row","col", NULL
};
2376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxGrid_SetCellValue",_kwnames
,&_argo0
,&_obj1
,&_arg2
,&_arg3
))
2379 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2380 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
2381 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellValue. Expected _wxGrid_p.");
2386 if (!PyString_Check(_obj1
)) {
2387 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2390 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
2393 wxPy_BEGIN_ALLOW_THREADS
;
2394 wxGrid_SetCellValue(_arg0
,*_arg1
,_arg2
,_arg3
);
2396 wxPy_END_ALLOW_THREADS
;
2397 } Py_INCREF(Py_None
);
2398 _resultobj
= Py_None
;
2406 #define wxGrid_SetColumnWidth(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColumnWidth(_swigarg0,_swigarg1))
2407 static PyObject
*_wrap_wxGrid_SetColumnWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2408 PyObject
* _resultobj
;
2412 PyObject
* _argo0
= 0;
2413 char *_kwnames
[] = { "self","col","width", NULL
};
2416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_SetColumnWidth",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2419 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2420 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
2421 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetColumnWidth. Expected _wxGrid_p.");
2426 wxPy_BEGIN_ALLOW_THREADS
;
2427 wxGrid_SetColumnWidth(_arg0
,_arg1
,_arg2
);
2429 wxPy_END_ALLOW_THREADS
;
2430 } Py_INCREF(Py_None
);
2431 _resultobj
= Py_None
;
2435 #define wxGrid_SetDividerPen(_swigobj,_swigarg0) (_swigobj->SetDividerPen(_swigarg0))
2436 static PyObject
*_wrap_wxGrid_SetDividerPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2437 PyObject
* _resultobj
;
2440 PyObject
* _argo0
= 0;
2441 PyObject
* _argo1
= 0;
2442 char *_kwnames
[] = { "self","pen", NULL
};
2445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetDividerPen",_kwnames
,&_argo0
,&_argo1
))
2448 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2449 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
2450 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetDividerPen. Expected _wxGrid_p.");
2455 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2456 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPen_p")) {
2457 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_SetDividerPen. Expected _wxPen_p.");
2462 wxPy_BEGIN_ALLOW_THREADS
;
2463 wxGrid_SetDividerPen(_arg0
,*_arg1
);
2465 wxPy_END_ALLOW_THREADS
;
2466 } Py_INCREF(Py_None
);
2467 _resultobj
= Py_None
;
2471 #define wxGrid_SetEditable(_swigobj,_swigarg0) (_swigobj->SetEditable(_swigarg0))
2472 static PyObject
*_wrap_wxGrid_SetEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2473 PyObject
* _resultobj
;
2476 PyObject
* _argo0
= 0;
2478 char *_kwnames
[] = { "self","editable", NULL
};
2481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_SetEditable",_kwnames
,&_argo0
,&tempbool1
))
2484 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2485 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
2486 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetEditable. Expected _wxGrid_p.");
2490 _arg1
= (bool ) tempbool1
;
2492 wxPy_BEGIN_ALLOW_THREADS
;
2493 wxGrid_SetEditable(_arg0
,_arg1
);
2495 wxPy_END_ALLOW_THREADS
;
2496 } Py_INCREF(Py_None
);
2497 _resultobj
= Py_None
;
2501 #define wxGrid_SetGridCursor(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetGridCursor(_swigarg0,_swigarg1))
2502 static PyObject
*_wrap_wxGrid_SetGridCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2503 PyObject
* _resultobj
;
2507 PyObject
* _argo0
= 0;
2508 char *_kwnames
[] = { "self","row","col", NULL
};
2511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_SetGridCursor",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2514 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2515 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
2516 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetGridCursor. Expected _wxGrid_p.");
2521 wxPy_BEGIN_ALLOW_THREADS
;
2522 wxGrid_SetGridCursor(_arg0
,_arg1
,_arg2
);
2524 wxPy_END_ALLOW_THREADS
;
2525 } Py_INCREF(Py_None
);
2526 _resultobj
= Py_None
;
2530 #define wxGrid_SetLabelAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabelAlignment(_swigarg0,_swigarg1))
2531 static PyObject
*_wrap_wxGrid_SetLabelAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2532 PyObject
* _resultobj
;
2536 PyObject
* _argo0
= 0;
2537 char *_kwnames
[] = { "self","orientation","alignment", NULL
};
2540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_SetLabelAlignment",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2543 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2544 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
2545 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetLabelAlignment. Expected _wxGrid_p.");
2550 wxPy_BEGIN_ALLOW_THREADS
;
2551 wxGrid_SetLabelAlignment(_arg0
,_arg1
,_arg2
);
2553 wxPy_END_ALLOW_THREADS
;
2554 } Py_INCREF(Py_None
);
2555 _resultobj
= Py_None
;
2559 #define wxGrid_SetLabelBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetLabelBackgroundColour(_swigarg0))
2560 static PyObject
*_wrap_wxGrid_SetLabelBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2561 PyObject
* _resultobj
;
2564 PyObject
* _argo0
= 0;
2565 PyObject
* _argo1
= 0;
2566 char *_kwnames
[] = { "self","value", NULL
};
2569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetLabelBackgroundColour",_kwnames
,&_argo0
,&_argo1
))
2572 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2573 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
2574 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetLabelBackgroundColour. Expected _wxGrid_p.");
2579 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2580 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxColour_p")) {
2581 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_SetLabelBackgroundColour. Expected _wxColour_p.");
2586 wxPy_BEGIN_ALLOW_THREADS
;
2587 wxGrid_SetLabelBackgroundColour(_arg0
,*_arg1
);
2589 wxPy_END_ALLOW_THREADS
;
2590 } Py_INCREF(Py_None
);
2591 _resultobj
= Py_None
;
2595 #define wxGrid_SetLabelSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabelSize(_swigarg0,_swigarg1))
2596 static PyObject
*_wrap_wxGrid_SetLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2597 PyObject
* _resultobj
;
2601 PyObject
* _argo0
= 0;
2602 char *_kwnames
[] = { "self","orientation","size", NULL
};
2605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_SetLabelSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2608 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2609 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
2610 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetLabelSize. Expected _wxGrid_p.");
2615 wxPy_BEGIN_ALLOW_THREADS
;
2616 wxGrid_SetLabelSize(_arg0
,_arg1
,_arg2
);
2618 wxPy_END_ALLOW_THREADS
;
2619 } Py_INCREF(Py_None
);
2620 _resultobj
= Py_None
;
2624 #define wxGrid_SetLabelTextColour(_swigobj,_swigarg0) (_swigobj->SetLabelTextColour(_swigarg0))
2625 static PyObject
*_wrap_wxGrid_SetLabelTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2626 PyObject
* _resultobj
;
2629 PyObject
* _argo0
= 0;
2630 PyObject
* _argo1
= 0;
2631 char *_kwnames
[] = { "self","value", NULL
};
2634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetLabelTextColour",_kwnames
,&_argo0
,&_argo1
))
2637 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2638 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
2639 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetLabelTextColour. Expected _wxGrid_p.");
2644 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2645 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxColour_p")) {
2646 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_SetLabelTextColour. Expected _wxColour_p.");
2651 wxPy_BEGIN_ALLOW_THREADS
;
2652 wxGrid_SetLabelTextColour(_arg0
,*_arg1
);
2654 wxPy_END_ALLOW_THREADS
;
2655 } Py_INCREF(Py_None
);
2656 _resultobj
= Py_None
;
2660 #define wxGrid_SetLabelTextFont(_swigobj,_swigarg0) (_swigobj->SetLabelTextFont(_swigarg0))
2661 static PyObject
*_wrap_wxGrid_SetLabelTextFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2662 PyObject
* _resultobj
;
2665 PyObject
* _argo0
= 0;
2666 PyObject
* _argo1
= 0;
2667 char *_kwnames
[] = { "self","font", NULL
};
2670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetLabelTextFont",_kwnames
,&_argo0
,&_argo1
))
2673 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2674 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
2675 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetLabelTextFont. Expected _wxGrid_p.");
2680 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2681 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
2682 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_SetLabelTextFont. Expected _wxFont_p.");
2687 wxPy_BEGIN_ALLOW_THREADS
;
2688 wxGrid_SetLabelTextFont(_arg0
,*_arg1
);
2690 wxPy_END_ALLOW_THREADS
;
2691 } Py_INCREF(Py_None
);
2692 _resultobj
= Py_None
;
2696 #define wxGrid_SetLabelValue(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetLabelValue(_swigarg0,_swigarg1,_swigarg2))
2697 static PyObject
*_wrap_wxGrid_SetLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2698 PyObject
* _resultobj
;
2703 PyObject
* _argo0
= 0;
2704 PyObject
* _obj2
= 0;
2705 char *_kwnames
[] = { "self","orientation","value","pos", NULL
};
2708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOi:wxGrid_SetLabelValue",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_arg3
))
2711 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2712 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
2713 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetLabelValue. Expected _wxGrid_p.");
2718 if (!PyString_Check(_obj2
)) {
2719 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2722 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
2725 wxPy_BEGIN_ALLOW_THREADS
;
2726 wxGrid_SetLabelValue(_arg0
,_arg1
,*_arg2
,_arg3
);
2728 wxPy_END_ALLOW_THREADS
;
2729 } Py_INCREF(Py_None
);
2730 _resultobj
= Py_None
;
2738 #define wxGrid_SetRowHeight(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowHeight(_swigarg0,_swigarg1))
2739 static PyObject
*_wrap_wxGrid_SetRowHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2740 PyObject
* _resultobj
;
2744 PyObject
* _argo0
= 0;
2745 char *_kwnames
[] = { "self","row","height", NULL
};
2748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_SetRowHeight",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2751 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2752 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
2753 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetRowHeight. Expected _wxGrid_p.");
2758 wxPy_BEGIN_ALLOW_THREADS
;
2759 wxGrid_SetRowHeight(_arg0
,_arg1
,_arg2
);
2761 wxPy_END_ALLOW_THREADS
;
2762 } Py_INCREF(Py_None
);
2763 _resultobj
= Py_None
;
2767 #define wxGrid_UpdateDimensions(_swigobj) (_swigobj->UpdateDimensions())
2768 static PyObject
*_wrap_wxGrid_UpdateDimensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2769 PyObject
* _resultobj
;
2771 PyObject
* _argo0
= 0;
2772 char *_kwnames
[] = { "self", NULL
};
2775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_UpdateDimensions",_kwnames
,&_argo0
))
2778 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2779 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
2780 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_UpdateDimensions. Expected _wxGrid_p.");
2785 wxPy_BEGIN_ALLOW_THREADS
;
2786 wxGrid_UpdateDimensions(_arg0
);
2788 wxPy_END_ALLOW_THREADS
;
2789 } Py_INCREF(Py_None
);
2790 _resultobj
= Py_None
;
2794 #define wxGrid_GetEditInPlace(_swigobj) (_swigobj->GetEditInPlace())
2795 static PyObject
*_wrap_wxGrid_GetEditInPlace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2796 PyObject
* _resultobj
;
2799 PyObject
* _argo0
= 0;
2800 char *_kwnames
[] = { "self", NULL
};
2803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetEditInPlace",_kwnames
,&_argo0
))
2806 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2807 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
2808 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetEditInPlace. Expected _wxGrid_p.");
2813 wxPy_BEGIN_ALLOW_THREADS
;
2814 _result
= (bool )wxGrid_GetEditInPlace(_arg0
);
2816 wxPy_END_ALLOW_THREADS
;
2817 } _resultobj
= Py_BuildValue("i",_result
);
2821 #define wxGrid_SetEditInPlace(_swigobj,_swigarg0) (_swigobj->SetEditInPlace(_swigarg0))
2822 static PyObject
*_wrap_wxGrid_SetEditInPlace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2823 PyObject
* _resultobj
;
2825 int _arg1
= (int ) TRUE
;
2826 PyObject
* _argo0
= 0;
2827 char *_kwnames
[] = { "self","edit", NULL
};
2830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxGrid_SetEditInPlace",_kwnames
,&_argo0
,&_arg1
))
2833 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2834 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
2835 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetEditInPlace. Expected _wxGrid_p.");
2840 wxPy_BEGIN_ALLOW_THREADS
;
2841 wxGrid_SetEditInPlace(_arg0
,_arg1
);
2843 wxPy_END_ALLOW_THREADS
;
2844 } Py_INCREF(Py_None
);
2845 _resultobj
= Py_None
;
2849 static void *SwigwxGridEventTowxEvent(void *ptr
) {
2852 src
= (wxGridEvent
*) ptr
;
2853 dest
= (wxEvent
*) src
;
2854 return (void *) dest
;
2857 #define wxGridEvent_m_row_set(_swigobj,_swigval) (_swigobj->m_row = _swigval,_swigval)
2858 static PyObject
*_wrap_wxGridEvent_m_row_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2859 PyObject
* _resultobj
;
2861 wxGridEvent
* _arg0
;
2863 PyObject
* _argo0
= 0;
2864 char *_kwnames
[] = { "self","m_row", NULL
};
2867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridEvent_m_row_set",_kwnames
,&_argo0
,&_arg1
))
2870 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2871 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
2872 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_m_row_set. Expected _wxGridEvent_p.");
2877 wxPy_BEGIN_ALLOW_THREADS
;
2878 _result
= (int )wxGridEvent_m_row_set(_arg0
,_arg1
);
2880 wxPy_END_ALLOW_THREADS
;
2881 } _resultobj
= Py_BuildValue("i",_result
);
2885 #define wxGridEvent_m_row_get(_swigobj) ((int ) _swigobj->m_row)
2886 static PyObject
*_wrap_wxGridEvent_m_row_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2887 PyObject
* _resultobj
;
2889 wxGridEvent
* _arg0
;
2890 PyObject
* _argo0
= 0;
2891 char *_kwnames
[] = { "self", NULL
};
2894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_m_row_get",_kwnames
,&_argo0
))
2897 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2898 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
2899 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_m_row_get. Expected _wxGridEvent_p.");
2904 wxPy_BEGIN_ALLOW_THREADS
;
2905 _result
= (int )wxGridEvent_m_row_get(_arg0
);
2907 wxPy_END_ALLOW_THREADS
;
2908 } _resultobj
= Py_BuildValue("i",_result
);
2912 #define wxGridEvent_m_col_set(_swigobj,_swigval) (_swigobj->m_col = _swigval,_swigval)
2913 static PyObject
*_wrap_wxGridEvent_m_col_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2914 PyObject
* _resultobj
;
2916 wxGridEvent
* _arg0
;
2918 PyObject
* _argo0
= 0;
2919 char *_kwnames
[] = { "self","m_col", NULL
};
2922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridEvent_m_col_set",_kwnames
,&_argo0
,&_arg1
))
2925 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2926 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
2927 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_m_col_set. Expected _wxGridEvent_p.");
2932 wxPy_BEGIN_ALLOW_THREADS
;
2933 _result
= (int )wxGridEvent_m_col_set(_arg0
,_arg1
);
2935 wxPy_END_ALLOW_THREADS
;
2936 } _resultobj
= Py_BuildValue("i",_result
);
2940 #define wxGridEvent_m_col_get(_swigobj) ((int ) _swigobj->m_col)
2941 static PyObject
*_wrap_wxGridEvent_m_col_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2942 PyObject
* _resultobj
;
2944 wxGridEvent
* _arg0
;
2945 PyObject
* _argo0
= 0;
2946 char *_kwnames
[] = { "self", NULL
};
2949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_m_col_get",_kwnames
,&_argo0
))
2952 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2953 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
2954 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_m_col_get. Expected _wxGridEvent_p.");
2959 wxPy_BEGIN_ALLOW_THREADS
;
2960 _result
= (int )wxGridEvent_m_col_get(_arg0
);
2962 wxPy_END_ALLOW_THREADS
;
2963 } _resultobj
= Py_BuildValue("i",_result
);
2967 #define wxGridEvent_m_x_set(_swigobj,_swigval) (_swigobj->m_x = _swigval,_swigval)
2968 static PyObject
*_wrap_wxGridEvent_m_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2969 PyObject
* _resultobj
;
2971 wxGridEvent
* _arg0
;
2973 PyObject
* _argo0
= 0;
2974 char *_kwnames
[] = { "self","m_x", NULL
};
2977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridEvent_m_x_set",_kwnames
,&_argo0
,&_arg1
))
2980 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2981 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
2982 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_m_x_set. Expected _wxGridEvent_p.");
2987 wxPy_BEGIN_ALLOW_THREADS
;
2988 _result
= (int )wxGridEvent_m_x_set(_arg0
,_arg1
);
2990 wxPy_END_ALLOW_THREADS
;
2991 } _resultobj
= Py_BuildValue("i",_result
);
2995 #define wxGridEvent_m_x_get(_swigobj) ((int ) _swigobj->m_x)
2996 static PyObject
*_wrap_wxGridEvent_m_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2997 PyObject
* _resultobj
;
2999 wxGridEvent
* _arg0
;
3000 PyObject
* _argo0
= 0;
3001 char *_kwnames
[] = { "self", NULL
};
3004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_m_x_get",_kwnames
,&_argo0
))
3007 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3008 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
3009 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_m_x_get. Expected _wxGridEvent_p.");
3014 wxPy_BEGIN_ALLOW_THREADS
;
3015 _result
= (int )wxGridEvent_m_x_get(_arg0
);
3017 wxPy_END_ALLOW_THREADS
;
3018 } _resultobj
= Py_BuildValue("i",_result
);
3022 #define wxGridEvent_m_y_set(_swigobj,_swigval) (_swigobj->m_y = _swigval,_swigval)
3023 static PyObject
*_wrap_wxGridEvent_m_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3024 PyObject
* _resultobj
;
3026 wxGridEvent
* _arg0
;
3028 PyObject
* _argo0
= 0;
3029 char *_kwnames
[] = { "self","m_y", NULL
};
3032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridEvent_m_y_set",_kwnames
,&_argo0
,&_arg1
))
3035 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3036 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
3037 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_m_y_set. Expected _wxGridEvent_p.");
3042 wxPy_BEGIN_ALLOW_THREADS
;
3043 _result
= (int )wxGridEvent_m_y_set(_arg0
,_arg1
);
3045 wxPy_END_ALLOW_THREADS
;
3046 } _resultobj
= Py_BuildValue("i",_result
);
3050 #define wxGridEvent_m_y_get(_swigobj) ((int ) _swigobj->m_y)
3051 static PyObject
*_wrap_wxGridEvent_m_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3052 PyObject
* _resultobj
;
3054 wxGridEvent
* _arg0
;
3055 PyObject
* _argo0
= 0;
3056 char *_kwnames
[] = { "self", NULL
};
3059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_m_y_get",_kwnames
,&_argo0
))
3062 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3063 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
3064 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_m_y_get. Expected _wxGridEvent_p.");
3069 wxPy_BEGIN_ALLOW_THREADS
;
3070 _result
= (int )wxGridEvent_m_y_get(_arg0
);
3072 wxPy_END_ALLOW_THREADS
;
3073 } _resultobj
= Py_BuildValue("i",_result
);
3077 #define wxGridEvent_m_control_set(_swigobj,_swigval) (_swigobj->m_control = _swigval,_swigval)
3078 static PyObject
*_wrap_wxGridEvent_m_control_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3079 PyObject
* _resultobj
;
3081 wxGridEvent
* _arg0
;
3083 PyObject
* _argo0
= 0;
3085 char *_kwnames
[] = { "self","m_control", NULL
};
3088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridEvent_m_control_set",_kwnames
,&_argo0
,&tempbool1
))
3091 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3092 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
3093 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_m_control_set. Expected _wxGridEvent_p.");
3097 _arg1
= (bool ) tempbool1
;
3099 wxPy_BEGIN_ALLOW_THREADS
;
3100 _result
= (bool )wxGridEvent_m_control_set(_arg0
,_arg1
);
3102 wxPy_END_ALLOW_THREADS
;
3103 } _resultobj
= Py_BuildValue("i",_result
);
3107 #define wxGridEvent_m_control_get(_swigobj) ((bool ) _swigobj->m_control)
3108 static PyObject
*_wrap_wxGridEvent_m_control_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3109 PyObject
* _resultobj
;
3111 wxGridEvent
* _arg0
;
3112 PyObject
* _argo0
= 0;
3113 char *_kwnames
[] = { "self", NULL
};
3116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_m_control_get",_kwnames
,&_argo0
))
3119 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3120 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
3121 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_m_control_get. Expected _wxGridEvent_p.");
3126 wxPy_BEGIN_ALLOW_THREADS
;
3127 _result
= (bool )wxGridEvent_m_control_get(_arg0
);
3129 wxPy_END_ALLOW_THREADS
;
3130 } _resultobj
= Py_BuildValue("i",_result
);
3134 #define wxGridEvent_m_shift_set(_swigobj,_swigval) (_swigobj->m_shift = _swigval,_swigval)
3135 static PyObject
*_wrap_wxGridEvent_m_shift_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3136 PyObject
* _resultobj
;
3138 wxGridEvent
* _arg0
;
3140 PyObject
* _argo0
= 0;
3142 char *_kwnames
[] = { "self","m_shift", NULL
};
3145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridEvent_m_shift_set",_kwnames
,&_argo0
,&tempbool1
))
3148 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3149 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
3150 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_m_shift_set. Expected _wxGridEvent_p.");
3154 _arg1
= (bool ) tempbool1
;
3156 wxPy_BEGIN_ALLOW_THREADS
;
3157 _result
= (bool )wxGridEvent_m_shift_set(_arg0
,_arg1
);
3159 wxPy_END_ALLOW_THREADS
;
3160 } _resultobj
= Py_BuildValue("i",_result
);
3164 #define wxGridEvent_m_shift_get(_swigobj) ((bool ) _swigobj->m_shift)
3165 static PyObject
*_wrap_wxGridEvent_m_shift_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3166 PyObject
* _resultobj
;
3168 wxGridEvent
* _arg0
;
3169 PyObject
* _argo0
= 0;
3170 char *_kwnames
[] = { "self", NULL
};
3173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_m_shift_get",_kwnames
,&_argo0
))
3176 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3177 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
3178 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_m_shift_get. Expected _wxGridEvent_p.");
3183 wxPy_BEGIN_ALLOW_THREADS
;
3184 _result
= (bool )wxGridEvent_m_shift_get(_arg0
);
3186 wxPy_END_ALLOW_THREADS
;
3187 } _resultobj
= Py_BuildValue("i",_result
);
3191 #define wxGridEvent_m_cell_set(_swigobj,_swigval) (_swigobj->m_cell = _swigval,_swigval)
3192 static PyObject
*_wrap_wxGridEvent_m_cell_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3193 PyObject
* _resultobj
;
3194 wxGridCell
* _result
;
3195 wxGridEvent
* _arg0
;
3197 PyObject
* _argo0
= 0;
3198 PyObject
* _argo1
= 0;
3199 char *_kwnames
[] = { "self","m_cell", NULL
};
3203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridEvent_m_cell_set",_kwnames
,&_argo0
,&_argo1
))
3206 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3207 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
3208 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_m_cell_set. Expected _wxGridEvent_p.");
3213 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3214 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCell_p")) {
3215 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridEvent_m_cell_set. Expected _wxGridCell_p.");
3220 wxPy_BEGIN_ALLOW_THREADS
;
3221 _result
= (wxGridCell
*)wxGridEvent_m_cell_set(_arg0
,_arg1
);
3223 wxPy_END_ALLOW_THREADS
;
3225 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCell_p");
3226 _resultobj
= Py_BuildValue("s",_ptemp
);
3229 _resultobj
= Py_None
;
3234 #define wxGridEvent_m_cell_get(_swigobj) ((wxGridCell *) _swigobj->m_cell)
3235 static PyObject
*_wrap_wxGridEvent_m_cell_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3236 PyObject
* _resultobj
;
3237 wxGridCell
* _result
;
3238 wxGridEvent
* _arg0
;
3239 PyObject
* _argo0
= 0;
3240 char *_kwnames
[] = { "self", NULL
};
3244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_m_cell_get",_kwnames
,&_argo0
))
3247 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3248 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
3249 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_m_cell_get. Expected _wxGridEvent_p.");
3254 wxPy_BEGIN_ALLOW_THREADS
;
3255 _result
= (wxGridCell
*)wxGridEvent_m_cell_get(_arg0
);
3257 wxPy_END_ALLOW_THREADS
;
3259 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCell_p");
3260 _resultobj
= Py_BuildValue("s",_ptemp
);
3263 _resultobj
= Py_None
;
3268 #define wxGridEvent_GetRow(_swigobj) (_swigobj->GetRow())
3269 static PyObject
*_wrap_wxGridEvent_GetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3270 PyObject
* _resultobj
;
3272 wxGridEvent
* _arg0
;
3273 PyObject
* _argo0
= 0;
3274 char *_kwnames
[] = { "self", NULL
};
3277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_GetRow",_kwnames
,&_argo0
))
3280 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3281 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
3282 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_GetRow. Expected _wxGridEvent_p.");
3287 wxPy_BEGIN_ALLOW_THREADS
;
3288 _result
= (int )wxGridEvent_GetRow(_arg0
);
3290 wxPy_END_ALLOW_THREADS
;
3291 } _resultobj
= Py_BuildValue("i",_result
);
3295 #define wxGridEvent_GetCol(_swigobj) (_swigobj->GetCol())
3296 static PyObject
*_wrap_wxGridEvent_GetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3297 PyObject
* _resultobj
;
3299 wxGridEvent
* _arg0
;
3300 PyObject
* _argo0
= 0;
3301 char *_kwnames
[] = { "self", NULL
};
3304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_GetCol",_kwnames
,&_argo0
))
3307 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3308 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
3309 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_GetCol. Expected _wxGridEvent_p.");
3314 wxPy_BEGIN_ALLOW_THREADS
;
3315 _result
= (int )wxGridEvent_GetCol(_arg0
);
3317 wxPy_END_ALLOW_THREADS
;
3318 } _resultobj
= Py_BuildValue("i",_result
);
3322 #define wxGridEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
3323 static PyObject
*_wrap_wxGridEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3324 PyObject
* _resultobj
;
3326 wxGridEvent
* _arg0
;
3327 PyObject
* _argo0
= 0;
3328 char *_kwnames
[] = { "self", NULL
};
3332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_GetPosition",_kwnames
,&_argo0
))
3335 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3336 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
3337 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_GetPosition. Expected _wxGridEvent_p.");
3342 wxPy_BEGIN_ALLOW_THREADS
;
3343 _result
= new wxPoint (wxGridEvent_GetPosition(_arg0
));
3345 wxPy_END_ALLOW_THREADS
;
3346 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
3347 _resultobj
= Py_BuildValue("s",_ptemp
);
3351 #define wxGridEvent_ControlDown(_swigobj) (_swigobj->ControlDown())
3352 static PyObject
*_wrap_wxGridEvent_ControlDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3353 PyObject
* _resultobj
;
3355 wxGridEvent
* _arg0
;
3356 PyObject
* _argo0
= 0;
3357 char *_kwnames
[] = { "self", NULL
};
3360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_ControlDown",_kwnames
,&_argo0
))
3363 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3364 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
3365 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_ControlDown. Expected _wxGridEvent_p.");
3370 wxPy_BEGIN_ALLOW_THREADS
;
3371 _result
= (bool )wxGridEvent_ControlDown(_arg0
);
3373 wxPy_END_ALLOW_THREADS
;
3374 } _resultobj
= Py_BuildValue("i",_result
);
3378 #define wxGridEvent_ShiftDown(_swigobj) (_swigobj->ShiftDown())
3379 static PyObject
*_wrap_wxGridEvent_ShiftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3380 PyObject
* _resultobj
;
3382 wxGridEvent
* _arg0
;
3383 PyObject
* _argo0
= 0;
3384 char *_kwnames
[] = { "self", NULL
};
3387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_ShiftDown",_kwnames
,&_argo0
))
3390 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3391 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
3392 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_ShiftDown. Expected _wxGridEvent_p.");
3397 wxPy_BEGIN_ALLOW_THREADS
;
3398 _result
= (bool )wxGridEvent_ShiftDown(_arg0
);
3400 wxPy_END_ALLOW_THREADS
;
3401 } _resultobj
= Py_BuildValue("i",_result
);
3405 #define wxGridEvent_GetCell(_swigobj) (_swigobj->GetCell())
3406 static PyObject
*_wrap_wxGridEvent_GetCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3407 PyObject
* _resultobj
;
3408 wxGridCell
* _result
;
3409 wxGridEvent
* _arg0
;
3410 PyObject
* _argo0
= 0;
3411 char *_kwnames
[] = { "self", NULL
};
3415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_GetCell",_kwnames
,&_argo0
))
3418 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3419 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
3420 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_GetCell. Expected _wxGridEvent_p.");
3425 wxPy_BEGIN_ALLOW_THREADS
;
3426 _result
= (wxGridCell
*)wxGridEvent_GetCell(_arg0
);
3428 wxPy_END_ALLOW_THREADS
;
3430 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCell_p");
3431 _resultobj
= Py_BuildValue("s",_ptemp
);
3434 _resultobj
= Py_None
;
3439 static void *SwigwxNotebookEventTowxNotifyEvent(void *ptr
) {
3440 wxNotebookEvent
*src
;
3441 wxNotifyEvent
*dest
;
3442 src
= (wxNotebookEvent
*) ptr
;
3443 dest
= (wxNotifyEvent
*) src
;
3444 return (void *) dest
;
3447 static void *SwigwxNotebookEventTowxCommandEvent(void *ptr
) {
3448 wxNotebookEvent
*src
;
3449 wxCommandEvent
*dest
;
3450 src
= (wxNotebookEvent
*) ptr
;
3451 dest
= (wxCommandEvent
*) src
;
3452 return (void *) dest
;
3455 static void *SwigwxNotebookEventTowxEvent(void *ptr
) {
3456 wxNotebookEvent
*src
;
3458 src
= (wxNotebookEvent
*) ptr
;
3459 dest
= (wxEvent
*) src
;
3460 return (void *) dest
;
3463 #define wxNotebookEvent_GetSelection(_swigobj) (_swigobj->GetSelection())
3464 static PyObject
*_wrap_wxNotebookEvent_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3465 PyObject
* _resultobj
;
3467 wxNotebookEvent
* _arg0
;
3468 PyObject
* _argo0
= 0;
3469 char *_kwnames
[] = { "self", NULL
};
3472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebookEvent_GetSelection",_kwnames
,&_argo0
))
3475 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3476 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebookEvent_p")) {
3477 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebookEvent_GetSelection. Expected _wxNotebookEvent_p.");
3482 wxPy_BEGIN_ALLOW_THREADS
;
3483 _result
= (int )wxNotebookEvent_GetSelection(_arg0
);
3485 wxPy_END_ALLOW_THREADS
;
3486 } _resultobj
= Py_BuildValue("i",_result
);
3490 #define wxNotebookEvent_GetOldSelection(_swigobj) (_swigobj->GetOldSelection())
3491 static PyObject
*_wrap_wxNotebookEvent_GetOldSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3492 PyObject
* _resultobj
;
3494 wxNotebookEvent
* _arg0
;
3495 PyObject
* _argo0
= 0;
3496 char *_kwnames
[] = { "self", NULL
};
3499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebookEvent_GetOldSelection",_kwnames
,&_argo0
))
3502 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3503 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebookEvent_p")) {
3504 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebookEvent_GetOldSelection. Expected _wxNotebookEvent_p.");
3509 wxPy_BEGIN_ALLOW_THREADS
;
3510 _result
= (int )wxNotebookEvent_GetOldSelection(_arg0
);
3512 wxPy_END_ALLOW_THREADS
;
3513 } _resultobj
= Py_BuildValue("i",_result
);
3517 #define wxNotebookEvent_SetOldSelection(_swigobj,_swigarg0) (_swigobj->SetOldSelection(_swigarg0))
3518 static PyObject
*_wrap_wxNotebookEvent_SetOldSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3519 PyObject
* _resultobj
;
3520 wxNotebookEvent
* _arg0
;
3522 PyObject
* _argo0
= 0;
3523 char *_kwnames
[] = { "self","page", NULL
};
3526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNotebookEvent_SetOldSelection",_kwnames
,&_argo0
,&_arg1
))
3529 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3530 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebookEvent_p")) {
3531 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebookEvent_SetOldSelection. Expected _wxNotebookEvent_p.");
3536 wxPy_BEGIN_ALLOW_THREADS
;
3537 wxNotebookEvent_SetOldSelection(_arg0
,_arg1
);
3539 wxPy_END_ALLOW_THREADS
;
3540 } Py_INCREF(Py_None
);
3541 _resultobj
= Py_None
;
3545 #define wxNotebookEvent_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
3546 static PyObject
*_wrap_wxNotebookEvent_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3547 PyObject
* _resultobj
;
3548 wxNotebookEvent
* _arg0
;
3550 PyObject
* _argo0
= 0;
3551 char *_kwnames
[] = { "self","page", NULL
};
3554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNotebookEvent_SetSelection",_kwnames
,&_argo0
,&_arg1
))
3557 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3558 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebookEvent_p")) {
3559 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebookEvent_SetSelection. Expected _wxNotebookEvent_p.");
3564 wxPy_BEGIN_ALLOW_THREADS
;
3565 wxNotebookEvent_SetSelection(_arg0
,_arg1
);
3567 wxPy_END_ALLOW_THREADS
;
3568 } Py_INCREF(Py_None
);
3569 _resultobj
= Py_None
;
3573 static void *SwigwxNotebookTowxControl(void *ptr
) {
3576 src
= (wxNotebook
*) ptr
;
3577 dest
= (wxControl
*) src
;
3578 return (void *) dest
;
3581 static void *SwigwxNotebookTowxWindow(void *ptr
) {
3584 src
= (wxNotebook
*) ptr
;
3585 dest
= (wxWindow
*) src
;
3586 return (void *) dest
;
3589 static void *SwigwxNotebookTowxEvtHandler(void *ptr
) {
3592 src
= (wxNotebook
*) ptr
;
3593 dest
= (wxEvtHandler
*) src
;
3594 return (void *) dest
;
3597 #define new_wxNotebook(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxNotebook(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
3598 static PyObject
*_wrap_new_wxNotebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3599 PyObject
* _resultobj
;
3600 wxNotebook
* _result
;
3603 wxPoint
* _arg2
= (wxPoint
*) &wxPyDefaultPosition
;
3604 wxSize
* _arg3
= (wxSize
*) &wxPyDefaultSize
;
3605 long _arg4
= (long ) 0;
3606 char * _arg5
= (char *) "notebook";
3607 PyObject
* _argo0
= 0;
3609 PyObject
* _obj2
= 0;
3611 PyObject
* _obj3
= 0;
3612 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
3616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOls:new_wxNotebook",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
3619 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3620 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3621 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxNotebook. Expected _wxWindow_p.");
3628 if (! wxPoint_helper(_obj2
, &_arg2
))
3634 if (! wxSize_helper(_obj3
, &_arg3
))
3638 wxPy_BEGIN_ALLOW_THREADS
;
3639 _result
= (wxNotebook
*)new_wxNotebook(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
3641 wxPy_END_ALLOW_THREADS
;
3643 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxNotebook_p");
3644 _resultobj
= Py_BuildValue("s",_ptemp
);
3647 _resultobj
= Py_None
;
3652 #define wxNotebook_GetPageCount(_swigobj) (_swigobj->GetPageCount())
3653 static PyObject
*_wrap_wxNotebook_GetPageCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3654 PyObject
* _resultobj
;
3657 PyObject
* _argo0
= 0;
3658 char *_kwnames
[] = { "self", NULL
};
3661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebook_GetPageCount",_kwnames
,&_argo0
))
3664 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3665 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
3666 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_GetPageCount. Expected _wxNotebook_p.");
3671 wxPy_BEGIN_ALLOW_THREADS
;
3672 _result
= (int )wxNotebook_GetPageCount(_arg0
);
3674 wxPy_END_ALLOW_THREADS
;
3675 } _resultobj
= Py_BuildValue("i",_result
);
3679 #define wxNotebook_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
3680 static PyObject
*_wrap_wxNotebook_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3681 PyObject
* _resultobj
;
3685 PyObject
* _argo0
= 0;
3686 char *_kwnames
[] = { "self","nPage", NULL
};
3689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNotebook_SetSelection",_kwnames
,&_argo0
,&_arg1
))
3692 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3693 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
3694 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_SetSelection. Expected _wxNotebook_p.");
3699 wxPy_BEGIN_ALLOW_THREADS
;
3700 _result
= (int )wxNotebook_SetSelection(_arg0
,_arg1
);
3702 wxPy_END_ALLOW_THREADS
;
3703 } _resultobj
= Py_BuildValue("i",_result
);
3707 #define wxNotebook_AdvanceSelection(_swigobj,_swigarg0) (_swigobj->AdvanceSelection(_swigarg0))
3708 static PyObject
*_wrap_wxNotebook_AdvanceSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3709 PyObject
* _resultobj
;
3711 bool _arg1
= (bool ) TRUE
;
3712 PyObject
* _argo0
= 0;
3713 int tempbool1
= (int) TRUE
;
3714 char *_kwnames
[] = { "self","bForward", NULL
};
3717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxNotebook_AdvanceSelection",_kwnames
,&_argo0
,&tempbool1
))
3720 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3721 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
3722 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_AdvanceSelection. Expected _wxNotebook_p.");
3726 _arg1
= (bool ) tempbool1
;
3728 wxPy_BEGIN_ALLOW_THREADS
;
3729 wxNotebook_AdvanceSelection(_arg0
,_arg1
);
3731 wxPy_END_ALLOW_THREADS
;
3732 } Py_INCREF(Py_None
);
3733 _resultobj
= Py_None
;
3737 #define wxNotebook_GetSelection(_swigobj) (_swigobj->GetSelection())
3738 static PyObject
*_wrap_wxNotebook_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3739 PyObject
* _resultobj
;
3742 PyObject
* _argo0
= 0;
3743 char *_kwnames
[] = { "self", NULL
};
3746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebook_GetSelection",_kwnames
,&_argo0
))
3749 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3750 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
3751 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_GetSelection. Expected _wxNotebook_p.");
3756 wxPy_BEGIN_ALLOW_THREADS
;
3757 _result
= (int )wxNotebook_GetSelection(_arg0
);
3759 wxPy_END_ALLOW_THREADS
;
3760 } _resultobj
= Py_BuildValue("i",_result
);
3764 #define wxNotebook_SetPageText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetPageText(_swigarg0,_swigarg1))
3765 static PyObject
*_wrap_wxNotebook_SetPageText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3766 PyObject
* _resultobj
;
3771 PyObject
* _argo0
= 0;
3772 PyObject
* _obj2
= 0;
3773 char *_kwnames
[] = { "self","nPage","strText", NULL
};
3776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxNotebook_SetPageText",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
3779 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3780 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
3781 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_SetPageText. Expected _wxNotebook_p.");
3786 if (!PyString_Check(_obj2
)) {
3787 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3790 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
3793 wxPy_BEGIN_ALLOW_THREADS
;
3794 _result
= (bool )wxNotebook_SetPageText(_arg0
,_arg1
,*_arg2
);
3796 wxPy_END_ALLOW_THREADS
;
3797 } _resultobj
= Py_BuildValue("i",_result
);
3805 #define wxNotebook_GetPageText(_swigobj,_swigarg0) (_swigobj->GetPageText(_swigarg0))
3806 static PyObject
*_wrap_wxNotebook_GetPageText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3807 PyObject
* _resultobj
;
3811 PyObject
* _argo0
= 0;
3812 char *_kwnames
[] = { "self","nPage", NULL
};
3815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNotebook_GetPageText",_kwnames
,&_argo0
,&_arg1
))
3818 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3819 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
3820 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_GetPageText. Expected _wxNotebook_p.");
3825 wxPy_BEGIN_ALLOW_THREADS
;
3826 _result
= new wxString (wxNotebook_GetPageText(_arg0
,_arg1
));
3828 wxPy_END_ALLOW_THREADS
;
3830 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
3838 #define wxNotebook_SetImageList(_swigobj,_swigarg0) (_swigobj->SetImageList(_swigarg0))
3839 static PyObject
*_wrap_wxNotebook_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3840 PyObject
* _resultobj
;
3842 wxImageList
* _arg1
;
3843 PyObject
* _argo0
= 0;
3844 PyObject
* _argo1
= 0;
3845 char *_kwnames
[] = { "self","imageList", NULL
};
3848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxNotebook_SetImageList",_kwnames
,&_argo0
,&_argo1
))
3851 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3852 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
3853 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_SetImageList. Expected _wxNotebook_p.");
3858 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3859 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImageList_p")) {
3860 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxNotebook_SetImageList. Expected _wxImageList_p.");
3865 wxPy_BEGIN_ALLOW_THREADS
;
3866 wxNotebook_SetImageList(_arg0
,_arg1
);
3868 wxPy_END_ALLOW_THREADS
;
3869 } Py_INCREF(Py_None
);
3870 _resultobj
= Py_None
;
3874 #define wxNotebook_GetImageList(_swigobj) (_swigobj->GetImageList())
3875 static PyObject
*_wrap_wxNotebook_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3876 PyObject
* _resultobj
;
3877 wxImageList
* _result
;
3879 PyObject
* _argo0
= 0;
3880 char *_kwnames
[] = { "self", NULL
};
3884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebook_GetImageList",_kwnames
,&_argo0
))
3887 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3888 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
3889 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_GetImageList. Expected _wxNotebook_p.");
3894 wxPy_BEGIN_ALLOW_THREADS
;
3895 _result
= (wxImageList
*)wxNotebook_GetImageList(_arg0
);
3897 wxPy_END_ALLOW_THREADS
;
3899 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxImageList_p");
3900 _resultobj
= Py_BuildValue("s",_ptemp
);
3903 _resultobj
= Py_None
;
3908 #define wxNotebook_GetPageImage(_swigobj,_swigarg0) (_swigobj->GetPageImage(_swigarg0))
3909 static PyObject
*_wrap_wxNotebook_GetPageImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3910 PyObject
* _resultobj
;
3914 PyObject
* _argo0
= 0;
3915 char *_kwnames
[] = { "self","nPage", NULL
};
3918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNotebook_GetPageImage",_kwnames
,&_argo0
,&_arg1
))
3921 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3922 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
3923 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_GetPageImage. Expected _wxNotebook_p.");
3928 wxPy_BEGIN_ALLOW_THREADS
;
3929 _result
= (int )wxNotebook_GetPageImage(_arg0
,_arg1
);
3931 wxPy_END_ALLOW_THREADS
;
3932 } _resultobj
= Py_BuildValue("i",_result
);
3936 #define wxNotebook_SetPageImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetPageImage(_swigarg0,_swigarg1))
3937 static PyObject
*_wrap_wxNotebook_SetPageImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3938 PyObject
* _resultobj
;
3943 PyObject
* _argo0
= 0;
3944 char *_kwnames
[] = { "self","nPage","nImage", NULL
};
3947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxNotebook_SetPageImage",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3950 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3951 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
3952 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_SetPageImage. Expected _wxNotebook_p.");
3957 wxPy_BEGIN_ALLOW_THREADS
;
3958 _result
= (bool )wxNotebook_SetPageImage(_arg0
,_arg1
,_arg2
);
3960 wxPy_END_ALLOW_THREADS
;
3961 } _resultobj
= Py_BuildValue("i",_result
);
3965 #define wxNotebook_GetRowCount(_swigobj) (_swigobj->GetRowCount())
3966 static PyObject
*_wrap_wxNotebook_GetRowCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3967 PyObject
* _resultobj
;
3970 PyObject
* _argo0
= 0;
3971 char *_kwnames
[] = { "self", NULL
};
3974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebook_GetRowCount",_kwnames
,&_argo0
))
3977 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3978 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
3979 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_GetRowCount. Expected _wxNotebook_p.");
3984 wxPy_BEGIN_ALLOW_THREADS
;
3985 _result
= (int )wxNotebook_GetRowCount(_arg0
);
3987 wxPy_END_ALLOW_THREADS
;
3988 } _resultobj
= Py_BuildValue("i",_result
);
3992 #define wxNotebook_DeletePage(_swigobj,_swigarg0) (_swigobj->DeletePage(_swigarg0))
3993 static PyObject
*_wrap_wxNotebook_DeletePage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3994 PyObject
* _resultobj
;
3998 PyObject
* _argo0
= 0;
3999 char *_kwnames
[] = { "self","nPage", NULL
};
4002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNotebook_DeletePage",_kwnames
,&_argo0
,&_arg1
))
4005 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4006 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
4007 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_DeletePage. Expected _wxNotebook_p.");
4012 wxPy_BEGIN_ALLOW_THREADS
;
4013 _result
= (bool )wxNotebook_DeletePage(_arg0
,_arg1
);
4015 wxPy_END_ALLOW_THREADS
;
4016 } _resultobj
= Py_BuildValue("i",_result
);
4020 #define wxNotebook_RemovePage(_swigobj,_swigarg0) (_swigobj->RemovePage(_swigarg0))
4021 static PyObject
*_wrap_wxNotebook_RemovePage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4022 PyObject
* _resultobj
;
4026 PyObject
* _argo0
= 0;
4027 char *_kwnames
[] = { "self","nPage", NULL
};
4030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNotebook_RemovePage",_kwnames
,&_argo0
,&_arg1
))
4033 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4034 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
4035 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_RemovePage. Expected _wxNotebook_p.");
4040 wxPy_BEGIN_ALLOW_THREADS
;
4041 _result
= (bool )wxNotebook_RemovePage(_arg0
,_arg1
);
4043 wxPy_END_ALLOW_THREADS
;
4044 } _resultobj
= Py_BuildValue("i",_result
);
4048 #define wxNotebook_DeleteAllPages(_swigobj) (_swigobj->DeleteAllPages())
4049 static PyObject
*_wrap_wxNotebook_DeleteAllPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4050 PyObject
* _resultobj
;
4053 PyObject
* _argo0
= 0;
4054 char *_kwnames
[] = { "self", NULL
};
4057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebook_DeleteAllPages",_kwnames
,&_argo0
))
4060 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4061 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
4062 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_DeleteAllPages. Expected _wxNotebook_p.");
4067 wxPy_BEGIN_ALLOW_THREADS
;
4068 _result
= (bool )wxNotebook_DeleteAllPages(_arg0
);
4070 wxPy_END_ALLOW_THREADS
;
4071 } _resultobj
= Py_BuildValue("i",_result
);
4075 #define wxNotebook_AddPage(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->AddPage(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4076 static PyObject
*_wrap_wxNotebook_AddPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4077 PyObject
* _resultobj
;
4082 int _arg3
= (int ) FALSE
;
4083 int _arg4
= (int ) -1;
4084 PyObject
* _argo0
= 0;
4085 PyObject
* _argo1
= 0;
4086 PyObject
* _obj2
= 0;
4087 char *_kwnames
[] = { "self","pPage","strText","bSelect","imageId", NULL
};
4090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|ii:wxNotebook_AddPage",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_arg3
,&_arg4
))
4093 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4094 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
4095 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_AddPage. Expected _wxNotebook_p.");
4100 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4101 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4102 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxNotebook_AddPage. Expected _wxWindow_p.");
4107 if (!PyString_Check(_obj2
)) {
4108 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4111 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
4114 wxPy_BEGIN_ALLOW_THREADS
;
4115 _result
= (bool )wxNotebook_AddPage(_arg0
,_arg1
,*_arg2
,_arg3
,_arg4
);
4117 wxPy_END_ALLOW_THREADS
;
4118 } _resultobj
= Py_BuildValue("i",_result
);
4126 #define wxNotebook_InsertPage(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->InsertPage(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
4127 static PyObject
*_wrap_wxNotebook_InsertPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4128 PyObject
* _resultobj
;
4134 bool _arg4
= (bool ) FALSE
;
4135 int _arg5
= (int ) -1;
4136 PyObject
* _argo0
= 0;
4137 PyObject
* _argo2
= 0;
4138 PyObject
* _obj3
= 0;
4139 int tempbool4
= (int) FALSE
;
4140 char *_kwnames
[] = { "self","nPage","pPage","strText","bSelect","imageId", NULL
};
4143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOO|ii:wxNotebook_InsertPage",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_obj3
,&tempbool4
,&_arg5
))
4146 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4147 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
4148 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_InsertPage. Expected _wxNotebook_p.");
4153 if (_argo2
== Py_None
) { _arg2
= NULL
; }
4154 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
4155 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxNotebook_InsertPage. Expected _wxWindow_p.");
4160 if (!PyString_Check(_obj3
)) {
4161 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4164 _arg3
= new wxString(PyString_AsString(_obj3
), PyString_Size(_obj3
));
4166 _arg4
= (bool ) tempbool4
;
4168 wxPy_BEGIN_ALLOW_THREADS
;
4169 _result
= (bool )wxNotebook_InsertPage(_arg0
,_arg1
,_arg2
,*_arg3
,_arg4
,_arg5
);
4171 wxPy_END_ALLOW_THREADS
;
4172 } _resultobj
= Py_BuildValue("i",_result
);
4180 #define wxNotebook_GetPage(_swigobj,_swigarg0) (_swigobj->GetPage(_swigarg0))
4181 static PyObject
*_wrap_wxNotebook_GetPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4182 PyObject
* _resultobj
;
4186 PyObject
* _argo0
= 0;
4187 char *_kwnames
[] = { "self","nPage", NULL
};
4191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNotebook_GetPage",_kwnames
,&_argo0
,&_arg1
))
4194 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4195 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
4196 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_GetPage. Expected _wxNotebook_p.");
4201 wxPy_BEGIN_ALLOW_THREADS
;
4202 _result
= (wxWindow
*)wxNotebook_GetPage(_arg0
,_arg1
);
4204 wxPy_END_ALLOW_THREADS
;
4206 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
4207 _resultobj
= Py_BuildValue("s",_ptemp
);
4210 _resultobj
= Py_None
;
4215 static void wxNotebook_ResizeChildren(wxNotebook
*self
) {
4216 wxSizeEvent
evt(self
->GetClientSize());
4217 self
->GetEventHandler()->ProcessEvent(evt
);
4219 static PyObject
*_wrap_wxNotebook_ResizeChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4220 PyObject
* _resultobj
;
4222 PyObject
* _argo0
= 0;
4223 char *_kwnames
[] = { "self", NULL
};
4226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebook_ResizeChildren",_kwnames
,&_argo0
))
4229 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4230 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
4231 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_ResizeChildren. Expected _wxNotebook_p.");
4236 wxPy_BEGIN_ALLOW_THREADS
;
4237 wxNotebook_ResizeChildren(_arg0
);
4239 wxPy_END_ALLOW_THREADS
;
4240 } Py_INCREF(Py_None
);
4241 _resultobj
= Py_None
;
4245 static void *SwigwxSplitterEventTowxCommandEvent(void *ptr
) {
4246 wxSplitterEvent
*src
;
4247 wxCommandEvent
*dest
;
4248 src
= (wxSplitterEvent
*) ptr
;
4249 dest
= (wxCommandEvent
*) src
;
4250 return (void *) dest
;
4253 static void *SwigwxSplitterEventTowxEvent(void *ptr
) {
4254 wxSplitterEvent
*src
;
4256 src
= (wxSplitterEvent
*) ptr
;
4257 dest
= (wxEvent
*) src
;
4258 return (void *) dest
;
4261 #define wxSplitterEvent_GetSashPosition(_swigobj) (_swigobj->GetSashPosition())
4262 static PyObject
*_wrap_wxSplitterEvent_GetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4263 PyObject
* _resultobj
;
4265 wxSplitterEvent
* _arg0
;
4266 PyObject
* _argo0
= 0;
4267 char *_kwnames
[] = { "self", NULL
};
4270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterEvent_GetSashPosition",_kwnames
,&_argo0
))
4273 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4274 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterEvent_p")) {
4275 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterEvent_GetSashPosition. Expected _wxSplitterEvent_p.");
4280 wxPy_BEGIN_ALLOW_THREADS
;
4281 _result
= (int )wxSplitterEvent_GetSashPosition(_arg0
);
4283 wxPy_END_ALLOW_THREADS
;
4284 } _resultobj
= Py_BuildValue("i",_result
);
4288 #define wxSplitterEvent_GetX(_swigobj) (_swigobj->GetX())
4289 static PyObject
*_wrap_wxSplitterEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4290 PyObject
* _resultobj
;
4292 wxSplitterEvent
* _arg0
;
4293 PyObject
* _argo0
= 0;
4294 char *_kwnames
[] = { "self", NULL
};
4297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterEvent_GetX",_kwnames
,&_argo0
))
4300 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4301 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterEvent_p")) {
4302 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterEvent_GetX. Expected _wxSplitterEvent_p.");
4307 wxPy_BEGIN_ALLOW_THREADS
;
4308 _result
= (int )wxSplitterEvent_GetX(_arg0
);
4310 wxPy_END_ALLOW_THREADS
;
4311 } _resultobj
= Py_BuildValue("i",_result
);
4315 #define wxSplitterEvent_GetY(_swigobj) (_swigobj->GetY())
4316 static PyObject
*_wrap_wxSplitterEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4317 PyObject
* _resultobj
;
4319 wxSplitterEvent
* _arg0
;
4320 PyObject
* _argo0
= 0;
4321 char *_kwnames
[] = { "self", NULL
};
4324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterEvent_GetY",_kwnames
,&_argo0
))
4327 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4328 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterEvent_p")) {
4329 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterEvent_GetY. Expected _wxSplitterEvent_p.");
4334 wxPy_BEGIN_ALLOW_THREADS
;
4335 _result
= (int )wxSplitterEvent_GetY(_arg0
);
4337 wxPy_END_ALLOW_THREADS
;
4338 } _resultobj
= Py_BuildValue("i",_result
);
4342 #define wxSplitterEvent_GetWindowBeingRemoved(_swigobj) (_swigobj->GetWindowBeingRemoved())
4343 static PyObject
*_wrap_wxSplitterEvent_GetWindowBeingRemoved(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4344 PyObject
* _resultobj
;
4346 wxSplitterEvent
* _arg0
;
4347 PyObject
* _argo0
= 0;
4348 char *_kwnames
[] = { "self", NULL
};
4352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterEvent_GetWindowBeingRemoved",_kwnames
,&_argo0
))
4355 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4356 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterEvent_p")) {
4357 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterEvent_GetWindowBeingRemoved. Expected _wxSplitterEvent_p.");
4362 wxPy_BEGIN_ALLOW_THREADS
;
4363 _result
= (wxWindow
*)wxSplitterEvent_GetWindowBeingRemoved(_arg0
);
4365 wxPy_END_ALLOW_THREADS
;
4367 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
4368 _resultobj
= Py_BuildValue("s",_ptemp
);
4371 _resultobj
= Py_None
;
4376 #define wxSplitterEvent_SetSashPosition(_swigobj,_swigarg0) (_swigobj->SetSashPosition(_swigarg0))
4377 static PyObject
*_wrap_wxSplitterEvent_SetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4378 PyObject
* _resultobj
;
4379 wxSplitterEvent
* _arg0
;
4381 PyObject
* _argo0
= 0;
4382 char *_kwnames
[] = { "self","pos", NULL
};
4385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSplitterEvent_SetSashPosition",_kwnames
,&_argo0
,&_arg1
))
4388 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4389 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterEvent_p")) {
4390 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterEvent_SetSashPosition. Expected _wxSplitterEvent_p.");
4395 wxPy_BEGIN_ALLOW_THREADS
;
4396 wxSplitterEvent_SetSashPosition(_arg0
,_arg1
);
4398 wxPy_END_ALLOW_THREADS
;
4399 } Py_INCREF(Py_None
);
4400 _resultobj
= Py_None
;
4404 static void *SwigwxSplitterWindowTowxWindow(void *ptr
) {
4405 wxSplitterWindow
*src
;
4407 src
= (wxSplitterWindow
*) ptr
;
4408 dest
= (wxWindow
*) src
;
4409 return (void *) dest
;
4412 static void *SwigwxSplitterWindowTowxEvtHandler(void *ptr
) {
4413 wxSplitterWindow
*src
;
4415 src
= (wxSplitterWindow
*) ptr
;
4416 dest
= (wxEvtHandler
*) src
;
4417 return (void *) dest
;
4420 #define new_wxSplitterWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxSplitterWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4421 static PyObject
*_wrap_new_wxSplitterWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4422 PyObject
* _resultobj
;
4423 wxSplitterWindow
* _result
;
4426 wxPoint
* _arg2
= (wxPoint
*) &wxPyDefaultPosition
;
4427 wxSize
* _arg3
= (wxSize
*) &wxPyDefaultSize
;
4428 long _arg4
= (long ) wxSP_3D
|wxCLIP_CHILDREN
;
4429 char * _arg5
= (char *) "splitterWindow";
4430 PyObject
* _argo0
= 0;
4432 PyObject
* _obj2
= 0;
4434 PyObject
* _obj3
= 0;
4435 char *_kwnames
[] = { "parent","id","point","size","style","name", NULL
};
4439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOls:new_wxSplitterWindow",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
4442 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4443 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4444 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxSplitterWindow. Expected _wxWindow_p.");
4451 if (! wxPoint_helper(_obj2
, &_arg2
))
4457 if (! wxSize_helper(_obj3
, &_arg3
))
4461 wxPy_BEGIN_ALLOW_THREADS
;
4462 _result
= (wxSplitterWindow
*)new_wxSplitterWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
4464 wxPy_END_ALLOW_THREADS
;
4466 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSplitterWindow_p");
4467 _resultobj
= Py_BuildValue("s",_ptemp
);
4470 _resultobj
= Py_None
;
4475 #define wxSplitterWindow_GetBorderSize(_swigobj) (_swigobj->GetBorderSize())
4476 static PyObject
*_wrap_wxSplitterWindow_GetBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4477 PyObject
* _resultobj
;
4479 wxSplitterWindow
* _arg0
;
4480 PyObject
* _argo0
= 0;
4481 char *_kwnames
[] = { "self", NULL
};
4484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_GetBorderSize",_kwnames
,&_argo0
))
4487 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4488 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
4489 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetBorderSize. Expected _wxSplitterWindow_p.");
4494 wxPy_BEGIN_ALLOW_THREADS
;
4495 _result
= (int )wxSplitterWindow_GetBorderSize(_arg0
);
4497 wxPy_END_ALLOW_THREADS
;
4498 } _resultobj
= Py_BuildValue("i",_result
);
4502 #define wxSplitterWindow_GetMinimumPaneSize(_swigobj) (_swigobj->GetMinimumPaneSize())
4503 static PyObject
*_wrap_wxSplitterWindow_GetMinimumPaneSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4504 PyObject
* _resultobj
;
4506 wxSplitterWindow
* _arg0
;
4507 PyObject
* _argo0
= 0;
4508 char *_kwnames
[] = { "self", NULL
};
4511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_GetMinimumPaneSize",_kwnames
,&_argo0
))
4514 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4515 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
4516 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetMinimumPaneSize. Expected _wxSplitterWindow_p.");
4521 wxPy_BEGIN_ALLOW_THREADS
;
4522 _result
= (int )wxSplitterWindow_GetMinimumPaneSize(_arg0
);
4524 wxPy_END_ALLOW_THREADS
;
4525 } _resultobj
= Py_BuildValue("i",_result
);
4529 #define wxSplitterWindow_GetSashPosition(_swigobj) (_swigobj->GetSashPosition())
4530 static PyObject
*_wrap_wxSplitterWindow_GetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4531 PyObject
* _resultobj
;
4533 wxSplitterWindow
* _arg0
;
4534 PyObject
* _argo0
= 0;
4535 char *_kwnames
[] = { "self", NULL
};
4538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_GetSashPosition",_kwnames
,&_argo0
))
4541 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4542 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
4543 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetSashPosition. Expected _wxSplitterWindow_p.");
4548 wxPy_BEGIN_ALLOW_THREADS
;
4549 _result
= (int )wxSplitterWindow_GetSashPosition(_arg0
);
4551 wxPy_END_ALLOW_THREADS
;
4552 } _resultobj
= Py_BuildValue("i",_result
);
4556 #define wxSplitterWindow_GetSashSize(_swigobj) (_swigobj->GetSashSize())
4557 static PyObject
*_wrap_wxSplitterWindow_GetSashSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4558 PyObject
* _resultobj
;
4560 wxSplitterWindow
* _arg0
;
4561 PyObject
* _argo0
= 0;
4562 char *_kwnames
[] = { "self", NULL
};
4565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_GetSashSize",_kwnames
,&_argo0
))
4568 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4569 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
4570 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetSashSize. Expected _wxSplitterWindow_p.");
4575 wxPy_BEGIN_ALLOW_THREADS
;
4576 _result
= (int )wxSplitterWindow_GetSashSize(_arg0
);
4578 wxPy_END_ALLOW_THREADS
;
4579 } _resultobj
= Py_BuildValue("i",_result
);
4583 #define wxSplitterWindow_GetSplitMode(_swigobj) (_swigobj->GetSplitMode())
4584 static PyObject
*_wrap_wxSplitterWindow_GetSplitMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4585 PyObject
* _resultobj
;
4587 wxSplitterWindow
* _arg0
;
4588 PyObject
* _argo0
= 0;
4589 char *_kwnames
[] = { "self", NULL
};
4592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_GetSplitMode",_kwnames
,&_argo0
))
4595 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4596 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
4597 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetSplitMode. Expected _wxSplitterWindow_p.");
4602 wxPy_BEGIN_ALLOW_THREADS
;
4603 _result
= (int )wxSplitterWindow_GetSplitMode(_arg0
);
4605 wxPy_END_ALLOW_THREADS
;
4606 } _resultobj
= Py_BuildValue("i",_result
);
4610 #define wxSplitterWindow_GetWindow1(_swigobj) (_swigobj->GetWindow1())
4611 static PyObject
*_wrap_wxSplitterWindow_GetWindow1(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4612 PyObject
* _resultobj
;
4614 wxSplitterWindow
* _arg0
;
4615 PyObject
* _argo0
= 0;
4616 char *_kwnames
[] = { "self", NULL
};
4620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_GetWindow1",_kwnames
,&_argo0
))
4623 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4624 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
4625 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetWindow1. Expected _wxSplitterWindow_p.");
4630 wxPy_BEGIN_ALLOW_THREADS
;
4631 _result
= (wxWindow
*)wxSplitterWindow_GetWindow1(_arg0
);
4633 wxPy_END_ALLOW_THREADS
;
4635 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
4636 _resultobj
= Py_BuildValue("s",_ptemp
);
4639 _resultobj
= Py_None
;
4644 #define wxSplitterWindow_GetWindow2(_swigobj) (_swigobj->GetWindow2())
4645 static PyObject
*_wrap_wxSplitterWindow_GetWindow2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4646 PyObject
* _resultobj
;
4648 wxSplitterWindow
* _arg0
;
4649 PyObject
* _argo0
= 0;
4650 char *_kwnames
[] = { "self", NULL
};
4654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_GetWindow2",_kwnames
,&_argo0
))
4657 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4658 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
4659 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetWindow2. Expected _wxSplitterWindow_p.");
4664 wxPy_BEGIN_ALLOW_THREADS
;
4665 _result
= (wxWindow
*)wxSplitterWindow_GetWindow2(_arg0
);
4667 wxPy_END_ALLOW_THREADS
;
4669 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
4670 _resultobj
= Py_BuildValue("s",_ptemp
);
4673 _resultobj
= Py_None
;
4678 #define wxSplitterWindow_Initialize(_swigobj,_swigarg0) (_swigobj->Initialize(_swigarg0))
4679 static PyObject
*_wrap_wxSplitterWindow_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4680 PyObject
* _resultobj
;
4681 wxSplitterWindow
* _arg0
;
4683 PyObject
* _argo0
= 0;
4684 PyObject
* _argo1
= 0;
4685 char *_kwnames
[] = { "self","window", NULL
};
4688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxSplitterWindow_Initialize",_kwnames
,&_argo0
,&_argo1
))
4691 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4692 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
4693 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_Initialize. Expected _wxSplitterWindow_p.");
4698 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4699 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4700 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSplitterWindow_Initialize. Expected _wxWindow_p.");
4705 wxPy_BEGIN_ALLOW_THREADS
;
4706 wxSplitterWindow_Initialize(_arg0
,_arg1
);
4708 wxPy_END_ALLOW_THREADS
;
4709 } Py_INCREF(Py_None
);
4710 _resultobj
= Py_None
;
4714 #define wxSplitterWindow_IsSplit(_swigobj) (_swigobj->IsSplit())
4715 static PyObject
*_wrap_wxSplitterWindow_IsSplit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4716 PyObject
* _resultobj
;
4718 wxSplitterWindow
* _arg0
;
4719 PyObject
* _argo0
= 0;
4720 char *_kwnames
[] = { "self", NULL
};
4723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_IsSplit",_kwnames
,&_argo0
))
4726 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4727 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
4728 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_IsSplit. Expected _wxSplitterWindow_p.");
4733 wxPy_BEGIN_ALLOW_THREADS
;
4734 _result
= (bool )wxSplitterWindow_IsSplit(_arg0
);
4736 wxPy_END_ALLOW_THREADS
;
4737 } _resultobj
= Py_BuildValue("i",_result
);
4741 #define wxSplitterWindow_ReplaceWindow(_swigobj,_swigarg0,_swigarg1) (_swigobj->ReplaceWindow(_swigarg0,_swigarg1))
4742 static PyObject
*_wrap_wxSplitterWindow_ReplaceWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4743 PyObject
* _resultobj
;
4745 wxSplitterWindow
* _arg0
;
4748 PyObject
* _argo0
= 0;
4749 PyObject
* _argo1
= 0;
4750 PyObject
* _argo2
= 0;
4751 char *_kwnames
[] = { "self","winOld","winNew", NULL
};
4754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxSplitterWindow_ReplaceWindow",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
4757 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4758 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
4759 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_ReplaceWindow. Expected _wxSplitterWindow_p.");
4764 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4765 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4766 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSplitterWindow_ReplaceWindow. Expected _wxWindow_p.");
4771 if (_argo2
== Py_None
) { _arg2
= NULL
; }
4772 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
4773 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxSplitterWindow_ReplaceWindow. Expected _wxWindow_p.");
4778 wxPy_BEGIN_ALLOW_THREADS
;
4779 _result
= (bool )wxSplitterWindow_ReplaceWindow(_arg0
,_arg1
,_arg2
);
4781 wxPy_END_ALLOW_THREADS
;
4782 } _resultobj
= Py_BuildValue("i",_result
);
4786 #define wxSplitterWindow_SetBorderSize(_swigobj,_swigarg0) (_swigobj->SetBorderSize(_swigarg0))
4787 static PyObject
*_wrap_wxSplitterWindow_SetBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4788 PyObject
* _resultobj
;
4789 wxSplitterWindow
* _arg0
;
4791 PyObject
* _argo0
= 0;
4792 char *_kwnames
[] = { "self","width", NULL
};
4795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSplitterWindow_SetBorderSize",_kwnames
,&_argo0
,&_arg1
))
4798 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4799 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
4800 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SetBorderSize. Expected _wxSplitterWindow_p.");
4805 wxPy_BEGIN_ALLOW_THREADS
;
4806 wxSplitterWindow_SetBorderSize(_arg0
,_arg1
);
4808 wxPy_END_ALLOW_THREADS
;
4809 } Py_INCREF(Py_None
);
4810 _resultobj
= Py_None
;
4814 #define wxSplitterWindow_SetSashPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSashPosition(_swigarg0,_swigarg1))
4815 static PyObject
*_wrap_wxSplitterWindow_SetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4816 PyObject
* _resultobj
;
4817 wxSplitterWindow
* _arg0
;
4819 int _arg2
= (int ) TRUE
;
4820 PyObject
* _argo0
= 0;
4821 char *_kwnames
[] = { "self","position","redraw", NULL
};
4824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxSplitterWindow_SetSashPosition",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
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_SetSashPosition. Expected _wxSplitterWindow_p.");
4834 wxPy_BEGIN_ALLOW_THREADS
;
4835 wxSplitterWindow_SetSashPosition(_arg0
,_arg1
,_arg2
);
4837 wxPy_END_ALLOW_THREADS
;
4838 } Py_INCREF(Py_None
);
4839 _resultobj
= Py_None
;
4843 #define wxSplitterWindow_SetSashSize(_swigobj,_swigarg0) (_swigobj->SetSashSize(_swigarg0))
4844 static PyObject
*_wrap_wxSplitterWindow_SetSashSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4845 PyObject
* _resultobj
;
4846 wxSplitterWindow
* _arg0
;
4848 PyObject
* _argo0
= 0;
4849 char *_kwnames
[] = { "self","width", NULL
};
4852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSplitterWindow_SetSashSize",_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_SetSashSize. Expected _wxSplitterWindow_p.");
4862 wxPy_BEGIN_ALLOW_THREADS
;
4863 wxSplitterWindow_SetSashSize(_arg0
,_arg1
);
4865 wxPy_END_ALLOW_THREADS
;
4866 } Py_INCREF(Py_None
);
4867 _resultobj
= Py_None
;
4871 #define wxSplitterWindow_SetMinimumPaneSize(_swigobj,_swigarg0) (_swigobj->SetMinimumPaneSize(_swigarg0))
4872 static PyObject
*_wrap_wxSplitterWindow_SetMinimumPaneSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4873 PyObject
* _resultobj
;
4874 wxSplitterWindow
* _arg0
;
4876 PyObject
* _argo0
= 0;
4877 char *_kwnames
[] = { "self","paneSize", NULL
};
4880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSplitterWindow_SetMinimumPaneSize",_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_SetMinimumPaneSize. Expected _wxSplitterWindow_p.");
4890 wxPy_BEGIN_ALLOW_THREADS
;
4891 wxSplitterWindow_SetMinimumPaneSize(_arg0
,_arg1
);
4893 wxPy_END_ALLOW_THREADS
;
4894 } Py_INCREF(Py_None
);
4895 _resultobj
= Py_None
;
4899 #define wxSplitterWindow_SetSplitMode(_swigobj,_swigarg0) (_swigobj->SetSplitMode(_swigarg0))
4900 static PyObject
*_wrap_wxSplitterWindow_SetSplitMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4901 PyObject
* _resultobj
;
4902 wxSplitterWindow
* _arg0
;
4904 PyObject
* _argo0
= 0;
4905 char *_kwnames
[] = { "self","mode", NULL
};
4908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSplitterWindow_SetSplitMode",_kwnames
,&_argo0
,&_arg1
))
4911 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4912 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
4913 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SetSplitMode. Expected _wxSplitterWindow_p.");
4918 wxPy_BEGIN_ALLOW_THREADS
;
4919 wxSplitterWindow_SetSplitMode(_arg0
,_arg1
);
4921 wxPy_END_ALLOW_THREADS
;
4922 } Py_INCREF(Py_None
);
4923 _resultobj
= Py_None
;
4927 #define wxSplitterWindow_SplitHorizontally(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SplitHorizontally(_swigarg0,_swigarg1,_swigarg2))
4928 static PyObject
*_wrap_wxSplitterWindow_SplitHorizontally(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4929 PyObject
* _resultobj
;
4931 wxSplitterWindow
* _arg0
;
4934 int _arg3
= (int ) 0;
4935 PyObject
* _argo0
= 0;
4936 PyObject
* _argo1
= 0;
4937 PyObject
* _argo2
= 0;
4938 char *_kwnames
[] = { "self","window1","window2","sashPosition", NULL
};
4941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|i:wxSplitterWindow_SplitHorizontally",_kwnames
,&_argo0
,&_argo1
,&_argo2
,&_arg3
))
4944 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4945 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
4946 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SplitHorizontally. Expected _wxSplitterWindow_p.");
4951 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4952 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4953 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSplitterWindow_SplitHorizontally. Expected _wxWindow_p.");
4958 if (_argo2
== Py_None
) { _arg2
= NULL
; }
4959 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
4960 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxSplitterWindow_SplitHorizontally. Expected _wxWindow_p.");
4965 wxPy_BEGIN_ALLOW_THREADS
;
4966 _result
= (bool )wxSplitterWindow_SplitHorizontally(_arg0
,_arg1
,_arg2
,_arg3
);
4968 wxPy_END_ALLOW_THREADS
;
4969 } _resultobj
= Py_BuildValue("i",_result
);
4973 #define wxSplitterWindow_SplitVertically(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SplitVertically(_swigarg0,_swigarg1,_swigarg2))
4974 static PyObject
*_wrap_wxSplitterWindow_SplitVertically(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4975 PyObject
* _resultobj
;
4977 wxSplitterWindow
* _arg0
;
4980 int _arg3
= (int ) 0;
4981 PyObject
* _argo0
= 0;
4982 PyObject
* _argo1
= 0;
4983 PyObject
* _argo2
= 0;
4984 char *_kwnames
[] = { "self","window1","window2","sashPosition", NULL
};
4987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|i:wxSplitterWindow_SplitVertically",_kwnames
,&_argo0
,&_argo1
,&_argo2
,&_arg3
))
4990 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4991 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
4992 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SplitVertically. Expected _wxSplitterWindow_p.");
4997 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4998 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4999 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSplitterWindow_SplitVertically. Expected _wxWindow_p.");
5004 if (_argo2
== Py_None
) { _arg2
= NULL
; }
5005 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
5006 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxSplitterWindow_SplitVertically. Expected _wxWindow_p.");
5011 wxPy_BEGIN_ALLOW_THREADS
;
5012 _result
= (bool )wxSplitterWindow_SplitVertically(_arg0
,_arg1
,_arg2
,_arg3
);
5014 wxPy_END_ALLOW_THREADS
;
5015 } _resultobj
= Py_BuildValue("i",_result
);
5019 #define wxSplitterWindow_Unsplit(_swigobj,_swigarg0) (_swigobj->Unsplit(_swigarg0))
5020 static PyObject
*_wrap_wxSplitterWindow_Unsplit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5021 PyObject
* _resultobj
;
5023 wxSplitterWindow
* _arg0
;
5024 wxWindow
* _arg1
= (wxWindow
*) NULL
;
5025 PyObject
* _argo0
= 0;
5026 PyObject
* _argo1
= 0;
5027 char *_kwnames
[] = { "self","toRemove", NULL
};
5030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxSplitterWindow_Unsplit",_kwnames
,&_argo0
,&_argo1
))
5033 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5034 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
5035 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_Unsplit. Expected _wxSplitterWindow_p.");
5040 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5041 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
5042 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSplitterWindow_Unsplit. Expected _wxWindow_p.");
5047 wxPy_BEGIN_ALLOW_THREADS
;
5048 _result
= (bool )wxSplitterWindow_Unsplit(_arg0
,_arg1
);
5050 wxPy_END_ALLOW_THREADS
;
5051 } _resultobj
= Py_BuildValue("i",_result
);
5055 static void *SwigwxTaskBarIconTowxEvtHandler(void *ptr
) {
5058 src
= (wxTaskBarIcon
*) ptr
;
5059 dest
= (wxEvtHandler
*) src
;
5060 return (void *) dest
;
5063 #define new_wxTaskBarIcon() (new wxTaskBarIcon())
5064 static PyObject
*_wrap_new_wxTaskBarIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5065 PyObject
* _resultobj
;
5066 wxTaskBarIcon
* _result
;
5067 char *_kwnames
[] = { NULL
};
5071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxTaskBarIcon",_kwnames
))
5074 wxPy_BEGIN_ALLOW_THREADS
;
5075 _result
= (wxTaskBarIcon
*)new_wxTaskBarIcon();
5077 wxPy_END_ALLOW_THREADS
;
5079 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTaskBarIcon_p");
5080 _resultobj
= Py_BuildValue("s",_ptemp
);
5083 _resultobj
= Py_None
;
5088 #define delete_wxTaskBarIcon(_swigobj) (delete _swigobj)
5089 static PyObject
*_wrap_delete_wxTaskBarIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5090 PyObject
* _resultobj
;
5091 wxTaskBarIcon
* _arg0
;
5092 PyObject
* _argo0
= 0;
5093 char *_kwnames
[] = { "self", NULL
};
5096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxTaskBarIcon",_kwnames
,&_argo0
))
5099 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5100 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTaskBarIcon_p")) {
5101 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxTaskBarIcon. Expected _wxTaskBarIcon_p.");
5106 wxPy_BEGIN_ALLOW_THREADS
;
5107 delete_wxTaskBarIcon(_arg0
);
5109 wxPy_END_ALLOW_THREADS
;
5110 } Py_INCREF(Py_None
);
5111 _resultobj
= Py_None
;
5115 #define wxTaskBarIcon_SetIcon(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetIcon(_swigarg0,_swigarg1))
5116 static PyObject
*_wrap_wxTaskBarIcon_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5117 PyObject
* _resultobj
;
5119 wxTaskBarIcon
* _arg0
;
5121 char * _arg2
= (char *) "";
5122 PyObject
* _argo0
= 0;
5123 PyObject
* _argo1
= 0;
5124 char *_kwnames
[] = { "self","icon","tooltip", NULL
};
5127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|s:wxTaskBarIcon_SetIcon",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
5130 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5131 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTaskBarIcon_p")) {
5132 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTaskBarIcon_SetIcon. Expected _wxTaskBarIcon_p.");
5137 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5138 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxIcon_p")) {
5139 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTaskBarIcon_SetIcon. Expected _wxIcon_p.");
5144 wxPy_BEGIN_ALLOW_THREADS
;
5145 _result
= (bool )wxTaskBarIcon_SetIcon(_arg0
,*_arg1
,_arg2
);
5147 wxPy_END_ALLOW_THREADS
;
5148 } _resultobj
= Py_BuildValue("i",_result
);
5152 #define wxTaskBarIcon_RemoveIcon(_swigobj) (_swigobj->RemoveIcon())
5153 static PyObject
*_wrap_wxTaskBarIcon_RemoveIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5154 PyObject
* _resultobj
;
5156 wxTaskBarIcon
* _arg0
;
5157 PyObject
* _argo0
= 0;
5158 char *_kwnames
[] = { "self", NULL
};
5161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTaskBarIcon_RemoveIcon",_kwnames
,&_argo0
))
5164 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5165 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTaskBarIcon_p")) {
5166 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTaskBarIcon_RemoveIcon. Expected _wxTaskBarIcon_p.");
5171 wxPy_BEGIN_ALLOW_THREADS
;
5172 _result
= (bool )wxTaskBarIcon_RemoveIcon(_arg0
);
5174 wxPy_END_ALLOW_THREADS
;
5175 } _resultobj
= Py_BuildValue("i",_result
);
5179 #define wxTaskBarIcon_PopupMenu(_swigobj,_swigarg0) (_swigobj->PopupMenu(_swigarg0))
5180 static PyObject
*_wrap_wxTaskBarIcon_PopupMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5181 PyObject
* _resultobj
;
5183 wxTaskBarIcon
* _arg0
;
5185 PyObject
* _argo0
= 0;
5186 PyObject
* _argo1
= 0;
5187 char *_kwnames
[] = { "self","menu", NULL
};
5190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTaskBarIcon_PopupMenu",_kwnames
,&_argo0
,&_argo1
))
5193 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5194 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTaskBarIcon_p")) {
5195 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTaskBarIcon_PopupMenu. Expected _wxTaskBarIcon_p.");
5200 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5201 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
5202 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTaskBarIcon_PopupMenu. Expected _wxMenu_p.");
5207 wxPy_BEGIN_ALLOW_THREADS
;
5208 _result
= (bool )wxTaskBarIcon_PopupMenu(_arg0
,_arg1
);
5210 wxPy_END_ALLOW_THREADS
;
5211 } _resultobj
= Py_BuildValue("i",_result
);
5215 static PyMethodDef windows2cMethods
[] = {
5216 { "wxTaskBarIcon_PopupMenu", (PyCFunction
) _wrap_wxTaskBarIcon_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
},
5217 { "wxTaskBarIcon_RemoveIcon", (PyCFunction
) _wrap_wxTaskBarIcon_RemoveIcon
, METH_VARARGS
| METH_KEYWORDS
},
5218 { "wxTaskBarIcon_SetIcon", (PyCFunction
) _wrap_wxTaskBarIcon_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
5219 { "delete_wxTaskBarIcon", (PyCFunction
) _wrap_delete_wxTaskBarIcon
, METH_VARARGS
| METH_KEYWORDS
},
5220 { "new_wxTaskBarIcon", (PyCFunction
) _wrap_new_wxTaskBarIcon
, METH_VARARGS
| METH_KEYWORDS
},
5221 { "wxSplitterWindow_Unsplit", (PyCFunction
) _wrap_wxSplitterWindow_Unsplit
, METH_VARARGS
| METH_KEYWORDS
},
5222 { "wxSplitterWindow_SplitVertically", (PyCFunction
) _wrap_wxSplitterWindow_SplitVertically
, METH_VARARGS
| METH_KEYWORDS
},
5223 { "wxSplitterWindow_SplitHorizontally", (PyCFunction
) _wrap_wxSplitterWindow_SplitHorizontally
, METH_VARARGS
| METH_KEYWORDS
},
5224 { "wxSplitterWindow_SetSplitMode", (PyCFunction
) _wrap_wxSplitterWindow_SetSplitMode
, METH_VARARGS
| METH_KEYWORDS
},
5225 { "wxSplitterWindow_SetMinimumPaneSize", (PyCFunction
) _wrap_wxSplitterWindow_SetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
},
5226 { "wxSplitterWindow_SetSashSize", (PyCFunction
) _wrap_wxSplitterWindow_SetSashSize
, METH_VARARGS
| METH_KEYWORDS
},
5227 { "wxSplitterWindow_SetSashPosition", (PyCFunction
) _wrap_wxSplitterWindow_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
5228 { "wxSplitterWindow_SetBorderSize", (PyCFunction
) _wrap_wxSplitterWindow_SetBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
5229 { "wxSplitterWindow_ReplaceWindow", (PyCFunction
) _wrap_wxSplitterWindow_ReplaceWindow
, METH_VARARGS
| METH_KEYWORDS
},
5230 { "wxSplitterWindow_IsSplit", (PyCFunction
) _wrap_wxSplitterWindow_IsSplit
, METH_VARARGS
| METH_KEYWORDS
},
5231 { "wxSplitterWindow_Initialize", (PyCFunction
) _wrap_wxSplitterWindow_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
5232 { "wxSplitterWindow_GetWindow2", (PyCFunction
) _wrap_wxSplitterWindow_GetWindow2
, METH_VARARGS
| METH_KEYWORDS
},
5233 { "wxSplitterWindow_GetWindow1", (PyCFunction
) _wrap_wxSplitterWindow_GetWindow1
, METH_VARARGS
| METH_KEYWORDS
},
5234 { "wxSplitterWindow_GetSplitMode", (PyCFunction
) _wrap_wxSplitterWindow_GetSplitMode
, METH_VARARGS
| METH_KEYWORDS
},
5235 { "wxSplitterWindow_GetSashSize", (PyCFunction
) _wrap_wxSplitterWindow_GetSashSize
, METH_VARARGS
| METH_KEYWORDS
},
5236 { "wxSplitterWindow_GetSashPosition", (PyCFunction
) _wrap_wxSplitterWindow_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
5237 { "wxSplitterWindow_GetMinimumPaneSize", (PyCFunction
) _wrap_wxSplitterWindow_GetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
},
5238 { "wxSplitterWindow_GetBorderSize", (PyCFunction
) _wrap_wxSplitterWindow_GetBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
5239 { "new_wxSplitterWindow", (PyCFunction
) _wrap_new_wxSplitterWindow
, METH_VARARGS
| METH_KEYWORDS
},
5240 { "wxSplitterEvent_SetSashPosition", (PyCFunction
) _wrap_wxSplitterEvent_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
5241 { "wxSplitterEvent_GetWindowBeingRemoved", (PyCFunction
) _wrap_wxSplitterEvent_GetWindowBeingRemoved
, METH_VARARGS
| METH_KEYWORDS
},
5242 { "wxSplitterEvent_GetY", (PyCFunction
) _wrap_wxSplitterEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
5243 { "wxSplitterEvent_GetX", (PyCFunction
) _wrap_wxSplitterEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
5244 { "wxSplitterEvent_GetSashPosition", (PyCFunction
) _wrap_wxSplitterEvent_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
5245 { "wxNotebook_ResizeChildren", (PyCFunction
) _wrap_wxNotebook_ResizeChildren
, METH_VARARGS
| METH_KEYWORDS
},
5246 { "wxNotebook_GetPage", (PyCFunction
) _wrap_wxNotebook_GetPage
, METH_VARARGS
| METH_KEYWORDS
},
5247 { "wxNotebook_InsertPage", (PyCFunction
) _wrap_wxNotebook_InsertPage
, METH_VARARGS
| METH_KEYWORDS
},
5248 { "wxNotebook_AddPage", (PyCFunction
) _wrap_wxNotebook_AddPage
, METH_VARARGS
| METH_KEYWORDS
},
5249 { "wxNotebook_DeleteAllPages", (PyCFunction
) _wrap_wxNotebook_DeleteAllPages
, METH_VARARGS
| METH_KEYWORDS
},
5250 { "wxNotebook_RemovePage", (PyCFunction
) _wrap_wxNotebook_RemovePage
, METH_VARARGS
| METH_KEYWORDS
},
5251 { "wxNotebook_DeletePage", (PyCFunction
) _wrap_wxNotebook_DeletePage
, METH_VARARGS
| METH_KEYWORDS
},
5252 { "wxNotebook_GetRowCount", (PyCFunction
) _wrap_wxNotebook_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
},
5253 { "wxNotebook_SetPageImage", (PyCFunction
) _wrap_wxNotebook_SetPageImage
, METH_VARARGS
| METH_KEYWORDS
},
5254 { "wxNotebook_GetPageImage", (PyCFunction
) _wrap_wxNotebook_GetPageImage
, METH_VARARGS
| METH_KEYWORDS
},
5255 { "wxNotebook_GetImageList", (PyCFunction
) _wrap_wxNotebook_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
5256 { "wxNotebook_SetImageList", (PyCFunction
) _wrap_wxNotebook_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
5257 { "wxNotebook_GetPageText", (PyCFunction
) _wrap_wxNotebook_GetPageText
, METH_VARARGS
| METH_KEYWORDS
},
5258 { "wxNotebook_SetPageText", (PyCFunction
) _wrap_wxNotebook_SetPageText
, METH_VARARGS
| METH_KEYWORDS
},
5259 { "wxNotebook_GetSelection", (PyCFunction
) _wrap_wxNotebook_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
5260 { "wxNotebook_AdvanceSelection", (PyCFunction
) _wrap_wxNotebook_AdvanceSelection
, METH_VARARGS
| METH_KEYWORDS
},
5261 { "wxNotebook_SetSelection", (PyCFunction
) _wrap_wxNotebook_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
5262 { "wxNotebook_GetPageCount", (PyCFunction
) _wrap_wxNotebook_GetPageCount
, METH_VARARGS
| METH_KEYWORDS
},
5263 { "new_wxNotebook", (PyCFunction
) _wrap_new_wxNotebook
, METH_VARARGS
| METH_KEYWORDS
},
5264 { "wxNotebookEvent_SetSelection", (PyCFunction
) _wrap_wxNotebookEvent_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
5265 { "wxNotebookEvent_SetOldSelection", (PyCFunction
) _wrap_wxNotebookEvent_SetOldSelection
, METH_VARARGS
| METH_KEYWORDS
},
5266 { "wxNotebookEvent_GetOldSelection", (PyCFunction
) _wrap_wxNotebookEvent_GetOldSelection
, METH_VARARGS
| METH_KEYWORDS
},
5267 { "wxNotebookEvent_GetSelection", (PyCFunction
) _wrap_wxNotebookEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
5268 { "wxGridEvent_GetCell", (PyCFunction
) _wrap_wxGridEvent_GetCell
, METH_VARARGS
| METH_KEYWORDS
},
5269 { "wxGridEvent_ShiftDown", (PyCFunction
) _wrap_wxGridEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
},
5270 { "wxGridEvent_ControlDown", (PyCFunction
) _wrap_wxGridEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
},
5271 { "wxGridEvent_GetPosition", (PyCFunction
) _wrap_wxGridEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
5272 { "wxGridEvent_GetCol", (PyCFunction
) _wrap_wxGridEvent_GetCol
, METH_VARARGS
| METH_KEYWORDS
},
5273 { "wxGridEvent_GetRow", (PyCFunction
) _wrap_wxGridEvent_GetRow
, METH_VARARGS
| METH_KEYWORDS
},
5274 { "wxGridEvent_m_cell_get", (PyCFunction
) _wrap_wxGridEvent_m_cell_get
, METH_VARARGS
| METH_KEYWORDS
},
5275 { "wxGridEvent_m_cell_set", (PyCFunction
) _wrap_wxGridEvent_m_cell_set
, METH_VARARGS
| METH_KEYWORDS
},
5276 { "wxGridEvent_m_shift_get", (PyCFunction
) _wrap_wxGridEvent_m_shift_get
, METH_VARARGS
| METH_KEYWORDS
},
5277 { "wxGridEvent_m_shift_set", (PyCFunction
) _wrap_wxGridEvent_m_shift_set
, METH_VARARGS
| METH_KEYWORDS
},
5278 { "wxGridEvent_m_control_get", (PyCFunction
) _wrap_wxGridEvent_m_control_get
, METH_VARARGS
| METH_KEYWORDS
},
5279 { "wxGridEvent_m_control_set", (PyCFunction
) _wrap_wxGridEvent_m_control_set
, METH_VARARGS
| METH_KEYWORDS
},
5280 { "wxGridEvent_m_y_get", (PyCFunction
) _wrap_wxGridEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
},
5281 { "wxGridEvent_m_y_set", (PyCFunction
) _wrap_wxGridEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
},
5282 { "wxGridEvent_m_x_get", (PyCFunction
) _wrap_wxGridEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
},
5283 { "wxGridEvent_m_x_set", (PyCFunction
) _wrap_wxGridEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
},
5284 { "wxGridEvent_m_col_get", (PyCFunction
) _wrap_wxGridEvent_m_col_get
, METH_VARARGS
| METH_KEYWORDS
},
5285 { "wxGridEvent_m_col_set", (PyCFunction
) _wrap_wxGridEvent_m_col_set
, METH_VARARGS
| METH_KEYWORDS
},
5286 { "wxGridEvent_m_row_get", (PyCFunction
) _wrap_wxGridEvent_m_row_get
, METH_VARARGS
| METH_KEYWORDS
},
5287 { "wxGridEvent_m_row_set", (PyCFunction
) _wrap_wxGridEvent_m_row_set
, METH_VARARGS
| METH_KEYWORDS
},
5288 { "wxGrid_SetEditInPlace", (PyCFunction
) _wrap_wxGrid_SetEditInPlace
, METH_VARARGS
| METH_KEYWORDS
},
5289 { "wxGrid_GetEditInPlace", (PyCFunction
) _wrap_wxGrid_GetEditInPlace
, METH_VARARGS
| METH_KEYWORDS
},
5290 { "wxGrid_UpdateDimensions", (PyCFunction
) _wrap_wxGrid_UpdateDimensions
, METH_VARARGS
| METH_KEYWORDS
},
5291 { "wxGrid_SetRowHeight", (PyCFunction
) _wrap_wxGrid_SetRowHeight
, METH_VARARGS
| METH_KEYWORDS
},
5292 { "wxGrid_SetLabelValue", (PyCFunction
) _wrap_wxGrid_SetLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
5293 { "wxGrid_SetLabelTextFont", (PyCFunction
) _wrap_wxGrid_SetLabelTextFont
, METH_VARARGS
| METH_KEYWORDS
},
5294 { "wxGrid_SetLabelTextColour", (PyCFunction
) _wrap_wxGrid_SetLabelTextColour
, METH_VARARGS
| METH_KEYWORDS
},
5295 { "wxGrid_SetLabelSize", (PyCFunction
) _wrap_wxGrid_SetLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
5296 { "wxGrid_SetLabelBackgroundColour", (PyCFunction
) _wrap_wxGrid_SetLabelBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
5297 { "wxGrid_SetLabelAlignment", (PyCFunction
) _wrap_wxGrid_SetLabelAlignment
, METH_VARARGS
| METH_KEYWORDS
},
5298 { "wxGrid_SetGridCursor", (PyCFunction
) _wrap_wxGrid_SetGridCursor
, METH_VARARGS
| METH_KEYWORDS
},
5299 { "wxGrid_SetEditable", (PyCFunction
) _wrap_wxGrid_SetEditable
, METH_VARARGS
| METH_KEYWORDS
},
5300 { "wxGrid_SetDividerPen", (PyCFunction
) _wrap_wxGrid_SetDividerPen
, METH_VARARGS
| METH_KEYWORDS
},
5301 { "wxGrid_SetColumnWidth", (PyCFunction
) _wrap_wxGrid_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
},
5302 { "wxGrid_SetCellValue", (PyCFunction
) _wrap_wxGrid_SetCellValue
, METH_VARARGS
| METH_KEYWORDS
},
5303 { "wxGrid_SetDefCellTextFont", (PyCFunction
) _wrap_wxGrid_SetDefCellTextFont
, METH_VARARGS
| METH_KEYWORDS
},
5304 { "wxGrid_SetCellTextFont", (PyCFunction
) _wrap_wxGrid_SetCellTextFont
, METH_VARARGS
| METH_KEYWORDS
},
5305 { "wxGrid_SetDefCellTextColour", (PyCFunction
) _wrap_wxGrid_SetDefCellTextColour
, METH_VARARGS
| METH_KEYWORDS
},
5306 { "wxGrid_SetCellTextColour", (PyCFunction
) _wrap_wxGrid_SetCellTextColour
, METH_VARARGS
| METH_KEYWORDS
},
5307 { "wxGrid_SetDefCellBackgroundColour", (PyCFunction
) _wrap_wxGrid_SetDefCellBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
5308 { "wxGrid_SetCellBackgroundColour", (PyCFunction
) _wrap_wxGrid_SetCellBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
5309 { "wxGrid_SetDefCellAlignment", (PyCFunction
) _wrap_wxGrid_SetDefCellAlignment
, METH_VARARGS
| METH_KEYWORDS
},
5310 { "wxGrid_SetCellAlignment", (PyCFunction
) _wrap_wxGrid_SetCellAlignment
, METH_VARARGS
| METH_KEYWORDS
},
5311 { "wxGrid_OnActivate", (PyCFunction
) _wrap_wxGrid_OnActivate
, METH_VARARGS
| METH_KEYWORDS
},
5312 { "wxGrid_InsertRows", (PyCFunction
) _wrap_wxGrid_InsertRows
, METH_VARARGS
| METH_KEYWORDS
},
5313 { "wxGrid_InsertCols", (PyCFunction
) _wrap_wxGrid_InsertCols
, METH_VARARGS
| METH_KEYWORDS
},
5314 { "wxGrid_GetVertScrollBar", (PyCFunction
) _wrap_wxGrid_GetVertScrollBar
, METH_VARARGS
| METH_KEYWORDS
},
5315 { "wxGrid_GetTextItem", (PyCFunction
) _wrap_wxGrid_GetTextItem
, METH_VARARGS
| METH_KEYWORDS
},
5316 { "wxGrid_GetScrollPosY", (PyCFunction
) _wrap_wxGrid_GetScrollPosY
, METH_VARARGS
| METH_KEYWORDS
},
5317 { "wxGrid_GetScrollPosX", (PyCFunction
) _wrap_wxGrid_GetScrollPosX
, METH_VARARGS
| METH_KEYWORDS
},
5318 { "wxGrid_GetRows", (PyCFunction
) _wrap_wxGrid_GetRows
, METH_VARARGS
| METH_KEYWORDS
},
5319 { "wxGrid_GetRowHeight", (PyCFunction
) _wrap_wxGrid_GetRowHeight
, METH_VARARGS
| METH_KEYWORDS
},
5320 { "wxGrid_GetLabelValue", (PyCFunction
) _wrap_wxGrid_GetLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
5321 { "wxGrid_GetLabelTextFont", (PyCFunction
) _wrap_wxGrid_GetLabelTextFont
, METH_VARARGS
| METH_KEYWORDS
},
5322 { "wxGrid_GetLabelTextColour", (PyCFunction
) _wrap_wxGrid_GetLabelTextColour
, METH_VARARGS
| METH_KEYWORDS
},
5323 { "wxGrid_GetLabelSize", (PyCFunction
) _wrap_wxGrid_GetLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
5324 { "wxGrid_GetLabelBackgroundColour", (PyCFunction
) _wrap_wxGrid_GetLabelBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
5325 { "wxGrid_GetLabelAlignment", (PyCFunction
) _wrap_wxGrid_GetLabelAlignment
, METH_VARARGS
| METH_KEYWORDS
},
5326 { "wxGrid_GetHorizScrollBar", (PyCFunction
) _wrap_wxGrid_GetHorizScrollBar
, METH_VARARGS
| METH_KEYWORDS
},
5327 { "wxGrid_GetEditable", (PyCFunction
) _wrap_wxGrid_GetEditable
, METH_VARARGS
| METH_KEYWORDS
},
5328 { "wxGrid_GetCursorRow", (PyCFunction
) _wrap_wxGrid_GetCursorRow
, METH_VARARGS
| METH_KEYWORDS
},
5329 { "wxGrid_GetCursorColumn", (PyCFunction
) _wrap_wxGrid_GetCursorColumn
, METH_VARARGS
| METH_KEYWORDS
},
5330 { "wxGrid_GetCurrentRect", (PyCFunction
) _wrap_wxGrid_GetCurrentRect
, METH_VARARGS
| METH_KEYWORDS
},
5331 { "wxGrid_GetColumnWidth", (PyCFunction
) _wrap_wxGrid_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
},
5332 { "wxGrid_GetCols", (PyCFunction
) _wrap_wxGrid_GetCols
, METH_VARARGS
| METH_KEYWORDS
},
5333 { "wxGrid_GetCellValue", (PyCFunction
) _wrap_wxGrid_GetCellValue
, METH_VARARGS
| METH_KEYWORDS
},
5334 { "wxGrid_GetDefCellTextFont", (PyCFunction
) _wrap_wxGrid_GetDefCellTextFont
, METH_VARARGS
| METH_KEYWORDS
},
5335 { "wxGrid_GetCellTextFont", (PyCFunction
) _wrap_wxGrid_GetCellTextFont
, METH_VARARGS
| METH_KEYWORDS
},
5336 { "wxGrid_GetDefCellTextColour", (PyCFunction
) _wrap_wxGrid_GetDefCellTextColour
, METH_VARARGS
| METH_KEYWORDS
},
5337 { "wxGrid_GetCellTextColour", (PyCFunction
) _wrap_wxGrid_GetCellTextColour
, METH_VARARGS
| METH_KEYWORDS
},
5338 { "wxGrid_GetCells", (PyCFunction
) _wrap_wxGrid_GetCells
, METH_VARARGS
| METH_KEYWORDS
},
5339 { "wxGrid_GetDefCellBackgroundColour", (PyCFunction
) _wrap_wxGrid_GetDefCellBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
5340 { "wxGrid_GetCellBackgroundColour", (PyCFunction
) _wrap_wxGrid_GetCellBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
5341 { "wxGrid_GetDefCellAlignment", (PyCFunction
) _wrap_wxGrid_GetDefCellAlignment
, METH_VARARGS
| METH_KEYWORDS
},
5342 { "wxGrid_GetCellAlignment", (PyCFunction
) _wrap_wxGrid_GetCellAlignment
, METH_VARARGS
| METH_KEYWORDS
},
5343 { "wxGrid_GetCell", (PyCFunction
) _wrap_wxGrid_GetCell
, METH_VARARGS
| METH_KEYWORDS
},
5344 { "wxGrid_GetBatchCount", (PyCFunction
) _wrap_wxGrid_GetBatchCount
, METH_VARARGS
| METH_KEYWORDS
},
5345 { "wxGrid_EndBatch", (PyCFunction
) _wrap_wxGrid_EndBatch
, METH_VARARGS
| METH_KEYWORDS
},
5346 { "wxGrid_DeleteRows", (PyCFunction
) _wrap_wxGrid_DeleteRows
, METH_VARARGS
| METH_KEYWORDS
},
5347 { "wxGrid_DeleteCols", (PyCFunction
) _wrap_wxGrid_DeleteCols
, METH_VARARGS
| METH_KEYWORDS
},
5348 { "wxGrid_CurrentCellVisible", (PyCFunction
) _wrap_wxGrid_CurrentCellVisible
, METH_VARARGS
| METH_KEYWORDS
},
5349 { "wxGrid_CreateGrid", (PyCFunction
) _wrap_wxGrid_CreateGrid
, METH_VARARGS
| METH_KEYWORDS
},
5350 { "wxGrid_CellHitTest", (PyCFunction
) _wrap_wxGrid_CellHitTest
, METH_VARARGS
| METH_KEYWORDS
},
5351 { "wxGrid_BeginBatch", (PyCFunction
) _wrap_wxGrid_BeginBatch
, METH_VARARGS
| METH_KEYWORDS
},
5352 { "wxGrid_AppendRows", (PyCFunction
) _wrap_wxGrid_AppendRows
, METH_VARARGS
| METH_KEYWORDS
},
5353 { "wxGrid_AppendCols", (PyCFunction
) _wrap_wxGrid_AppendCols
, METH_VARARGS
| METH_KEYWORDS
},
5354 { "wxGrid_AdjustScrollbars", (PyCFunction
) _wrap_wxGrid_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
5355 { "new_wxGrid", (PyCFunction
) _wrap_new_wxGrid
, METH_VARARGS
| METH_KEYWORDS
},
5356 { "wxGridCell_SetCellBitmap", (PyCFunction
) _wrap_wxGridCell_SetCellBitmap
, METH_VARARGS
| METH_KEYWORDS
},
5357 { "wxGridCell_GetCellBitmap", (PyCFunction
) _wrap_wxGridCell_GetCellBitmap
, METH_VARARGS
| METH_KEYWORDS
},
5358 { "wxGridCell_SetAlignment", (PyCFunction
) _wrap_wxGridCell_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
5359 { "wxGridCell_GetAlignment", (PyCFunction
) _wrap_wxGridCell_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
5360 { "wxGridCell_GetBackgroundBrush", (PyCFunction
) _wrap_wxGridCell_GetBackgroundBrush
, METH_VARARGS
| METH_KEYWORDS
},
5361 { "wxGridCell_SetBackgroundColour", (PyCFunction
) _wrap_wxGridCell_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
5362 { "wxGridCell_GetBackgroundColour", (PyCFunction
) _wrap_wxGridCell_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
5363 { "wxGridCell_SetTextColour", (PyCFunction
) _wrap_wxGridCell_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
5364 { "wxGridCell_GetTextColour", (PyCFunction
) _wrap_wxGridCell_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
5365 { "wxGridCell_SetFont", (PyCFunction
) _wrap_wxGridCell_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
5366 { "wxGridCell_GetFont", (PyCFunction
) _wrap_wxGridCell_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
5367 { "wxGridCell_SetTextValue", (PyCFunction
) _wrap_wxGridCell_SetTextValue
, METH_VARARGS
| METH_KEYWORDS
},
5368 { "wxGridCell_GetTextValue", (PyCFunction
) _wrap_wxGridCell_GetTextValue
, METH_VARARGS
| METH_KEYWORDS
},
5369 { "delete_wxGridCell", (PyCFunction
) _wrap_delete_wxGridCell
, METH_VARARGS
| METH_KEYWORDS
},
5370 { "new_wxGridCell", (PyCFunction
) _wrap_new_wxGridCell
, METH_VARARGS
| METH_KEYWORDS
},
5377 * This table is used by the pointer type-checker
5379 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
5380 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
5381 { "_wxEvent","_class_wxSplitterEvent",SwigwxSplitterEventTowxEvent
},
5382 { "_wxEvent","_wxSplitterEvent",SwigwxSplitterEventTowxEvent
},
5383 { "_wxEvent","_class_wxNotebookEvent",SwigwxNotebookEventTowxEvent
},
5384 { "_wxEvent","_wxNotebookEvent",SwigwxNotebookEventTowxEvent
},
5385 { "_wxEvent","_class_wxGridEvent",SwigwxGridEventTowxEvent
},
5386 { "_wxEvent","_wxGridEvent",SwigwxGridEventTowxEvent
},
5387 { "_wxEvent","_class_wxEvent",0},
5388 { "_class_wxActivateEvent","_wxActivateEvent",0},
5389 { "_signed_long","_long",0},
5390 { "_wxMenuEvent","_class_wxMenuEvent",0},
5391 { "_class_wxPyCommandEvent","_wxPyCommandEvent",0},
5392 { "_wxPrintQuality","_int",0},
5393 { "_wxPrintQuality","_signed_int",0},
5394 { "_wxPrintQuality","_unsigned_int",0},
5395 { "_wxPrintQuality","_wxWindowID",0},
5396 { "_wxPrintQuality","_uint",0},
5397 { "_wxPrintQuality","_EBool",0},
5398 { "_wxPrintQuality","_size_t",0},
5399 { "_class_wxRegionIterator","_wxRegionIterator",0},
5400 { "_class_wxMenuBar","_wxMenuBar",0},
5401 { "_class_wxEvtHandler","_class_wxTaskBarIcon",SwigwxTaskBarIconTowxEvtHandler
},
5402 { "_class_wxEvtHandler","_wxTaskBarIcon",SwigwxTaskBarIconTowxEvtHandler
},
5403 { "_class_wxEvtHandler","_class_wxSplitterWindow",SwigwxSplitterWindowTowxEvtHandler
},
5404 { "_class_wxEvtHandler","_wxSplitterWindow",SwigwxSplitterWindowTowxEvtHandler
},
5405 { "_class_wxEvtHandler","_class_wxNotebook",SwigwxNotebookTowxEvtHandler
},
5406 { "_class_wxEvtHandler","_wxNotebook",SwigwxNotebookTowxEvtHandler
},
5407 { "_class_wxEvtHandler","_class_wxGrid",SwigwxGridTowxEvtHandler
},
5408 { "_class_wxEvtHandler","_wxGrid",SwigwxGridTowxEvtHandler
},
5409 { "_class_wxEvtHandler","_wxEvtHandler",0},
5410 { "_wxPaintEvent","_class_wxPaintEvent",0},
5411 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
5412 { "_wxCursor","_class_wxCursor",0},
5413 { "_wxNotifyEvent","_class_wxNotebookEvent",SwigwxNotebookEventTowxNotifyEvent
},
5414 { "_wxNotifyEvent","_wxNotebookEvent",SwigwxNotebookEventTowxNotifyEvent
},
5415 { "_wxNotifyEvent","_class_wxNotifyEvent",0},
5416 { "_wxMask","_class_wxMask",0},
5417 { "_wxGrid","_class_wxGrid",0},
5418 { "_wxPen","_class_wxPen",0},
5419 { "_wxUpdateUIEvent","_class_wxUpdateUIEvent",0},
5420 { "_byte","_unsigned_char",0},
5421 { "_wxStaticBox","_class_wxStaticBox",0},
5422 { "_wxChoice","_class_wxChoice",0},
5423 { "_wxSlider","_class_wxSlider",0},
5424 { "_wxNotebookEvent","_class_wxNotebookEvent",0},
5425 { "_long","_wxDash",0},
5426 { "_long","_unsigned_long",0},
5427 { "_long","_signed_long",0},
5428 { "_wxImageList","_class_wxImageList",0},
5429 { "_wxDropFilesEvent","_class_wxDropFilesEvent",0},
5430 { "_wxBitmapButton","_class_wxBitmapButton",0},
5431 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
5432 { "_class_wxGauge","_wxGauge",0},
5433 { "_wxDC","_class_wxDC",0},
5434 { "_wxSpinEvent","_class_wxSpinEvent",0},
5435 { "_size_t","_wxPrintQuality",0},
5436 { "_size_t","_unsigned_int",0},
5437 { "_size_t","_int",0},
5438 { "_size_t","_wxWindowID",0},
5439 { "_size_t","_uint",0},
5440 { "_class_wxRealPoint","_wxRealPoint",0},
5441 { "_wxNavigationKeyEvent","_class_wxNavigationKeyEvent",0},
5442 { "_wxPrinterDC","_class_wxPrinterDC",0},
5443 { "_wxWindowCreateEvent","_class_wxWindowCreateEvent",0},
5444 { "_class_wxMenuItem","_wxMenuItem",0},
5445 { "_class_wxPaintEvent","_wxPaintEvent",0},
5446 { "_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0},
5447 { "_wxPanel","_class_wxGrid",SwigwxGridTowxPanel
},
5448 { "_wxPanel","_wxGrid",SwigwxGridTowxPanel
},
5449 { "_wxPanel","_class_wxPanel",0},
5450 { "_wxInitDialogEvent","_class_wxInitDialogEvent",0},
5451 { "_wxCheckBox","_class_wxCheckBox",0},
5452 { "_wxPyEvent","_class_wxPyEvent",0},
5453 { "_wxTextCtrl","_class_wxTextCtrl",0},
5454 { "_class_wxMask","_wxMask",0},
5455 { "_class_wxKeyEvent","_wxKeyEvent",0},
5456 { "_class_wxGrid","_wxGrid",0},
5457 { "_wxColour","_class_wxColour",0},
5458 { "_class_wxDialog","_wxDialog",0},
5459 { "_wxIdleEvent","_class_wxIdleEvent",0},
5460 { "_class_wxUpdateUIEvent","_wxUpdateUIEvent",0},
5461 { "_wxStaticLine","_class_wxStaticLine",0},
5462 { "_wxBrush","_class_wxBrush",0},
5463 { "_class_wxNotebookEvent","_wxNotebookEvent",0},
5464 { "_wxShowEvent","_class_wxShowEvent",0},
5465 { "_uint","_wxPrintQuality",0},
5466 { "_uint","_size_t",0},
5467 { "_uint","_unsigned_int",0},
5468 { "_uint","_int",0},
5469 { "_uint","_wxWindowID",0},
5470 { "_wxPyValidator","_class_wxPyValidator",0},
5471 { "_class_wxEvent","_class_wxSplitterEvent",SwigwxSplitterEventTowxEvent
},
5472 { "_class_wxEvent","_wxSplitterEvent",SwigwxSplitterEventTowxEvent
},
5473 { "_class_wxEvent","_class_wxNotebookEvent",SwigwxNotebookEventTowxEvent
},
5474 { "_class_wxEvent","_wxNotebookEvent",SwigwxNotebookEventTowxEvent
},
5475 { "_class_wxEvent","_class_wxGridEvent",SwigwxGridEventTowxEvent
},
5476 { "_class_wxEvent","_wxGridEvent",SwigwxGridEventTowxEvent
},
5477 { "_class_wxEvent","_wxEvent",0},
5478 { "_wxCheckListBox","_class_wxCheckListBox",0},
5479 { "_wxSplitterEvent","_class_wxSplitterEvent",0},
5480 { "_wxGridEvent","_class_wxGridEvent",0},
5481 { "_wxRect","_class_wxRect",0},
5482 { "_wxCommandEvent","_class_wxSplitterEvent",SwigwxSplitterEventTowxCommandEvent
},
5483 { "_wxCommandEvent","_wxSplitterEvent",SwigwxSplitterEventTowxCommandEvent
},
5484 { "_wxCommandEvent","_class_wxNotebookEvent",SwigwxNotebookEventTowxCommandEvent
},
5485 { "_wxCommandEvent","_wxNotebookEvent",SwigwxNotebookEventTowxCommandEvent
},
5486 { "_wxCommandEvent","_class_wxCommandEvent",0},
5487 { "_wxSizeEvent","_class_wxSizeEvent",0},
5488 { "_wxPoint","_class_wxPoint",0},
5489 { "_class_wxButton","_wxButton",0},
5490 { "_wxRadioBox","_class_wxRadioBox",0},
5491 { "_wxBitmap","_class_wxBitmap",0},
5492 { "_wxTaskBarIcon","_class_wxTaskBarIcon",0},
5493 { "_wxPyTimer","_class_wxPyTimer",0},
5494 { "_wxWindowDC","_class_wxWindowDC",0},
5495 { "_wxScrollBar","_class_wxScrollBar",0},
5496 { "_wxSpinButton","_class_wxSpinButton",0},
5497 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
5498 { "_class_wxNotifyEvent","_class_wxNotebookEvent",SwigwxNotebookEventTowxNotifyEvent
},
5499 { "_class_wxNotifyEvent","_wxNotebookEvent",SwigwxNotebookEventTowxNotifyEvent
},
5500 { "_class_wxNotifyEvent","_wxNotifyEvent",0},
5501 { "_class_wxValidator","_wxValidator",0},
5502 { "_class_wxPyEvent","_wxPyEvent",0},
5503 { "_class_wxIconizeEvent","_wxIconizeEvent",0},
5504 { "_class_wxStaticBitmap","_wxStaticBitmap",0},
5505 { "_class_wxStaticLine","_wxStaticLine",0},
5506 { "_wxScrollEvent","_class_wxScrollEvent",0},
5507 { "_EBool","_wxPrintQuality",0},
5508 { "_EBool","_signed_int",0},
5509 { "_EBool","_int",0},
5510 { "_EBool","_wxWindowID",0},
5511 { "_class_wxRegion","_wxRegion",0},
5512 { "_class_wxDropFilesEvent","_wxDropFilesEvent",0},
5513 { "_wxWindowDestroyEvent","_class_wxWindowDestroyEvent",0},
5514 { "_wxStaticText","_class_wxStaticText",0},
5515 { "_wxFont","_class_wxFont",0},
5516 { "_wxCloseEvent","_class_wxCloseEvent",0},
5517 { "_class_wxSplitterEvent","_wxSplitterEvent",0},
5518 { "_wxNotebook","_class_wxNotebook",0},
5519 { "_unsigned_long","_wxDash",0},
5520 { "_unsigned_long","_long",0},
5521 { "_class_wxRect","_wxRect",0},
5522 { "_class_wxDC","_wxDC",0},
5523 { "_wxScrollWinEvent","_class_wxScrollWinEvent",0},
5524 { "_wxQueryNewPaletteEvent","_class_wxQueryNewPaletteEvent",0},
5525 { "_class_wxWindowCreateEvent","_wxWindowCreateEvent",0},
5526 { "_class_wxPyTimer","_wxPyTimer",0},
5527 { "_wxFocusEvent","_class_wxFocusEvent",0},
5528 { "_wxMaximizeEvent","_class_wxMaximizeEvent",0},
5529 { "_class_wxSpinButton","_wxSpinButton",0},
5530 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
5531 { "_class_wxPanel","_class_wxGrid",SwigwxGridTowxPanel
},
5532 { "_class_wxPanel","_wxGrid",SwigwxGridTowxPanel
},
5533 { "_class_wxPanel","_wxPanel",0},
5534 { "_class_wxCheckBox","_wxCheckBox",0},
5535 { "_wxComboBox","_class_wxComboBox",0},
5536 { "_wxRadioButton","_class_wxRadioButton",0},
5537 { "_signed_int","_wxPrintQuality",0},
5538 { "_signed_int","_EBool",0},
5539 { "_signed_int","_wxWindowID",0},
5540 { "_signed_int","_int",0},
5541 { "_class_wxTextCtrl","_wxTextCtrl",0},
5542 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
5543 { "_wxMetaFileDC","_class_wxMetaFileDC",0},
5544 { "_wxMenu","_class_wxMenu",0},
5545 { "_class_wxMoveEvent","_wxMoveEvent",0},
5546 { "_wxListBox","_class_wxListBox",0},
5547 { "_wxScreenDC","_class_wxScreenDC",0},
5548 { "_WXTYPE","_short",0},
5549 { "_WXTYPE","_signed_short",0},
5550 { "_WXTYPE","_unsigned_short",0},
5551 { "_class_wxBrush","_wxBrush",0},
5552 { "_unsigned_short","_WXTYPE",0},
5553 { "_unsigned_short","_short",0},
5554 { "_class_wxWindow","_class_wxSplitterWindow",SwigwxSplitterWindowTowxWindow
},
5555 { "_class_wxWindow","_wxSplitterWindow",SwigwxSplitterWindowTowxWindow
},
5556 { "_class_wxWindow","_class_wxNotebook",SwigwxNotebookTowxWindow
},
5557 { "_class_wxWindow","_wxNotebook",SwigwxNotebookTowxWindow
},
5558 { "_class_wxWindow","_class_wxGrid",SwigwxGridTowxWindow
},
5559 { "_class_wxWindow","_wxGrid",SwigwxGridTowxWindow
},
5560 { "_class_wxWindow","_wxWindow",0},
5561 { "_wxSplitterWindow","_class_wxSplitterWindow",0},
5562 { "_class_wxStaticText","_wxStaticText",0},
5563 { "_class_wxFont","_wxFont",0},
5564 { "_class_wxPyValidator","_wxPyValidator",0},
5565 { "_class_wxCloseEvent","_wxCloseEvent",0},
5566 { "_class_wxMenuEvent","_wxMenuEvent",0},
5567 { "_wxPaletteChangedEvent","_class_wxPaletteChangedEvent",0},
5568 { "_wxClientDC","_class_wxClientDC",0},
5569 { "_wxMouseEvent","_class_wxMouseEvent",0},
5570 { "_class_wxPoint","_wxPoint",0},
5571 { "_wxRealPoint","_class_wxRealPoint",0},
5572 { "_class_wxRadioBox","_wxRadioBox",0},
5573 { "_wxGridCell","_class_wxGridCell",0},
5574 { "_signed_short","_WXTYPE",0},
5575 { "_signed_short","_short",0},
5576 { "_wxMemoryDC","_class_wxMemoryDC",0},
5577 { "_class_wxTaskBarIcon","_wxTaskBarIcon",0},
5578 { "_wxPaintDC","_class_wxPaintDC",0},
5579 { "_class_wxWindowDC","_wxWindowDC",0},
5580 { "_class_wxFocusEvent","_wxFocusEvent",0},
5581 { "_class_wxMaximizeEvent","_wxMaximizeEvent",0},
5582 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
5583 { "_class_wxCursor","_wxCursor",0},
5584 { "_wxScrolledWindow","_class_wxScrolledWindow",0},
5585 { "_unsigned_char","_byte",0},
5586 { "_class_wxMetaFileDC","_wxMetaFileDC",0},
5587 { "_class_wxMenu","_wxMenu",0},
5588 { "_wxControl","_class_wxNotebook",SwigwxNotebookTowxControl
},
5589 { "_wxControl","_wxNotebook",SwigwxNotebookTowxControl
},
5590 { "_wxControl","_class_wxControl",0},
5591 { "_class_wxListBox","_wxListBox",0},
5592 { "_unsigned_int","_wxPrintQuality",0},
5593 { "_unsigned_int","_size_t",0},
5594 { "_unsigned_int","_uint",0},
5595 { "_unsigned_int","_wxWindowID",0},
5596 { "_unsigned_int","_int",0},
5597 { "_wxIcon","_class_wxIcon",0},
5598 { "_wxDialog","_class_wxDialog",0},
5599 { "_class_wxPen","_wxPen",0},
5600 { "_short","_WXTYPE",0},
5601 { "_short","_unsigned_short",0},
5602 { "_short","_signed_short",0},
5603 { "_class_wxStaticBox","_wxStaticBox",0},
5604 { "_class_wxScrollEvent","_wxScrollEvent",0},
5605 { "_wxJoystickEvent","_class_wxJoystickEvent",0},
5606 { "_class_wxChoice","_wxChoice",0},
5607 { "_class_wxSlider","_wxSlider",0},
5608 { "_class_wxImageList","_wxImageList",0},
5609 { "_class_wxBitmapButton","_wxBitmapButton",0},
5610 { "_class_wxPaletteChangedEvent","_wxPaletteChangedEvent",0},
5611 { "_class_wxNotebook","_wxNotebook",0},
5612 { "_wxWindowID","_wxPrintQuality",0},
5613 { "_wxWindowID","_size_t",0},
5614 { "_wxWindowID","_EBool",0},
5615 { "_wxWindowID","_uint",0},
5616 { "_wxWindowID","_int",0},
5617 { "_wxWindowID","_signed_int",0},
5618 { "_wxWindowID","_unsigned_int",0},
5619 { "_class_wxScrollWinEvent","_wxScrollWinEvent",0},
5620 { "_int","_wxPrintQuality",0},
5621 { "_int","_size_t",0},
5622 { "_int","_EBool",0},
5623 { "_int","_uint",0},
5624 { "_int","_wxWindowID",0},
5625 { "_int","_unsigned_int",0},
5626 { "_int","_signed_int",0},
5627 { "_class_wxMouseEvent","_wxMouseEvent",0},
5628 { "_wxPyCommandEvent","_class_wxPyCommandEvent",0},
5629 { "_class_wxSpinEvent","_wxSpinEvent",0},
5630 { "_class_wxQueryNewPaletteEvent","_wxQueryNewPaletteEvent",0},
5631 { "_class_wxNavigationKeyEvent","_wxNavigationKeyEvent",0},
5632 { "_wxButton","_class_wxButton",0},
5633 { "_wxSize","_class_wxSize",0},
5634 { "_wxRegionIterator","_class_wxRegionIterator",0},
5635 { "_class_wxPrinterDC","_wxPrinterDC",0},
5636 { "_class_wxPaintDC","_wxPaintDC",0},
5637 { "_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0},
5638 { "_class_wxInitDialogEvent","_wxInitDialogEvent",0},
5639 { "_class_wxComboBox","_wxComboBox",0},
5640 { "_class_wxRadioButton","_wxRadioButton",0},
5641 { "_wxValidator","_class_wxValidator",0},
5642 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
5643 { "_wxIconizeEvent","_class_wxIconizeEvent",0},
5644 { "_class_wxControl","_class_wxNotebook",SwigwxNotebookTowxControl
},
5645 { "_class_wxControl","_wxNotebook",SwigwxNotebookTowxControl
},
5646 { "_class_wxControl","_wxControl",0},
5647 { "_wxStaticBitmap","_class_wxStaticBitmap",0},
5648 { "_class_wxIcon","_wxIcon",0},
5649 { "_class_wxColour","_wxColour",0},
5650 { "_class_wxScreenDC","_wxScreenDC",0},
5651 { "_wxPalette","_class_wxPalette",0},
5652 { "_class_wxIdleEvent","_wxIdleEvent",0},
5653 { "_wxEraseEvent","_class_wxEraseEvent",0},
5654 { "_class_wxJoystickEvent","_wxJoystickEvent",0},
5655 { "_wxRegion","_class_wxRegion",0},
5656 { "_class_wxSplitterWindow","_wxSplitterWindow",0},
5657 { "_class_wxShowEvent","_wxShowEvent",0},
5658 { "_wxActivateEvent","_class_wxActivateEvent",0},
5659 { "_wxGauge","_class_wxGauge",0},
5660 { "_class_wxCheckListBox","_wxCheckListBox",0},
5661 { "_class_wxGridEvent","_wxGridEvent",0},
5662 { "_class_wxCommandEvent","_class_wxSplitterEvent",SwigwxSplitterEventTowxCommandEvent
},
5663 { "_class_wxCommandEvent","_wxSplitterEvent",SwigwxSplitterEventTowxCommandEvent
},
5664 { "_class_wxCommandEvent","_class_wxNotebookEvent",SwigwxNotebookEventTowxCommandEvent
},
5665 { "_class_wxCommandEvent","_wxNotebookEvent",SwigwxNotebookEventTowxCommandEvent
},
5666 { "_class_wxCommandEvent","_wxCommandEvent",0},
5667 { "_class_wxClientDC","_wxClientDC",0},
5668 { "_class_wxSizeEvent","_wxSizeEvent",0},
5669 { "_class_wxGridCell","_wxGridCell",0},
5670 { "_class_wxSize","_wxSize",0},
5671 { "_class_wxBitmap","_wxBitmap",0},
5672 { "_class_wxMemoryDC","_wxMemoryDC",0},
5673 { "_wxMenuBar","_class_wxMenuBar",0},
5674 { "_wxEvtHandler","_class_wxTaskBarIcon",SwigwxTaskBarIconTowxEvtHandler
},
5675 { "_wxEvtHandler","_wxTaskBarIcon",SwigwxTaskBarIconTowxEvtHandler
},
5676 { "_wxEvtHandler","_class_wxSplitterWindow",SwigwxSplitterWindowTowxEvtHandler
},
5677 { "_wxEvtHandler","_wxSplitterWindow",SwigwxSplitterWindowTowxEvtHandler
},
5678 { "_wxEvtHandler","_class_wxNotebook",SwigwxNotebookTowxEvtHandler
},
5679 { "_wxEvtHandler","_wxNotebook",SwigwxNotebookTowxEvtHandler
},
5680 { "_wxEvtHandler","_class_wxGrid",SwigwxGridTowxEvtHandler
},
5681 { "_wxEvtHandler","_wxGrid",SwigwxGridTowxEvtHandler
},
5682 { "_wxEvtHandler","_class_wxEvtHandler",0},
5683 { "_wxMenuItem","_class_wxMenuItem",0},
5684 { "_class_wxScrollBar","_wxScrollBar",0},
5685 { "_wxDash","_unsigned_long",0},
5686 { "_wxDash","_long",0},
5687 { "_class_wxScrolledWindow","_wxScrolledWindow",0},
5688 { "_wxKeyEvent","_class_wxKeyEvent",0},
5689 { "_wxMoveEvent","_class_wxMoveEvent",0},
5690 { "_class_wxPalette","_wxPalette",0},
5691 { "_class_wxEraseEvent","_wxEraseEvent",0},
5692 { "_wxWindow","_class_wxSplitterWindow",SwigwxSplitterWindowTowxWindow
},
5693 { "_wxWindow","_wxSplitterWindow",SwigwxSplitterWindowTowxWindow
},
5694 { "_wxWindow","_class_wxNotebook",SwigwxNotebookTowxWindow
},
5695 { "_wxWindow","_wxNotebook",SwigwxNotebookTowxWindow
},
5696 { "_wxWindow","_class_wxGrid",SwigwxGridTowxWindow
},
5697 { "_wxWindow","_wxGrid",SwigwxGridTowxWindow
},
5698 { "_wxWindow","_class_wxWindow",0},
5699 { "_class_wxWindowDestroyEvent","_wxWindowDestroyEvent",0},
5702 static PyObject
*SWIG_globals
;
5706 SWIGEXPORT(void) initwindows2c() {
5708 SWIG_globals
= SWIG_newvarlink();
5709 m
= Py_InitModule("windows2c", windows2cMethods
);
5710 d
= PyModule_GetDict(m
);
5711 PyDict_SetItemString(d
,"wxGRID_TEXT_CTRL", PyInt_FromLong((long) wxGRID_TEXT_CTRL
));
5712 PyDict_SetItemString(d
,"wxGRID_HSCROLL", PyInt_FromLong((long) wxGRID_HSCROLL
));
5713 PyDict_SetItemString(d
,"wxGRID_VSCROLL", PyInt_FromLong((long) wxGRID_VSCROLL
));
5714 PyDict_SetItemString(d
,"wxEVT_GRID_SELECT_CELL", PyInt_FromLong((long) wxEVT_GRID_SELECT_CELL
));
5715 PyDict_SetItemString(d
,"wxEVT_GRID_CREATE_CELL", PyInt_FromLong((long) wxEVT_GRID_CREATE_CELL
));
5716 PyDict_SetItemString(d
,"wxEVT_GRID_CHANGE_LABELS", PyInt_FromLong((long) wxEVT_GRID_CHANGE_LABELS
));
5717 PyDict_SetItemString(d
,"wxEVT_GRID_CHANGE_SEL_LABEL", PyInt_FromLong((long) wxEVT_GRID_CHANGE_SEL_LABEL
));
5718 PyDict_SetItemString(d
,"wxEVT_GRID_CELL_CHANGE", PyInt_FromLong((long) wxEVT_GRID_CELL_CHANGE
));
5719 PyDict_SetItemString(d
,"wxEVT_GRID_CELL_LCLICK", PyInt_FromLong((long) wxEVT_GRID_CELL_LCLICK
));
5720 PyDict_SetItemString(d
,"wxEVT_GRID_CELL_RCLICK", PyInt_FromLong((long) wxEVT_GRID_CELL_RCLICK
));
5721 PyDict_SetItemString(d
,"wxEVT_GRID_LABEL_LCLICK", PyInt_FromLong((long) wxEVT_GRID_LABEL_LCLICK
));
5722 PyDict_SetItemString(d
,"wxEVT_GRID_LABEL_RCLICK", PyInt_FromLong((long) wxEVT_GRID_LABEL_RCLICK
));
5723 PyDict_SetItemString(d
,"wxEVT_TASKBAR_MOVE", PyInt_FromLong((long) wxEVT_TASKBAR_MOVE
));
5724 PyDict_SetItemString(d
,"wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong((long) wxEVT_TASKBAR_LEFT_DOWN
));
5725 PyDict_SetItemString(d
,"wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong((long) wxEVT_TASKBAR_LEFT_UP
));
5726 PyDict_SetItemString(d
,"wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong((long) wxEVT_TASKBAR_RIGHT_DOWN
));
5727 PyDict_SetItemString(d
,"wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong((long) wxEVT_TASKBAR_RIGHT_UP
));
5728 PyDict_SetItemString(d
,"wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong((long) wxEVT_TASKBAR_LEFT_DCLICK
));
5729 PyDict_SetItemString(d
,"wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong((long) wxEVT_TASKBAR_RIGHT_DCLICK
));
5732 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
5733 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);