2 * FILE : src/gtk/sizers.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
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 initsizersc
54 #define SWIG_name "sizersc"
58 #include <wx/notebook.h>
60 static PyObject
* l_output_helper(PyObject
* target
, PyObject
* o
) {
64 } else if (target
== Py_None
) {
68 if (!PyList_Check(target
)) {
70 target
= PyList_New(0);
71 PyList_Append(target
, o2
);
74 PyList_Append(target
,o
);
80 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
86 } else if (target
== Py_None
) {
90 if (!PyTuple_Check(target
)) {
92 target
= PyTuple_New(1);
93 PyTuple_SetItem(target
, 0, o2
);
96 PyTuple_SetItem(o3
, 0, o
);
99 target
= PySequence_Concat(o2
, o3
);
106 #if PYTHON_API_VERSION >= 1009
107 static char* wxStringErrorMsg
= "String or Unicode type required";
109 static char* wxStringErrorMsg
= "String type required";
112 class wxPySizer
: public wxSizer
{
113 DECLARE_DYNAMIC_CLASS(wxPySizer
);
115 wxPySizer() : wxSizer() {};
117 DEC_PYCALLBACK___pure(RecalcSizes
);
118 DEC_PYCALLBACK_wxSize__pure(CalcMin
);
123 IMP_PYCALLBACK___pure(wxPySizer
, wxSizer
, RecalcSizes
);
124 IMP_PYCALLBACK_wxSize__pure(wxPySizer
, wxSizer
, CalcMin
);
126 IMPLEMENT_DYNAMIC_CLASS(wxPySizer
, wxSizer
);
130 static void *SwigwxSizerItemTowxObject(void *ptr
) {
133 src
= (wxSizerItem
*) ptr
;
134 dest
= (wxObject
*) src
;
135 return (void *) dest
;
138 #define wxSizerItem_GetPosition(_swigobj) (_swigobj->GetPosition())
139 static PyObject
*_wrap_wxSizerItem_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
140 PyObject
* _resultobj
;
143 PyObject
* _argo0
= 0;
144 char *_kwnames
[] = { "self", NULL
};
148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSizerItem_GetPosition",_kwnames
,&_argo0
))
151 if (_argo0
== Py_None
) { _arg0
= NULL
; }
152 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizerItem_p")) {
153 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizerItem_GetPosition. Expected _wxSizerItem_p.");
158 wxPy_BEGIN_ALLOW_THREADS
;
159 _result
= new wxPoint (wxSizerItem_GetPosition(_arg0
));
161 wxPy_END_ALLOW_THREADS
;
162 if (PyErr_Occurred()) return NULL
;
163 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
164 _resultobj
= Py_BuildValue("s",_ptemp
);
168 #define wxSizerItem_GetSize(_swigobj) (_swigobj->GetSize())
169 static PyObject
*_wrap_wxSizerItem_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
170 PyObject
* _resultobj
;
173 PyObject
* _argo0
= 0;
174 char *_kwnames
[] = { "self", NULL
};
178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSizerItem_GetSize",_kwnames
,&_argo0
))
181 if (_argo0
== Py_None
) { _arg0
= NULL
; }
182 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizerItem_p")) {
183 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizerItem_GetSize. Expected _wxSizerItem_p.");
188 wxPy_BEGIN_ALLOW_THREADS
;
189 _result
= new wxSize (wxSizerItem_GetSize(_arg0
));
191 wxPy_END_ALLOW_THREADS
;
192 if (PyErr_Occurred()) return NULL
;
193 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
194 _resultobj
= Py_BuildValue("s",_ptemp
);
198 #define wxSizerItem_CalcMin(_swigobj) (_swigobj->CalcMin())
199 static PyObject
*_wrap_wxSizerItem_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
200 PyObject
* _resultobj
;
203 PyObject
* _argo0
= 0;
204 char *_kwnames
[] = { "self", NULL
};
208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSizerItem_CalcMin",_kwnames
,&_argo0
))
211 if (_argo0
== Py_None
) { _arg0
= NULL
; }
212 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizerItem_p")) {
213 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizerItem_CalcMin. Expected _wxSizerItem_p.");
218 wxPy_BEGIN_ALLOW_THREADS
;
219 _result
= new wxSize (wxSizerItem_CalcMin(_arg0
));
221 wxPy_END_ALLOW_THREADS
;
222 if (PyErr_Occurred()) return NULL
;
223 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
224 _resultobj
= Py_BuildValue("s",_ptemp
);
228 #define wxSizerItem_SetDimension(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDimension(_swigarg0,_swigarg1))
229 static PyObject
*_wrap_wxSizerItem_SetDimension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
230 PyObject
* _resultobj
;
234 PyObject
* _argo0
= 0;
236 PyObject
* _obj1
= 0;
238 PyObject
* _obj2
= 0;
239 char *_kwnames
[] = { "self","pos","size", NULL
};
242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxSizerItem_SetDimension",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
245 if (_argo0
== Py_None
) { _arg0
= NULL
; }
246 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizerItem_p")) {
247 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizerItem_SetDimension. Expected _wxSizerItem_p.");
253 if (! wxPoint_helper(_obj1
, &_arg1
))
258 if (! wxSize_helper(_obj2
, &_arg2
))
262 wxPy_BEGIN_ALLOW_THREADS
;
263 wxSizerItem_SetDimension(_arg0
,*_arg1
,*_arg2
);
265 wxPy_END_ALLOW_THREADS
;
266 if (PyErr_Occurred()) return NULL
;
267 } Py_INCREF(Py_None
);
268 _resultobj
= Py_None
;
272 #define wxSizerItem_SetRatioWH(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRatio(_swigarg0,_swigarg1))
273 static PyObject
*_wrap_wxSizerItem_SetRatioWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
274 PyObject
* _resultobj
;
278 PyObject
* _argo0
= 0;
279 char *_kwnames
[] = { "self","width","height", NULL
};
282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxSizerItem_SetRatioWH",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
285 if (_argo0
== Py_None
) { _arg0
= NULL
; }
286 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizerItem_p")) {
287 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizerItem_SetRatioWH. Expected _wxSizerItem_p.");
292 wxPy_BEGIN_ALLOW_THREADS
;
293 wxSizerItem_SetRatioWH(_arg0
,_arg1
,_arg2
);
295 wxPy_END_ALLOW_THREADS
;
296 if (PyErr_Occurred()) return NULL
;
297 } Py_INCREF(Py_None
);
298 _resultobj
= Py_None
;
302 #define wxSizerItem_SetRatioSize(_swigobj,_swigarg0) (_swigobj->SetRatio(_swigarg0))
303 static PyObject
*_wrap_wxSizerItem_SetRatioSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
304 PyObject
* _resultobj
;
307 PyObject
* _argo0
= 0;
309 PyObject
* _obj1
= 0;
310 char *_kwnames
[] = { "self","size", NULL
};
313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxSizerItem_SetRatioSize",_kwnames
,&_argo0
,&_obj1
))
316 if (_argo0
== Py_None
) { _arg0
= NULL
; }
317 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizerItem_p")) {
318 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizerItem_SetRatioSize. Expected _wxSizerItem_p.");
324 if (! wxSize_helper(_obj1
, &_arg1
))
328 wxPy_BEGIN_ALLOW_THREADS
;
329 wxSizerItem_SetRatioSize(_arg0
,*_arg1
);
331 wxPy_END_ALLOW_THREADS
;
332 if (PyErr_Occurred()) return NULL
;
333 } Py_INCREF(Py_None
);
334 _resultobj
= Py_None
;
338 #define wxSizerItem_SetRatio(_swigobj,_swigarg0) (_swigobj->SetRatio(_swigarg0))
339 static PyObject
*_wrap_wxSizerItem_SetRatio(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
340 PyObject
* _resultobj
;
343 PyObject
* _argo0
= 0;
344 char *_kwnames
[] = { "self","ratio", NULL
};
347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Of:wxSizerItem_SetRatio",_kwnames
,&_argo0
,&_arg1
))
350 if (_argo0
== Py_None
) { _arg0
= NULL
; }
351 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizerItem_p")) {
352 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizerItem_SetRatio. Expected _wxSizerItem_p.");
357 wxPy_BEGIN_ALLOW_THREADS
;
358 wxSizerItem_SetRatio(_arg0
,_arg1
);
360 wxPy_END_ALLOW_THREADS
;
361 if (PyErr_Occurred()) return NULL
;
362 } Py_INCREF(Py_None
);
363 _resultobj
= Py_None
;
367 #define wxSizerItem_GetRatio(_swigobj) (_swigobj->GetRatio())
368 static PyObject
*_wrap_wxSizerItem_GetRatio(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
369 PyObject
* _resultobj
;
372 PyObject
* _argo0
= 0;
373 char *_kwnames
[] = { "self", NULL
};
376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSizerItem_GetRatio",_kwnames
,&_argo0
))
379 if (_argo0
== Py_None
) { _arg0
= NULL
; }
380 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizerItem_p")) {
381 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizerItem_GetRatio. Expected _wxSizerItem_p.");
386 wxPy_BEGIN_ALLOW_THREADS
;
387 _result
= (float )wxSizerItem_GetRatio(_arg0
);
389 wxPy_END_ALLOW_THREADS
;
390 if (PyErr_Occurred()) return NULL
;
391 } _resultobj
= Py_BuildValue("f",_result
);
395 #define wxSizerItem_IsWindow(_swigobj) (_swigobj->IsWindow())
396 static PyObject
*_wrap_wxSizerItem_IsWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
397 PyObject
* _resultobj
;
400 PyObject
* _argo0
= 0;
401 char *_kwnames
[] = { "self", NULL
};
404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSizerItem_IsWindow",_kwnames
,&_argo0
))
407 if (_argo0
== Py_None
) { _arg0
= NULL
; }
408 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizerItem_p")) {
409 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizerItem_IsWindow. Expected _wxSizerItem_p.");
414 wxPy_BEGIN_ALLOW_THREADS
;
415 _result
= (bool )wxSizerItem_IsWindow(_arg0
);
417 wxPy_END_ALLOW_THREADS
;
418 if (PyErr_Occurred()) return NULL
;
419 } _resultobj
= Py_BuildValue("i",_result
);
423 #define wxSizerItem_IsSizer(_swigobj) (_swigobj->IsSizer())
424 static PyObject
*_wrap_wxSizerItem_IsSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
425 PyObject
* _resultobj
;
428 PyObject
* _argo0
= 0;
429 char *_kwnames
[] = { "self", NULL
};
432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSizerItem_IsSizer",_kwnames
,&_argo0
))
435 if (_argo0
== Py_None
) { _arg0
= NULL
; }
436 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizerItem_p")) {
437 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizerItem_IsSizer. Expected _wxSizerItem_p.");
442 wxPy_BEGIN_ALLOW_THREADS
;
443 _result
= (bool )wxSizerItem_IsSizer(_arg0
);
445 wxPy_END_ALLOW_THREADS
;
446 if (PyErr_Occurred()) return NULL
;
447 } _resultobj
= Py_BuildValue("i",_result
);
451 #define wxSizerItem_IsSpacer(_swigobj) (_swigobj->IsSpacer())
452 static PyObject
*_wrap_wxSizerItem_IsSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
453 PyObject
* _resultobj
;
456 PyObject
* _argo0
= 0;
457 char *_kwnames
[] = { "self", NULL
};
460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSizerItem_IsSpacer",_kwnames
,&_argo0
))
463 if (_argo0
== Py_None
) { _arg0
= NULL
; }
464 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizerItem_p")) {
465 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizerItem_IsSpacer. Expected _wxSizerItem_p.");
470 wxPy_BEGIN_ALLOW_THREADS
;
471 _result
= (bool )wxSizerItem_IsSpacer(_arg0
);
473 wxPy_END_ALLOW_THREADS
;
474 if (PyErr_Occurred()) return NULL
;
475 } _resultobj
= Py_BuildValue("i",_result
);
479 #define wxSizerItem_GetWindow(_swigobj) (_swigobj->GetWindow())
480 static PyObject
*_wrap_wxSizerItem_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
481 PyObject
* _resultobj
;
484 PyObject
* _argo0
= 0;
485 char *_kwnames
[] = { "self", NULL
};
488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSizerItem_GetWindow",_kwnames
,&_argo0
))
491 if (_argo0
== Py_None
) { _arg0
= NULL
; }
492 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizerItem_p")) {
493 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizerItem_GetWindow. Expected _wxSizerItem_p.");
498 wxPy_BEGIN_ALLOW_THREADS
;
499 _result
= (wxWindow
*)wxSizerItem_GetWindow(_arg0
);
501 wxPy_END_ALLOW_THREADS
;
502 if (PyErr_Occurred()) return NULL
;
503 }{ _resultobj
= wxPyMake_wxObject(_result
); }
507 #define wxSizerItem_SetWindow(_swigobj,_swigarg0) (_swigobj->SetWindow(_swigarg0))
508 static PyObject
*_wrap_wxSizerItem_SetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
509 PyObject
* _resultobj
;
512 PyObject
* _argo0
= 0;
513 PyObject
* _argo1
= 0;
514 char *_kwnames
[] = { "self","window", NULL
};
517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxSizerItem_SetWindow",_kwnames
,&_argo0
,&_argo1
))
520 if (_argo0
== Py_None
) { _arg0
= NULL
; }
521 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizerItem_p")) {
522 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizerItem_SetWindow. Expected _wxSizerItem_p.");
527 if (_argo1
== Py_None
) { _arg1
= NULL
; }
528 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
529 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSizerItem_SetWindow. Expected _wxWindow_p.");
534 wxPy_BEGIN_ALLOW_THREADS
;
535 wxSizerItem_SetWindow(_arg0
,_arg1
);
537 wxPy_END_ALLOW_THREADS
;
538 if (PyErr_Occurred()) return NULL
;
539 } Py_INCREF(Py_None
);
540 _resultobj
= Py_None
;
544 #define wxSizerItem_GetSizer(_swigobj) (_swigobj->GetSizer())
545 static PyObject
*_wrap_wxSizerItem_GetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
546 PyObject
* _resultobj
;
549 PyObject
* _argo0
= 0;
550 char *_kwnames
[] = { "self", NULL
};
553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSizerItem_GetSizer",_kwnames
,&_argo0
))
556 if (_argo0
== Py_None
) { _arg0
= NULL
; }
557 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizerItem_p")) {
558 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizerItem_GetSizer. Expected _wxSizerItem_p.");
563 wxPy_BEGIN_ALLOW_THREADS
;
564 _result
= (wxSizer
*)wxSizerItem_GetSizer(_arg0
);
566 wxPy_END_ALLOW_THREADS
;
567 if (PyErr_Occurred()) return NULL
;
568 }{ _resultobj
= wxPyMake_wxObject(_result
); }
572 #define wxSizerItem_SetSizer(_swigobj,_swigarg0) (_swigobj->SetSizer(_swigarg0))
573 static PyObject
*_wrap_wxSizerItem_SetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
574 PyObject
* _resultobj
;
577 PyObject
* _argo0
= 0;
578 PyObject
* _argo1
= 0;
579 char *_kwnames
[] = { "self","sizer", NULL
};
582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxSizerItem_SetSizer",_kwnames
,&_argo0
,&_argo1
))
585 if (_argo0
== Py_None
) { _arg0
= NULL
; }
586 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizerItem_p")) {
587 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizerItem_SetSizer. Expected _wxSizerItem_p.");
592 if (_argo1
== Py_None
) { _arg1
= NULL
; }
593 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxSizer_p")) {
594 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSizerItem_SetSizer. Expected _wxSizer_p.");
599 wxPy_BEGIN_ALLOW_THREADS
;
600 wxSizerItem_SetSizer(_arg0
,_arg1
);
602 wxPy_END_ALLOW_THREADS
;
603 if (PyErr_Occurred()) return NULL
;
604 } Py_INCREF(Py_None
);
605 _resultobj
= Py_None
;
609 #define wxSizerItem_GetOption(_swigobj) (_swigobj->GetOption())
610 static PyObject
*_wrap_wxSizerItem_GetOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
611 PyObject
* _resultobj
;
614 PyObject
* _argo0
= 0;
615 char *_kwnames
[] = { "self", NULL
};
618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSizerItem_GetOption",_kwnames
,&_argo0
))
621 if (_argo0
== Py_None
) { _arg0
= NULL
; }
622 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizerItem_p")) {
623 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizerItem_GetOption. Expected _wxSizerItem_p.");
628 wxPy_BEGIN_ALLOW_THREADS
;
629 _result
= (int )wxSizerItem_GetOption(_arg0
);
631 wxPy_END_ALLOW_THREADS
;
632 if (PyErr_Occurred()) return NULL
;
633 } _resultobj
= Py_BuildValue("i",_result
);
637 #define wxSizerItem_GetFlag(_swigobj) (_swigobj->GetFlag())
638 static PyObject
*_wrap_wxSizerItem_GetFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
639 PyObject
* _resultobj
;
642 PyObject
* _argo0
= 0;
643 char *_kwnames
[] = { "self", NULL
};
646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSizerItem_GetFlag",_kwnames
,&_argo0
))
649 if (_argo0
== Py_None
) { _arg0
= NULL
; }
650 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizerItem_p")) {
651 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizerItem_GetFlag. Expected _wxSizerItem_p.");
656 wxPy_BEGIN_ALLOW_THREADS
;
657 _result
= (int )wxSizerItem_GetFlag(_arg0
);
659 wxPy_END_ALLOW_THREADS
;
660 if (PyErr_Occurred()) return NULL
;
661 } _resultobj
= Py_BuildValue("i",_result
);
665 #define wxSizerItem_GetBorder(_swigobj) (_swigobj->GetBorder())
666 static PyObject
*_wrap_wxSizerItem_GetBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
667 PyObject
* _resultobj
;
670 PyObject
* _argo0
= 0;
671 char *_kwnames
[] = { "self", NULL
};
674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSizerItem_GetBorder",_kwnames
,&_argo0
))
677 if (_argo0
== Py_None
) { _arg0
= NULL
; }
678 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizerItem_p")) {
679 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizerItem_GetBorder. Expected _wxSizerItem_p.");
684 wxPy_BEGIN_ALLOW_THREADS
;
685 _result
= (int )wxSizerItem_GetBorder(_arg0
);
687 wxPy_END_ALLOW_THREADS
;
688 if (PyErr_Occurred()) return NULL
;
689 } _resultobj
= Py_BuildValue("i",_result
);
693 #define wxSizerItem_SetInitSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetInitSize(_swigarg0,_swigarg1))
694 static PyObject
*_wrap_wxSizerItem_SetInitSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
695 PyObject
* _resultobj
;
699 PyObject
* _argo0
= 0;
700 char *_kwnames
[] = { "self","x","y", NULL
};
703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxSizerItem_SetInitSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
706 if (_argo0
== Py_None
) { _arg0
= NULL
; }
707 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizerItem_p")) {
708 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizerItem_SetInitSize. Expected _wxSizerItem_p.");
713 wxPy_BEGIN_ALLOW_THREADS
;
714 wxSizerItem_SetInitSize(_arg0
,_arg1
,_arg2
);
716 wxPy_END_ALLOW_THREADS
;
717 if (PyErr_Occurred()) return NULL
;
718 } Py_INCREF(Py_None
);
719 _resultobj
= Py_None
;
723 #define wxSizerItem_SetOption(_swigobj,_swigarg0) (_swigobj->SetOption(_swigarg0))
724 static PyObject
*_wrap_wxSizerItem_SetOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
725 PyObject
* _resultobj
;
728 PyObject
* _argo0
= 0;
729 char *_kwnames
[] = { "self","option", NULL
};
732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSizerItem_SetOption",_kwnames
,&_argo0
,&_arg1
))
735 if (_argo0
== Py_None
) { _arg0
= NULL
; }
736 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizerItem_p")) {
737 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizerItem_SetOption. Expected _wxSizerItem_p.");
742 wxPy_BEGIN_ALLOW_THREADS
;
743 wxSizerItem_SetOption(_arg0
,_arg1
);
745 wxPy_END_ALLOW_THREADS
;
746 if (PyErr_Occurred()) return NULL
;
747 } Py_INCREF(Py_None
);
748 _resultobj
= Py_None
;
752 #define wxSizerItem_SetFlag(_swigobj,_swigarg0) (_swigobj->SetFlag(_swigarg0))
753 static PyObject
*_wrap_wxSizerItem_SetFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
754 PyObject
* _resultobj
;
757 PyObject
* _argo0
= 0;
758 char *_kwnames
[] = { "self","flag", NULL
};
761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSizerItem_SetFlag",_kwnames
,&_argo0
,&_arg1
))
764 if (_argo0
== Py_None
) { _arg0
= NULL
; }
765 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizerItem_p")) {
766 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizerItem_SetFlag. Expected _wxSizerItem_p.");
771 wxPy_BEGIN_ALLOW_THREADS
;
772 wxSizerItem_SetFlag(_arg0
,_arg1
);
774 wxPy_END_ALLOW_THREADS
;
775 if (PyErr_Occurred()) return NULL
;
776 } Py_INCREF(Py_None
);
777 _resultobj
= Py_None
;
781 #define wxSizerItem_SetBorder(_swigobj,_swigarg0) (_swigobj->SetBorder(_swigarg0))
782 static PyObject
*_wrap_wxSizerItem_SetBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
783 PyObject
* _resultobj
;
786 PyObject
* _argo0
= 0;
787 char *_kwnames
[] = { "self","border", NULL
};
790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSizerItem_SetBorder",_kwnames
,&_argo0
,&_arg1
))
793 if (_argo0
== Py_None
) { _arg0
= NULL
; }
794 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizerItem_p")) {
795 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizerItem_SetBorder. Expected _wxSizerItem_p.");
800 wxPy_BEGIN_ALLOW_THREADS
;
801 wxSizerItem_SetBorder(_arg0
,_arg1
);
803 wxPy_END_ALLOW_THREADS
;
804 if (PyErr_Occurred()) return NULL
;
805 } Py_INCREF(Py_None
);
806 _resultobj
= Py_None
;
810 static PyObject
* wxSizerItem_GetUserData(wxSizerItem
*self
) {
811 wxPyUserData
* data
= (wxPyUserData
*)self
->GetUserData();
813 Py_INCREF(data
->m_obj
);
820 static PyObject
*_wrap_wxSizerItem_GetUserData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
821 PyObject
* _resultobj
;
824 PyObject
* _argo0
= 0;
825 char *_kwnames
[] = { "self", NULL
};
828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSizerItem_GetUserData",_kwnames
,&_argo0
))
831 if (_argo0
== Py_None
) { _arg0
= NULL
; }
832 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizerItem_p")) {
833 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizerItem_GetUserData. Expected _wxSizerItem_p.");
838 wxPy_BEGIN_ALLOW_THREADS
;
839 _result
= (PyObject
*)wxSizerItem_GetUserData(_arg0
);
841 wxPy_END_ALLOW_THREADS
;
842 if (PyErr_Occurred()) return NULL
;
844 _resultobj
= _result
;
849 static void *SwigwxSizerTowxObject(void *ptr
) {
852 src
= (wxSizer
*) ptr
;
853 dest
= (wxObject
*) src
;
854 return (void *) dest
;
857 static void wxSizer_Destroy(wxSizer
*self
) { delete self
; }
858 static PyObject
*_wrap_wxSizer_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
859 PyObject
* _resultobj
;
861 PyObject
* _argo0
= 0;
862 char *_kwnames
[] = { "self", NULL
};
865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSizer_Destroy",_kwnames
,&_argo0
))
868 if (_argo0
== Py_None
) { _arg0
= NULL
; }
869 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
870 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_Destroy. Expected _wxSizer_p.");
875 wxPy_BEGIN_ALLOW_THREADS
;
876 wxSizer_Destroy(_arg0
);
878 wxPy_END_ALLOW_THREADS
;
879 if (PyErr_Occurred()) return NULL
;
880 } Py_INCREF(Py_None
);
881 _resultobj
= Py_None
;
885 static void wxSizer_AddWindow(wxSizer
*self
,wxWindow
* window
,int option
,int flag
,int border
,PyObject
* userData
) {
886 wxPyUserData
* data
= NULL
;
887 if (userData
) data
= new wxPyUserData(userData
);
888 self
->Add(window
, option
, flag
, border
, data
);
890 static PyObject
*_wrap_wxSizer_AddWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
891 PyObject
* _resultobj
;
894 int _arg2
= (int ) 0;
895 int _arg3
= (int ) 0;
896 int _arg4
= (int ) 0;
897 PyObject
* _arg5
= (PyObject
*) NULL
;
898 PyObject
* _argo0
= 0;
899 PyObject
* _argo1
= 0;
900 PyObject
* _obj5
= 0;
901 char *_kwnames
[] = { "self","window","option","flag","border","userData", NULL
};
904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iiiO:wxSizer_AddWindow",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_obj5
))
907 if (_argo0
== Py_None
) { _arg0
= NULL
; }
908 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
909 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_AddWindow. Expected _wxSizer_p.");
914 if (_argo1
== Py_None
) { _arg1
= NULL
; }
915 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
916 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSizer_AddWindow. Expected _wxWindow_p.");
925 wxPy_BEGIN_ALLOW_THREADS
;
926 wxSizer_AddWindow(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
928 wxPy_END_ALLOW_THREADS
;
929 if (PyErr_Occurred()) return NULL
;
930 } Py_INCREF(Py_None
);
931 _resultobj
= Py_None
;
935 static void wxSizer_AddSizer(wxSizer
*self
,wxSizer
* sizer
,int option
,int flag
,int border
,PyObject
* userData
) {
936 wxPyUserData
* data
= NULL
;
937 if (userData
) data
= new wxPyUserData(userData
);
938 self
->Add(sizer
, option
, flag
, border
, data
);
940 static PyObject
*_wrap_wxSizer_AddSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
941 PyObject
* _resultobj
;
944 int _arg2
= (int ) 0;
945 int _arg3
= (int ) 0;
946 int _arg4
= (int ) 0;
947 PyObject
* _arg5
= (PyObject
*) NULL
;
948 PyObject
* _argo0
= 0;
949 PyObject
* _argo1
= 0;
950 PyObject
* _obj5
= 0;
951 char *_kwnames
[] = { "self","sizer","option","flag","border","userData", NULL
};
954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iiiO:wxSizer_AddSizer",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_obj5
))
957 if (_argo0
== Py_None
) { _arg0
= NULL
; }
958 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
959 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_AddSizer. Expected _wxSizer_p.");
964 if (_argo1
== Py_None
) { _arg1
= NULL
; }
965 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxSizer_p")) {
966 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSizer_AddSizer. Expected _wxSizer_p.");
975 wxPy_BEGIN_ALLOW_THREADS
;
976 wxSizer_AddSizer(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
978 wxPy_END_ALLOW_THREADS
;
979 if (PyErr_Occurred()) return NULL
;
980 } Py_INCREF(Py_None
);
981 _resultobj
= Py_None
;
985 static void wxSizer_AddSpacer(wxSizer
*self
,int width
,int height
,int option
,int flag
,int border
,PyObject
* userData
) {
986 wxPyUserData
* data
= NULL
;
987 if (userData
) data
= new wxPyUserData(userData
);
988 self
->Add(width
, height
, option
, flag
, border
, data
);
990 static PyObject
*_wrap_wxSizer_AddSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
991 PyObject
* _resultobj
;
995 int _arg3
= (int ) 0;
996 int _arg4
= (int ) 0;
997 int _arg5
= (int ) 0;
998 PyObject
* _arg6
= (PyObject
*) NULL
;
999 PyObject
* _argo0
= 0;
1000 PyObject
* _obj6
= 0;
1001 char *_kwnames
[] = { "self","width","height","option","flag","border","userData", NULL
};
1004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|iiiO:wxSizer_AddSpacer",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_obj6
))
1007 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1008 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
1009 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_AddSpacer. Expected _wxSizer_p.");
1018 wxPy_BEGIN_ALLOW_THREADS
;
1019 wxSizer_AddSpacer(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
1021 wxPy_END_ALLOW_THREADS
;
1022 if (PyErr_Occurred()) return NULL
;
1023 } Py_INCREF(Py_None
);
1024 _resultobj
= Py_None
;
1028 static void wxSizer_InsertWindow(wxSizer
*self
,int before
,wxWindow
* window
,int option
,int flag
,int border
,PyObject
* userData
) {
1029 wxPyUserData
* data
= NULL
;
1030 if (userData
) data
= new wxPyUserData(userData
);
1031 self
->Insert(before
, window
, option
, flag
, border
, data
);
1033 static PyObject
*_wrap_wxSizer_InsertWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1034 PyObject
* _resultobj
;
1038 int _arg3
= (int ) 0;
1039 int _arg4
= (int ) 0;
1040 int _arg5
= (int ) 0;
1041 PyObject
* _arg6
= (PyObject
*) NULL
;
1042 PyObject
* _argo0
= 0;
1043 PyObject
* _argo2
= 0;
1044 PyObject
* _obj6
= 0;
1045 char *_kwnames
[] = { "self","before","window","option","flag","border","userData", NULL
};
1048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|iiiO:wxSizer_InsertWindow",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_arg3
,&_arg4
,&_arg5
,&_obj6
))
1051 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1052 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
1053 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_InsertWindow. Expected _wxSizer_p.");
1058 if (_argo2
== Py_None
) { _arg2
= NULL
; }
1059 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
1060 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxSizer_InsertWindow. Expected _wxWindow_p.");
1069 wxPy_BEGIN_ALLOW_THREADS
;
1070 wxSizer_InsertWindow(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
1072 wxPy_END_ALLOW_THREADS
;
1073 if (PyErr_Occurred()) return NULL
;
1074 } Py_INCREF(Py_None
);
1075 _resultobj
= Py_None
;
1079 static void wxSizer_InsertSizer(wxSizer
*self
,int before
,wxSizer
* sizer
,int option
,int flag
,int border
,PyObject
* userData
) {
1080 wxPyUserData
* data
= NULL
;
1081 if (userData
) data
= new wxPyUserData(userData
);
1082 self
->Insert(before
, sizer
, option
, flag
, border
, data
);
1084 static PyObject
*_wrap_wxSizer_InsertSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1085 PyObject
* _resultobj
;
1089 int _arg3
= (int ) 0;
1090 int _arg4
= (int ) 0;
1091 int _arg5
= (int ) 0;
1092 PyObject
* _arg6
= (PyObject
*) NULL
;
1093 PyObject
* _argo0
= 0;
1094 PyObject
* _argo2
= 0;
1095 PyObject
* _obj6
= 0;
1096 char *_kwnames
[] = { "self","before","sizer","option","flag","border","userData", NULL
};
1099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|iiiO:wxSizer_InsertSizer",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_arg3
,&_arg4
,&_arg5
,&_obj6
))
1102 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1103 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
1104 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_InsertSizer. Expected _wxSizer_p.");
1109 if (_argo2
== Py_None
) { _arg2
= NULL
; }
1110 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxSizer_p")) {
1111 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxSizer_InsertSizer. Expected _wxSizer_p.");
1120 wxPy_BEGIN_ALLOW_THREADS
;
1121 wxSizer_InsertSizer(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
1123 wxPy_END_ALLOW_THREADS
;
1124 if (PyErr_Occurred()) return NULL
;
1125 } Py_INCREF(Py_None
);
1126 _resultobj
= Py_None
;
1130 static void wxSizer_InsertSpacer(wxSizer
*self
,int before
,int width
,int height
,int option
,int flag
,int border
,PyObject
* userData
) {
1131 wxPyUserData
* data
= NULL
;
1132 if (userData
) data
= new wxPyUserData(userData
);
1133 self
->Insert(before
, width
, height
, option
, flag
, border
, data
);
1135 static PyObject
*_wrap_wxSizer_InsertSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1136 PyObject
* _resultobj
;
1141 int _arg4
= (int ) 0;
1142 int _arg5
= (int ) 0;
1143 int _arg6
= (int ) 0;
1144 PyObject
* _arg7
= (PyObject
*) NULL
;
1145 PyObject
* _argo0
= 0;
1146 PyObject
* _obj7
= 0;
1147 char *_kwnames
[] = { "self","before","width","height","option","flag","border","userData", NULL
};
1150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiii|iiiO:wxSizer_InsertSpacer",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
,&_obj7
))
1153 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1154 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
1155 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_InsertSpacer. Expected _wxSizer_p.");
1164 wxPy_BEGIN_ALLOW_THREADS
;
1165 wxSizer_InsertSpacer(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
);
1167 wxPy_END_ALLOW_THREADS
;
1168 if (PyErr_Occurred()) return NULL
;
1169 } Py_INCREF(Py_None
);
1170 _resultobj
= Py_None
;
1174 static void wxSizer_PrependWindow(wxSizer
*self
,wxWindow
* window
,int option
,int flag
,int border
,PyObject
* userData
) {
1175 wxPyUserData
* data
= NULL
;
1176 if (userData
) data
= new wxPyUserData(userData
);
1177 self
->Prepend(window
, option
, flag
, border
, data
);
1179 static PyObject
*_wrap_wxSizer_PrependWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1180 PyObject
* _resultobj
;
1183 int _arg2
= (int ) 0;
1184 int _arg3
= (int ) 0;
1185 int _arg4
= (int ) 0;
1186 PyObject
* _arg5
= (PyObject
*) NULL
;
1187 PyObject
* _argo0
= 0;
1188 PyObject
* _argo1
= 0;
1189 PyObject
* _obj5
= 0;
1190 char *_kwnames
[] = { "self","window","option","flag","border","userData", NULL
};
1193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iiiO:wxSizer_PrependWindow",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_obj5
))
1196 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1197 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
1198 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_PrependWindow. Expected _wxSizer_p.");
1203 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1204 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1205 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSizer_PrependWindow. Expected _wxWindow_p.");
1214 wxPy_BEGIN_ALLOW_THREADS
;
1215 wxSizer_PrependWindow(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
1217 wxPy_END_ALLOW_THREADS
;
1218 if (PyErr_Occurred()) return NULL
;
1219 } Py_INCREF(Py_None
);
1220 _resultobj
= Py_None
;
1224 static void wxSizer_PrependSizer(wxSizer
*self
,wxSizer
* sizer
,int option
,int flag
,int border
,PyObject
* userData
) {
1225 wxPyUserData
* data
= NULL
;
1226 if (userData
) data
= new wxPyUserData(userData
);
1227 self
->Prepend(sizer
, option
, flag
, border
, data
);
1229 static PyObject
*_wrap_wxSizer_PrependSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1230 PyObject
* _resultobj
;
1233 int _arg2
= (int ) 0;
1234 int _arg3
= (int ) 0;
1235 int _arg4
= (int ) 0;
1236 PyObject
* _arg5
= (PyObject
*) NULL
;
1237 PyObject
* _argo0
= 0;
1238 PyObject
* _argo1
= 0;
1239 PyObject
* _obj5
= 0;
1240 char *_kwnames
[] = { "self","sizer","option","flag","border","userData", NULL
};
1243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iiiO:wxSizer_PrependSizer",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_obj5
))
1246 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1247 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
1248 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_PrependSizer. Expected _wxSizer_p.");
1253 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1254 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxSizer_p")) {
1255 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSizer_PrependSizer. Expected _wxSizer_p.");
1264 wxPy_BEGIN_ALLOW_THREADS
;
1265 wxSizer_PrependSizer(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
1267 wxPy_END_ALLOW_THREADS
;
1268 if (PyErr_Occurred()) return NULL
;
1269 } Py_INCREF(Py_None
);
1270 _resultobj
= Py_None
;
1274 static void wxSizer_PrependSpacer(wxSizer
*self
,int width
,int height
,int option
,int flag
,int border
,PyObject
* userData
) {
1275 wxPyUserData
* data
= NULL
;
1276 if (userData
) data
= new wxPyUserData(userData
);
1277 self
->Prepend(width
, height
, option
, flag
, border
, data
);
1279 static PyObject
*_wrap_wxSizer_PrependSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1280 PyObject
* _resultobj
;
1284 int _arg3
= (int ) 0;
1285 int _arg4
= (int ) 0;
1286 int _arg5
= (int ) 0;
1287 PyObject
* _arg6
= (PyObject
*) NULL
;
1288 PyObject
* _argo0
= 0;
1289 PyObject
* _obj6
= 0;
1290 char *_kwnames
[] = { "self","width","height","option","flag","border","userData", NULL
};
1293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|iiiO:wxSizer_PrependSpacer",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_obj6
))
1296 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1297 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
1298 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_PrependSpacer. Expected _wxSizer_p.");
1307 wxPy_BEGIN_ALLOW_THREADS
;
1308 wxSizer_PrependSpacer(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
1310 wxPy_END_ALLOW_THREADS
;
1311 if (PyErr_Occurred()) return NULL
;
1312 } Py_INCREF(Py_None
);
1313 _resultobj
= Py_None
;
1317 #define wxSizer_RemoveWindow(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
1318 static PyObject
*_wrap_wxSizer_RemoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1319 PyObject
* _resultobj
;
1323 PyObject
* _argo0
= 0;
1324 PyObject
* _argo1
= 0;
1325 char *_kwnames
[] = { "self","window", NULL
};
1328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxSizer_RemoveWindow",_kwnames
,&_argo0
,&_argo1
))
1331 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1332 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
1333 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_RemoveWindow. Expected _wxSizer_p.");
1338 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1339 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1340 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSizer_RemoveWindow. Expected _wxWindow_p.");
1345 wxPy_BEGIN_ALLOW_THREADS
;
1346 _result
= (bool )wxSizer_RemoveWindow(_arg0
,_arg1
);
1348 wxPy_END_ALLOW_THREADS
;
1349 if (PyErr_Occurred()) return NULL
;
1350 } _resultobj
= Py_BuildValue("i",_result
);
1354 #define wxSizer_RemoveSizer(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
1355 static PyObject
*_wrap_wxSizer_RemoveSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1356 PyObject
* _resultobj
;
1360 PyObject
* _argo0
= 0;
1361 PyObject
* _argo1
= 0;
1362 char *_kwnames
[] = { "self","sizer", NULL
};
1365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxSizer_RemoveSizer",_kwnames
,&_argo0
,&_argo1
))
1368 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1369 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
1370 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_RemoveSizer. Expected _wxSizer_p.");
1375 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1376 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxSizer_p")) {
1377 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSizer_RemoveSizer. Expected _wxSizer_p.");
1382 wxPy_BEGIN_ALLOW_THREADS
;
1383 _result
= (bool )wxSizer_RemoveSizer(_arg0
,_arg1
);
1385 wxPy_END_ALLOW_THREADS
;
1386 if (PyErr_Occurred()) return NULL
;
1387 } _resultobj
= Py_BuildValue("i",_result
);
1391 #define wxSizer_RemovePos(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
1392 static PyObject
*_wrap_wxSizer_RemovePos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1393 PyObject
* _resultobj
;
1397 PyObject
* _argo0
= 0;
1398 char *_kwnames
[] = { "self","pos", NULL
};
1401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSizer_RemovePos",_kwnames
,&_argo0
,&_arg1
))
1404 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1405 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
1406 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_RemovePos. Expected _wxSizer_p.");
1411 wxPy_BEGIN_ALLOW_THREADS
;
1412 _result
= (bool )wxSizer_RemovePos(_arg0
,_arg1
);
1414 wxPy_END_ALLOW_THREADS
;
1415 if (PyErr_Occurred()) return NULL
;
1416 } _resultobj
= Py_BuildValue("i",_result
);
1420 #define wxSizer_SetDimension(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetDimension(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1421 static PyObject
*_wrap_wxSizer_SetDimension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1422 PyObject
* _resultobj
;
1428 PyObject
* _argo0
= 0;
1429 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
1432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii:wxSizer_SetDimension",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
1435 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1436 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
1437 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_SetDimension. Expected _wxSizer_p.");
1442 wxPy_BEGIN_ALLOW_THREADS
;
1443 wxSizer_SetDimension(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
1445 wxPy_END_ALLOW_THREADS
;
1446 if (PyErr_Occurred()) return NULL
;
1447 } Py_INCREF(Py_None
);
1448 _resultobj
= Py_None
;
1452 #define wxSizer_SetMinSize(_swigobj,_swigarg0) (_swigobj->SetMinSize(_swigarg0))
1453 static PyObject
*_wrap_wxSizer_SetMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1454 PyObject
* _resultobj
;
1457 PyObject
* _argo0
= 0;
1459 PyObject
* _obj1
= 0;
1460 char *_kwnames
[] = { "self","size", NULL
};
1463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxSizer_SetMinSize",_kwnames
,&_argo0
,&_obj1
))
1466 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1467 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
1468 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_SetMinSize. Expected _wxSizer_p.");
1474 if (! wxSize_helper(_obj1
, &_arg1
))
1478 wxPy_BEGIN_ALLOW_THREADS
;
1479 wxSizer_SetMinSize(_arg0
,*_arg1
);
1481 wxPy_END_ALLOW_THREADS
;
1482 if (PyErr_Occurred()) return NULL
;
1483 } Py_INCREF(Py_None
);
1484 _resultobj
= Py_None
;
1488 #define wxSizer_SetItemMinSizeWindow(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemMinSize(_swigarg0,_swigarg1,_swigarg2))
1489 static PyObject
*_wrap_wxSizer_SetItemMinSizeWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1490 PyObject
* _resultobj
;
1495 PyObject
* _argo0
= 0;
1496 PyObject
* _argo1
= 0;
1497 char *_kwnames
[] = { "self","window","width","height", NULL
};
1500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxSizer_SetItemMinSizeWindow",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
1503 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1504 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
1505 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_SetItemMinSizeWindow. Expected _wxSizer_p.");
1510 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1511 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1512 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSizer_SetItemMinSizeWindow. Expected _wxWindow_p.");
1517 wxPy_BEGIN_ALLOW_THREADS
;
1518 wxSizer_SetItemMinSizeWindow(_arg0
,_arg1
,_arg2
,_arg3
);
1520 wxPy_END_ALLOW_THREADS
;
1521 if (PyErr_Occurred()) return NULL
;
1522 } Py_INCREF(Py_None
);
1523 _resultobj
= Py_None
;
1527 #define wxSizer_SetItemMinSizeSizer(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemMinSize(_swigarg0,_swigarg1,_swigarg2))
1528 static PyObject
*_wrap_wxSizer_SetItemMinSizeSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1529 PyObject
* _resultobj
;
1534 PyObject
* _argo0
= 0;
1535 PyObject
* _argo1
= 0;
1536 char *_kwnames
[] = { "self","sizer","width","height", NULL
};
1539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxSizer_SetItemMinSizeSizer",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
1542 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1543 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
1544 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_SetItemMinSizeSizer. Expected _wxSizer_p.");
1549 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1550 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxSizer_p")) {
1551 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSizer_SetItemMinSizeSizer. Expected _wxSizer_p.");
1556 wxPy_BEGIN_ALLOW_THREADS
;
1557 wxSizer_SetItemMinSizeSizer(_arg0
,_arg1
,_arg2
,_arg3
);
1559 wxPy_END_ALLOW_THREADS
;
1560 if (PyErr_Occurred()) return NULL
;
1561 } Py_INCREF(Py_None
);
1562 _resultobj
= Py_None
;
1566 #define wxSizer_SetItemMinSizePos(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemMinSize(_swigarg0,_swigarg1,_swigarg2))
1567 static PyObject
*_wrap_wxSizer_SetItemMinSizePos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1568 PyObject
* _resultobj
;
1573 PyObject
* _argo0
= 0;
1574 char *_kwnames
[] = { "self","pos","width","height", NULL
};
1577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiii:wxSizer_SetItemMinSizePos",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
1580 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1581 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
1582 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_SetItemMinSizePos. Expected _wxSizer_p.");
1587 wxPy_BEGIN_ALLOW_THREADS
;
1588 wxSizer_SetItemMinSizePos(_arg0
,_arg1
,_arg2
,_arg3
);
1590 wxPy_END_ALLOW_THREADS
;
1591 if (PyErr_Occurred()) return NULL
;
1592 } Py_INCREF(Py_None
);
1593 _resultobj
= Py_None
;
1597 #define wxSizer_GetSize(_swigobj) (_swigobj->GetSize())
1598 static PyObject
*_wrap_wxSizer_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1599 PyObject
* _resultobj
;
1602 PyObject
* _argo0
= 0;
1603 char *_kwnames
[] = { "self", NULL
};
1607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSizer_GetSize",_kwnames
,&_argo0
))
1610 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1611 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
1612 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_GetSize. Expected _wxSizer_p.");
1617 wxPy_BEGIN_ALLOW_THREADS
;
1618 _result
= new wxSize (wxSizer_GetSize(_arg0
));
1620 wxPy_END_ALLOW_THREADS
;
1621 if (PyErr_Occurred()) return NULL
;
1622 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
1623 _resultobj
= Py_BuildValue("s",_ptemp
);
1627 #define wxSizer_GetPosition(_swigobj) (_swigobj->GetPosition())
1628 static PyObject
*_wrap_wxSizer_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1629 PyObject
* _resultobj
;
1632 PyObject
* _argo0
= 0;
1633 char *_kwnames
[] = { "self", NULL
};
1637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSizer_GetPosition",_kwnames
,&_argo0
))
1640 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1641 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
1642 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_GetPosition. Expected _wxSizer_p.");
1647 wxPy_BEGIN_ALLOW_THREADS
;
1648 _result
= new wxPoint (wxSizer_GetPosition(_arg0
));
1650 wxPy_END_ALLOW_THREADS
;
1651 if (PyErr_Occurred()) return NULL
;
1652 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
1653 _resultobj
= Py_BuildValue("s",_ptemp
);
1657 #define wxSizer_GetMinSize(_swigobj) (_swigobj->GetMinSize())
1658 static PyObject
*_wrap_wxSizer_GetMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1659 PyObject
* _resultobj
;
1662 PyObject
* _argo0
= 0;
1663 char *_kwnames
[] = { "self", NULL
};
1667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSizer_GetMinSize",_kwnames
,&_argo0
))
1670 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1671 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
1672 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_GetMinSize. Expected _wxSizer_p.");
1677 wxPy_BEGIN_ALLOW_THREADS
;
1678 _result
= new wxSize (wxSizer_GetMinSize(_arg0
));
1680 wxPy_END_ALLOW_THREADS
;
1681 if (PyErr_Occurred()) return NULL
;
1682 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
1683 _resultobj
= Py_BuildValue("s",_ptemp
);
1687 #define wxSizer_Layout(_swigobj) (_swigobj->Layout())
1688 static PyObject
*_wrap_wxSizer_Layout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1689 PyObject
* _resultobj
;
1691 PyObject
* _argo0
= 0;
1692 char *_kwnames
[] = { "self", NULL
};
1695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSizer_Layout",_kwnames
,&_argo0
))
1698 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1699 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
1700 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_Layout. Expected _wxSizer_p.");
1705 wxPy_BEGIN_ALLOW_THREADS
;
1706 wxSizer_Layout(_arg0
);
1708 wxPy_END_ALLOW_THREADS
;
1709 if (PyErr_Occurred()) return NULL
;
1710 } Py_INCREF(Py_None
);
1711 _resultobj
= Py_None
;
1715 #define wxSizer_Fit(_swigobj,_swigarg0) (_swigobj->Fit(_swigarg0))
1716 static PyObject
*_wrap_wxSizer_Fit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1717 PyObject
* _resultobj
;
1720 PyObject
* _argo0
= 0;
1721 PyObject
* _argo1
= 0;
1722 char *_kwnames
[] = { "self","window", NULL
};
1725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxSizer_Fit",_kwnames
,&_argo0
,&_argo1
))
1728 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1729 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
1730 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_Fit. Expected _wxSizer_p.");
1735 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1736 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1737 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSizer_Fit. Expected _wxWindow_p.");
1742 wxPy_BEGIN_ALLOW_THREADS
;
1743 wxSizer_Fit(_arg0
,_arg1
);
1745 wxPy_END_ALLOW_THREADS
;
1746 if (PyErr_Occurred()) return NULL
;
1747 } Py_INCREF(Py_None
);
1748 _resultobj
= Py_None
;
1752 #define wxSizer_SetSizeHints(_swigobj,_swigarg0) (_swigobj->SetSizeHints(_swigarg0))
1753 static PyObject
*_wrap_wxSizer_SetSizeHints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1754 PyObject
* _resultobj
;
1757 PyObject
* _argo0
= 0;
1758 PyObject
* _argo1
= 0;
1759 char *_kwnames
[] = { "self","window", NULL
};
1762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxSizer_SetSizeHints",_kwnames
,&_argo0
,&_argo1
))
1765 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1766 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
1767 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_SetSizeHints. Expected _wxSizer_p.");
1772 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1773 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1774 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSizer_SetSizeHints. Expected _wxWindow_p.");
1779 wxPy_BEGIN_ALLOW_THREADS
;
1780 wxSizer_SetSizeHints(_arg0
,_arg1
);
1782 wxPy_END_ALLOW_THREADS
;
1783 if (PyErr_Occurred()) return NULL
;
1784 } Py_INCREF(Py_None
);
1785 _resultobj
= Py_None
;
1789 static PyObject
* wxSizer_GetChildren(wxSizer
*self
) {
1790 wxList
& list
= self
->GetChildren();
1791 return wxPy_ConvertList(&list
, "wxSizerItem");
1793 static PyObject
*_wrap_wxSizer_GetChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1794 PyObject
* _resultobj
;
1797 PyObject
* _argo0
= 0;
1798 char *_kwnames
[] = { "self", NULL
};
1801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSizer_GetChildren",_kwnames
,&_argo0
))
1804 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1805 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
1806 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_GetChildren. Expected _wxSizer_p.");
1811 wxPy_BEGIN_ALLOW_THREADS
;
1812 _result
= (PyObject
*)wxSizer_GetChildren(_arg0
);
1814 wxPy_END_ALLOW_THREADS
;
1815 if (PyErr_Occurred()) return NULL
;
1817 _resultobj
= _result
;
1822 static void *SwigwxPySizerTowxSizer(void *ptr
) {
1825 src
= (wxPySizer
*) ptr
;
1826 dest
= (wxSizer
*) src
;
1827 return (void *) dest
;
1830 static void *SwigwxPySizerTowxObject(void *ptr
) {
1833 src
= (wxPySizer
*) ptr
;
1834 dest
= (wxObject
*) src
;
1835 return (void *) dest
;
1838 #define new_wxPySizer() (new wxPySizer())
1839 static PyObject
*_wrap_new_wxPySizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1840 PyObject
* _resultobj
;
1841 wxPySizer
* _result
;
1842 char *_kwnames
[] = { NULL
};
1846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPySizer",_kwnames
))
1849 wxPy_BEGIN_ALLOW_THREADS
;
1850 _result
= (wxPySizer
*)new_wxPySizer();
1852 wxPy_END_ALLOW_THREADS
;
1853 if (PyErr_Occurred()) return NULL
;
1855 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPySizer_p");
1856 _resultobj
= Py_BuildValue("s",_ptemp
);
1859 _resultobj
= Py_None
;
1864 #define wxPySizer__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
1865 static PyObject
*_wrap_wxPySizer__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1866 PyObject
* _resultobj
;
1870 PyObject
* _argo0
= 0;
1871 PyObject
* _obj1
= 0;
1872 PyObject
* _obj2
= 0;
1873 char *_kwnames
[] = { "self","self","_class", NULL
};
1876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPySizer__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
1879 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1880 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPySizer_p")) {
1881 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPySizer__setCallbackInfo. Expected _wxPySizer_p.");
1892 wxPy_BEGIN_ALLOW_THREADS
;
1893 wxPySizer__setCallbackInfo(_arg0
,_arg1
,_arg2
);
1895 wxPy_END_ALLOW_THREADS
;
1896 if (PyErr_Occurred()) return NULL
;
1897 } Py_INCREF(Py_None
);
1898 _resultobj
= Py_None
;
1902 static void *SwigwxBoxSizerTowxSizer(void *ptr
) {
1905 src
= (wxBoxSizer
*) ptr
;
1906 dest
= (wxSizer
*) src
;
1907 return (void *) dest
;
1910 static void *SwigwxBoxSizerTowxObject(void *ptr
) {
1913 src
= (wxBoxSizer
*) ptr
;
1914 dest
= (wxObject
*) src
;
1915 return (void *) dest
;
1918 #define new_wxBoxSizer(_swigarg0) (new wxBoxSizer(_swigarg0))
1919 static PyObject
*_wrap_new_wxBoxSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1920 PyObject
* _resultobj
;
1921 wxBoxSizer
* _result
;
1922 int _arg0
= (int ) wxHORIZONTAL
;
1923 char *_kwnames
[] = { "orient", NULL
};
1927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxBoxSizer",_kwnames
,&_arg0
))
1930 wxPy_BEGIN_ALLOW_THREADS
;
1931 _result
= (wxBoxSizer
*)new_wxBoxSizer(_arg0
);
1933 wxPy_END_ALLOW_THREADS
;
1934 if (PyErr_Occurred()) return NULL
;
1936 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBoxSizer_p");
1937 _resultobj
= Py_BuildValue("s",_ptemp
);
1940 _resultobj
= Py_None
;
1945 #define wxBoxSizer_GetOrientation(_swigobj) (_swigobj->GetOrientation())
1946 static PyObject
*_wrap_wxBoxSizer_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1947 PyObject
* _resultobj
;
1950 PyObject
* _argo0
= 0;
1951 char *_kwnames
[] = { "self", NULL
};
1954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBoxSizer_GetOrientation",_kwnames
,&_argo0
))
1957 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1958 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBoxSizer_p")) {
1959 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBoxSizer_GetOrientation. Expected _wxBoxSizer_p.");
1964 wxPy_BEGIN_ALLOW_THREADS
;
1965 _result
= (int )wxBoxSizer_GetOrientation(_arg0
);
1967 wxPy_END_ALLOW_THREADS
;
1968 if (PyErr_Occurred()) return NULL
;
1969 } _resultobj
= Py_BuildValue("i",_result
);
1973 #define wxBoxSizer_RecalcSizes(_swigobj) (_swigobj->RecalcSizes())
1974 static PyObject
*_wrap_wxBoxSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1975 PyObject
* _resultobj
;
1977 PyObject
* _argo0
= 0;
1978 char *_kwnames
[] = { "self", NULL
};
1981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBoxSizer_RecalcSizes",_kwnames
,&_argo0
))
1984 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1985 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBoxSizer_p")) {
1986 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBoxSizer_RecalcSizes. Expected _wxBoxSizer_p.");
1991 wxPy_BEGIN_ALLOW_THREADS
;
1992 wxBoxSizer_RecalcSizes(_arg0
);
1994 wxPy_END_ALLOW_THREADS
;
1995 if (PyErr_Occurred()) return NULL
;
1996 } Py_INCREF(Py_None
);
1997 _resultobj
= Py_None
;
2001 #define wxBoxSizer_CalcMin(_swigobj) (_swigobj->CalcMin())
2002 static PyObject
*_wrap_wxBoxSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2003 PyObject
* _resultobj
;
2006 PyObject
* _argo0
= 0;
2007 char *_kwnames
[] = { "self", NULL
};
2011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBoxSizer_CalcMin",_kwnames
,&_argo0
))
2014 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2015 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBoxSizer_p")) {
2016 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBoxSizer_CalcMin. Expected _wxBoxSizer_p.");
2021 wxPy_BEGIN_ALLOW_THREADS
;
2022 _result
= new wxSize (wxBoxSizer_CalcMin(_arg0
));
2024 wxPy_END_ALLOW_THREADS
;
2025 if (PyErr_Occurred()) return NULL
;
2026 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2027 _resultobj
= Py_BuildValue("s",_ptemp
);
2031 static void *SwigwxStaticBoxSizerTowxBoxSizer(void *ptr
) {
2032 wxStaticBoxSizer
*src
;
2034 src
= (wxStaticBoxSizer
*) ptr
;
2035 dest
= (wxBoxSizer
*) src
;
2036 return (void *) dest
;
2039 static void *SwigwxStaticBoxSizerTowxSizer(void *ptr
) {
2040 wxStaticBoxSizer
*src
;
2042 src
= (wxStaticBoxSizer
*) ptr
;
2043 dest
= (wxSizer
*) src
;
2044 return (void *) dest
;
2047 static void *SwigwxStaticBoxSizerTowxObject(void *ptr
) {
2048 wxStaticBoxSizer
*src
;
2050 src
= (wxStaticBoxSizer
*) ptr
;
2051 dest
= (wxObject
*) src
;
2052 return (void *) dest
;
2055 #define new_wxStaticBoxSizer(_swigarg0,_swigarg1) (new wxStaticBoxSizer(_swigarg0,_swigarg1))
2056 static PyObject
*_wrap_new_wxStaticBoxSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2057 PyObject
* _resultobj
;
2058 wxStaticBoxSizer
* _result
;
2059 wxStaticBox
* _arg0
;
2060 int _arg1
= (int ) wxHORIZONTAL
;
2061 PyObject
* _argo0
= 0;
2062 char *_kwnames
[] = { "box","orient", NULL
};
2066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:new_wxStaticBoxSizer",_kwnames
,&_argo0
,&_arg1
))
2069 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2070 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticBox_p")) {
2071 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxStaticBoxSizer. Expected _wxStaticBox_p.");
2076 wxPy_BEGIN_ALLOW_THREADS
;
2077 _result
= (wxStaticBoxSizer
*)new_wxStaticBoxSizer(_arg0
,_arg1
);
2079 wxPy_END_ALLOW_THREADS
;
2080 if (PyErr_Occurred()) return NULL
;
2082 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticBoxSizer_p");
2083 _resultobj
= Py_BuildValue("s",_ptemp
);
2086 _resultobj
= Py_None
;
2091 #define wxStaticBoxSizer_GetStaticBox(_swigobj) (_swigobj->GetStaticBox())
2092 static PyObject
*_wrap_wxStaticBoxSizer_GetStaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2093 PyObject
* _resultobj
;
2094 wxStaticBox
* _result
;
2095 wxStaticBoxSizer
* _arg0
;
2096 PyObject
* _argo0
= 0;
2097 char *_kwnames
[] = { "self", NULL
};
2100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStaticBoxSizer_GetStaticBox",_kwnames
,&_argo0
))
2103 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2104 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticBoxSizer_p")) {
2105 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticBoxSizer_GetStaticBox. Expected _wxStaticBoxSizer_p.");
2110 wxPy_BEGIN_ALLOW_THREADS
;
2111 _result
= (wxStaticBox
*)wxStaticBoxSizer_GetStaticBox(_arg0
);
2113 wxPy_END_ALLOW_THREADS
;
2114 if (PyErr_Occurred()) return NULL
;
2115 }{ _resultobj
= wxPyMake_wxObject(_result
); }
2119 #define wxStaticBoxSizer_RecalcSizes(_swigobj) (_swigobj->RecalcSizes())
2120 static PyObject
*_wrap_wxStaticBoxSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2121 PyObject
* _resultobj
;
2122 wxStaticBoxSizer
* _arg0
;
2123 PyObject
* _argo0
= 0;
2124 char *_kwnames
[] = { "self", NULL
};
2127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStaticBoxSizer_RecalcSizes",_kwnames
,&_argo0
))
2130 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2131 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticBoxSizer_p")) {
2132 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticBoxSizer_RecalcSizes. Expected _wxStaticBoxSizer_p.");
2137 wxPy_BEGIN_ALLOW_THREADS
;
2138 wxStaticBoxSizer_RecalcSizes(_arg0
);
2140 wxPy_END_ALLOW_THREADS
;
2141 if (PyErr_Occurred()) return NULL
;
2142 } Py_INCREF(Py_None
);
2143 _resultobj
= Py_None
;
2147 #define wxStaticBoxSizer_CalcMin(_swigobj) (_swigobj->CalcMin())
2148 static PyObject
*_wrap_wxStaticBoxSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2149 PyObject
* _resultobj
;
2151 wxStaticBoxSizer
* _arg0
;
2152 PyObject
* _argo0
= 0;
2153 char *_kwnames
[] = { "self", NULL
};
2157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStaticBoxSizer_CalcMin",_kwnames
,&_argo0
))
2160 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2161 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticBoxSizer_p")) {
2162 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticBoxSizer_CalcMin. Expected _wxStaticBoxSizer_p.");
2167 wxPy_BEGIN_ALLOW_THREADS
;
2168 _result
= new wxSize (wxStaticBoxSizer_CalcMin(_arg0
));
2170 wxPy_END_ALLOW_THREADS
;
2171 if (PyErr_Occurred()) return NULL
;
2172 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2173 _resultobj
= Py_BuildValue("s",_ptemp
);
2177 static void *SwigwxNotebookSizerTowxSizer(void *ptr
) {
2178 wxNotebookSizer
*src
;
2180 src
= (wxNotebookSizer
*) ptr
;
2181 dest
= (wxSizer
*) src
;
2182 return (void *) dest
;
2185 static void *SwigwxNotebookSizerTowxObject(void *ptr
) {
2186 wxNotebookSizer
*src
;
2188 src
= (wxNotebookSizer
*) ptr
;
2189 dest
= (wxObject
*) src
;
2190 return (void *) dest
;
2193 #define new_wxNotebookSizer(_swigarg0) (new wxNotebookSizer(_swigarg0))
2194 static PyObject
*_wrap_new_wxNotebookSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2195 PyObject
* _resultobj
;
2196 wxNotebookSizer
* _result
;
2198 PyObject
* _argo0
= 0;
2199 char *_kwnames
[] = { "nb", NULL
};
2203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxNotebookSizer",_kwnames
,&_argo0
))
2206 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2207 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
2208 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxNotebookSizer. Expected _wxNotebook_p.");
2213 wxPy_BEGIN_ALLOW_THREADS
;
2214 _result
= (wxNotebookSizer
*)new_wxNotebookSizer(_arg0
);
2216 wxPy_END_ALLOW_THREADS
;
2217 if (PyErr_Occurred()) return NULL
;
2219 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxNotebookSizer_p");
2220 _resultobj
= Py_BuildValue("s",_ptemp
);
2223 _resultobj
= Py_None
;
2228 #define wxNotebookSizer_RecalcSizes(_swigobj) (_swigobj->RecalcSizes())
2229 static PyObject
*_wrap_wxNotebookSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2230 PyObject
* _resultobj
;
2231 wxNotebookSizer
* _arg0
;
2232 PyObject
* _argo0
= 0;
2233 char *_kwnames
[] = { "self", NULL
};
2236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebookSizer_RecalcSizes",_kwnames
,&_argo0
))
2239 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2240 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebookSizer_p")) {
2241 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebookSizer_RecalcSizes. Expected _wxNotebookSizer_p.");
2246 wxPy_BEGIN_ALLOW_THREADS
;
2247 wxNotebookSizer_RecalcSizes(_arg0
);
2249 wxPy_END_ALLOW_THREADS
;
2250 if (PyErr_Occurred()) return NULL
;
2251 } Py_INCREF(Py_None
);
2252 _resultobj
= Py_None
;
2256 #define wxNotebookSizer_CalcMin(_swigobj) (_swigobj->CalcMin())
2257 static PyObject
*_wrap_wxNotebookSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2258 PyObject
* _resultobj
;
2260 wxNotebookSizer
* _arg0
;
2261 PyObject
* _argo0
= 0;
2262 char *_kwnames
[] = { "self", NULL
};
2266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebookSizer_CalcMin",_kwnames
,&_argo0
))
2269 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2270 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebookSizer_p")) {
2271 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebookSizer_CalcMin. Expected _wxNotebookSizer_p.");
2276 wxPy_BEGIN_ALLOW_THREADS
;
2277 _result
= new wxSize (wxNotebookSizer_CalcMin(_arg0
));
2279 wxPy_END_ALLOW_THREADS
;
2280 if (PyErr_Occurred()) return NULL
;
2281 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2282 _resultobj
= Py_BuildValue("s",_ptemp
);
2286 #define wxNotebookSizer_GetNotebook(_swigobj) (_swigobj->GetNotebook())
2287 static PyObject
*_wrap_wxNotebookSizer_GetNotebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2288 PyObject
* _resultobj
;
2289 wxNotebook
* _result
;
2290 wxNotebookSizer
* _arg0
;
2291 PyObject
* _argo0
= 0;
2292 char *_kwnames
[] = { "self", NULL
};
2295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebookSizer_GetNotebook",_kwnames
,&_argo0
))
2298 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2299 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebookSizer_p")) {
2300 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebookSizer_GetNotebook. Expected _wxNotebookSizer_p.");
2305 wxPy_BEGIN_ALLOW_THREADS
;
2306 _result
= (wxNotebook
*)wxNotebookSizer_GetNotebook(_arg0
);
2308 wxPy_END_ALLOW_THREADS
;
2309 if (PyErr_Occurred()) return NULL
;
2310 }{ _resultobj
= wxPyMake_wxObject(_result
); }
2314 static void *SwigwxGridSizerTowxSizer(void *ptr
) {
2317 src
= (wxGridSizer
*) ptr
;
2318 dest
= (wxSizer
*) src
;
2319 return (void *) dest
;
2322 static void *SwigwxGridSizerTowxObject(void *ptr
) {
2325 src
= (wxGridSizer
*) ptr
;
2326 dest
= (wxObject
*) src
;
2327 return (void *) dest
;
2330 #define new_wxGridSizer(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxGridSizer(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2331 static PyObject
*_wrap_new_wxGridSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2332 PyObject
* _resultobj
;
2333 wxGridSizer
* _result
;
2334 int _arg0
= (int ) 1;
2335 int _arg1
= (int ) 0;
2336 int _arg2
= (int ) 0;
2337 int _arg3
= (int ) 0;
2338 char *_kwnames
[] = { "rows","cols","vgap","hgap", NULL
};
2342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iiii:new_wxGridSizer",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))
2345 wxPy_BEGIN_ALLOW_THREADS
;
2346 _result
= (wxGridSizer
*)new_wxGridSizer(_arg0
,_arg1
,_arg2
,_arg3
);
2348 wxPy_END_ALLOW_THREADS
;
2349 if (PyErr_Occurred()) return NULL
;
2351 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridSizer_p");
2352 _resultobj
= Py_BuildValue("s",_ptemp
);
2355 _resultobj
= Py_None
;
2360 #define wxGridSizer_RecalcSizes(_swigobj) (_swigobj->RecalcSizes())
2361 static PyObject
*_wrap_wxGridSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2362 PyObject
* _resultobj
;
2363 wxGridSizer
* _arg0
;
2364 PyObject
* _argo0
= 0;
2365 char *_kwnames
[] = { "self", NULL
};
2368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridSizer_RecalcSizes",_kwnames
,&_argo0
))
2371 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2372 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridSizer_p")) {
2373 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridSizer_RecalcSizes. Expected _wxGridSizer_p.");
2378 wxPy_BEGIN_ALLOW_THREADS
;
2379 wxGridSizer_RecalcSizes(_arg0
);
2381 wxPy_END_ALLOW_THREADS
;
2382 if (PyErr_Occurred()) return NULL
;
2383 } Py_INCREF(Py_None
);
2384 _resultobj
= Py_None
;
2388 #define wxGridSizer_CalcMin(_swigobj) (_swigobj->CalcMin())
2389 static PyObject
*_wrap_wxGridSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2390 PyObject
* _resultobj
;
2392 wxGridSizer
* _arg0
;
2393 PyObject
* _argo0
= 0;
2394 char *_kwnames
[] = { "self", NULL
};
2398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridSizer_CalcMin",_kwnames
,&_argo0
))
2401 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2402 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridSizer_p")) {
2403 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridSizer_CalcMin. Expected _wxGridSizer_p.");
2408 wxPy_BEGIN_ALLOW_THREADS
;
2409 _result
= new wxSize (wxGridSizer_CalcMin(_arg0
));
2411 wxPy_END_ALLOW_THREADS
;
2412 if (PyErr_Occurred()) return NULL
;
2413 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2414 _resultobj
= Py_BuildValue("s",_ptemp
);
2418 #define wxGridSizer_SetCols(_swigobj,_swigarg0) (_swigobj->SetCols(_swigarg0))
2419 static PyObject
*_wrap_wxGridSizer_SetCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2420 PyObject
* _resultobj
;
2421 wxGridSizer
* _arg0
;
2423 PyObject
* _argo0
= 0;
2424 char *_kwnames
[] = { "self","cols", NULL
};
2427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridSizer_SetCols",_kwnames
,&_argo0
,&_arg1
))
2430 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2431 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridSizer_p")) {
2432 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridSizer_SetCols. Expected _wxGridSizer_p.");
2437 wxPy_BEGIN_ALLOW_THREADS
;
2438 wxGridSizer_SetCols(_arg0
,_arg1
);
2440 wxPy_END_ALLOW_THREADS
;
2441 if (PyErr_Occurred()) return NULL
;
2442 } Py_INCREF(Py_None
);
2443 _resultobj
= Py_None
;
2447 #define wxGridSizer_SetRows(_swigobj,_swigarg0) (_swigobj->SetRows(_swigarg0))
2448 static PyObject
*_wrap_wxGridSizer_SetRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2449 PyObject
* _resultobj
;
2450 wxGridSizer
* _arg0
;
2452 PyObject
* _argo0
= 0;
2453 char *_kwnames
[] = { "self","rows", NULL
};
2456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridSizer_SetRows",_kwnames
,&_argo0
,&_arg1
))
2459 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2460 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridSizer_p")) {
2461 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridSizer_SetRows. Expected _wxGridSizer_p.");
2466 wxPy_BEGIN_ALLOW_THREADS
;
2467 wxGridSizer_SetRows(_arg0
,_arg1
);
2469 wxPy_END_ALLOW_THREADS
;
2470 if (PyErr_Occurred()) return NULL
;
2471 } Py_INCREF(Py_None
);
2472 _resultobj
= Py_None
;
2476 #define wxGridSizer_SetVGap(_swigobj,_swigarg0) (_swigobj->SetVGap(_swigarg0))
2477 static PyObject
*_wrap_wxGridSizer_SetVGap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2478 PyObject
* _resultobj
;
2479 wxGridSizer
* _arg0
;
2481 PyObject
* _argo0
= 0;
2482 char *_kwnames
[] = { "self","gap", NULL
};
2485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridSizer_SetVGap",_kwnames
,&_argo0
,&_arg1
))
2488 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2489 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridSizer_p")) {
2490 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridSizer_SetVGap. Expected _wxGridSizer_p.");
2495 wxPy_BEGIN_ALLOW_THREADS
;
2496 wxGridSizer_SetVGap(_arg0
,_arg1
);
2498 wxPy_END_ALLOW_THREADS
;
2499 if (PyErr_Occurred()) return NULL
;
2500 } Py_INCREF(Py_None
);
2501 _resultobj
= Py_None
;
2505 #define wxGridSizer_SetHGap(_swigobj,_swigarg0) (_swigobj->SetHGap(_swigarg0))
2506 static PyObject
*_wrap_wxGridSizer_SetHGap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2507 PyObject
* _resultobj
;
2508 wxGridSizer
* _arg0
;
2510 PyObject
* _argo0
= 0;
2511 char *_kwnames
[] = { "self","gap", NULL
};
2514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridSizer_SetHGap",_kwnames
,&_argo0
,&_arg1
))
2517 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2518 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridSizer_p")) {
2519 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridSizer_SetHGap. Expected _wxGridSizer_p.");
2524 wxPy_BEGIN_ALLOW_THREADS
;
2525 wxGridSizer_SetHGap(_arg0
,_arg1
);
2527 wxPy_END_ALLOW_THREADS
;
2528 if (PyErr_Occurred()) return NULL
;
2529 } Py_INCREF(Py_None
);
2530 _resultobj
= Py_None
;
2534 #define wxGridSizer_GetCols(_swigobj) (_swigobj->GetCols())
2535 static PyObject
*_wrap_wxGridSizer_GetCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2536 PyObject
* _resultobj
;
2538 wxGridSizer
* _arg0
;
2539 PyObject
* _argo0
= 0;
2540 char *_kwnames
[] = { "self", NULL
};
2543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridSizer_GetCols",_kwnames
,&_argo0
))
2546 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2547 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridSizer_p")) {
2548 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridSizer_GetCols. Expected _wxGridSizer_p.");
2553 wxPy_BEGIN_ALLOW_THREADS
;
2554 _result
= (int )wxGridSizer_GetCols(_arg0
);
2556 wxPy_END_ALLOW_THREADS
;
2557 if (PyErr_Occurred()) return NULL
;
2558 } _resultobj
= Py_BuildValue("i",_result
);
2562 #define wxGridSizer_GetRows(_swigobj) (_swigobj->GetRows())
2563 static PyObject
*_wrap_wxGridSizer_GetRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2564 PyObject
* _resultobj
;
2566 wxGridSizer
* _arg0
;
2567 PyObject
* _argo0
= 0;
2568 char *_kwnames
[] = { "self", NULL
};
2571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridSizer_GetRows",_kwnames
,&_argo0
))
2574 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2575 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridSizer_p")) {
2576 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridSizer_GetRows. Expected _wxGridSizer_p.");
2581 wxPy_BEGIN_ALLOW_THREADS
;
2582 _result
= (int )wxGridSizer_GetRows(_arg0
);
2584 wxPy_END_ALLOW_THREADS
;
2585 if (PyErr_Occurred()) return NULL
;
2586 } _resultobj
= Py_BuildValue("i",_result
);
2590 #define wxGridSizer_GetVGap(_swigobj) (_swigobj->GetVGap())
2591 static PyObject
*_wrap_wxGridSizer_GetVGap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2592 PyObject
* _resultobj
;
2594 wxGridSizer
* _arg0
;
2595 PyObject
* _argo0
= 0;
2596 char *_kwnames
[] = { "self", NULL
};
2599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridSizer_GetVGap",_kwnames
,&_argo0
))
2602 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2603 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridSizer_p")) {
2604 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridSizer_GetVGap. Expected _wxGridSizer_p.");
2609 wxPy_BEGIN_ALLOW_THREADS
;
2610 _result
= (int )wxGridSizer_GetVGap(_arg0
);
2612 wxPy_END_ALLOW_THREADS
;
2613 if (PyErr_Occurred()) return NULL
;
2614 } _resultobj
= Py_BuildValue("i",_result
);
2618 #define wxGridSizer_GetHGap(_swigobj) (_swigobj->GetHGap())
2619 static PyObject
*_wrap_wxGridSizer_GetHGap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2620 PyObject
* _resultobj
;
2622 wxGridSizer
* _arg0
;
2623 PyObject
* _argo0
= 0;
2624 char *_kwnames
[] = { "self", NULL
};
2627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridSizer_GetHGap",_kwnames
,&_argo0
))
2630 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2631 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridSizer_p")) {
2632 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridSizer_GetHGap. Expected _wxGridSizer_p.");
2637 wxPy_BEGIN_ALLOW_THREADS
;
2638 _result
= (int )wxGridSizer_GetHGap(_arg0
);
2640 wxPy_END_ALLOW_THREADS
;
2641 if (PyErr_Occurred()) return NULL
;
2642 } _resultobj
= Py_BuildValue("i",_result
);
2646 static void *SwigwxFlexGridSizerTowxGridSizer(void *ptr
) {
2647 wxFlexGridSizer
*src
;
2649 src
= (wxFlexGridSizer
*) ptr
;
2650 dest
= (wxGridSizer
*) src
;
2651 return (void *) dest
;
2654 static void *SwigwxFlexGridSizerTowxSizer(void *ptr
) {
2655 wxFlexGridSizer
*src
;
2657 src
= (wxFlexGridSizer
*) ptr
;
2658 dest
= (wxSizer
*) src
;
2659 return (void *) dest
;
2662 static void *SwigwxFlexGridSizerTowxObject(void *ptr
) {
2663 wxFlexGridSizer
*src
;
2665 src
= (wxFlexGridSizer
*) ptr
;
2666 dest
= (wxObject
*) src
;
2667 return (void *) dest
;
2670 #define new_wxFlexGridSizer(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxFlexGridSizer(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2671 static PyObject
*_wrap_new_wxFlexGridSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2672 PyObject
* _resultobj
;
2673 wxFlexGridSizer
* _result
;
2674 int _arg0
= (int ) 1;
2675 int _arg1
= (int ) 0;
2676 int _arg2
= (int ) 0;
2677 int _arg3
= (int ) 0;
2678 char *_kwnames
[] = { "rows","cols","vgap","hgap", NULL
};
2682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iiii:new_wxFlexGridSizer",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))
2685 wxPy_BEGIN_ALLOW_THREADS
;
2686 _result
= (wxFlexGridSizer
*)new_wxFlexGridSizer(_arg0
,_arg1
,_arg2
,_arg3
);
2688 wxPy_END_ALLOW_THREADS
;
2689 if (PyErr_Occurred()) return NULL
;
2691 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFlexGridSizer_p");
2692 _resultobj
= Py_BuildValue("s",_ptemp
);
2695 _resultobj
= Py_None
;
2700 #define wxFlexGridSizer_RecalcSizes(_swigobj) (_swigobj->RecalcSizes())
2701 static PyObject
*_wrap_wxFlexGridSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2702 PyObject
* _resultobj
;
2703 wxFlexGridSizer
* _arg0
;
2704 PyObject
* _argo0
= 0;
2705 char *_kwnames
[] = { "self", NULL
};
2708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFlexGridSizer_RecalcSizes",_kwnames
,&_argo0
))
2711 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2712 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFlexGridSizer_p")) {
2713 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFlexGridSizer_RecalcSizes. Expected _wxFlexGridSizer_p.");
2718 wxPy_BEGIN_ALLOW_THREADS
;
2719 wxFlexGridSizer_RecalcSizes(_arg0
);
2721 wxPy_END_ALLOW_THREADS
;
2722 if (PyErr_Occurred()) return NULL
;
2723 } Py_INCREF(Py_None
);
2724 _resultobj
= Py_None
;
2728 #define wxFlexGridSizer_CalcMin(_swigobj) (_swigobj->CalcMin())
2729 static PyObject
*_wrap_wxFlexGridSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2730 PyObject
* _resultobj
;
2732 wxFlexGridSizer
* _arg0
;
2733 PyObject
* _argo0
= 0;
2734 char *_kwnames
[] = { "self", NULL
};
2738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFlexGridSizer_CalcMin",_kwnames
,&_argo0
))
2741 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2742 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFlexGridSizer_p")) {
2743 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFlexGridSizer_CalcMin. Expected _wxFlexGridSizer_p.");
2748 wxPy_BEGIN_ALLOW_THREADS
;
2749 _result
= new wxSize (wxFlexGridSizer_CalcMin(_arg0
));
2751 wxPy_END_ALLOW_THREADS
;
2752 if (PyErr_Occurred()) return NULL
;
2753 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2754 _resultobj
= Py_BuildValue("s",_ptemp
);
2758 #define wxFlexGridSizer_AddGrowableRow(_swigobj,_swigarg0) (_swigobj->AddGrowableRow(_swigarg0))
2759 static PyObject
*_wrap_wxFlexGridSizer_AddGrowableRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2760 PyObject
* _resultobj
;
2761 wxFlexGridSizer
* _arg0
;
2763 PyObject
* _argo0
= 0;
2764 char *_kwnames
[] = { "self","idx", NULL
};
2767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFlexGridSizer_AddGrowableRow",_kwnames
,&_argo0
,&_arg1
))
2770 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2771 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFlexGridSizer_p")) {
2772 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFlexGridSizer_AddGrowableRow. Expected _wxFlexGridSizer_p.");
2777 wxPy_BEGIN_ALLOW_THREADS
;
2778 wxFlexGridSizer_AddGrowableRow(_arg0
,_arg1
);
2780 wxPy_END_ALLOW_THREADS
;
2781 if (PyErr_Occurred()) return NULL
;
2782 } Py_INCREF(Py_None
);
2783 _resultobj
= Py_None
;
2787 #define wxFlexGridSizer_RemoveGrowableRow(_swigobj,_swigarg0) (_swigobj->RemoveGrowableRow(_swigarg0))
2788 static PyObject
*_wrap_wxFlexGridSizer_RemoveGrowableRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2789 PyObject
* _resultobj
;
2790 wxFlexGridSizer
* _arg0
;
2792 PyObject
* _argo0
= 0;
2793 char *_kwnames
[] = { "self","idx", NULL
};
2796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFlexGridSizer_RemoveGrowableRow",_kwnames
,&_argo0
,&_arg1
))
2799 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2800 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFlexGridSizer_p")) {
2801 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFlexGridSizer_RemoveGrowableRow. Expected _wxFlexGridSizer_p.");
2806 wxPy_BEGIN_ALLOW_THREADS
;
2807 wxFlexGridSizer_RemoveGrowableRow(_arg0
,_arg1
);
2809 wxPy_END_ALLOW_THREADS
;
2810 if (PyErr_Occurred()) return NULL
;
2811 } Py_INCREF(Py_None
);
2812 _resultobj
= Py_None
;
2816 #define wxFlexGridSizer_AddGrowableCol(_swigobj,_swigarg0) (_swigobj->AddGrowableCol(_swigarg0))
2817 static PyObject
*_wrap_wxFlexGridSizer_AddGrowableCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2818 PyObject
* _resultobj
;
2819 wxFlexGridSizer
* _arg0
;
2821 PyObject
* _argo0
= 0;
2822 char *_kwnames
[] = { "self","idx", NULL
};
2825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFlexGridSizer_AddGrowableCol",_kwnames
,&_argo0
,&_arg1
))
2828 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2829 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFlexGridSizer_p")) {
2830 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFlexGridSizer_AddGrowableCol. Expected _wxFlexGridSizer_p.");
2835 wxPy_BEGIN_ALLOW_THREADS
;
2836 wxFlexGridSizer_AddGrowableCol(_arg0
,_arg1
);
2838 wxPy_END_ALLOW_THREADS
;
2839 if (PyErr_Occurred()) return NULL
;
2840 } Py_INCREF(Py_None
);
2841 _resultobj
= Py_None
;
2845 #define wxFlexGridSizer_RemoveGrowableCol(_swigobj,_swigarg0) (_swigobj->RemoveGrowableCol(_swigarg0))
2846 static PyObject
*_wrap_wxFlexGridSizer_RemoveGrowableCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2847 PyObject
* _resultobj
;
2848 wxFlexGridSizer
* _arg0
;
2850 PyObject
* _argo0
= 0;
2851 char *_kwnames
[] = { "self","idx", NULL
};
2854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFlexGridSizer_RemoveGrowableCol",_kwnames
,&_argo0
,&_arg1
))
2857 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2858 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFlexGridSizer_p")) {
2859 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFlexGridSizer_RemoveGrowableCol. Expected _wxFlexGridSizer_p.");
2864 wxPy_BEGIN_ALLOW_THREADS
;
2865 wxFlexGridSizer_RemoveGrowableCol(_arg0
,_arg1
);
2867 wxPy_END_ALLOW_THREADS
;
2868 if (PyErr_Occurred()) return NULL
;
2869 } Py_INCREF(Py_None
);
2870 _resultobj
= Py_None
;
2874 static PyMethodDef sizerscMethods
[] = {
2875 { "wxFlexGridSizer_RemoveGrowableCol", (PyCFunction
) _wrap_wxFlexGridSizer_RemoveGrowableCol
, METH_VARARGS
| METH_KEYWORDS
},
2876 { "wxFlexGridSizer_AddGrowableCol", (PyCFunction
) _wrap_wxFlexGridSizer_AddGrowableCol
, METH_VARARGS
| METH_KEYWORDS
},
2877 { "wxFlexGridSizer_RemoveGrowableRow", (PyCFunction
) _wrap_wxFlexGridSizer_RemoveGrowableRow
, METH_VARARGS
| METH_KEYWORDS
},
2878 { "wxFlexGridSizer_AddGrowableRow", (PyCFunction
) _wrap_wxFlexGridSizer_AddGrowableRow
, METH_VARARGS
| METH_KEYWORDS
},
2879 { "wxFlexGridSizer_CalcMin", (PyCFunction
) _wrap_wxFlexGridSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
2880 { "wxFlexGridSizer_RecalcSizes", (PyCFunction
) _wrap_wxFlexGridSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
2881 { "new_wxFlexGridSizer", (PyCFunction
) _wrap_new_wxFlexGridSizer
, METH_VARARGS
| METH_KEYWORDS
},
2882 { "wxGridSizer_GetHGap", (PyCFunction
) _wrap_wxGridSizer_GetHGap
, METH_VARARGS
| METH_KEYWORDS
},
2883 { "wxGridSizer_GetVGap", (PyCFunction
) _wrap_wxGridSizer_GetVGap
, METH_VARARGS
| METH_KEYWORDS
},
2884 { "wxGridSizer_GetRows", (PyCFunction
) _wrap_wxGridSizer_GetRows
, METH_VARARGS
| METH_KEYWORDS
},
2885 { "wxGridSizer_GetCols", (PyCFunction
) _wrap_wxGridSizer_GetCols
, METH_VARARGS
| METH_KEYWORDS
},
2886 { "wxGridSizer_SetHGap", (PyCFunction
) _wrap_wxGridSizer_SetHGap
, METH_VARARGS
| METH_KEYWORDS
},
2887 { "wxGridSizer_SetVGap", (PyCFunction
) _wrap_wxGridSizer_SetVGap
, METH_VARARGS
| METH_KEYWORDS
},
2888 { "wxGridSizer_SetRows", (PyCFunction
) _wrap_wxGridSizer_SetRows
, METH_VARARGS
| METH_KEYWORDS
},
2889 { "wxGridSizer_SetCols", (PyCFunction
) _wrap_wxGridSizer_SetCols
, METH_VARARGS
| METH_KEYWORDS
},
2890 { "wxGridSizer_CalcMin", (PyCFunction
) _wrap_wxGridSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
2891 { "wxGridSizer_RecalcSizes", (PyCFunction
) _wrap_wxGridSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
2892 { "new_wxGridSizer", (PyCFunction
) _wrap_new_wxGridSizer
, METH_VARARGS
| METH_KEYWORDS
},
2893 { "wxNotebookSizer_GetNotebook", (PyCFunction
) _wrap_wxNotebookSizer_GetNotebook
, METH_VARARGS
| METH_KEYWORDS
},
2894 { "wxNotebookSizer_CalcMin", (PyCFunction
) _wrap_wxNotebookSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
2895 { "wxNotebookSizer_RecalcSizes", (PyCFunction
) _wrap_wxNotebookSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
2896 { "new_wxNotebookSizer", (PyCFunction
) _wrap_new_wxNotebookSizer
, METH_VARARGS
| METH_KEYWORDS
},
2897 { "wxStaticBoxSizer_CalcMin", (PyCFunction
) _wrap_wxStaticBoxSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
2898 { "wxStaticBoxSizer_RecalcSizes", (PyCFunction
) _wrap_wxStaticBoxSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
2899 { "wxStaticBoxSizer_GetStaticBox", (PyCFunction
) _wrap_wxStaticBoxSizer_GetStaticBox
, METH_VARARGS
| METH_KEYWORDS
},
2900 { "new_wxStaticBoxSizer", (PyCFunction
) _wrap_new_wxStaticBoxSizer
, METH_VARARGS
| METH_KEYWORDS
},
2901 { "wxBoxSizer_CalcMin", (PyCFunction
) _wrap_wxBoxSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
2902 { "wxBoxSizer_RecalcSizes", (PyCFunction
) _wrap_wxBoxSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
2903 { "wxBoxSizer_GetOrientation", (PyCFunction
) _wrap_wxBoxSizer_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
2904 { "new_wxBoxSizer", (PyCFunction
) _wrap_new_wxBoxSizer
, METH_VARARGS
| METH_KEYWORDS
},
2905 { "wxPySizer__setCallbackInfo", (PyCFunction
) _wrap_wxPySizer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
2906 { "new_wxPySizer", (PyCFunction
) _wrap_new_wxPySizer
, METH_VARARGS
| METH_KEYWORDS
},
2907 { "wxSizer_GetChildren", (PyCFunction
) _wrap_wxSizer_GetChildren
, METH_VARARGS
| METH_KEYWORDS
},
2908 { "wxSizer_SetSizeHints", (PyCFunction
) _wrap_wxSizer_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
},
2909 { "wxSizer_Fit", (PyCFunction
) _wrap_wxSizer_Fit
, METH_VARARGS
| METH_KEYWORDS
},
2910 { "wxSizer_Layout", (PyCFunction
) _wrap_wxSizer_Layout
, METH_VARARGS
| METH_KEYWORDS
},
2911 { "wxSizer_GetMinSize", (PyCFunction
) _wrap_wxSizer_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
2912 { "wxSizer_GetPosition", (PyCFunction
) _wrap_wxSizer_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
2913 { "wxSizer_GetSize", (PyCFunction
) _wrap_wxSizer_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
2914 { "wxSizer_SetItemMinSizePos", (PyCFunction
) _wrap_wxSizer_SetItemMinSizePos
, METH_VARARGS
| METH_KEYWORDS
},
2915 { "wxSizer_SetItemMinSizeSizer", (PyCFunction
) _wrap_wxSizer_SetItemMinSizeSizer
, METH_VARARGS
| METH_KEYWORDS
},
2916 { "wxSizer_SetItemMinSizeWindow", (PyCFunction
) _wrap_wxSizer_SetItemMinSizeWindow
, METH_VARARGS
| METH_KEYWORDS
},
2917 { "wxSizer_SetMinSize", (PyCFunction
) _wrap_wxSizer_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
2918 { "wxSizer_SetDimension", (PyCFunction
) _wrap_wxSizer_SetDimension
, METH_VARARGS
| METH_KEYWORDS
},
2919 { "wxSizer_RemovePos", (PyCFunction
) _wrap_wxSizer_RemovePos
, METH_VARARGS
| METH_KEYWORDS
},
2920 { "wxSizer_RemoveSizer", (PyCFunction
) _wrap_wxSizer_RemoveSizer
, METH_VARARGS
| METH_KEYWORDS
},
2921 { "wxSizer_RemoveWindow", (PyCFunction
) _wrap_wxSizer_RemoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
2922 { "wxSizer_PrependSpacer", (PyCFunction
) _wrap_wxSizer_PrependSpacer
, METH_VARARGS
| METH_KEYWORDS
},
2923 { "wxSizer_PrependSizer", (PyCFunction
) _wrap_wxSizer_PrependSizer
, METH_VARARGS
| METH_KEYWORDS
},
2924 { "wxSizer_PrependWindow", (PyCFunction
) _wrap_wxSizer_PrependWindow
, METH_VARARGS
| METH_KEYWORDS
},
2925 { "wxSizer_InsertSpacer", (PyCFunction
) _wrap_wxSizer_InsertSpacer
, METH_VARARGS
| METH_KEYWORDS
},
2926 { "wxSizer_InsertSizer", (PyCFunction
) _wrap_wxSizer_InsertSizer
, METH_VARARGS
| METH_KEYWORDS
},
2927 { "wxSizer_InsertWindow", (PyCFunction
) _wrap_wxSizer_InsertWindow
, METH_VARARGS
| METH_KEYWORDS
},
2928 { "wxSizer_AddSpacer", (PyCFunction
) _wrap_wxSizer_AddSpacer
, METH_VARARGS
| METH_KEYWORDS
},
2929 { "wxSizer_AddSizer", (PyCFunction
) _wrap_wxSizer_AddSizer
, METH_VARARGS
| METH_KEYWORDS
},
2930 { "wxSizer_AddWindow", (PyCFunction
) _wrap_wxSizer_AddWindow
, METH_VARARGS
| METH_KEYWORDS
},
2931 { "wxSizer_Destroy", (PyCFunction
) _wrap_wxSizer_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
2932 { "wxSizerItem_GetUserData", (PyCFunction
) _wrap_wxSizerItem_GetUserData
, METH_VARARGS
| METH_KEYWORDS
},
2933 { "wxSizerItem_SetBorder", (PyCFunction
) _wrap_wxSizerItem_SetBorder
, METH_VARARGS
| METH_KEYWORDS
},
2934 { "wxSizerItem_SetFlag", (PyCFunction
) _wrap_wxSizerItem_SetFlag
, METH_VARARGS
| METH_KEYWORDS
},
2935 { "wxSizerItem_SetOption", (PyCFunction
) _wrap_wxSizerItem_SetOption
, METH_VARARGS
| METH_KEYWORDS
},
2936 { "wxSizerItem_SetInitSize", (PyCFunction
) _wrap_wxSizerItem_SetInitSize
, METH_VARARGS
| METH_KEYWORDS
},
2937 { "wxSizerItem_GetBorder", (PyCFunction
) _wrap_wxSizerItem_GetBorder
, METH_VARARGS
| METH_KEYWORDS
},
2938 { "wxSizerItem_GetFlag", (PyCFunction
) _wrap_wxSizerItem_GetFlag
, METH_VARARGS
| METH_KEYWORDS
},
2939 { "wxSizerItem_GetOption", (PyCFunction
) _wrap_wxSizerItem_GetOption
, METH_VARARGS
| METH_KEYWORDS
},
2940 { "wxSizerItem_SetSizer", (PyCFunction
) _wrap_wxSizerItem_SetSizer
, METH_VARARGS
| METH_KEYWORDS
},
2941 { "wxSizerItem_GetSizer", (PyCFunction
) _wrap_wxSizerItem_GetSizer
, METH_VARARGS
| METH_KEYWORDS
},
2942 { "wxSizerItem_SetWindow", (PyCFunction
) _wrap_wxSizerItem_SetWindow
, METH_VARARGS
| METH_KEYWORDS
},
2943 { "wxSizerItem_GetWindow", (PyCFunction
) _wrap_wxSizerItem_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
2944 { "wxSizerItem_IsSpacer", (PyCFunction
) _wrap_wxSizerItem_IsSpacer
, METH_VARARGS
| METH_KEYWORDS
},
2945 { "wxSizerItem_IsSizer", (PyCFunction
) _wrap_wxSizerItem_IsSizer
, METH_VARARGS
| METH_KEYWORDS
},
2946 { "wxSizerItem_IsWindow", (PyCFunction
) _wrap_wxSizerItem_IsWindow
, METH_VARARGS
| METH_KEYWORDS
},
2947 { "wxSizerItem_GetRatio", (PyCFunction
) _wrap_wxSizerItem_GetRatio
, METH_VARARGS
| METH_KEYWORDS
},
2948 { "wxSizerItem_SetRatio", (PyCFunction
) _wrap_wxSizerItem_SetRatio
, METH_VARARGS
| METH_KEYWORDS
},
2949 { "wxSizerItem_SetRatioSize", (PyCFunction
) _wrap_wxSizerItem_SetRatioSize
, METH_VARARGS
| METH_KEYWORDS
},
2950 { "wxSizerItem_SetRatioWH", (PyCFunction
) _wrap_wxSizerItem_SetRatioWH
, METH_VARARGS
| METH_KEYWORDS
},
2951 { "wxSizerItem_SetDimension", (PyCFunction
) _wrap_wxSizerItem_SetDimension
, METH_VARARGS
| METH_KEYWORDS
},
2952 { "wxSizerItem_CalcMin", (PyCFunction
) _wrap_wxSizerItem_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
2953 { "wxSizerItem_GetSize", (PyCFunction
) _wrap_wxSizerItem_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
2954 { "wxSizerItem_GetPosition", (PyCFunction
) _wrap_wxSizerItem_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
2961 * This table is used by the pointer type-checker
2963 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
2964 { "_signed_long","_long",0},
2965 { "_wxPrintQuality","_wxCoord",0},
2966 { "_wxPrintQuality","_int",0},
2967 { "_wxPrintQuality","_signed_int",0},
2968 { "_wxPrintQuality","_unsigned_int",0},
2969 { "_wxPrintQuality","_wxWindowID",0},
2970 { "_wxPrintQuality","_uint",0},
2971 { "_wxPrintQuality","_EBool",0},
2972 { "_wxPrintQuality","_size_t",0},
2973 { "_wxPrintQuality","_time_t",0},
2974 { "_byte","_unsigned_char",0},
2975 { "_long","_unsigned_long",0},
2976 { "_long","_signed_long",0},
2977 { "_class_wxSizer","_class_wxFlexGridSizer",SwigwxFlexGridSizerTowxSizer
},
2978 { "_class_wxSizer","_wxFlexGridSizer",SwigwxFlexGridSizerTowxSizer
},
2979 { "_class_wxSizer","_class_wxGridSizer",SwigwxGridSizerTowxSizer
},
2980 { "_class_wxSizer","_wxGridSizer",SwigwxGridSizerTowxSizer
},
2981 { "_class_wxSizer","_class_wxNotebookSizer",SwigwxNotebookSizerTowxSizer
},
2982 { "_class_wxSizer","_wxNotebookSizer",SwigwxNotebookSizerTowxSizer
},
2983 { "_class_wxSizer","_class_wxStaticBoxSizer",SwigwxStaticBoxSizerTowxSizer
},
2984 { "_class_wxSizer","_wxStaticBoxSizer",SwigwxStaticBoxSizerTowxSizer
},
2985 { "_class_wxSizer","_class_wxBoxSizer",SwigwxBoxSizerTowxSizer
},
2986 { "_class_wxSizer","_wxBoxSizer",SwigwxBoxSizerTowxSizer
},
2987 { "_class_wxSizer","_class_wxPySizer",SwigwxPySizerTowxSizer
},
2988 { "_class_wxSizer","_wxPySizer",SwigwxPySizerTowxSizer
},
2989 { "_wxGridSizer","_class_wxFlexGridSizer",SwigwxFlexGridSizerTowxGridSizer
},
2990 { "_wxGridSizer","_wxFlexGridSizer",SwigwxFlexGridSizerTowxGridSizer
},
2991 { "_class_wxObject","_class_wxFlexGridSizer",SwigwxFlexGridSizerTowxObject
},
2992 { "_class_wxObject","_wxFlexGridSizer",SwigwxFlexGridSizerTowxObject
},
2993 { "_class_wxObject","_class_wxGridSizer",SwigwxGridSizerTowxObject
},
2994 { "_class_wxObject","_wxGridSizer",SwigwxGridSizerTowxObject
},
2995 { "_class_wxObject","_class_wxNotebookSizer",SwigwxNotebookSizerTowxObject
},
2996 { "_class_wxObject","_wxNotebookSizer",SwigwxNotebookSizerTowxObject
},
2997 { "_class_wxObject","_class_wxStaticBoxSizer",SwigwxStaticBoxSizerTowxObject
},
2998 { "_class_wxObject","_wxStaticBoxSizer",SwigwxStaticBoxSizerTowxObject
},
2999 { "_class_wxObject","_class_wxBoxSizer",SwigwxBoxSizerTowxObject
},
3000 { "_class_wxObject","_wxBoxSizer",SwigwxBoxSizerTowxObject
},
3001 { "_class_wxObject","_class_wxPySizer",SwigwxPySizerTowxObject
},
3002 { "_class_wxObject","_wxPySizer",SwigwxPySizerTowxObject
},
3003 { "_class_wxObject","_class_wxSizer",SwigwxSizerTowxObject
},
3004 { "_class_wxObject","_wxSizer",SwigwxSizerTowxObject
},
3005 { "_class_wxObject","_class_wxSizerItem",SwigwxSizerItemTowxObject
},
3006 { "_class_wxObject","_wxSizerItem",SwigwxSizerItemTowxObject
},
3007 { "_size_t","_wxCoord",0},
3008 { "_size_t","_wxPrintQuality",0},
3009 { "_size_t","_time_t",0},
3010 { "_size_t","_unsigned_int",0},
3011 { "_size_t","_int",0},
3012 { "_size_t","_wxWindowID",0},
3013 { "_size_t","_uint",0},
3014 { "_uint","_wxCoord",0},
3015 { "_uint","_wxPrintQuality",0},
3016 { "_uint","_time_t",0},
3017 { "_uint","_size_t",0},
3018 { "_uint","_unsigned_int",0},
3019 { "_uint","_int",0},
3020 { "_uint","_wxWindowID",0},
3021 { "_wxChar","_char",0},
3022 { "_wxBoxSizer","_class_wxStaticBoxSizer",SwigwxStaticBoxSizerTowxBoxSizer
},
3023 { "_wxBoxSizer","_wxStaticBoxSizer",SwigwxStaticBoxSizerTowxBoxSizer
},
3024 { "_char","_wxChar",0},
3025 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
3026 { "_EBool","_wxCoord",0},
3027 { "_EBool","_wxPrintQuality",0},
3028 { "_EBool","_signed_int",0},
3029 { "_EBool","_int",0},
3030 { "_EBool","_wxWindowID",0},
3031 { "_unsigned_long","_long",0},
3032 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
3033 { "_signed_int","_wxCoord",0},
3034 { "_signed_int","_wxPrintQuality",0},
3035 { "_signed_int","_EBool",0},
3036 { "_signed_int","_wxWindowID",0},
3037 { "_signed_int","_int",0},
3038 { "_WXTYPE","_short",0},
3039 { "_WXTYPE","_signed_short",0},
3040 { "_WXTYPE","_unsigned_short",0},
3041 { "_unsigned_short","_WXTYPE",0},
3042 { "_unsigned_short","_short",0},
3043 { "_wxObject","_class_wxFlexGridSizer",SwigwxFlexGridSizerTowxObject
},
3044 { "_wxObject","_wxFlexGridSizer",SwigwxFlexGridSizerTowxObject
},
3045 { "_wxObject","_class_wxGridSizer",SwigwxGridSizerTowxObject
},
3046 { "_wxObject","_wxGridSizer",SwigwxGridSizerTowxObject
},
3047 { "_wxObject","_class_wxNotebookSizer",SwigwxNotebookSizerTowxObject
},
3048 { "_wxObject","_wxNotebookSizer",SwigwxNotebookSizerTowxObject
},
3049 { "_wxObject","_class_wxStaticBoxSizer",SwigwxStaticBoxSizerTowxObject
},
3050 { "_wxObject","_wxStaticBoxSizer",SwigwxStaticBoxSizerTowxObject
},
3051 { "_wxObject","_class_wxBoxSizer",SwigwxBoxSizerTowxObject
},
3052 { "_wxObject","_wxBoxSizer",SwigwxBoxSizerTowxObject
},
3053 { "_wxObject","_class_wxPySizer",SwigwxPySizerTowxObject
},
3054 { "_wxObject","_wxPySizer",SwigwxPySizerTowxObject
},
3055 { "_wxObject","_class_wxSizer",SwigwxSizerTowxObject
},
3056 { "_wxObject","_wxSizer",SwigwxSizerTowxObject
},
3057 { "_wxObject","_class_wxSizerItem",SwigwxSizerItemTowxObject
},
3058 { "_wxObject","_wxSizerItem",SwigwxSizerItemTowxObject
},
3059 { "_class_wxBoxSizer","_class_wxStaticBoxSizer",SwigwxStaticBoxSizerTowxBoxSizer
},
3060 { "_class_wxBoxSizer","_wxStaticBoxSizer",SwigwxStaticBoxSizerTowxBoxSizer
},
3061 { "_signed_short","_WXTYPE",0},
3062 { "_signed_short","_short",0},
3063 { "_unsigned_char","_byte",0},
3064 { "_unsigned_int","_wxCoord",0},
3065 { "_unsigned_int","_wxPrintQuality",0},
3066 { "_unsigned_int","_time_t",0},
3067 { "_unsigned_int","_size_t",0},
3068 { "_unsigned_int","_uint",0},
3069 { "_unsigned_int","_wxWindowID",0},
3070 { "_unsigned_int","_int",0},
3071 { "_short","_WXTYPE",0},
3072 { "_short","_unsigned_short",0},
3073 { "_short","_signed_short",0},
3074 { "_class_wxGridSizer","_class_wxFlexGridSizer",SwigwxFlexGridSizerTowxGridSizer
},
3075 { "_class_wxGridSizer","_wxFlexGridSizer",SwigwxFlexGridSizerTowxGridSizer
},
3076 { "_wxWindowID","_wxCoord",0},
3077 { "_wxWindowID","_wxPrintQuality",0},
3078 { "_wxWindowID","_time_t",0},
3079 { "_wxWindowID","_size_t",0},
3080 { "_wxWindowID","_EBool",0},
3081 { "_wxWindowID","_uint",0},
3082 { "_wxWindowID","_int",0},
3083 { "_wxWindowID","_signed_int",0},
3084 { "_wxWindowID","_unsigned_int",0},
3085 { "_int","_wxCoord",0},
3086 { "_int","_wxPrintQuality",0},
3087 { "_int","_time_t",0},
3088 { "_int","_size_t",0},
3089 { "_int","_EBool",0},
3090 { "_int","_uint",0},
3091 { "_int","_wxWindowID",0},
3092 { "_int","_unsigned_int",0},
3093 { "_int","_signed_int",0},
3094 { "_time_t","_wxCoord",0},
3095 { "_time_t","_wxPrintQuality",0},
3096 { "_time_t","_unsigned_int",0},
3097 { "_time_t","_int",0},
3098 { "_time_t","_wxWindowID",0},
3099 { "_time_t","_uint",0},
3100 { "_time_t","_size_t",0},
3101 { "_wxCoord","_int",0},
3102 { "_wxCoord","_signed_int",0},
3103 { "_wxCoord","_unsigned_int",0},
3104 { "_wxCoord","_wxWindowID",0},
3105 { "_wxCoord","_uint",0},
3106 { "_wxCoord","_EBool",0},
3107 { "_wxCoord","_size_t",0},
3108 { "_wxCoord","_time_t",0},
3109 { "_wxCoord","_wxPrintQuality",0},
3110 { "_wxSizer","_class_wxFlexGridSizer",SwigwxFlexGridSizerTowxSizer
},
3111 { "_wxSizer","_wxFlexGridSizer",SwigwxFlexGridSizerTowxSizer
},
3112 { "_wxSizer","_class_wxGridSizer",SwigwxGridSizerTowxSizer
},
3113 { "_wxSizer","_wxGridSizer",SwigwxGridSizerTowxSizer
},
3114 { "_wxSizer","_class_wxNotebookSizer",SwigwxNotebookSizerTowxSizer
},
3115 { "_wxSizer","_wxNotebookSizer",SwigwxNotebookSizerTowxSizer
},
3116 { "_wxSizer","_class_wxStaticBoxSizer",SwigwxStaticBoxSizerTowxSizer
},
3117 { "_wxSizer","_wxStaticBoxSizer",SwigwxStaticBoxSizerTowxSizer
},
3118 { "_wxSizer","_class_wxBoxSizer",SwigwxBoxSizerTowxSizer
},
3119 { "_wxSizer","_wxBoxSizer",SwigwxBoxSizerTowxSizer
},
3120 { "_wxSizer","_class_wxPySizer",SwigwxPySizerTowxSizer
},
3121 { "_wxSizer","_wxPySizer",SwigwxPySizerTowxSizer
},
3124 static PyObject
*SWIG_globals
;
3128 SWIGEXPORT(void) initsizersc() {
3130 SWIG_globals
= SWIG_newvarlink();
3131 m
= Py_InitModule("sizersc", sizerscMethods
);
3132 d
= PyModule_GetDict(m
);
3135 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
3136 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);