2 * FILE : src/mac/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 */
26 /* Definitions for Windows/Unix exporting */
27 #if defined(__WIN32__)
28 # if defined(_MSC_VER)
29 # define SWIGEXPORT(a) __declspec(dllexport) a
31 # if defined(__BORLANDC__)
32 # define SWIGEXPORT(a) a _export
34 # define SWIGEXPORT(a) a
38 # define SWIGEXPORT(a) a
44 extern void SWIG_MakePtr(char *, void *, char *);
45 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
46 extern char *SWIG_GetPtr(char *, void **, char *);
47 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
48 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
49 extern PyObject
*SWIG_newvarlink(void);
53 #define SWIG_init initsizersc
55 #define SWIG_name "sizersc"
59 #include <wx/notebook.h>
62 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
68 } else if (target
== Py_None
) {
72 if (!PyTuple_Check(target
)) {
74 target
= PyTuple_New(1);
75 PyTuple_SetItem(target
, 0, o2
);
78 PyTuple_SetItem(o3
, 0, o
);
81 target
= PySequence_Concat(o2
, o3
);
88 class wxPySizer
: public wxSizer
{
89 DECLARE_DYNAMIC_CLASS(wxPySizer
);
91 wxPySizer() : wxSizer() {};
93 DEC_PYCALLBACK___pure(RecalcSizes
);
94 DEC_PYCALLBACK_wxSize__pure(CalcMin
);
99 IMP_PYCALLBACK___pure(wxPySizer
, wxSizer
, RecalcSizes
);
100 IMP_PYCALLBACK_wxSize__pure(wxPySizer
, wxSizer
, CalcMin
);
102 IMPLEMENT_DYNAMIC_CLASS(wxPySizer
, wxSizer
);
106 static void *SwigwxSizerItemTowxObject(void *ptr
) {
109 src
= (wxSizerItem
*) ptr
;
110 dest
= (wxObject
*) src
;
111 return (void *) dest
;
114 #define wxSizerItem_DeleteWindows(_swigobj) (_swigobj->DeleteWindows())
115 static PyObject
*_wrap_wxSizerItem_DeleteWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
116 PyObject
* _resultobj
;
118 PyObject
* _argo0
= 0;
119 char *_kwnames
[] = { "self", NULL
};
122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSizerItem_DeleteWindows",_kwnames
,&_argo0
))
125 if (_argo0
== Py_None
) { _arg0
= NULL
; }
126 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizerItem_p")) {
127 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizerItem_DeleteWindows. Expected _wxSizerItem_p.");
132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
133 wxSizerItem_DeleteWindows(_arg0
);
135 wxPyEndAllowThreads(__tstate
);
136 if (PyErr_Occurred()) return NULL
;
137 } Py_INCREF(Py_None
);
138 _resultobj
= Py_None
;
142 #define wxSizerItem_DetachSizer(_swigobj) (_swigobj->DetachSizer())
143 static PyObject
*_wrap_wxSizerItem_DetachSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
144 PyObject
* _resultobj
;
146 PyObject
* _argo0
= 0;
147 char *_kwnames
[] = { "self", NULL
};
150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSizerItem_DetachSizer",_kwnames
,&_argo0
))
153 if (_argo0
== Py_None
) { _arg0
= NULL
; }
154 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizerItem_p")) {
155 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizerItem_DetachSizer. Expected _wxSizerItem_p.");
160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
161 wxSizerItem_DetachSizer(_arg0
);
163 wxPyEndAllowThreads(__tstate
);
164 if (PyErr_Occurred()) return NULL
;
165 } Py_INCREF(Py_None
);
166 _resultobj
= Py_None
;
170 #define wxSizerItem_GetSize(_swigobj) (_swigobj->GetSize())
171 static PyObject
*_wrap_wxSizerItem_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
172 PyObject
* _resultobj
;
175 PyObject
* _argo0
= 0;
176 char *_kwnames
[] = { "self", NULL
};
180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSizerItem_GetSize",_kwnames
,&_argo0
))
183 if (_argo0
== Py_None
) { _arg0
= NULL
; }
184 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizerItem_p")) {
185 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizerItem_GetSize. Expected _wxSizerItem_p.");
190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
191 _result
= new wxSize (wxSizerItem_GetSize(_arg0
));
193 wxPyEndAllowThreads(__tstate
);
194 if (PyErr_Occurred()) return NULL
;
195 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
196 _resultobj
= Py_BuildValue("s",_ptemp
);
200 #define wxSizerItem_CalcMin(_swigobj) (_swigobj->CalcMin())
201 static PyObject
*_wrap_wxSizerItem_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
202 PyObject
* _resultobj
;
205 PyObject
* _argo0
= 0;
206 char *_kwnames
[] = { "self", NULL
};
210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSizerItem_CalcMin",_kwnames
,&_argo0
))
213 if (_argo0
== Py_None
) { _arg0
= NULL
; }
214 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizerItem_p")) {
215 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizerItem_CalcMin. Expected _wxSizerItem_p.");
220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
221 _result
= new wxSize (wxSizerItem_CalcMin(_arg0
));
223 wxPyEndAllowThreads(__tstate
);
224 if (PyErr_Occurred()) return NULL
;
225 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
226 _resultobj
= Py_BuildValue("s",_ptemp
);
230 #define wxSizerItem_SetDimension(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDimension(_swigarg0,_swigarg1))
231 static PyObject
*_wrap_wxSizerItem_SetDimension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
232 PyObject
* _resultobj
;
236 PyObject
* _argo0
= 0;
238 PyObject
* _obj1
= 0;
240 PyObject
* _obj2
= 0;
241 char *_kwnames
[] = { "self","pos","size", NULL
};
244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxSizerItem_SetDimension",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
247 if (_argo0
== Py_None
) { _arg0
= NULL
; }
248 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizerItem_p")) {
249 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizerItem_SetDimension. Expected _wxSizerItem_p.");
255 if (! wxPoint_helper(_obj1
, &_arg1
))
260 if (! wxSize_helper(_obj2
, &_arg2
))
264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
265 wxSizerItem_SetDimension(_arg0
,*_arg1
,*_arg2
);
267 wxPyEndAllowThreads(__tstate
);
268 if (PyErr_Occurred()) return NULL
;
269 } Py_INCREF(Py_None
);
270 _resultobj
= Py_None
;
274 #define wxSizerItem_GetMinSize(_swigobj) (_swigobj->GetMinSize())
275 static PyObject
*_wrap_wxSizerItem_GetMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
276 PyObject
* _resultobj
;
279 PyObject
* _argo0
= 0;
280 char *_kwnames
[] = { "self", NULL
};
284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSizerItem_GetMinSize",_kwnames
,&_argo0
))
287 if (_argo0
== Py_None
) { _arg0
= NULL
; }
288 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizerItem_p")) {
289 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizerItem_GetMinSize. Expected _wxSizerItem_p.");
294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
295 _result
= new wxSize (wxSizerItem_GetMinSize(_arg0
));
297 wxPyEndAllowThreads(__tstate
);
298 if (PyErr_Occurred()) return NULL
;
299 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
300 _resultobj
= Py_BuildValue("s",_ptemp
);
304 #define wxSizerItem_SetInitSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetInitSize(_swigarg0,_swigarg1))
305 static PyObject
*_wrap_wxSizerItem_SetInitSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
306 PyObject
* _resultobj
;
310 PyObject
* _argo0
= 0;
311 char *_kwnames
[] = { "self","x","y", NULL
};
314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxSizerItem_SetInitSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
317 if (_argo0
== Py_None
) { _arg0
= NULL
; }
318 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizerItem_p")) {
319 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizerItem_SetInitSize. Expected _wxSizerItem_p.");
324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
325 wxSizerItem_SetInitSize(_arg0
,_arg1
,_arg2
);
327 wxPyEndAllowThreads(__tstate
);
328 if (PyErr_Occurred()) return NULL
;
329 } Py_INCREF(Py_None
);
330 _resultobj
= Py_None
;
334 #define wxSizerItem_SetRatioWH(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRatio(_swigarg0,_swigarg1))
335 static PyObject
*_wrap_wxSizerItem_SetRatioWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
336 PyObject
* _resultobj
;
340 PyObject
* _argo0
= 0;
341 char *_kwnames
[] = { "self","width","height", NULL
};
344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxSizerItem_SetRatioWH",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
347 if (_argo0
== Py_None
) { _arg0
= NULL
; }
348 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizerItem_p")) {
349 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizerItem_SetRatioWH. Expected _wxSizerItem_p.");
354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
355 wxSizerItem_SetRatioWH(_arg0
,_arg1
,_arg2
);
357 wxPyEndAllowThreads(__tstate
);
358 if (PyErr_Occurred()) return NULL
;
359 } Py_INCREF(Py_None
);
360 _resultobj
= Py_None
;
364 #define wxSizerItem_SetRatioSize(_swigobj,_swigarg0) (_swigobj->SetRatio(_swigarg0))
365 static PyObject
*_wrap_wxSizerItem_SetRatioSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
366 PyObject
* _resultobj
;
369 PyObject
* _argo0
= 0;
371 PyObject
* _obj1
= 0;
372 char *_kwnames
[] = { "self","size", NULL
};
375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxSizerItem_SetRatioSize",_kwnames
,&_argo0
,&_obj1
))
378 if (_argo0
== Py_None
) { _arg0
= NULL
; }
379 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizerItem_p")) {
380 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizerItem_SetRatioSize. Expected _wxSizerItem_p.");
386 if (! wxSize_helper(_obj1
, &_arg1
))
390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
391 wxSizerItem_SetRatioSize(_arg0
,*_arg1
);
393 wxPyEndAllowThreads(__tstate
);
394 if (PyErr_Occurred()) return NULL
;
395 } Py_INCREF(Py_None
);
396 _resultobj
= Py_None
;
400 #define wxSizerItem_SetRatio(_swigobj,_swigarg0) (_swigobj->SetRatio(_swigarg0))
401 static PyObject
*_wrap_wxSizerItem_SetRatio(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
402 PyObject
* _resultobj
;
405 PyObject
* _argo0
= 0;
406 char *_kwnames
[] = { "self","ratio", NULL
};
409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Of:wxSizerItem_SetRatio",_kwnames
,&_argo0
,&_arg1
))
412 if (_argo0
== Py_None
) { _arg0
= NULL
; }
413 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizerItem_p")) {
414 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizerItem_SetRatio. Expected _wxSizerItem_p.");
419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
420 wxSizerItem_SetRatio(_arg0
,_arg1
);
422 wxPyEndAllowThreads(__tstate
);
423 if (PyErr_Occurred()) return NULL
;
424 } Py_INCREF(Py_None
);
425 _resultobj
= Py_None
;
429 #define wxSizerItem_GetRatio(_swigobj) (_swigobj->GetRatio())
430 static PyObject
*_wrap_wxSizerItem_GetRatio(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
431 PyObject
* _resultobj
;
434 PyObject
* _argo0
= 0;
435 char *_kwnames
[] = { "self", NULL
};
438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSizerItem_GetRatio",_kwnames
,&_argo0
))
441 if (_argo0
== Py_None
) { _arg0
= NULL
; }
442 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizerItem_p")) {
443 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizerItem_GetRatio. Expected _wxSizerItem_p.");
448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
449 _result
= (float )wxSizerItem_GetRatio(_arg0
);
451 wxPyEndAllowThreads(__tstate
);
452 if (PyErr_Occurred()) return NULL
;
453 } _resultobj
= Py_BuildValue("f",_result
);
457 #define wxSizerItem_IsWindow(_swigobj) (_swigobj->IsWindow())
458 static PyObject
*_wrap_wxSizerItem_IsWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
459 PyObject
* _resultobj
;
462 PyObject
* _argo0
= 0;
463 char *_kwnames
[] = { "self", NULL
};
466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSizerItem_IsWindow",_kwnames
,&_argo0
))
469 if (_argo0
== Py_None
) { _arg0
= NULL
; }
470 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizerItem_p")) {
471 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizerItem_IsWindow. Expected _wxSizerItem_p.");
476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
477 _result
= (bool )wxSizerItem_IsWindow(_arg0
);
479 wxPyEndAllowThreads(__tstate
);
480 if (PyErr_Occurred()) return NULL
;
481 } _resultobj
= Py_BuildValue("i",_result
);
485 #define wxSizerItem_IsSizer(_swigobj) (_swigobj->IsSizer())
486 static PyObject
*_wrap_wxSizerItem_IsSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
487 PyObject
* _resultobj
;
490 PyObject
* _argo0
= 0;
491 char *_kwnames
[] = { "self", NULL
};
494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSizerItem_IsSizer",_kwnames
,&_argo0
))
497 if (_argo0
== Py_None
) { _arg0
= NULL
; }
498 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizerItem_p")) {
499 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizerItem_IsSizer. Expected _wxSizerItem_p.");
504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
505 _result
= (bool )wxSizerItem_IsSizer(_arg0
);
507 wxPyEndAllowThreads(__tstate
);
508 if (PyErr_Occurred()) return NULL
;
509 } _resultobj
= Py_BuildValue("i",_result
);
513 #define wxSizerItem_IsSpacer(_swigobj) (_swigobj->IsSpacer())
514 static PyObject
*_wrap_wxSizerItem_IsSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
515 PyObject
* _resultobj
;
518 PyObject
* _argo0
= 0;
519 char *_kwnames
[] = { "self", NULL
};
522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSizerItem_IsSpacer",_kwnames
,&_argo0
))
525 if (_argo0
== Py_None
) { _arg0
= NULL
; }
526 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizerItem_p")) {
527 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizerItem_IsSpacer. Expected _wxSizerItem_p.");
532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
533 _result
= (bool )wxSizerItem_IsSpacer(_arg0
);
535 wxPyEndAllowThreads(__tstate
);
536 if (PyErr_Occurred()) return NULL
;
537 } _resultobj
= Py_BuildValue("i",_result
);
541 #define wxSizerItem_SetProportion(_swigobj,_swigarg0) (_swigobj->SetProportion(_swigarg0))
542 static PyObject
*_wrap_wxSizerItem_SetProportion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
543 PyObject
* _resultobj
;
546 PyObject
* _argo0
= 0;
547 char *_kwnames
[] = { "self","proportion", NULL
};
550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSizerItem_SetProportion",_kwnames
,&_argo0
,&_arg1
))
553 if (_argo0
== Py_None
) { _arg0
= NULL
; }
554 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizerItem_p")) {
555 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizerItem_SetProportion. Expected _wxSizerItem_p.");
560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
561 wxSizerItem_SetProportion(_arg0
,_arg1
);
563 wxPyEndAllowThreads(__tstate
);
564 if (PyErr_Occurred()) return NULL
;
565 } Py_INCREF(Py_None
);
566 _resultobj
= Py_None
;
570 #define wxSizerItem_GetProportion(_swigobj) (_swigobj->GetProportion())
571 static PyObject
*_wrap_wxSizerItem_GetProportion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
572 PyObject
* _resultobj
;
575 PyObject
* _argo0
= 0;
576 char *_kwnames
[] = { "self", NULL
};
579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSizerItem_GetProportion",_kwnames
,&_argo0
))
582 if (_argo0
== Py_None
) { _arg0
= NULL
; }
583 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizerItem_p")) {
584 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizerItem_GetProportion. Expected _wxSizerItem_p.");
589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
590 _result
= (int )wxSizerItem_GetProportion(_arg0
);
592 wxPyEndAllowThreads(__tstate
);
593 if (PyErr_Occurred()) return NULL
;
594 } _resultobj
= Py_BuildValue("i",_result
);
598 #define wxSizerItem_SetFlag(_swigobj,_swigarg0) (_swigobj->SetFlag(_swigarg0))
599 static PyObject
*_wrap_wxSizerItem_SetFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
600 PyObject
* _resultobj
;
603 PyObject
* _argo0
= 0;
604 char *_kwnames
[] = { "self","flag", NULL
};
607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSizerItem_SetFlag",_kwnames
,&_argo0
,&_arg1
))
610 if (_argo0
== Py_None
) { _arg0
= NULL
; }
611 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizerItem_p")) {
612 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizerItem_SetFlag. Expected _wxSizerItem_p.");
617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
618 wxSizerItem_SetFlag(_arg0
,_arg1
);
620 wxPyEndAllowThreads(__tstate
);
621 if (PyErr_Occurred()) return NULL
;
622 } Py_INCREF(Py_None
);
623 _resultobj
= Py_None
;
627 #define wxSizerItem_GetFlag(_swigobj) (_swigobj->GetFlag())
628 static PyObject
*_wrap_wxSizerItem_GetFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
629 PyObject
* _resultobj
;
632 PyObject
* _argo0
= 0;
633 char *_kwnames
[] = { "self", NULL
};
636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSizerItem_GetFlag",_kwnames
,&_argo0
))
639 if (_argo0
== Py_None
) { _arg0
= NULL
; }
640 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizerItem_p")) {
641 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizerItem_GetFlag. Expected _wxSizerItem_p.");
646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
647 _result
= (int )wxSizerItem_GetFlag(_arg0
);
649 wxPyEndAllowThreads(__tstate
);
650 if (PyErr_Occurred()) return NULL
;
651 } _resultobj
= Py_BuildValue("i",_result
);
655 #define wxSizerItem_SetBorder(_swigobj,_swigarg0) (_swigobj->SetBorder(_swigarg0))
656 static PyObject
*_wrap_wxSizerItem_SetBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
657 PyObject
* _resultobj
;
660 PyObject
* _argo0
= 0;
661 char *_kwnames
[] = { "self","border", NULL
};
664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSizerItem_SetBorder",_kwnames
,&_argo0
,&_arg1
))
667 if (_argo0
== Py_None
) { _arg0
= NULL
; }
668 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizerItem_p")) {
669 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizerItem_SetBorder. Expected _wxSizerItem_p.");
674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
675 wxSizerItem_SetBorder(_arg0
,_arg1
);
677 wxPyEndAllowThreads(__tstate
);
678 if (PyErr_Occurred()) return NULL
;
679 } Py_INCREF(Py_None
);
680 _resultobj
= Py_None
;
684 #define wxSizerItem_GetBorder(_swigobj) (_swigobj->GetBorder())
685 static PyObject
*_wrap_wxSizerItem_GetBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
686 PyObject
* _resultobj
;
689 PyObject
* _argo0
= 0;
690 char *_kwnames
[] = { "self", NULL
};
693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSizerItem_GetBorder",_kwnames
,&_argo0
))
696 if (_argo0
== Py_None
) { _arg0
= NULL
; }
697 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizerItem_p")) {
698 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizerItem_GetBorder. Expected _wxSizerItem_p.");
703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
704 _result
= (int )wxSizerItem_GetBorder(_arg0
);
706 wxPyEndAllowThreads(__tstate
);
707 if (PyErr_Occurred()) return NULL
;
708 } _resultobj
= Py_BuildValue("i",_result
);
712 #define wxSizerItem_GetWindow(_swigobj) (_swigobj->GetWindow())
713 static PyObject
*_wrap_wxSizerItem_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
714 PyObject
* _resultobj
;
717 PyObject
* _argo0
= 0;
718 char *_kwnames
[] = { "self", NULL
};
721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSizerItem_GetWindow",_kwnames
,&_argo0
))
724 if (_argo0
== Py_None
) { _arg0
= NULL
; }
725 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizerItem_p")) {
726 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizerItem_GetWindow. Expected _wxSizerItem_p.");
731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
732 _result
= (wxWindow
*)wxSizerItem_GetWindow(_arg0
);
734 wxPyEndAllowThreads(__tstate
);
735 if (PyErr_Occurred()) return NULL
;
736 }{ _resultobj
= wxPyMake_wxObject(_result
); }
740 #define wxSizerItem_SetWindow(_swigobj,_swigarg0) (_swigobj->SetWindow(_swigarg0))
741 static PyObject
*_wrap_wxSizerItem_SetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
742 PyObject
* _resultobj
;
745 PyObject
* _argo0
= 0;
746 PyObject
* _argo1
= 0;
747 char *_kwnames
[] = { "self","window", NULL
};
750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxSizerItem_SetWindow",_kwnames
,&_argo0
,&_argo1
))
753 if (_argo0
== Py_None
) { _arg0
= NULL
; }
754 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizerItem_p")) {
755 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizerItem_SetWindow. Expected _wxSizerItem_p.");
760 if (_argo1
== Py_None
) { _arg1
= NULL
; }
761 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
762 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSizerItem_SetWindow. Expected _wxWindow_p.");
767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
768 wxSizerItem_SetWindow(_arg0
,_arg1
);
770 wxPyEndAllowThreads(__tstate
);
771 if (PyErr_Occurred()) return NULL
;
772 } Py_INCREF(Py_None
);
773 _resultobj
= Py_None
;
777 #define wxSizerItem_GetSizer(_swigobj) (_swigobj->GetSizer())
778 static PyObject
*_wrap_wxSizerItem_GetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
779 PyObject
* _resultobj
;
782 PyObject
* _argo0
= 0;
783 char *_kwnames
[] = { "self", NULL
};
786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSizerItem_GetSizer",_kwnames
,&_argo0
))
789 if (_argo0
== Py_None
) { _arg0
= NULL
; }
790 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizerItem_p")) {
791 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizerItem_GetSizer. Expected _wxSizerItem_p.");
796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
797 _result
= (wxSizer
*)wxSizerItem_GetSizer(_arg0
);
799 wxPyEndAllowThreads(__tstate
);
800 if (PyErr_Occurred()) return NULL
;
801 }{ _resultobj
= wxPyMake_wxSizer(_result
); }
805 #define wxSizerItem_SetSizer(_swigobj,_swigarg0) (_swigobj->SetSizer(_swigarg0))
806 static PyObject
*_wrap_wxSizerItem_SetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
807 PyObject
* _resultobj
;
810 PyObject
* _argo0
= 0;
811 PyObject
* _argo1
= 0;
812 char *_kwnames
[] = { "self","sizer", NULL
};
815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxSizerItem_SetSizer",_kwnames
,&_argo0
,&_argo1
))
818 if (_argo0
== Py_None
) { _arg0
= NULL
; }
819 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizerItem_p")) {
820 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizerItem_SetSizer. Expected _wxSizerItem_p.");
825 if (_argo1
== Py_None
) { _arg1
= NULL
; }
826 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxSizer_p")) {
827 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSizerItem_SetSizer. Expected _wxSizer_p.");
832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
833 wxSizerItem_SetSizer(_arg0
,_arg1
);
835 wxPyEndAllowThreads(__tstate
);
836 if (PyErr_Occurred()) return NULL
;
837 } Py_INCREF(Py_None
);
838 _resultobj
= Py_None
;
842 #define wxSizerItem_GetSpacer(_swigobj) (_swigobj->GetSpacer())
843 static PyObject
*_wrap_wxSizerItem_GetSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
844 PyObject
* _resultobj
;
847 PyObject
* _argo0
= 0;
848 char *_kwnames
[] = { "self", NULL
};
852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSizerItem_GetSpacer",_kwnames
,&_argo0
))
855 if (_argo0
== Py_None
) { _arg0
= NULL
; }
856 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizerItem_p")) {
857 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizerItem_GetSpacer. Expected _wxSizerItem_p.");
862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
863 const wxSize
& _result_ref
= wxSizerItem_GetSpacer(_arg0
);
864 _result
= (wxSize
*) &_result_ref
;
866 wxPyEndAllowThreads(__tstate
);
867 if (PyErr_Occurred()) return NULL
;
869 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSize_p");
870 _resultobj
= Py_BuildValue("s",_ptemp
);
873 _resultobj
= Py_None
;
878 #define wxSizerItem_SetSpacer(_swigobj,_swigarg0) (_swigobj->SetSpacer(_swigarg0))
879 static PyObject
*_wrap_wxSizerItem_SetSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
880 PyObject
* _resultobj
;
883 PyObject
* _argo0
= 0;
885 PyObject
* _obj1
= 0;
886 char *_kwnames
[] = { "self","size", NULL
};
889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxSizerItem_SetSpacer",_kwnames
,&_argo0
,&_obj1
))
892 if (_argo0
== Py_None
) { _arg0
= NULL
; }
893 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizerItem_p")) {
894 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizerItem_SetSpacer. Expected _wxSizerItem_p.");
900 if (! wxSize_helper(_obj1
, &_arg1
))
904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
905 wxSizerItem_SetSpacer(_arg0
,*_arg1
);
907 wxPyEndAllowThreads(__tstate
);
908 if (PyErr_Occurred()) return NULL
;
909 } Py_INCREF(Py_None
);
910 _resultobj
= Py_None
;
914 #define wxSizerItem_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
915 static PyObject
*_wrap_wxSizerItem_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
916 PyObject
* _resultobj
;
919 PyObject
* _argo0
= 0;
921 char *_kwnames
[] = { "self","show", NULL
};
924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSizerItem_Show",_kwnames
,&_argo0
,&tempbool1
))
927 if (_argo0
== Py_None
) { _arg0
= NULL
; }
928 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizerItem_p")) {
929 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizerItem_Show. Expected _wxSizerItem_p.");
933 _arg1
= (bool ) tempbool1
;
935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
936 wxSizerItem_Show(_arg0
,_arg1
);
938 wxPyEndAllowThreads(__tstate
);
939 if (PyErr_Occurred()) return NULL
;
940 } Py_INCREF(Py_None
);
941 _resultobj
= Py_None
;
945 #define wxSizerItem_IsShown(_swigobj) (_swigobj->IsShown())
946 static PyObject
*_wrap_wxSizerItem_IsShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
947 PyObject
* _resultobj
;
950 PyObject
* _argo0
= 0;
951 char *_kwnames
[] = { "self", NULL
};
954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSizerItem_IsShown",_kwnames
,&_argo0
))
957 if (_argo0
== Py_None
) { _arg0
= NULL
; }
958 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizerItem_p")) {
959 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizerItem_IsShown. Expected _wxSizerItem_p.");
964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
965 _result
= (bool )wxSizerItem_IsShown(_arg0
);
967 wxPyEndAllowThreads(__tstate
);
968 if (PyErr_Occurred()) return NULL
;
969 } _resultobj
= Py_BuildValue("i",_result
);
973 #define wxSizerItem_GetPosition(_swigobj) (_swigobj->GetPosition())
974 static PyObject
*_wrap_wxSizerItem_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
975 PyObject
* _resultobj
;
978 PyObject
* _argo0
= 0;
979 char *_kwnames
[] = { "self", NULL
};
983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSizerItem_GetPosition",_kwnames
,&_argo0
))
986 if (_argo0
== Py_None
) { _arg0
= NULL
; }
987 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizerItem_p")) {
988 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizerItem_GetPosition. Expected _wxSizerItem_p.");
993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
994 _result
= new wxPoint (wxSizerItem_GetPosition(_arg0
));
996 wxPyEndAllowThreads(__tstate
);
997 if (PyErr_Occurred()) return NULL
;
998 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
999 _resultobj
= Py_BuildValue("s",_ptemp
);
1003 static PyObject
* wxSizerItem_GetUserData(wxSizerItem
*self
) {
1004 wxPyUserData
* data
= (wxPyUserData
*)self
->GetUserData();
1006 Py_INCREF(data
->m_obj
);
1013 static PyObject
*_wrap_wxSizerItem_GetUserData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1014 PyObject
* _resultobj
;
1016 wxSizerItem
* _arg0
;
1017 PyObject
* _argo0
= 0;
1018 char *_kwnames
[] = { "self", NULL
};
1021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSizerItem_GetUserData",_kwnames
,&_argo0
))
1024 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1025 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizerItem_p")) {
1026 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizerItem_GetUserData. Expected _wxSizerItem_p.");
1031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1032 _result
= (PyObject
*)wxSizerItem_GetUserData(_arg0
);
1034 wxPyEndAllowThreads(__tstate
);
1035 if (PyErr_Occurred()) return NULL
;
1037 _resultobj
= _result
;
1042 static void *SwigwxSizerTowxObject(void *ptr
) {
1045 src
= (wxSizer
*) ptr
;
1046 dest
= (wxObject
*) src
;
1047 return (void *) dest
;
1050 static void wxSizer__setOORInfo(wxSizer
*self
,PyObject
* _self
) {
1051 self
->SetClientObject(new wxPyOORClientData(_self
));
1053 static PyObject
*_wrap_wxSizer__setOORInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1054 PyObject
* _resultobj
;
1057 PyObject
* _argo0
= 0;
1058 PyObject
* _obj1
= 0;
1059 char *_kwnames
[] = { "self","_self", NULL
};
1062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxSizer__setOORInfo",_kwnames
,&_argo0
,&_obj1
))
1065 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1066 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
1067 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer__setOORInfo. Expected _wxSizer_p.");
1075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1076 wxSizer__setOORInfo(_arg0
,_arg1
);
1078 wxPyEndAllowThreads(__tstate
);
1079 if (PyErr_Occurred()) return NULL
;
1080 } Py_INCREF(Py_None
);
1081 _resultobj
= Py_None
;
1085 static void wxSizer_Destroy(wxSizer
*self
) { delete self
; }
1086 static PyObject
*_wrap_wxSizer_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1087 PyObject
* _resultobj
;
1089 PyObject
* _argo0
= 0;
1090 char *_kwnames
[] = { "self", NULL
};
1093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSizer_Destroy",_kwnames
,&_argo0
))
1096 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1097 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
1098 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_Destroy. Expected _wxSizer_p.");
1103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1104 wxSizer_Destroy(_arg0
);
1106 wxPyEndAllowThreads(__tstate
);
1107 if (PyErr_Occurred()) return NULL
;
1108 } Py_INCREF(Py_None
);
1109 _resultobj
= Py_None
;
1113 static void wxSizer_AddWindow(wxSizer
*self
,wxWindow
* window
,int proportion
,int flag
,int border
,PyObject
* userData
) {
1114 wxPyUserData
* data
= NULL
;
1115 if (userData
) data
= new wxPyUserData(userData
);
1116 self
->Add(window
, proportion
, flag
, border
, data
);
1118 static PyObject
*_wrap_wxSizer_AddWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1119 PyObject
* _resultobj
;
1122 int _arg2
= (int ) 0;
1123 int _arg3
= (int ) 0;
1124 int _arg4
= (int ) 0;
1125 PyObject
* _arg5
= (PyObject
*) NULL
;
1126 PyObject
* _argo0
= 0;
1127 PyObject
* _argo1
= 0;
1128 PyObject
* _obj5
= 0;
1129 char *_kwnames
[] = { "self","window","proportion","flag","border","userData", NULL
};
1132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iiiO:wxSizer_AddWindow",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_obj5
))
1135 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1136 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
1137 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_AddWindow. Expected _wxSizer_p.");
1142 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1143 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1144 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSizer_AddWindow. Expected _wxWindow_p.");
1153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1154 wxSizer_AddWindow(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
1156 wxPyEndAllowThreads(__tstate
);
1157 if (PyErr_Occurred()) return NULL
;
1158 } Py_INCREF(Py_None
);
1159 _resultobj
= Py_None
;
1163 static void wxSizer_AddSizer(wxSizer
*self
,wxSizer
* sizer
,int proportion
,int flag
,int border
,PyObject
* userData
) {
1164 wxPyUserData
* data
= NULL
;
1165 if (userData
) data
= new wxPyUserData(userData
);
1166 self
->Add(sizer
, proportion
, flag
, border
, data
);
1168 static PyObject
*_wrap_wxSizer_AddSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1169 PyObject
* _resultobj
;
1172 int _arg2
= (int ) 0;
1173 int _arg3
= (int ) 0;
1174 int _arg4
= (int ) 0;
1175 PyObject
* _arg5
= (PyObject
*) NULL
;
1176 PyObject
* _argo0
= 0;
1177 PyObject
* _argo1
= 0;
1178 PyObject
* _obj5
= 0;
1179 char *_kwnames
[] = { "self","sizer","proportion","flag","border","userData", NULL
};
1182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iiiO:wxSizer_AddSizer",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_obj5
))
1185 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1186 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
1187 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_AddSizer. Expected _wxSizer_p.");
1192 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1193 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxSizer_p")) {
1194 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSizer_AddSizer. Expected _wxSizer_p.");
1203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1204 wxSizer_AddSizer(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
1206 wxPyEndAllowThreads(__tstate
);
1207 if (PyErr_Occurred()) return NULL
;
1208 } Py_INCREF(Py_None
);
1209 _resultobj
= Py_None
;
1213 static void wxSizer_AddSpacer(wxSizer
*self
,int width
,int height
,int proportion
,int flag
,int border
,PyObject
* userData
) {
1214 wxPyUserData
* data
= NULL
;
1215 if (userData
) data
= new wxPyUserData(userData
);
1216 self
->Add(width
, height
, proportion
, flag
, border
, data
);
1218 static PyObject
*_wrap_wxSizer_AddSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1219 PyObject
* _resultobj
;
1223 int _arg3
= (int ) 0;
1224 int _arg4
= (int ) 0;
1225 int _arg5
= (int ) 0;
1226 PyObject
* _arg6
= (PyObject
*) NULL
;
1227 PyObject
* _argo0
= 0;
1228 PyObject
* _obj6
= 0;
1229 char *_kwnames
[] = { "self","width","height","proportion","flag","border","userData", NULL
};
1232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|iiiO:wxSizer_AddSpacer",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_obj6
))
1235 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1236 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
1237 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_AddSpacer. Expected _wxSizer_p.");
1246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1247 wxSizer_AddSpacer(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
1249 wxPyEndAllowThreads(__tstate
);
1250 if (PyErr_Occurred()) return NULL
;
1251 } Py_INCREF(Py_None
);
1252 _resultobj
= Py_None
;
1256 static void wxSizer_InsertWindow(wxSizer
*self
,int before
,wxWindow
* window
,int proportion
,int flag
,int border
,PyObject
* userData
) {
1257 wxPyUserData
* data
= NULL
;
1258 if (userData
) data
= new wxPyUserData(userData
);
1259 self
->Insert(before
, window
, proportion
, flag
, border
, data
);
1261 static PyObject
*_wrap_wxSizer_InsertWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1262 PyObject
* _resultobj
;
1266 int _arg3
= (int ) 0;
1267 int _arg4
= (int ) 0;
1268 int _arg5
= (int ) 0;
1269 PyObject
* _arg6
= (PyObject
*) NULL
;
1270 PyObject
* _argo0
= 0;
1271 PyObject
* _argo2
= 0;
1272 PyObject
* _obj6
= 0;
1273 char *_kwnames
[] = { "self","before","window","proportion","flag","border","userData", NULL
};
1276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|iiiO:wxSizer_InsertWindow",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_arg3
,&_arg4
,&_arg5
,&_obj6
))
1279 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1280 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
1281 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_InsertWindow. Expected _wxSizer_p.");
1286 if (_argo2
== Py_None
) { _arg2
= NULL
; }
1287 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
1288 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxSizer_InsertWindow. Expected _wxWindow_p.");
1297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1298 wxSizer_InsertWindow(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
1300 wxPyEndAllowThreads(__tstate
);
1301 if (PyErr_Occurred()) return NULL
;
1302 } Py_INCREF(Py_None
);
1303 _resultobj
= Py_None
;
1307 static void wxSizer_InsertSizer(wxSizer
*self
,int before
,wxSizer
* sizer
,int proportion
,int flag
,int border
,PyObject
* userData
) {
1308 wxPyUserData
* data
= NULL
;
1309 if (userData
) data
= new wxPyUserData(userData
);
1310 self
->Insert(before
, sizer
, proportion
, flag
, border
, data
);
1312 static PyObject
*_wrap_wxSizer_InsertSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1313 PyObject
* _resultobj
;
1317 int _arg3
= (int ) 0;
1318 int _arg4
= (int ) 0;
1319 int _arg5
= (int ) 0;
1320 PyObject
* _arg6
= (PyObject
*) NULL
;
1321 PyObject
* _argo0
= 0;
1322 PyObject
* _argo2
= 0;
1323 PyObject
* _obj6
= 0;
1324 char *_kwnames
[] = { "self","before","sizer","proportion","flag","border","userData", NULL
};
1327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|iiiO:wxSizer_InsertSizer",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_arg3
,&_arg4
,&_arg5
,&_obj6
))
1330 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1331 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
1332 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_InsertSizer. Expected _wxSizer_p.");
1337 if (_argo2
== Py_None
) { _arg2
= NULL
; }
1338 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxSizer_p")) {
1339 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxSizer_InsertSizer. Expected _wxSizer_p.");
1348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1349 wxSizer_InsertSizer(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
1351 wxPyEndAllowThreads(__tstate
);
1352 if (PyErr_Occurred()) return NULL
;
1353 } Py_INCREF(Py_None
);
1354 _resultobj
= Py_None
;
1358 static void wxSizer_InsertSpacer(wxSizer
*self
,int before
,int width
,int height
,int proportion
,int flag
,int border
,PyObject
* userData
) {
1359 wxPyUserData
* data
= NULL
;
1360 if (userData
) data
= new wxPyUserData(userData
);
1361 self
->Insert(before
, width
, height
, proportion
, flag
, border
, data
);
1363 static PyObject
*_wrap_wxSizer_InsertSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1364 PyObject
* _resultobj
;
1369 int _arg4
= (int ) 0;
1370 int _arg5
= (int ) 0;
1371 int _arg6
= (int ) 0;
1372 PyObject
* _arg7
= (PyObject
*) NULL
;
1373 PyObject
* _argo0
= 0;
1374 PyObject
* _obj7
= 0;
1375 char *_kwnames
[] = { "self","before","width","height","proportion","flag","border","userData", NULL
};
1378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiii|iiiO:wxSizer_InsertSpacer",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
,&_obj7
))
1381 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1382 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
1383 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_InsertSpacer. Expected _wxSizer_p.");
1392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1393 wxSizer_InsertSpacer(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
);
1395 wxPyEndAllowThreads(__tstate
);
1396 if (PyErr_Occurred()) return NULL
;
1397 } Py_INCREF(Py_None
);
1398 _resultobj
= Py_None
;
1402 static void wxSizer_PrependWindow(wxSizer
*self
,wxWindow
* window
,int proportion
,int flag
,int border
,PyObject
* userData
) {
1403 wxPyUserData
* data
= NULL
;
1404 if (userData
) data
= new wxPyUserData(userData
);
1405 self
->Prepend(window
, proportion
, flag
, border
, data
);
1407 static PyObject
*_wrap_wxSizer_PrependWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1408 PyObject
* _resultobj
;
1411 int _arg2
= (int ) 0;
1412 int _arg3
= (int ) 0;
1413 int _arg4
= (int ) 0;
1414 PyObject
* _arg5
= (PyObject
*) NULL
;
1415 PyObject
* _argo0
= 0;
1416 PyObject
* _argo1
= 0;
1417 PyObject
* _obj5
= 0;
1418 char *_kwnames
[] = { "self","window","proportion","flag","border","userData", NULL
};
1421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iiiO:wxSizer_PrependWindow",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_obj5
))
1424 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1425 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
1426 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_PrependWindow. Expected _wxSizer_p.");
1431 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1432 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1433 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSizer_PrependWindow. Expected _wxWindow_p.");
1442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1443 wxSizer_PrependWindow(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
1445 wxPyEndAllowThreads(__tstate
);
1446 if (PyErr_Occurred()) return NULL
;
1447 } Py_INCREF(Py_None
);
1448 _resultobj
= Py_None
;
1452 static void wxSizer_PrependSizer(wxSizer
*self
,wxSizer
* sizer
,int proportion
,int flag
,int border
,PyObject
* userData
) {
1453 wxPyUserData
* data
= NULL
;
1454 if (userData
) data
= new wxPyUserData(userData
);
1455 self
->Prepend(sizer
, proportion
, flag
, border
, data
);
1457 static PyObject
*_wrap_wxSizer_PrependSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1458 PyObject
* _resultobj
;
1461 int _arg2
= (int ) 0;
1462 int _arg3
= (int ) 0;
1463 int _arg4
= (int ) 0;
1464 PyObject
* _arg5
= (PyObject
*) NULL
;
1465 PyObject
* _argo0
= 0;
1466 PyObject
* _argo1
= 0;
1467 PyObject
* _obj5
= 0;
1468 char *_kwnames
[] = { "self","sizer","proportion","flag","border","userData", NULL
};
1471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iiiO:wxSizer_PrependSizer",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_obj5
))
1474 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1475 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
1476 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_PrependSizer. Expected _wxSizer_p.");
1481 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1482 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxSizer_p")) {
1483 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSizer_PrependSizer. Expected _wxSizer_p.");
1492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1493 wxSizer_PrependSizer(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
1495 wxPyEndAllowThreads(__tstate
);
1496 if (PyErr_Occurred()) return NULL
;
1497 } Py_INCREF(Py_None
);
1498 _resultobj
= Py_None
;
1502 static void wxSizer_PrependSpacer(wxSizer
*self
,int width
,int height
,int proportion
,int flag
,int border
,PyObject
* userData
) {
1503 wxPyUserData
* data
= NULL
;
1504 if (userData
) data
= new wxPyUserData(userData
);
1505 self
->Prepend(width
, height
, proportion
, flag
, border
, data
);
1507 static PyObject
*_wrap_wxSizer_PrependSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1508 PyObject
* _resultobj
;
1512 int _arg3
= (int ) 0;
1513 int _arg4
= (int ) 0;
1514 int _arg5
= (int ) 0;
1515 PyObject
* _arg6
= (PyObject
*) NULL
;
1516 PyObject
* _argo0
= 0;
1517 PyObject
* _obj6
= 0;
1518 char *_kwnames
[] = { "self","width","height","proportion","flag","border","userData", NULL
};
1521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|iiiO:wxSizer_PrependSpacer",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_obj6
))
1524 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1525 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
1526 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_PrependSpacer. Expected _wxSizer_p.");
1535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1536 wxSizer_PrependSpacer(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
1538 wxPyEndAllowThreads(__tstate
);
1539 if (PyErr_Occurred()) return NULL
;
1540 } Py_INCREF(Py_None
);
1541 _resultobj
= Py_None
;
1545 #define wxSizer_RemoveWindow(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
1546 static PyObject
*_wrap_wxSizer_RemoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1547 PyObject
* _resultobj
;
1551 PyObject
* _argo0
= 0;
1552 PyObject
* _argo1
= 0;
1553 char *_kwnames
[] = { "self","window", NULL
};
1556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxSizer_RemoveWindow",_kwnames
,&_argo0
,&_argo1
))
1559 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1560 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
1561 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_RemoveWindow. Expected _wxSizer_p.");
1566 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1567 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1568 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSizer_RemoveWindow. Expected _wxWindow_p.");
1573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1574 _result
= (bool )wxSizer_RemoveWindow(_arg0
,_arg1
);
1576 wxPyEndAllowThreads(__tstate
);
1577 if (PyErr_Occurred()) return NULL
;
1578 } _resultobj
= Py_BuildValue("i",_result
);
1582 #define wxSizer_RemoveSizer(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
1583 static PyObject
*_wrap_wxSizer_RemoveSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1584 PyObject
* _resultobj
;
1588 PyObject
* _argo0
= 0;
1589 PyObject
* _argo1
= 0;
1590 char *_kwnames
[] = { "self","sizer", NULL
};
1593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxSizer_RemoveSizer",_kwnames
,&_argo0
,&_argo1
))
1596 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1597 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
1598 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_RemoveSizer. Expected _wxSizer_p.");
1603 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1604 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxSizer_p")) {
1605 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSizer_RemoveSizer. Expected _wxSizer_p.");
1610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1611 _result
= (bool )wxSizer_RemoveSizer(_arg0
,_arg1
);
1613 wxPyEndAllowThreads(__tstate
);
1614 if (PyErr_Occurred()) return NULL
;
1615 } _resultobj
= Py_BuildValue("i",_result
);
1619 #define wxSizer_RemovePos(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
1620 static PyObject
*_wrap_wxSizer_RemovePos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1621 PyObject
* _resultobj
;
1625 PyObject
* _argo0
= 0;
1626 char *_kwnames
[] = { "self","pos", NULL
};
1629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSizer_RemovePos",_kwnames
,&_argo0
,&_arg1
))
1632 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1633 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
1634 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_RemovePos. Expected _wxSizer_p.");
1639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1640 _result
= (bool )wxSizer_RemovePos(_arg0
,_arg1
);
1642 wxPyEndAllowThreads(__tstate
);
1643 if (PyErr_Occurred()) return NULL
;
1644 } _resultobj
= Py_BuildValue("i",_result
);
1648 #define wxSizer_DetachWindow(_swigobj,_swigarg0) (_swigobj->Detach(_swigarg0))
1649 static PyObject
*_wrap_wxSizer_DetachWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1650 PyObject
* _resultobj
;
1654 PyObject
* _argo0
= 0;
1655 PyObject
* _argo1
= 0;
1656 char *_kwnames
[] = { "self","window", NULL
};
1659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxSizer_DetachWindow",_kwnames
,&_argo0
,&_argo1
))
1662 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1663 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
1664 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_DetachWindow. Expected _wxSizer_p.");
1669 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1670 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1671 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSizer_DetachWindow. Expected _wxWindow_p.");
1676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1677 _result
= (bool )wxSizer_DetachWindow(_arg0
,_arg1
);
1679 wxPyEndAllowThreads(__tstate
);
1680 if (PyErr_Occurred()) return NULL
;
1681 } _resultobj
= Py_BuildValue("i",_result
);
1685 #define wxSizer_DetachSizer(_swigobj,_swigarg0) (_swigobj->Detach(_swigarg0))
1686 static PyObject
*_wrap_wxSizer_DetachSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1687 PyObject
* _resultobj
;
1691 PyObject
* _argo0
= 0;
1692 PyObject
* _argo1
= 0;
1693 char *_kwnames
[] = { "self","sizer", NULL
};
1696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxSizer_DetachSizer",_kwnames
,&_argo0
,&_argo1
))
1699 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1700 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
1701 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_DetachSizer. Expected _wxSizer_p.");
1706 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1707 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxSizer_p")) {
1708 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSizer_DetachSizer. Expected _wxSizer_p.");
1713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1714 _result
= (bool )wxSizer_DetachSizer(_arg0
,_arg1
);
1716 wxPyEndAllowThreads(__tstate
);
1717 if (PyErr_Occurred()) return NULL
;
1718 } _resultobj
= Py_BuildValue("i",_result
);
1722 #define wxSizer_DetachPos(_swigobj,_swigarg0) (_swigobj->Detach(_swigarg0))
1723 static PyObject
*_wrap_wxSizer_DetachPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1724 PyObject
* _resultobj
;
1728 PyObject
* _argo0
= 0;
1729 char *_kwnames
[] = { "self","pos", NULL
};
1732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSizer_DetachPos",_kwnames
,&_argo0
,&_arg1
))
1735 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1736 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
1737 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_DetachPos. Expected _wxSizer_p.");
1742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1743 _result
= (bool )wxSizer_DetachPos(_arg0
,_arg1
);
1745 wxPyEndAllowThreads(__tstate
);
1746 if (PyErr_Occurred()) return NULL
;
1747 } _resultobj
= Py_BuildValue("i",_result
);
1751 #define wxSizer_Clear(_swigobj,_swigarg0) (_swigobj->Clear(_swigarg0))
1752 static PyObject
*_wrap_wxSizer_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1753 PyObject
* _resultobj
;
1755 bool _arg1
= (bool ) false;
1756 PyObject
* _argo0
= 0;
1757 int tempbool1
= (int) false;
1758 char *_kwnames
[] = { "self","delete_windows", NULL
};
1761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxSizer_Clear",_kwnames
,&_argo0
,&tempbool1
))
1764 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1765 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
1766 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_Clear. Expected _wxSizer_p.");
1770 _arg1
= (bool ) tempbool1
;
1772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1773 wxSizer_Clear(_arg0
,_arg1
);
1775 wxPyEndAllowThreads(__tstate
);
1776 if (PyErr_Occurred()) return NULL
;
1777 } Py_INCREF(Py_None
);
1778 _resultobj
= Py_None
;
1782 #define wxSizer_DeleteWindows(_swigobj) (_swigobj->DeleteWindows())
1783 static PyObject
*_wrap_wxSizer_DeleteWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1784 PyObject
* _resultobj
;
1786 PyObject
* _argo0
= 0;
1787 char *_kwnames
[] = { "self", NULL
};
1790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSizer_DeleteWindows",_kwnames
,&_argo0
))
1793 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1794 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
1795 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_DeleteWindows. Expected _wxSizer_p.");
1800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1801 wxSizer_DeleteWindows(_arg0
);
1803 wxPyEndAllowThreads(__tstate
);
1804 if (PyErr_Occurred()) return NULL
;
1805 } Py_INCREF(Py_None
);
1806 _resultobj
= Py_None
;
1810 #define wxSizer_SetMinSize(_swigobj,_swigarg0) (_swigobj->SetMinSize(_swigarg0))
1811 static PyObject
*_wrap_wxSizer_SetMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1812 PyObject
* _resultobj
;
1815 PyObject
* _argo0
= 0;
1817 PyObject
* _obj1
= 0;
1818 char *_kwnames
[] = { "self","size", NULL
};
1821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxSizer_SetMinSize",_kwnames
,&_argo0
,&_obj1
))
1824 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1825 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
1826 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_SetMinSize. Expected _wxSizer_p.");
1832 if (! wxSize_helper(_obj1
, &_arg1
))
1836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1837 wxSizer_SetMinSize(_arg0
,*_arg1
);
1839 wxPyEndAllowThreads(__tstate
);
1840 if (PyErr_Occurred()) return NULL
;
1841 } Py_INCREF(Py_None
);
1842 _resultobj
= Py_None
;
1846 #define wxSizer_SetItemMinSizeWindow(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemMinSize(_swigarg0,_swigarg1))
1847 static PyObject
*_wrap_wxSizer_SetItemMinSizeWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1848 PyObject
* _resultobj
;
1852 PyObject
* _argo0
= 0;
1853 PyObject
* _argo1
= 0;
1855 PyObject
* _obj2
= 0;
1856 char *_kwnames
[] = { "self","window","size", NULL
};
1859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxSizer_SetItemMinSizeWindow",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
1862 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1863 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
1864 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_SetItemMinSizeWindow. Expected _wxSizer_p.");
1869 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1870 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1871 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSizer_SetItemMinSizeWindow. Expected _wxWindow_p.");
1877 if (! wxSize_helper(_obj2
, &_arg2
))
1881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1882 wxSizer_SetItemMinSizeWindow(_arg0
,_arg1
,*_arg2
);
1884 wxPyEndAllowThreads(__tstate
);
1885 if (PyErr_Occurred()) return NULL
;
1886 } Py_INCREF(Py_None
);
1887 _resultobj
= Py_None
;
1891 #define wxSizer_SetItemMinSizeSizer(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemMinSize(_swigarg0,_swigarg1))
1892 static PyObject
*_wrap_wxSizer_SetItemMinSizeSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1893 PyObject
* _resultobj
;
1897 PyObject
* _argo0
= 0;
1898 PyObject
* _argo1
= 0;
1900 PyObject
* _obj2
= 0;
1901 char *_kwnames
[] = { "self","sizer","size", NULL
};
1904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxSizer_SetItemMinSizeSizer",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
1907 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1908 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
1909 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_SetItemMinSizeSizer. Expected _wxSizer_p.");
1914 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1915 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxSizer_p")) {
1916 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSizer_SetItemMinSizeSizer. Expected _wxSizer_p.");
1922 if (! wxSize_helper(_obj2
, &_arg2
))
1926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1927 wxSizer_SetItemMinSizeSizer(_arg0
,_arg1
,*_arg2
);
1929 wxPyEndAllowThreads(__tstate
);
1930 if (PyErr_Occurred()) return NULL
;
1931 } Py_INCREF(Py_None
);
1932 _resultobj
= Py_None
;
1936 #define wxSizer_SetItemMinSizePos(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemMinSize(_swigarg0,_swigarg1))
1937 static PyObject
*_wrap_wxSizer_SetItemMinSizePos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1938 PyObject
* _resultobj
;
1942 PyObject
* _argo0
= 0;
1944 PyObject
* _obj2
= 0;
1945 char *_kwnames
[] = { "self","pos","size", NULL
};
1948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxSizer_SetItemMinSizePos",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
1951 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1952 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
1953 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_SetItemMinSizePos. Expected _wxSizer_p.");
1959 if (! wxSize_helper(_obj2
, &_arg2
))
1963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1964 wxSizer_SetItemMinSizePos(_arg0
,_arg1
,*_arg2
);
1966 wxPyEndAllowThreads(__tstate
);
1967 if (PyErr_Occurred()) return NULL
;
1968 } Py_INCREF(Py_None
);
1969 _resultobj
= Py_None
;
1973 #define wxSizer_SetItemMinSizeWindowWH(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemMinSize(_swigarg0,_swigarg1,_swigarg2))
1974 static PyObject
*_wrap_wxSizer_SetItemMinSizeWindowWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1975 PyObject
* _resultobj
;
1980 PyObject
* _argo0
= 0;
1981 PyObject
* _argo1
= 0;
1982 char *_kwnames
[] = { "self","window","width","height", NULL
};
1985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxSizer_SetItemMinSizeWindowWH",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
1988 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1989 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
1990 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_SetItemMinSizeWindowWH. Expected _wxSizer_p.");
1995 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1996 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1997 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSizer_SetItemMinSizeWindowWH. Expected _wxWindow_p.");
2002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2003 wxSizer_SetItemMinSizeWindowWH(_arg0
,_arg1
,_arg2
,_arg3
);
2005 wxPyEndAllowThreads(__tstate
);
2006 if (PyErr_Occurred()) return NULL
;
2007 } Py_INCREF(Py_None
);
2008 _resultobj
= Py_None
;
2012 #define wxSizer_SetItemMinSizeSizerWH(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemMinSize(_swigarg0,_swigarg1,_swigarg2))
2013 static PyObject
*_wrap_wxSizer_SetItemMinSizeSizerWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2014 PyObject
* _resultobj
;
2019 PyObject
* _argo0
= 0;
2020 PyObject
* _argo1
= 0;
2021 char *_kwnames
[] = { "self","sizer","width","height", NULL
};
2024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxSizer_SetItemMinSizeSizerWH",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
2027 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2028 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
2029 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_SetItemMinSizeSizerWH. Expected _wxSizer_p.");
2034 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2035 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxSizer_p")) {
2036 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSizer_SetItemMinSizeSizerWH. Expected _wxSizer_p.");
2041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2042 wxSizer_SetItemMinSizeSizerWH(_arg0
,_arg1
,_arg2
,_arg3
);
2044 wxPyEndAllowThreads(__tstate
);
2045 if (PyErr_Occurred()) return NULL
;
2046 } Py_INCREF(Py_None
);
2047 _resultobj
= Py_None
;
2051 #define wxSizer_SetItemMinSizePosWH(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemMinSize(_swigarg0,_swigarg1,_swigarg2))
2052 static PyObject
*_wrap_wxSizer_SetItemMinSizePosWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2053 PyObject
* _resultobj
;
2058 PyObject
* _argo0
= 0;
2059 char *_kwnames
[] = { "self","pos","width","height", NULL
};
2062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiii:wxSizer_SetItemMinSizePosWH",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
2065 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2066 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
2067 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_SetItemMinSizePosWH. Expected _wxSizer_p.");
2072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2073 wxSizer_SetItemMinSizePosWH(_arg0
,_arg1
,_arg2
,_arg3
);
2075 wxPyEndAllowThreads(__tstate
);
2076 if (PyErr_Occurred()) return NULL
;
2077 } Py_INCREF(Py_None
);
2078 _resultobj
= Py_None
;
2082 #define wxSizer_GetSize(_swigobj) (_swigobj->GetSize())
2083 static PyObject
*_wrap_wxSizer_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2084 PyObject
* _resultobj
;
2087 PyObject
* _argo0
= 0;
2088 char *_kwnames
[] = { "self", NULL
};
2092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSizer_GetSize",_kwnames
,&_argo0
))
2095 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2096 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
2097 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_GetSize. Expected _wxSizer_p.");
2102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2103 _result
= new wxSize (wxSizer_GetSize(_arg0
));
2105 wxPyEndAllowThreads(__tstate
);
2106 if (PyErr_Occurred()) return NULL
;
2107 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2108 _resultobj
= Py_BuildValue("s",_ptemp
);
2112 #define wxSizer_GetPosition(_swigobj) (_swigobj->GetPosition())
2113 static PyObject
*_wrap_wxSizer_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2114 PyObject
* _resultobj
;
2117 PyObject
* _argo0
= 0;
2118 char *_kwnames
[] = { "self", NULL
};
2122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSizer_GetPosition",_kwnames
,&_argo0
))
2125 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2126 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
2127 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_GetPosition. Expected _wxSizer_p.");
2132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2133 _result
= new wxPoint (wxSizer_GetPosition(_arg0
));
2135 wxPyEndAllowThreads(__tstate
);
2136 if (PyErr_Occurred()) return NULL
;
2137 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2138 _resultobj
= Py_BuildValue("s",_ptemp
);
2142 #define wxSizer_GetMinSize(_swigobj) (_swigobj->GetMinSize())
2143 static PyObject
*_wrap_wxSizer_GetMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2144 PyObject
* _resultobj
;
2147 PyObject
* _argo0
= 0;
2148 char *_kwnames
[] = { "self", NULL
};
2152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSizer_GetMinSize",_kwnames
,&_argo0
))
2155 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2156 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
2157 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_GetMinSize. Expected _wxSizer_p.");
2162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2163 _result
= new wxSize (wxSizer_GetMinSize(_arg0
));
2165 wxPyEndAllowThreads(__tstate
);
2166 if (PyErr_Occurred()) return NULL
;
2167 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2168 _resultobj
= Py_BuildValue("s",_ptemp
);
2172 #define wxSizer_Layout(_swigobj) (_swigobj->Layout())
2173 static PyObject
*_wrap_wxSizer_Layout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2174 PyObject
* _resultobj
;
2176 PyObject
* _argo0
= 0;
2177 char *_kwnames
[] = { "self", NULL
};
2180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSizer_Layout",_kwnames
,&_argo0
))
2183 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2184 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
2185 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_Layout. Expected _wxSizer_p.");
2190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2191 wxSizer_Layout(_arg0
);
2193 wxPyEndAllowThreads(__tstate
);
2194 if (PyErr_Occurred()) return NULL
;
2195 } Py_INCREF(Py_None
);
2196 _resultobj
= Py_None
;
2200 #define wxSizer_Fit(_swigobj,_swigarg0) (_swigobj->Fit(_swigarg0))
2201 static PyObject
*_wrap_wxSizer_Fit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2202 PyObject
* _resultobj
;
2206 PyObject
* _argo0
= 0;
2207 PyObject
* _argo1
= 0;
2208 char *_kwnames
[] = { "self","window", NULL
};
2212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxSizer_Fit",_kwnames
,&_argo0
,&_argo1
))
2215 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2216 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
2217 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_Fit. Expected _wxSizer_p.");
2222 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2223 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2224 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSizer_Fit. Expected _wxWindow_p.");
2229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2230 _result
= new wxSize (wxSizer_Fit(_arg0
,_arg1
));
2232 wxPyEndAllowThreads(__tstate
);
2233 if (PyErr_Occurred()) return NULL
;
2234 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2235 _resultobj
= Py_BuildValue("s",_ptemp
);
2239 #define wxSizer_FitInside(_swigobj,_swigarg0) (_swigobj->FitInside(_swigarg0))
2240 static PyObject
*_wrap_wxSizer_FitInside(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2241 PyObject
* _resultobj
;
2244 PyObject
* _argo0
= 0;
2245 PyObject
* _argo1
= 0;
2246 char *_kwnames
[] = { "self","window", NULL
};
2249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxSizer_FitInside",_kwnames
,&_argo0
,&_argo1
))
2252 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2253 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
2254 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_FitInside. Expected _wxSizer_p.");
2259 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2260 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2261 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSizer_FitInside. Expected _wxWindow_p.");
2266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2267 wxSizer_FitInside(_arg0
,_arg1
);
2269 wxPyEndAllowThreads(__tstate
);
2270 if (PyErr_Occurred()) return NULL
;
2271 } Py_INCREF(Py_None
);
2272 _resultobj
= Py_None
;
2276 #define wxSizer_SetSizeHints(_swigobj,_swigarg0) (_swigobj->SetSizeHints(_swigarg0))
2277 static PyObject
*_wrap_wxSizer_SetSizeHints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2278 PyObject
* _resultobj
;
2281 PyObject
* _argo0
= 0;
2282 PyObject
* _argo1
= 0;
2283 char *_kwnames
[] = { "self","window", NULL
};
2286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxSizer_SetSizeHints",_kwnames
,&_argo0
,&_argo1
))
2289 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2290 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
2291 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_SetSizeHints. Expected _wxSizer_p.");
2296 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2297 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2298 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSizer_SetSizeHints. Expected _wxWindow_p.");
2303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2304 wxSizer_SetSizeHints(_arg0
,_arg1
);
2306 wxPyEndAllowThreads(__tstate
);
2307 if (PyErr_Occurred()) return NULL
;
2308 } Py_INCREF(Py_None
);
2309 _resultobj
= Py_None
;
2313 #define wxSizer_SetVirtualSizeHints(_swigobj,_swigarg0) (_swigobj->SetVirtualSizeHints(_swigarg0))
2314 static PyObject
*_wrap_wxSizer_SetVirtualSizeHints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2315 PyObject
* _resultobj
;
2318 PyObject
* _argo0
= 0;
2319 PyObject
* _argo1
= 0;
2320 char *_kwnames
[] = { "self","window", NULL
};
2323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxSizer_SetVirtualSizeHints",_kwnames
,&_argo0
,&_argo1
))
2326 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2327 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
2328 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_SetVirtualSizeHints. Expected _wxSizer_p.");
2333 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2334 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2335 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSizer_SetVirtualSizeHints. Expected _wxWindow_p.");
2340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2341 wxSizer_SetVirtualSizeHints(_arg0
,_arg1
);
2343 wxPyEndAllowThreads(__tstate
);
2344 if (PyErr_Occurred()) return NULL
;
2345 } Py_INCREF(Py_None
);
2346 _resultobj
= Py_None
;
2350 static PyObject
* wxSizer_GetChildren(wxSizer
*self
) {
2351 wxSizerItemList
& list
= self
->GetChildren();
2352 return wxPy_ConvertList(&list
, "wxSizerItem");
2354 static PyObject
*_wrap_wxSizer_GetChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2355 PyObject
* _resultobj
;
2358 PyObject
* _argo0
= 0;
2359 char *_kwnames
[] = { "self", NULL
};
2362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSizer_GetChildren",_kwnames
,&_argo0
))
2365 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2366 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
2367 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_GetChildren. Expected _wxSizer_p.");
2372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2373 _result
= (PyObject
*)wxSizer_GetChildren(_arg0
);
2375 wxPyEndAllowThreads(__tstate
);
2376 if (PyErr_Occurred()) return NULL
;
2378 _resultobj
= _result
;
2383 #define wxSizer_SetDimension(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetDimension(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2384 static PyObject
*_wrap_wxSizer_SetDimension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2385 PyObject
* _resultobj
;
2391 PyObject
* _argo0
= 0;
2392 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
2395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii:wxSizer_SetDimension",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
2398 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2399 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
2400 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_SetDimension. Expected _wxSizer_p.");
2405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2406 wxSizer_SetDimension(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
2408 wxPyEndAllowThreads(__tstate
);
2409 if (PyErr_Occurred()) return NULL
;
2410 } Py_INCREF(Py_None
);
2411 _resultobj
= Py_None
;
2415 #define wxSizer_ShowWindow(_swigobj,_swigarg0,_swigarg1) (_swigobj->Show(_swigarg0,_swigarg1))
2416 static PyObject
*_wrap_wxSizer_ShowWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2417 PyObject
* _resultobj
;
2420 bool _arg2
= (bool ) TRUE
;
2421 PyObject
* _argo0
= 0;
2422 PyObject
* _argo1
= 0;
2423 int tempbool2
= (int) TRUE
;
2424 char *_kwnames
[] = { "self","window","show", NULL
};
2427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxSizer_ShowWindow",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
2430 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2431 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
2432 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_ShowWindow. Expected _wxSizer_p.");
2437 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2438 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2439 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSizer_ShowWindow. Expected _wxWindow_p.");
2443 _arg2
= (bool ) tempbool2
;
2445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2446 wxSizer_ShowWindow(_arg0
,_arg1
,_arg2
);
2448 wxPyEndAllowThreads(__tstate
);
2449 if (PyErr_Occurred()) return NULL
;
2450 } Py_INCREF(Py_None
);
2451 _resultobj
= Py_None
;
2455 #define wxSizer_ShowSizer(_swigobj,_swigarg0,_swigarg1) (_swigobj->Show(_swigarg0,_swigarg1))
2456 static PyObject
*_wrap_wxSizer_ShowSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2457 PyObject
* _resultobj
;
2460 bool _arg2
= (bool ) TRUE
;
2461 PyObject
* _argo0
= 0;
2462 PyObject
* _argo1
= 0;
2463 int tempbool2
= (int) TRUE
;
2464 char *_kwnames
[] = { "self","sizer","show", NULL
};
2467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxSizer_ShowSizer",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
2470 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2471 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
2472 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_ShowSizer. Expected _wxSizer_p.");
2477 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2478 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxSizer_p")) {
2479 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSizer_ShowSizer. Expected _wxSizer_p.");
2483 _arg2
= (bool ) tempbool2
;
2485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2486 wxSizer_ShowSizer(_arg0
,_arg1
,_arg2
);
2488 wxPyEndAllowThreads(__tstate
);
2489 if (PyErr_Occurred()) return NULL
;
2490 } Py_INCREF(Py_None
);
2491 _resultobj
= Py_None
;
2495 #define wxSizer_ShowPos(_swigobj,_swigarg0,_swigarg1) (_swigobj->Show(_swigarg0,_swigarg1))
2496 static PyObject
*_wrap_wxSizer_ShowPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2497 PyObject
* _resultobj
;
2500 bool _arg2
= (bool ) TRUE
;
2501 PyObject
* _argo0
= 0;
2502 int tempbool2
= (int) TRUE
;
2503 char *_kwnames
[] = { "self","index","show", NULL
};
2506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxSizer_ShowPos",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
2509 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2510 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
2511 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_ShowPos. Expected _wxSizer_p.");
2515 _arg2
= (bool ) tempbool2
;
2517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2518 wxSizer_ShowPos(_arg0
,_arg1
,_arg2
);
2520 wxPyEndAllowThreads(__tstate
);
2521 if (PyErr_Occurred()) return NULL
;
2522 } Py_INCREF(Py_None
);
2523 _resultobj
= Py_None
;
2527 #define wxSizer_HideWindow(_swigobj,_swigarg0) (_swigobj->Hide(_swigarg0))
2528 static PyObject
*_wrap_wxSizer_HideWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2529 PyObject
* _resultobj
;
2532 PyObject
* _argo0
= 0;
2533 PyObject
* _argo1
= 0;
2534 char *_kwnames
[] = { "self","window", NULL
};
2537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxSizer_HideWindow",_kwnames
,&_argo0
,&_argo1
))
2540 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2541 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
2542 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_HideWindow. Expected _wxSizer_p.");
2547 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2548 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2549 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSizer_HideWindow. Expected _wxWindow_p.");
2554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2555 wxSizer_HideWindow(_arg0
,_arg1
);
2557 wxPyEndAllowThreads(__tstate
);
2558 if (PyErr_Occurred()) return NULL
;
2559 } Py_INCREF(Py_None
);
2560 _resultobj
= Py_None
;
2564 #define wxSizer_HideSizer(_swigobj,_swigarg0) (_swigobj->Hide(_swigarg0))
2565 static PyObject
*_wrap_wxSizer_HideSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2566 PyObject
* _resultobj
;
2569 PyObject
* _argo0
= 0;
2570 PyObject
* _argo1
= 0;
2571 char *_kwnames
[] = { "self","sizer", NULL
};
2574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxSizer_HideSizer",_kwnames
,&_argo0
,&_argo1
))
2577 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2578 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
2579 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_HideSizer. Expected _wxSizer_p.");
2584 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2585 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxSizer_p")) {
2586 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSizer_HideSizer. Expected _wxSizer_p.");
2591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2592 wxSizer_HideSizer(_arg0
,_arg1
);
2594 wxPyEndAllowThreads(__tstate
);
2595 if (PyErr_Occurred()) return NULL
;
2596 } Py_INCREF(Py_None
);
2597 _resultobj
= Py_None
;
2601 #define wxSizer_HidePos(_swigobj,_swigarg0) (_swigobj->Hide(_swigarg0))
2602 static PyObject
*_wrap_wxSizer_HidePos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2603 PyObject
* _resultobj
;
2606 PyObject
* _argo0
= 0;
2607 char *_kwnames
[] = { "self","index", NULL
};
2610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSizer_HidePos",_kwnames
,&_argo0
,&_arg1
))
2613 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2614 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
2615 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_HidePos. Expected _wxSizer_p.");
2620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2621 wxSizer_HidePos(_arg0
,_arg1
);
2623 wxPyEndAllowThreads(__tstate
);
2624 if (PyErr_Occurred()) return NULL
;
2625 } Py_INCREF(Py_None
);
2626 _resultobj
= Py_None
;
2630 #define wxSizer_IsShownWindow(_swigobj,_swigarg0) (_swigobj->IsShown(_swigarg0))
2631 static PyObject
*_wrap_wxSizer_IsShownWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2632 PyObject
* _resultobj
;
2636 PyObject
* _argo0
= 0;
2637 PyObject
* _argo1
= 0;
2638 char *_kwnames
[] = { "self","window", NULL
};
2641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxSizer_IsShownWindow",_kwnames
,&_argo0
,&_argo1
))
2644 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2645 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
2646 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_IsShownWindow. Expected _wxSizer_p.");
2651 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2652 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2653 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSizer_IsShownWindow. Expected _wxWindow_p.");
2658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2659 _result
= (bool )wxSizer_IsShownWindow(_arg0
,_arg1
);
2661 wxPyEndAllowThreads(__tstate
);
2662 if (PyErr_Occurred()) return NULL
;
2663 } _resultobj
= Py_BuildValue("i",_result
);
2667 #define wxSizer_IsShownSizer(_swigobj,_swigarg0) (_swigobj->IsShown(_swigarg0))
2668 static PyObject
*_wrap_wxSizer_IsShownSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2669 PyObject
* _resultobj
;
2673 PyObject
* _argo0
= 0;
2674 PyObject
* _argo1
= 0;
2675 char *_kwnames
[] = { "self","sizer", NULL
};
2678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxSizer_IsShownSizer",_kwnames
,&_argo0
,&_argo1
))
2681 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2682 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
2683 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_IsShownSizer. Expected _wxSizer_p.");
2688 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2689 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxSizer_p")) {
2690 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSizer_IsShownSizer. Expected _wxSizer_p.");
2695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2696 _result
= (bool )wxSizer_IsShownSizer(_arg0
,_arg1
);
2698 wxPyEndAllowThreads(__tstate
);
2699 if (PyErr_Occurred()) return NULL
;
2700 } _resultobj
= Py_BuildValue("i",_result
);
2704 #define wxSizer_IsShownPos(_swigobj,_swigarg0) (_swigobj->IsShown(_swigarg0))
2705 static PyObject
*_wrap_wxSizer_IsShownPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2706 PyObject
* _resultobj
;
2710 PyObject
* _argo0
= 0;
2711 char *_kwnames
[] = { "self","index", NULL
};
2714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSizer_IsShownPos",_kwnames
,&_argo0
,&_arg1
))
2717 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2718 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
2719 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_IsShownPos. Expected _wxSizer_p.");
2724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2725 _result
= (bool )wxSizer_IsShownPos(_arg0
,_arg1
);
2727 wxPyEndAllowThreads(__tstate
);
2728 if (PyErr_Occurred()) return NULL
;
2729 } _resultobj
= Py_BuildValue("i",_result
);
2733 #define wxSizer_ShowItems(_swigobj,_swigarg0) (_swigobj->ShowItems(_swigarg0))
2734 static PyObject
*_wrap_wxSizer_ShowItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2735 PyObject
* _resultobj
;
2738 PyObject
* _argo0
= 0;
2740 char *_kwnames
[] = { "self","show", NULL
};
2743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSizer_ShowItems",_kwnames
,&_argo0
,&tempbool1
))
2746 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2747 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
2748 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_ShowItems. Expected _wxSizer_p.");
2752 _arg1
= (bool ) tempbool1
;
2754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2755 wxSizer_ShowItems(_arg0
,_arg1
);
2757 wxPyEndAllowThreads(__tstate
);
2758 if (PyErr_Occurred()) return NULL
;
2759 } Py_INCREF(Py_None
);
2760 _resultobj
= Py_None
;
2764 static void *SwigwxPySizerTowxSizer(void *ptr
) {
2767 src
= (wxPySizer
*) ptr
;
2768 dest
= (wxSizer
*) src
;
2769 return (void *) dest
;
2772 static void *SwigwxPySizerTowxObject(void *ptr
) {
2775 src
= (wxPySizer
*) ptr
;
2776 dest
= (wxObject
*) src
;
2777 return (void *) dest
;
2780 #define new_wxPySizer() (new wxPySizer())
2781 static PyObject
*_wrap_new_wxPySizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2782 PyObject
* _resultobj
;
2783 wxPySizer
* _result
;
2784 char *_kwnames
[] = { NULL
};
2788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPySizer",_kwnames
))
2791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2792 _result
= (wxPySizer
*)new_wxPySizer();
2794 wxPyEndAllowThreads(__tstate
);
2795 if (PyErr_Occurred()) return NULL
;
2797 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPySizer_p");
2798 _resultobj
= Py_BuildValue("s",_ptemp
);
2801 _resultobj
= Py_None
;
2806 #define wxPySizer__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
2807 static PyObject
*_wrap_wxPySizer__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2808 PyObject
* _resultobj
;
2812 PyObject
* _argo0
= 0;
2813 PyObject
* _obj1
= 0;
2814 PyObject
* _obj2
= 0;
2815 char *_kwnames
[] = { "self","self","_class", NULL
};
2818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPySizer__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
2821 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2822 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPySizer_p")) {
2823 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPySizer__setCallbackInfo. Expected _wxPySizer_p.");
2834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2835 wxPySizer__setCallbackInfo(_arg0
,_arg1
,_arg2
);
2837 wxPyEndAllowThreads(__tstate
);
2838 if (PyErr_Occurred()) return NULL
;
2839 } Py_INCREF(Py_None
);
2840 _resultobj
= Py_None
;
2844 static void *SwigwxBoxSizerTowxSizer(void *ptr
) {
2847 src
= (wxBoxSizer
*) ptr
;
2848 dest
= (wxSizer
*) src
;
2849 return (void *) dest
;
2852 static void *SwigwxBoxSizerTowxObject(void *ptr
) {
2855 src
= (wxBoxSizer
*) ptr
;
2856 dest
= (wxObject
*) src
;
2857 return (void *) dest
;
2860 #define new_wxBoxSizer(_swigarg0) (new wxBoxSizer(_swigarg0))
2861 static PyObject
*_wrap_new_wxBoxSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2862 PyObject
* _resultobj
;
2863 wxBoxSizer
* _result
;
2864 int _arg0
= (int ) wxHORIZONTAL
;
2865 char *_kwnames
[] = { "orient", NULL
};
2869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxBoxSizer",_kwnames
,&_arg0
))
2872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2873 _result
= (wxBoxSizer
*)new_wxBoxSizer(_arg0
);
2875 wxPyEndAllowThreads(__tstate
);
2876 if (PyErr_Occurred()) return NULL
;
2878 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBoxSizer_p");
2879 _resultobj
= Py_BuildValue("s",_ptemp
);
2882 _resultobj
= Py_None
;
2887 #define wxBoxSizer_GetOrientation(_swigobj) (_swigobj->GetOrientation())
2888 static PyObject
*_wrap_wxBoxSizer_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2889 PyObject
* _resultobj
;
2892 PyObject
* _argo0
= 0;
2893 char *_kwnames
[] = { "self", NULL
};
2896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBoxSizer_GetOrientation",_kwnames
,&_argo0
))
2899 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2900 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBoxSizer_p")) {
2901 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBoxSizer_GetOrientation. Expected _wxBoxSizer_p.");
2906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2907 _result
= (int )wxBoxSizer_GetOrientation(_arg0
);
2909 wxPyEndAllowThreads(__tstate
);
2910 if (PyErr_Occurred()) return NULL
;
2911 } _resultobj
= Py_BuildValue("i",_result
);
2915 #define wxBoxSizer_SetOrientation(_swigobj,_swigarg0) (_swigobj->SetOrientation(_swigarg0))
2916 static PyObject
*_wrap_wxBoxSizer_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2917 PyObject
* _resultobj
;
2920 PyObject
* _argo0
= 0;
2921 char *_kwnames
[] = { "self","orient", NULL
};
2924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxBoxSizer_SetOrientation",_kwnames
,&_argo0
,&_arg1
))
2927 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2928 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBoxSizer_p")) {
2929 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBoxSizer_SetOrientation. Expected _wxBoxSizer_p.");
2934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2935 wxBoxSizer_SetOrientation(_arg0
,_arg1
);
2937 wxPyEndAllowThreads(__tstate
);
2938 if (PyErr_Occurred()) return NULL
;
2939 } Py_INCREF(Py_None
);
2940 _resultobj
= Py_None
;
2944 #define wxBoxSizer_RecalcSizes(_swigobj) (_swigobj->RecalcSizes())
2945 static PyObject
*_wrap_wxBoxSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2946 PyObject
* _resultobj
;
2948 PyObject
* _argo0
= 0;
2949 char *_kwnames
[] = { "self", NULL
};
2952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBoxSizer_RecalcSizes",_kwnames
,&_argo0
))
2955 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2956 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBoxSizer_p")) {
2957 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBoxSizer_RecalcSizes. Expected _wxBoxSizer_p.");
2962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2963 wxBoxSizer_RecalcSizes(_arg0
);
2965 wxPyEndAllowThreads(__tstate
);
2966 if (PyErr_Occurred()) return NULL
;
2967 } Py_INCREF(Py_None
);
2968 _resultobj
= Py_None
;
2972 #define wxBoxSizer_CalcMin(_swigobj) (_swigobj->CalcMin())
2973 static PyObject
*_wrap_wxBoxSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2974 PyObject
* _resultobj
;
2977 PyObject
* _argo0
= 0;
2978 char *_kwnames
[] = { "self", NULL
};
2982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBoxSizer_CalcMin",_kwnames
,&_argo0
))
2985 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2986 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBoxSizer_p")) {
2987 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBoxSizer_CalcMin. Expected _wxBoxSizer_p.");
2992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2993 _result
= new wxSize (wxBoxSizer_CalcMin(_arg0
));
2995 wxPyEndAllowThreads(__tstate
);
2996 if (PyErr_Occurred()) return NULL
;
2997 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2998 _resultobj
= Py_BuildValue("s",_ptemp
);
3002 static void *SwigwxStaticBoxSizerTowxBoxSizer(void *ptr
) {
3003 wxStaticBoxSizer
*src
;
3005 src
= (wxStaticBoxSizer
*) ptr
;
3006 dest
= (wxBoxSizer
*) src
;
3007 return (void *) dest
;
3010 static void *SwigwxStaticBoxSizerTowxSizer(void *ptr
) {
3011 wxStaticBoxSizer
*src
;
3013 src
= (wxStaticBoxSizer
*) ptr
;
3014 dest
= (wxSizer
*) src
;
3015 return (void *) dest
;
3018 static void *SwigwxStaticBoxSizerTowxObject(void *ptr
) {
3019 wxStaticBoxSizer
*src
;
3021 src
= (wxStaticBoxSizer
*) ptr
;
3022 dest
= (wxObject
*) src
;
3023 return (void *) dest
;
3026 #define new_wxStaticBoxSizer(_swigarg0,_swigarg1) (new wxStaticBoxSizer(_swigarg0,_swigarg1))
3027 static PyObject
*_wrap_new_wxStaticBoxSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3028 PyObject
* _resultobj
;
3029 wxStaticBoxSizer
* _result
;
3030 wxStaticBox
* _arg0
;
3031 int _arg1
= (int ) wxHORIZONTAL
;
3032 PyObject
* _argo0
= 0;
3033 char *_kwnames
[] = { "box","orient", NULL
};
3037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:new_wxStaticBoxSizer",_kwnames
,&_argo0
,&_arg1
))
3040 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3041 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticBox_p")) {
3042 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxStaticBoxSizer. Expected _wxStaticBox_p.");
3047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3048 _result
= (wxStaticBoxSizer
*)new_wxStaticBoxSizer(_arg0
,_arg1
);
3050 wxPyEndAllowThreads(__tstate
);
3051 if (PyErr_Occurred()) return NULL
;
3053 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticBoxSizer_p");
3054 _resultobj
= Py_BuildValue("s",_ptemp
);
3057 _resultobj
= Py_None
;
3062 #define wxStaticBoxSizer_GetStaticBox(_swigobj) (_swigobj->GetStaticBox())
3063 static PyObject
*_wrap_wxStaticBoxSizer_GetStaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3064 PyObject
* _resultobj
;
3065 wxStaticBox
* _result
;
3066 wxStaticBoxSizer
* _arg0
;
3067 PyObject
* _argo0
= 0;
3068 char *_kwnames
[] = { "self", NULL
};
3071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStaticBoxSizer_GetStaticBox",_kwnames
,&_argo0
))
3074 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3075 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticBoxSizer_p")) {
3076 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticBoxSizer_GetStaticBox. Expected _wxStaticBoxSizer_p.");
3081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3082 _result
= (wxStaticBox
*)wxStaticBoxSizer_GetStaticBox(_arg0
);
3084 wxPyEndAllowThreads(__tstate
);
3085 if (PyErr_Occurred()) return NULL
;
3086 }{ _resultobj
= wxPyMake_wxObject(_result
); }
3090 #define wxStaticBoxSizer_RecalcSizes(_swigobj) (_swigobj->RecalcSizes())
3091 static PyObject
*_wrap_wxStaticBoxSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3092 PyObject
* _resultobj
;
3093 wxStaticBoxSizer
* _arg0
;
3094 PyObject
* _argo0
= 0;
3095 char *_kwnames
[] = { "self", NULL
};
3098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStaticBoxSizer_RecalcSizes",_kwnames
,&_argo0
))
3101 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3102 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticBoxSizer_p")) {
3103 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticBoxSizer_RecalcSizes. Expected _wxStaticBoxSizer_p.");
3108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3109 wxStaticBoxSizer_RecalcSizes(_arg0
);
3111 wxPyEndAllowThreads(__tstate
);
3112 if (PyErr_Occurred()) return NULL
;
3113 } Py_INCREF(Py_None
);
3114 _resultobj
= Py_None
;
3118 #define wxStaticBoxSizer_CalcMin(_swigobj) (_swigobj->CalcMin())
3119 static PyObject
*_wrap_wxStaticBoxSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3120 PyObject
* _resultobj
;
3122 wxStaticBoxSizer
* _arg0
;
3123 PyObject
* _argo0
= 0;
3124 char *_kwnames
[] = { "self", NULL
};
3128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStaticBoxSizer_CalcMin",_kwnames
,&_argo0
))
3131 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3132 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticBoxSizer_p")) {
3133 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticBoxSizer_CalcMin. Expected _wxStaticBoxSizer_p.");
3138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3139 _result
= new wxSize (wxStaticBoxSizer_CalcMin(_arg0
));
3141 wxPyEndAllowThreads(__tstate
);
3142 if (PyErr_Occurred()) return NULL
;
3143 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
3144 _resultobj
= Py_BuildValue("s",_ptemp
);
3148 static void *SwigwxNotebookSizerTowxSizer(void *ptr
) {
3149 wxNotebookSizer
*src
;
3151 src
= (wxNotebookSizer
*) ptr
;
3152 dest
= (wxSizer
*) src
;
3153 return (void *) dest
;
3156 static void *SwigwxNotebookSizerTowxObject(void *ptr
) {
3157 wxNotebookSizer
*src
;
3159 src
= (wxNotebookSizer
*) ptr
;
3160 dest
= (wxObject
*) src
;
3161 return (void *) dest
;
3164 #define new_wxNotebookSizer(_swigarg0) (new wxNotebookSizer(_swigarg0))
3165 static PyObject
*_wrap_new_wxNotebookSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3166 PyObject
* _resultobj
;
3167 wxNotebookSizer
* _result
;
3169 PyObject
* _argo0
= 0;
3170 char *_kwnames
[] = { "nb", NULL
};
3174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxNotebookSizer",_kwnames
,&_argo0
))
3177 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3178 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
3179 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxNotebookSizer. Expected _wxNotebook_p.");
3184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3185 _result
= (wxNotebookSizer
*)new_wxNotebookSizer(_arg0
);
3187 wxPyEndAllowThreads(__tstate
);
3188 if (PyErr_Occurred()) return NULL
;
3190 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxNotebookSizer_p");
3191 _resultobj
= Py_BuildValue("s",_ptemp
);
3194 _resultobj
= Py_None
;
3199 #define wxNotebookSizer_RecalcSizes(_swigobj) (_swigobj->RecalcSizes())
3200 static PyObject
*_wrap_wxNotebookSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3201 PyObject
* _resultobj
;
3202 wxNotebookSizer
* _arg0
;
3203 PyObject
* _argo0
= 0;
3204 char *_kwnames
[] = { "self", NULL
};
3207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebookSizer_RecalcSizes",_kwnames
,&_argo0
))
3210 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3211 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebookSizer_p")) {
3212 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebookSizer_RecalcSizes. Expected _wxNotebookSizer_p.");
3217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3218 wxNotebookSizer_RecalcSizes(_arg0
);
3220 wxPyEndAllowThreads(__tstate
);
3221 if (PyErr_Occurred()) return NULL
;
3222 } Py_INCREF(Py_None
);
3223 _resultobj
= Py_None
;
3227 #define wxNotebookSizer_CalcMin(_swigobj) (_swigobj->CalcMin())
3228 static PyObject
*_wrap_wxNotebookSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3229 PyObject
* _resultobj
;
3231 wxNotebookSizer
* _arg0
;
3232 PyObject
* _argo0
= 0;
3233 char *_kwnames
[] = { "self", NULL
};
3237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebookSizer_CalcMin",_kwnames
,&_argo0
))
3240 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3241 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebookSizer_p")) {
3242 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebookSizer_CalcMin. Expected _wxNotebookSizer_p.");
3247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3248 _result
= new wxSize (wxNotebookSizer_CalcMin(_arg0
));
3250 wxPyEndAllowThreads(__tstate
);
3251 if (PyErr_Occurred()) return NULL
;
3252 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
3253 _resultobj
= Py_BuildValue("s",_ptemp
);
3257 #define wxNotebookSizer_GetNotebook(_swigobj) (_swigobj->GetNotebook())
3258 static PyObject
*_wrap_wxNotebookSizer_GetNotebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3259 PyObject
* _resultobj
;
3260 wxNotebook
* _result
;
3261 wxNotebookSizer
* _arg0
;
3262 PyObject
* _argo0
= 0;
3263 char *_kwnames
[] = { "self", NULL
};
3266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebookSizer_GetNotebook",_kwnames
,&_argo0
))
3269 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3270 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebookSizer_p")) {
3271 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebookSizer_GetNotebook. Expected _wxNotebookSizer_p.");
3276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3277 _result
= (wxNotebook
*)wxNotebookSizer_GetNotebook(_arg0
);
3279 wxPyEndAllowThreads(__tstate
);
3280 if (PyErr_Occurred()) return NULL
;
3281 }{ _resultobj
= wxPyMake_wxObject(_result
); }
3285 static void *SwigwxGridSizerTowxSizer(void *ptr
) {
3288 src
= (wxGridSizer
*) ptr
;
3289 dest
= (wxSizer
*) src
;
3290 return (void *) dest
;
3293 static void *SwigwxGridSizerTowxObject(void *ptr
) {
3296 src
= (wxGridSizer
*) ptr
;
3297 dest
= (wxObject
*) src
;
3298 return (void *) dest
;
3301 #define new_wxGridSizer(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxGridSizer(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3302 static PyObject
*_wrap_new_wxGridSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3303 PyObject
* _resultobj
;
3304 wxGridSizer
* _result
;
3305 int _arg0
= (int ) 1;
3306 int _arg1
= (int ) 0;
3307 int _arg2
= (int ) 0;
3308 int _arg3
= (int ) 0;
3309 char *_kwnames
[] = { "rows","cols","vgap","hgap", NULL
};
3313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iiii:new_wxGridSizer",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))
3316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3317 _result
= (wxGridSizer
*)new_wxGridSizer(_arg0
,_arg1
,_arg2
,_arg3
);
3319 wxPyEndAllowThreads(__tstate
);
3320 if (PyErr_Occurred()) return NULL
;
3322 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridSizer_p");
3323 _resultobj
= Py_BuildValue("s",_ptemp
);
3326 _resultobj
= Py_None
;
3331 #define wxGridSizer_RecalcSizes(_swigobj) (_swigobj->RecalcSizes())
3332 static PyObject
*_wrap_wxGridSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3333 PyObject
* _resultobj
;
3334 wxGridSizer
* _arg0
;
3335 PyObject
* _argo0
= 0;
3336 char *_kwnames
[] = { "self", NULL
};
3339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridSizer_RecalcSizes",_kwnames
,&_argo0
))
3342 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3343 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridSizer_p")) {
3344 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridSizer_RecalcSizes. Expected _wxGridSizer_p.");
3349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3350 wxGridSizer_RecalcSizes(_arg0
);
3352 wxPyEndAllowThreads(__tstate
);
3353 if (PyErr_Occurred()) return NULL
;
3354 } Py_INCREF(Py_None
);
3355 _resultobj
= Py_None
;
3359 #define wxGridSizer_CalcMin(_swigobj) (_swigobj->CalcMin())
3360 static PyObject
*_wrap_wxGridSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3361 PyObject
* _resultobj
;
3363 wxGridSizer
* _arg0
;
3364 PyObject
* _argo0
= 0;
3365 char *_kwnames
[] = { "self", NULL
};
3369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridSizer_CalcMin",_kwnames
,&_argo0
))
3372 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3373 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridSizer_p")) {
3374 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridSizer_CalcMin. Expected _wxGridSizer_p.");
3379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3380 _result
= new wxSize (wxGridSizer_CalcMin(_arg0
));
3382 wxPyEndAllowThreads(__tstate
);
3383 if (PyErr_Occurred()) return NULL
;
3384 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
3385 _resultobj
= Py_BuildValue("s",_ptemp
);
3389 #define wxGridSizer_SetCols(_swigobj,_swigarg0) (_swigobj->SetCols(_swigarg0))
3390 static PyObject
*_wrap_wxGridSizer_SetCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3391 PyObject
* _resultobj
;
3392 wxGridSizer
* _arg0
;
3394 PyObject
* _argo0
= 0;
3395 char *_kwnames
[] = { "self","cols", NULL
};
3398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridSizer_SetCols",_kwnames
,&_argo0
,&_arg1
))
3401 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3402 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridSizer_p")) {
3403 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridSizer_SetCols. Expected _wxGridSizer_p.");
3408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3409 wxGridSizer_SetCols(_arg0
,_arg1
);
3411 wxPyEndAllowThreads(__tstate
);
3412 if (PyErr_Occurred()) return NULL
;
3413 } Py_INCREF(Py_None
);
3414 _resultobj
= Py_None
;
3418 #define wxGridSizer_SetRows(_swigobj,_swigarg0) (_swigobj->SetRows(_swigarg0))
3419 static PyObject
*_wrap_wxGridSizer_SetRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3420 PyObject
* _resultobj
;
3421 wxGridSizer
* _arg0
;
3423 PyObject
* _argo0
= 0;
3424 char *_kwnames
[] = { "self","rows", NULL
};
3427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridSizer_SetRows",_kwnames
,&_argo0
,&_arg1
))
3430 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3431 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridSizer_p")) {
3432 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridSizer_SetRows. Expected _wxGridSizer_p.");
3437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3438 wxGridSizer_SetRows(_arg0
,_arg1
);
3440 wxPyEndAllowThreads(__tstate
);
3441 if (PyErr_Occurred()) return NULL
;
3442 } Py_INCREF(Py_None
);
3443 _resultobj
= Py_None
;
3447 #define wxGridSizer_SetVGap(_swigobj,_swigarg0) (_swigobj->SetVGap(_swigarg0))
3448 static PyObject
*_wrap_wxGridSizer_SetVGap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3449 PyObject
* _resultobj
;
3450 wxGridSizer
* _arg0
;
3452 PyObject
* _argo0
= 0;
3453 char *_kwnames
[] = { "self","gap", NULL
};
3456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridSizer_SetVGap",_kwnames
,&_argo0
,&_arg1
))
3459 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3460 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridSizer_p")) {
3461 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridSizer_SetVGap. Expected _wxGridSizer_p.");
3466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3467 wxGridSizer_SetVGap(_arg0
,_arg1
);
3469 wxPyEndAllowThreads(__tstate
);
3470 if (PyErr_Occurred()) return NULL
;
3471 } Py_INCREF(Py_None
);
3472 _resultobj
= Py_None
;
3476 #define wxGridSizer_SetHGap(_swigobj,_swigarg0) (_swigobj->SetHGap(_swigarg0))
3477 static PyObject
*_wrap_wxGridSizer_SetHGap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3478 PyObject
* _resultobj
;
3479 wxGridSizer
* _arg0
;
3481 PyObject
* _argo0
= 0;
3482 char *_kwnames
[] = { "self","gap", NULL
};
3485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridSizer_SetHGap",_kwnames
,&_argo0
,&_arg1
))
3488 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3489 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridSizer_p")) {
3490 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridSizer_SetHGap. Expected _wxGridSizer_p.");
3495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3496 wxGridSizer_SetHGap(_arg0
,_arg1
);
3498 wxPyEndAllowThreads(__tstate
);
3499 if (PyErr_Occurred()) return NULL
;
3500 } Py_INCREF(Py_None
);
3501 _resultobj
= Py_None
;
3505 #define wxGridSizer_GetCols(_swigobj) (_swigobj->GetCols())
3506 static PyObject
*_wrap_wxGridSizer_GetCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3507 PyObject
* _resultobj
;
3509 wxGridSizer
* _arg0
;
3510 PyObject
* _argo0
= 0;
3511 char *_kwnames
[] = { "self", NULL
};
3514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridSizer_GetCols",_kwnames
,&_argo0
))
3517 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3518 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridSizer_p")) {
3519 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridSizer_GetCols. Expected _wxGridSizer_p.");
3524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3525 _result
= (int )wxGridSizer_GetCols(_arg0
);
3527 wxPyEndAllowThreads(__tstate
);
3528 if (PyErr_Occurred()) return NULL
;
3529 } _resultobj
= Py_BuildValue("i",_result
);
3533 #define wxGridSizer_GetRows(_swigobj) (_swigobj->GetRows())
3534 static PyObject
*_wrap_wxGridSizer_GetRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3535 PyObject
* _resultobj
;
3537 wxGridSizer
* _arg0
;
3538 PyObject
* _argo0
= 0;
3539 char *_kwnames
[] = { "self", NULL
};
3542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridSizer_GetRows",_kwnames
,&_argo0
))
3545 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3546 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridSizer_p")) {
3547 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridSizer_GetRows. Expected _wxGridSizer_p.");
3552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3553 _result
= (int )wxGridSizer_GetRows(_arg0
);
3555 wxPyEndAllowThreads(__tstate
);
3556 if (PyErr_Occurred()) return NULL
;
3557 } _resultobj
= Py_BuildValue("i",_result
);
3561 #define wxGridSizer_GetVGap(_swigobj) (_swigobj->GetVGap())
3562 static PyObject
*_wrap_wxGridSizer_GetVGap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3563 PyObject
* _resultobj
;
3565 wxGridSizer
* _arg0
;
3566 PyObject
* _argo0
= 0;
3567 char *_kwnames
[] = { "self", NULL
};
3570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridSizer_GetVGap",_kwnames
,&_argo0
))
3573 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3574 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridSizer_p")) {
3575 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridSizer_GetVGap. Expected _wxGridSizer_p.");
3580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3581 _result
= (int )wxGridSizer_GetVGap(_arg0
);
3583 wxPyEndAllowThreads(__tstate
);
3584 if (PyErr_Occurred()) return NULL
;
3585 } _resultobj
= Py_BuildValue("i",_result
);
3589 #define wxGridSizer_GetHGap(_swigobj) (_swigobj->GetHGap())
3590 static PyObject
*_wrap_wxGridSizer_GetHGap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3591 PyObject
* _resultobj
;
3593 wxGridSizer
* _arg0
;
3594 PyObject
* _argo0
= 0;
3595 char *_kwnames
[] = { "self", NULL
};
3598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridSizer_GetHGap",_kwnames
,&_argo0
))
3601 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3602 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridSizer_p")) {
3603 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridSizer_GetHGap. Expected _wxGridSizer_p.");
3608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3609 _result
= (int )wxGridSizer_GetHGap(_arg0
);
3611 wxPyEndAllowThreads(__tstate
);
3612 if (PyErr_Occurred()) return NULL
;
3613 } _resultobj
= Py_BuildValue("i",_result
);
3617 static void *SwigwxFlexGridSizerTowxGridSizer(void *ptr
) {
3618 wxFlexGridSizer
*src
;
3620 src
= (wxFlexGridSizer
*) ptr
;
3621 dest
= (wxGridSizer
*) src
;
3622 return (void *) dest
;
3625 static void *SwigwxFlexGridSizerTowxSizer(void *ptr
) {
3626 wxFlexGridSizer
*src
;
3628 src
= (wxFlexGridSizer
*) ptr
;
3629 dest
= (wxSizer
*) src
;
3630 return (void *) dest
;
3633 static void *SwigwxFlexGridSizerTowxObject(void *ptr
) {
3634 wxFlexGridSizer
*src
;
3636 src
= (wxFlexGridSizer
*) ptr
;
3637 dest
= (wxObject
*) src
;
3638 return (void *) dest
;
3641 #define new_wxFlexGridSizer(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxFlexGridSizer(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3642 static PyObject
*_wrap_new_wxFlexGridSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3643 PyObject
* _resultobj
;
3644 wxFlexGridSizer
* _result
;
3645 int _arg0
= (int ) 1;
3646 int _arg1
= (int ) 0;
3647 int _arg2
= (int ) 0;
3648 int _arg3
= (int ) 0;
3649 char *_kwnames
[] = { "rows","cols","vgap","hgap", NULL
};
3653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iiii:new_wxFlexGridSizer",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))
3656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3657 _result
= (wxFlexGridSizer
*)new_wxFlexGridSizer(_arg0
,_arg1
,_arg2
,_arg3
);
3659 wxPyEndAllowThreads(__tstate
);
3660 if (PyErr_Occurred()) return NULL
;
3662 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFlexGridSizer_p");
3663 _resultobj
= Py_BuildValue("s",_ptemp
);
3666 _resultobj
= Py_None
;
3671 #define wxFlexGridSizer_RecalcSizes(_swigobj) (_swigobj->RecalcSizes())
3672 static PyObject
*_wrap_wxFlexGridSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3673 PyObject
* _resultobj
;
3674 wxFlexGridSizer
* _arg0
;
3675 PyObject
* _argo0
= 0;
3676 char *_kwnames
[] = { "self", NULL
};
3679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFlexGridSizer_RecalcSizes",_kwnames
,&_argo0
))
3682 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3683 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFlexGridSizer_p")) {
3684 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFlexGridSizer_RecalcSizes. Expected _wxFlexGridSizer_p.");
3689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3690 wxFlexGridSizer_RecalcSizes(_arg0
);
3692 wxPyEndAllowThreads(__tstate
);
3693 if (PyErr_Occurred()) return NULL
;
3694 } Py_INCREF(Py_None
);
3695 _resultobj
= Py_None
;
3699 #define wxFlexGridSizer_CalcMin(_swigobj) (_swigobj->CalcMin())
3700 static PyObject
*_wrap_wxFlexGridSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3701 PyObject
* _resultobj
;
3703 wxFlexGridSizer
* _arg0
;
3704 PyObject
* _argo0
= 0;
3705 char *_kwnames
[] = { "self", NULL
};
3709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFlexGridSizer_CalcMin",_kwnames
,&_argo0
))
3712 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3713 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFlexGridSizer_p")) {
3714 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFlexGridSizer_CalcMin. Expected _wxFlexGridSizer_p.");
3719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3720 _result
= new wxSize (wxFlexGridSizer_CalcMin(_arg0
));
3722 wxPyEndAllowThreads(__tstate
);
3723 if (PyErr_Occurred()) return NULL
;
3724 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
3725 _resultobj
= Py_BuildValue("s",_ptemp
);
3729 #define wxFlexGridSizer_AddGrowableRow(_swigobj,_swigarg0,_swigarg1) (_swigobj->AddGrowableRow(_swigarg0,_swigarg1))
3730 static PyObject
*_wrap_wxFlexGridSizer_AddGrowableRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3731 PyObject
* _resultobj
;
3732 wxFlexGridSizer
* _arg0
;
3734 int _arg2
= (int ) 0;
3735 PyObject
* _argo0
= 0;
3736 char *_kwnames
[] = { "self","idx","proportion", NULL
};
3739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxFlexGridSizer_AddGrowableRow",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3742 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3743 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFlexGridSizer_p")) {
3744 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFlexGridSizer_AddGrowableRow. Expected _wxFlexGridSizer_p.");
3749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3750 wxFlexGridSizer_AddGrowableRow(_arg0
,_arg1
,_arg2
);
3752 wxPyEndAllowThreads(__tstate
);
3753 if (PyErr_Occurred()) return NULL
;
3754 } Py_INCREF(Py_None
);
3755 _resultobj
= Py_None
;
3759 #define wxFlexGridSizer_RemoveGrowableRow(_swigobj,_swigarg0) (_swigobj->RemoveGrowableRow(_swigarg0))
3760 static PyObject
*_wrap_wxFlexGridSizer_RemoveGrowableRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3761 PyObject
* _resultobj
;
3762 wxFlexGridSizer
* _arg0
;
3764 PyObject
* _argo0
= 0;
3765 char *_kwnames
[] = { "self","idx", NULL
};
3768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFlexGridSizer_RemoveGrowableRow",_kwnames
,&_argo0
,&_arg1
))
3771 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3772 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFlexGridSizer_p")) {
3773 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFlexGridSizer_RemoveGrowableRow. Expected _wxFlexGridSizer_p.");
3778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3779 wxFlexGridSizer_RemoveGrowableRow(_arg0
,_arg1
);
3781 wxPyEndAllowThreads(__tstate
);
3782 if (PyErr_Occurred()) return NULL
;
3783 } Py_INCREF(Py_None
);
3784 _resultobj
= Py_None
;
3788 #define wxFlexGridSizer_AddGrowableCol(_swigobj,_swigarg0,_swigarg1) (_swigobj->AddGrowableCol(_swigarg0,_swigarg1))
3789 static PyObject
*_wrap_wxFlexGridSizer_AddGrowableCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3790 PyObject
* _resultobj
;
3791 wxFlexGridSizer
* _arg0
;
3793 int _arg2
= (int ) 0;
3794 PyObject
* _argo0
= 0;
3795 char *_kwnames
[] = { "self","idx","proportion", NULL
};
3798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxFlexGridSizer_AddGrowableCol",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3801 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3802 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFlexGridSizer_p")) {
3803 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFlexGridSizer_AddGrowableCol. Expected _wxFlexGridSizer_p.");
3808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3809 wxFlexGridSizer_AddGrowableCol(_arg0
,_arg1
,_arg2
);
3811 wxPyEndAllowThreads(__tstate
);
3812 if (PyErr_Occurred()) return NULL
;
3813 } Py_INCREF(Py_None
);
3814 _resultobj
= Py_None
;
3818 #define wxFlexGridSizer_RemoveGrowableCol(_swigobj,_swigarg0) (_swigobj->RemoveGrowableCol(_swigarg0))
3819 static PyObject
*_wrap_wxFlexGridSizer_RemoveGrowableCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3820 PyObject
* _resultobj
;
3821 wxFlexGridSizer
* _arg0
;
3823 PyObject
* _argo0
= 0;
3824 char *_kwnames
[] = { "self","idx", NULL
};
3827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFlexGridSizer_RemoveGrowableCol",_kwnames
,&_argo0
,&_arg1
))
3830 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3831 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFlexGridSizer_p")) {
3832 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFlexGridSizer_RemoveGrowableCol. Expected _wxFlexGridSizer_p.");
3837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3838 wxFlexGridSizer_RemoveGrowableCol(_arg0
,_arg1
);
3840 wxPyEndAllowThreads(__tstate
);
3841 if (PyErr_Occurred()) return NULL
;
3842 } Py_INCREF(Py_None
);
3843 _resultobj
= Py_None
;
3847 #define wxFlexGridSizer_SetFlexibleDirection(_swigobj,_swigarg0) (_swigobj->SetFlexibleDirection(_swigarg0))
3848 static PyObject
*_wrap_wxFlexGridSizer_SetFlexibleDirection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3849 PyObject
* _resultobj
;
3850 wxFlexGridSizer
* _arg0
;
3852 PyObject
* _argo0
= 0;
3853 char *_kwnames
[] = { "self","direction", NULL
};
3856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFlexGridSizer_SetFlexibleDirection",_kwnames
,&_argo0
,&_arg1
))
3859 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3860 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFlexGridSizer_p")) {
3861 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFlexGridSizer_SetFlexibleDirection. Expected _wxFlexGridSizer_p.");
3866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3867 wxFlexGridSizer_SetFlexibleDirection(_arg0
,_arg1
);
3869 wxPyEndAllowThreads(__tstate
);
3870 if (PyErr_Occurred()) return NULL
;
3871 } Py_INCREF(Py_None
);
3872 _resultobj
= Py_None
;
3876 #define wxFlexGridSizer_GetFlexibleDirection(_swigobj) (_swigobj->GetFlexibleDirection())
3877 static PyObject
*_wrap_wxFlexGridSizer_GetFlexibleDirection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3878 PyObject
* _resultobj
;
3880 wxFlexGridSizer
* _arg0
;
3881 PyObject
* _argo0
= 0;
3882 char *_kwnames
[] = { "self", NULL
};
3885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFlexGridSizer_GetFlexibleDirection",_kwnames
,&_argo0
))
3888 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3889 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFlexGridSizer_p")) {
3890 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFlexGridSizer_GetFlexibleDirection. Expected _wxFlexGridSizer_p.");
3895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3896 _result
= (int )wxFlexGridSizer_GetFlexibleDirection(_arg0
);
3898 wxPyEndAllowThreads(__tstate
);
3899 if (PyErr_Occurred()) return NULL
;
3900 } _resultobj
= Py_BuildValue("i",_result
);
3904 #define wxFlexGridSizer_SetNonFlexibleGrowMode(_swigobj,_swigarg0) (_swigobj->SetNonFlexibleGrowMode(_swigarg0))
3905 static PyObject
*_wrap_wxFlexGridSizer_SetNonFlexibleGrowMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3906 PyObject
* _resultobj
;
3907 wxFlexGridSizer
* _arg0
;
3908 wxFlexSizerGrowMode _arg1
;
3909 PyObject
* _argo0
= 0;
3910 char *_kwnames
[] = { "self","mode", NULL
};
3913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFlexGridSizer_SetNonFlexibleGrowMode",_kwnames
,&_argo0
,&_arg1
))
3916 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3917 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFlexGridSizer_p")) {
3918 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFlexGridSizer_SetNonFlexibleGrowMode. Expected _wxFlexGridSizer_p.");
3923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3924 wxFlexGridSizer_SetNonFlexibleGrowMode(_arg0
,_arg1
);
3926 wxPyEndAllowThreads(__tstate
);
3927 if (PyErr_Occurred()) return NULL
;
3928 } Py_INCREF(Py_None
);
3929 _resultobj
= Py_None
;
3933 #define wxFlexGridSizer_GetNonFlexibleGrowMode(_swigobj) (_swigobj->GetNonFlexibleGrowMode())
3934 static PyObject
*_wrap_wxFlexGridSizer_GetNonFlexibleGrowMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3935 PyObject
* _resultobj
;
3936 wxFlexSizerGrowMode _result
;
3937 wxFlexGridSizer
* _arg0
;
3938 PyObject
* _argo0
= 0;
3939 char *_kwnames
[] = { "self", NULL
};
3942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFlexGridSizer_GetNonFlexibleGrowMode",_kwnames
,&_argo0
))
3945 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3946 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFlexGridSizer_p")) {
3947 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFlexGridSizer_GetNonFlexibleGrowMode. Expected _wxFlexGridSizer_p.");
3952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3953 _result
= (wxFlexSizerGrowMode
)wxFlexGridSizer_GetNonFlexibleGrowMode(_arg0
);
3955 wxPyEndAllowThreads(__tstate
);
3956 if (PyErr_Occurred()) return NULL
;
3957 } _resultobj
= Py_BuildValue("i",_result
);
3961 static PyMethodDef sizerscMethods
[] = {
3962 { "wxFlexGridSizer_GetNonFlexibleGrowMode", (PyCFunction
) _wrap_wxFlexGridSizer_GetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
},
3963 { "wxFlexGridSizer_SetNonFlexibleGrowMode", (PyCFunction
) _wrap_wxFlexGridSizer_SetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
},
3964 { "wxFlexGridSizer_GetFlexibleDirection", (PyCFunction
) _wrap_wxFlexGridSizer_GetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
},
3965 { "wxFlexGridSizer_SetFlexibleDirection", (PyCFunction
) _wrap_wxFlexGridSizer_SetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
},
3966 { "wxFlexGridSizer_RemoveGrowableCol", (PyCFunction
) _wrap_wxFlexGridSizer_RemoveGrowableCol
, METH_VARARGS
| METH_KEYWORDS
},
3967 { "wxFlexGridSizer_AddGrowableCol", (PyCFunction
) _wrap_wxFlexGridSizer_AddGrowableCol
, METH_VARARGS
| METH_KEYWORDS
},
3968 { "wxFlexGridSizer_RemoveGrowableRow", (PyCFunction
) _wrap_wxFlexGridSizer_RemoveGrowableRow
, METH_VARARGS
| METH_KEYWORDS
},
3969 { "wxFlexGridSizer_AddGrowableRow", (PyCFunction
) _wrap_wxFlexGridSizer_AddGrowableRow
, METH_VARARGS
| METH_KEYWORDS
},
3970 { "wxFlexGridSizer_CalcMin", (PyCFunction
) _wrap_wxFlexGridSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
3971 { "wxFlexGridSizer_RecalcSizes", (PyCFunction
) _wrap_wxFlexGridSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
3972 { "new_wxFlexGridSizer", (PyCFunction
) _wrap_new_wxFlexGridSizer
, METH_VARARGS
| METH_KEYWORDS
},
3973 { "wxGridSizer_GetHGap", (PyCFunction
) _wrap_wxGridSizer_GetHGap
, METH_VARARGS
| METH_KEYWORDS
},
3974 { "wxGridSizer_GetVGap", (PyCFunction
) _wrap_wxGridSizer_GetVGap
, METH_VARARGS
| METH_KEYWORDS
},
3975 { "wxGridSizer_GetRows", (PyCFunction
) _wrap_wxGridSizer_GetRows
, METH_VARARGS
| METH_KEYWORDS
},
3976 { "wxGridSizer_GetCols", (PyCFunction
) _wrap_wxGridSizer_GetCols
, METH_VARARGS
| METH_KEYWORDS
},
3977 { "wxGridSizer_SetHGap", (PyCFunction
) _wrap_wxGridSizer_SetHGap
, METH_VARARGS
| METH_KEYWORDS
},
3978 { "wxGridSizer_SetVGap", (PyCFunction
) _wrap_wxGridSizer_SetVGap
, METH_VARARGS
| METH_KEYWORDS
},
3979 { "wxGridSizer_SetRows", (PyCFunction
) _wrap_wxGridSizer_SetRows
, METH_VARARGS
| METH_KEYWORDS
},
3980 { "wxGridSizer_SetCols", (PyCFunction
) _wrap_wxGridSizer_SetCols
, METH_VARARGS
| METH_KEYWORDS
},
3981 { "wxGridSizer_CalcMin", (PyCFunction
) _wrap_wxGridSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
3982 { "wxGridSizer_RecalcSizes", (PyCFunction
) _wrap_wxGridSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
3983 { "new_wxGridSizer", (PyCFunction
) _wrap_new_wxGridSizer
, METH_VARARGS
| METH_KEYWORDS
},
3984 { "wxNotebookSizer_GetNotebook", (PyCFunction
) _wrap_wxNotebookSizer_GetNotebook
, METH_VARARGS
| METH_KEYWORDS
},
3985 { "wxNotebookSizer_CalcMin", (PyCFunction
) _wrap_wxNotebookSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
3986 { "wxNotebookSizer_RecalcSizes", (PyCFunction
) _wrap_wxNotebookSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
3987 { "new_wxNotebookSizer", (PyCFunction
) _wrap_new_wxNotebookSizer
, METH_VARARGS
| METH_KEYWORDS
},
3988 { "wxStaticBoxSizer_CalcMin", (PyCFunction
) _wrap_wxStaticBoxSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
3989 { "wxStaticBoxSizer_RecalcSizes", (PyCFunction
) _wrap_wxStaticBoxSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
3990 { "wxStaticBoxSizer_GetStaticBox", (PyCFunction
) _wrap_wxStaticBoxSizer_GetStaticBox
, METH_VARARGS
| METH_KEYWORDS
},
3991 { "new_wxStaticBoxSizer", (PyCFunction
) _wrap_new_wxStaticBoxSizer
, METH_VARARGS
| METH_KEYWORDS
},
3992 { "wxBoxSizer_CalcMin", (PyCFunction
) _wrap_wxBoxSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
3993 { "wxBoxSizer_RecalcSizes", (PyCFunction
) _wrap_wxBoxSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
3994 { "wxBoxSizer_SetOrientation", (PyCFunction
) _wrap_wxBoxSizer_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
3995 { "wxBoxSizer_GetOrientation", (PyCFunction
) _wrap_wxBoxSizer_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
3996 { "new_wxBoxSizer", (PyCFunction
) _wrap_new_wxBoxSizer
, METH_VARARGS
| METH_KEYWORDS
},
3997 { "wxPySizer__setCallbackInfo", (PyCFunction
) _wrap_wxPySizer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
3998 { "new_wxPySizer", (PyCFunction
) _wrap_new_wxPySizer
, METH_VARARGS
| METH_KEYWORDS
},
3999 { "wxSizer_ShowItems", (PyCFunction
) _wrap_wxSizer_ShowItems
, METH_VARARGS
| METH_KEYWORDS
},
4000 { "wxSizer_IsShownPos", (PyCFunction
) _wrap_wxSizer_IsShownPos
, METH_VARARGS
| METH_KEYWORDS
},
4001 { "wxSizer_IsShownSizer", (PyCFunction
) _wrap_wxSizer_IsShownSizer
, METH_VARARGS
| METH_KEYWORDS
},
4002 { "wxSizer_IsShownWindow", (PyCFunction
) _wrap_wxSizer_IsShownWindow
, METH_VARARGS
| METH_KEYWORDS
},
4003 { "wxSizer_HidePos", (PyCFunction
) _wrap_wxSizer_HidePos
, METH_VARARGS
| METH_KEYWORDS
},
4004 { "wxSizer_HideSizer", (PyCFunction
) _wrap_wxSizer_HideSizer
, METH_VARARGS
| METH_KEYWORDS
},
4005 { "wxSizer_HideWindow", (PyCFunction
) _wrap_wxSizer_HideWindow
, METH_VARARGS
| METH_KEYWORDS
},
4006 { "wxSizer_ShowPos", (PyCFunction
) _wrap_wxSizer_ShowPos
, METH_VARARGS
| METH_KEYWORDS
},
4007 { "wxSizer_ShowSizer", (PyCFunction
) _wrap_wxSizer_ShowSizer
, METH_VARARGS
| METH_KEYWORDS
},
4008 { "wxSizer_ShowWindow", (PyCFunction
) _wrap_wxSizer_ShowWindow
, METH_VARARGS
| METH_KEYWORDS
},
4009 { "wxSizer_SetDimension", (PyCFunction
) _wrap_wxSizer_SetDimension
, METH_VARARGS
| METH_KEYWORDS
},
4010 { "wxSizer_GetChildren", (PyCFunction
) _wrap_wxSizer_GetChildren
, METH_VARARGS
| METH_KEYWORDS
},
4011 { "wxSizer_SetVirtualSizeHints", (PyCFunction
) _wrap_wxSizer_SetVirtualSizeHints
, METH_VARARGS
| METH_KEYWORDS
},
4012 { "wxSizer_SetSizeHints", (PyCFunction
) _wrap_wxSizer_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
},
4013 { "wxSizer_FitInside", (PyCFunction
) _wrap_wxSizer_FitInside
, METH_VARARGS
| METH_KEYWORDS
},
4014 { "wxSizer_Fit", (PyCFunction
) _wrap_wxSizer_Fit
, METH_VARARGS
| METH_KEYWORDS
},
4015 { "wxSizer_Layout", (PyCFunction
) _wrap_wxSizer_Layout
, METH_VARARGS
| METH_KEYWORDS
},
4016 { "wxSizer_GetMinSize", (PyCFunction
) _wrap_wxSizer_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
4017 { "wxSizer_GetPosition", (PyCFunction
) _wrap_wxSizer_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
4018 { "wxSizer_GetSize", (PyCFunction
) _wrap_wxSizer_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
4019 { "wxSizer_SetItemMinSizePosWH", (PyCFunction
) _wrap_wxSizer_SetItemMinSizePosWH
, METH_VARARGS
| METH_KEYWORDS
},
4020 { "wxSizer_SetItemMinSizeSizerWH", (PyCFunction
) _wrap_wxSizer_SetItemMinSizeSizerWH
, METH_VARARGS
| METH_KEYWORDS
},
4021 { "wxSizer_SetItemMinSizeWindowWH", (PyCFunction
) _wrap_wxSizer_SetItemMinSizeWindowWH
, METH_VARARGS
| METH_KEYWORDS
},
4022 { "wxSizer_SetItemMinSizePos", (PyCFunction
) _wrap_wxSizer_SetItemMinSizePos
, METH_VARARGS
| METH_KEYWORDS
},
4023 { "wxSizer_SetItemMinSizeSizer", (PyCFunction
) _wrap_wxSizer_SetItemMinSizeSizer
, METH_VARARGS
| METH_KEYWORDS
},
4024 { "wxSizer_SetItemMinSizeWindow", (PyCFunction
) _wrap_wxSizer_SetItemMinSizeWindow
, METH_VARARGS
| METH_KEYWORDS
},
4025 { "wxSizer_SetMinSize", (PyCFunction
) _wrap_wxSizer_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
4026 { "wxSizer_DeleteWindows", (PyCFunction
) _wrap_wxSizer_DeleteWindows
, METH_VARARGS
| METH_KEYWORDS
},
4027 { "wxSizer_Clear", (PyCFunction
) _wrap_wxSizer_Clear
, METH_VARARGS
| METH_KEYWORDS
},
4028 { "wxSizer_DetachPos", (PyCFunction
) _wrap_wxSizer_DetachPos
, METH_VARARGS
| METH_KEYWORDS
},
4029 { "wxSizer_DetachSizer", (PyCFunction
) _wrap_wxSizer_DetachSizer
, METH_VARARGS
| METH_KEYWORDS
},
4030 { "wxSizer_DetachWindow", (PyCFunction
) _wrap_wxSizer_DetachWindow
, METH_VARARGS
| METH_KEYWORDS
},
4031 { "wxSizer_RemovePos", (PyCFunction
) _wrap_wxSizer_RemovePos
, METH_VARARGS
| METH_KEYWORDS
},
4032 { "wxSizer_RemoveSizer", (PyCFunction
) _wrap_wxSizer_RemoveSizer
, METH_VARARGS
| METH_KEYWORDS
},
4033 { "wxSizer_RemoveWindow", (PyCFunction
) _wrap_wxSizer_RemoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
4034 { "wxSizer_PrependSpacer", (PyCFunction
) _wrap_wxSizer_PrependSpacer
, METH_VARARGS
| METH_KEYWORDS
},
4035 { "wxSizer_PrependSizer", (PyCFunction
) _wrap_wxSizer_PrependSizer
, METH_VARARGS
| METH_KEYWORDS
},
4036 { "wxSizer_PrependWindow", (PyCFunction
) _wrap_wxSizer_PrependWindow
, METH_VARARGS
| METH_KEYWORDS
},
4037 { "wxSizer_InsertSpacer", (PyCFunction
) _wrap_wxSizer_InsertSpacer
, METH_VARARGS
| METH_KEYWORDS
},
4038 { "wxSizer_InsertSizer", (PyCFunction
) _wrap_wxSizer_InsertSizer
, METH_VARARGS
| METH_KEYWORDS
},
4039 { "wxSizer_InsertWindow", (PyCFunction
) _wrap_wxSizer_InsertWindow
, METH_VARARGS
| METH_KEYWORDS
},
4040 { "wxSizer_AddSpacer", (PyCFunction
) _wrap_wxSizer_AddSpacer
, METH_VARARGS
| METH_KEYWORDS
},
4041 { "wxSizer_AddSizer", (PyCFunction
) _wrap_wxSizer_AddSizer
, METH_VARARGS
| METH_KEYWORDS
},
4042 { "wxSizer_AddWindow", (PyCFunction
) _wrap_wxSizer_AddWindow
, METH_VARARGS
| METH_KEYWORDS
},
4043 { "wxSizer_Destroy", (PyCFunction
) _wrap_wxSizer_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
4044 { "wxSizer__setOORInfo", (PyCFunction
) _wrap_wxSizer__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
4045 { "wxSizerItem_GetUserData", (PyCFunction
) _wrap_wxSizerItem_GetUserData
, METH_VARARGS
| METH_KEYWORDS
},
4046 { "wxSizerItem_GetPosition", (PyCFunction
) _wrap_wxSizerItem_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
4047 { "wxSizerItem_IsShown", (PyCFunction
) _wrap_wxSizerItem_IsShown
, METH_VARARGS
| METH_KEYWORDS
},
4048 { "wxSizerItem_Show", (PyCFunction
) _wrap_wxSizerItem_Show
, METH_VARARGS
| METH_KEYWORDS
},
4049 { "wxSizerItem_SetSpacer", (PyCFunction
) _wrap_wxSizerItem_SetSpacer
, METH_VARARGS
| METH_KEYWORDS
},
4050 { "wxSizerItem_GetSpacer", (PyCFunction
) _wrap_wxSizerItem_GetSpacer
, METH_VARARGS
| METH_KEYWORDS
},
4051 { "wxSizerItem_SetSizer", (PyCFunction
) _wrap_wxSizerItem_SetSizer
, METH_VARARGS
| METH_KEYWORDS
},
4052 { "wxSizerItem_GetSizer", (PyCFunction
) _wrap_wxSizerItem_GetSizer
, METH_VARARGS
| METH_KEYWORDS
},
4053 { "wxSizerItem_SetWindow", (PyCFunction
) _wrap_wxSizerItem_SetWindow
, METH_VARARGS
| METH_KEYWORDS
},
4054 { "wxSizerItem_GetWindow", (PyCFunction
) _wrap_wxSizerItem_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
4055 { "wxSizerItem_GetBorder", (PyCFunction
) _wrap_wxSizerItem_GetBorder
, METH_VARARGS
| METH_KEYWORDS
},
4056 { "wxSizerItem_SetBorder", (PyCFunction
) _wrap_wxSizerItem_SetBorder
, METH_VARARGS
| METH_KEYWORDS
},
4057 { "wxSizerItem_GetFlag", (PyCFunction
) _wrap_wxSizerItem_GetFlag
, METH_VARARGS
| METH_KEYWORDS
},
4058 { "wxSizerItem_SetFlag", (PyCFunction
) _wrap_wxSizerItem_SetFlag
, METH_VARARGS
| METH_KEYWORDS
},
4059 { "wxSizerItem_GetProportion", (PyCFunction
) _wrap_wxSizerItem_GetProportion
, METH_VARARGS
| METH_KEYWORDS
},
4060 { "wxSizerItem_SetProportion", (PyCFunction
) _wrap_wxSizerItem_SetProportion
, METH_VARARGS
| METH_KEYWORDS
},
4061 { "wxSizerItem_IsSpacer", (PyCFunction
) _wrap_wxSizerItem_IsSpacer
, METH_VARARGS
| METH_KEYWORDS
},
4062 { "wxSizerItem_IsSizer", (PyCFunction
) _wrap_wxSizerItem_IsSizer
, METH_VARARGS
| METH_KEYWORDS
},
4063 { "wxSizerItem_IsWindow", (PyCFunction
) _wrap_wxSizerItem_IsWindow
, METH_VARARGS
| METH_KEYWORDS
},
4064 { "wxSizerItem_GetRatio", (PyCFunction
) _wrap_wxSizerItem_GetRatio
, METH_VARARGS
| METH_KEYWORDS
},
4065 { "wxSizerItem_SetRatio", (PyCFunction
) _wrap_wxSizerItem_SetRatio
, METH_VARARGS
| METH_KEYWORDS
},
4066 { "wxSizerItem_SetRatioSize", (PyCFunction
) _wrap_wxSizerItem_SetRatioSize
, METH_VARARGS
| METH_KEYWORDS
},
4067 { "wxSizerItem_SetRatioWH", (PyCFunction
) _wrap_wxSizerItem_SetRatioWH
, METH_VARARGS
| METH_KEYWORDS
},
4068 { "wxSizerItem_SetInitSize", (PyCFunction
) _wrap_wxSizerItem_SetInitSize
, METH_VARARGS
| METH_KEYWORDS
},
4069 { "wxSizerItem_GetMinSize", (PyCFunction
) _wrap_wxSizerItem_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
4070 { "wxSizerItem_SetDimension", (PyCFunction
) _wrap_wxSizerItem_SetDimension
, METH_VARARGS
| METH_KEYWORDS
},
4071 { "wxSizerItem_CalcMin", (PyCFunction
) _wrap_wxSizerItem_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
4072 { "wxSizerItem_GetSize", (PyCFunction
) _wrap_wxSizerItem_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
4073 { "wxSizerItem_DetachSizer", (PyCFunction
) _wrap_wxSizerItem_DetachSizer
, METH_VARARGS
| METH_KEYWORDS
},
4074 { "wxSizerItem_DeleteWindows", (PyCFunction
) _wrap_wxSizerItem_DeleteWindows
, METH_VARARGS
| METH_KEYWORDS
},
4081 * This table is used by the pointer type-checker
4083 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
4084 { "_signed_long","_long",0},
4085 { "_wxPrintQuality","_wxCoord",0},
4086 { "_wxPrintQuality","_int",0},
4087 { "_wxPrintQuality","_signed_int",0},
4088 { "_wxPrintQuality","_unsigned_int",0},
4089 { "_wxPrintQuality","_wxWindowID",0},
4090 { "_wxPrintQuality","_uint",0},
4091 { "_wxPrintQuality","_EBool",0},
4092 { "_wxPrintQuality","_size_t",0},
4093 { "_wxPrintQuality","_time_t",0},
4094 { "_byte","_unsigned_char",0},
4095 { "_long","_unsigned_long",0},
4096 { "_long","_signed_long",0},
4097 { "_wxGridSizer","_wxFlexGridSizer",SwigwxFlexGridSizerTowxGridSizer
},
4098 { "_size_t","_wxCoord",0},
4099 { "_size_t","_wxPrintQuality",0},
4100 { "_size_t","_time_t",0},
4101 { "_size_t","_unsigned_int",0},
4102 { "_size_t","_int",0},
4103 { "_size_t","_wxWindowID",0},
4104 { "_size_t","_uint",0},
4105 { "_uint","_wxCoord",0},
4106 { "_uint","_wxPrintQuality",0},
4107 { "_uint","_time_t",0},
4108 { "_uint","_size_t",0},
4109 { "_uint","_unsigned_int",0},
4110 { "_uint","_int",0},
4111 { "_uint","_wxWindowID",0},
4112 { "_wxChar","_char",0},
4113 { "_wxBoxSizer","_wxStaticBoxSizer",SwigwxStaticBoxSizerTowxBoxSizer
},
4114 { "_char","_wxChar",0},
4115 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
4116 { "_EBool","_wxCoord",0},
4117 { "_EBool","_wxPrintQuality",0},
4118 { "_EBool","_signed_int",0},
4119 { "_EBool","_int",0},
4120 { "_EBool","_wxWindowID",0},
4121 { "_unsigned_long","_long",0},
4122 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
4123 { "_signed_int","_wxCoord",0},
4124 { "_signed_int","_wxPrintQuality",0},
4125 { "_signed_int","_EBool",0},
4126 { "_signed_int","_wxWindowID",0},
4127 { "_signed_int","_int",0},
4128 { "_WXTYPE","_short",0},
4129 { "_WXTYPE","_signed_short",0},
4130 { "_WXTYPE","_unsigned_short",0},
4131 { "_unsigned_short","_WXTYPE",0},
4132 { "_unsigned_short","_short",0},
4133 { "_wxObject","_wxFlexGridSizer",SwigwxFlexGridSizerTowxObject
},
4134 { "_wxObject","_wxGridSizer",SwigwxGridSizerTowxObject
},
4135 { "_wxObject","_wxNotebookSizer",SwigwxNotebookSizerTowxObject
},
4136 { "_wxObject","_wxStaticBoxSizer",SwigwxStaticBoxSizerTowxObject
},
4137 { "_wxObject","_wxBoxSizer",SwigwxBoxSizerTowxObject
},
4138 { "_wxObject","_wxPySizer",SwigwxPySizerTowxObject
},
4139 { "_wxObject","_wxSizer",SwigwxSizerTowxObject
},
4140 { "_wxObject","_wxSizerItem",SwigwxSizerItemTowxObject
},
4141 { "_signed_short","_WXTYPE",0},
4142 { "_signed_short","_short",0},
4143 { "_unsigned_char","_byte",0},
4144 { "_unsigned_int","_wxCoord",0},
4145 { "_unsigned_int","_wxPrintQuality",0},
4146 { "_unsigned_int","_time_t",0},
4147 { "_unsigned_int","_size_t",0},
4148 { "_unsigned_int","_uint",0},
4149 { "_unsigned_int","_wxWindowID",0},
4150 { "_unsigned_int","_int",0},
4151 { "_short","_WXTYPE",0},
4152 { "_short","_unsigned_short",0},
4153 { "_short","_signed_short",0},
4154 { "_wxWindowID","_wxCoord",0},
4155 { "_wxWindowID","_wxPrintQuality",0},
4156 { "_wxWindowID","_time_t",0},
4157 { "_wxWindowID","_size_t",0},
4158 { "_wxWindowID","_EBool",0},
4159 { "_wxWindowID","_uint",0},
4160 { "_wxWindowID","_int",0},
4161 { "_wxWindowID","_signed_int",0},
4162 { "_wxWindowID","_unsigned_int",0},
4163 { "_int","_wxCoord",0},
4164 { "_int","_wxPrintQuality",0},
4165 { "_int","_time_t",0},
4166 { "_int","_size_t",0},
4167 { "_int","_EBool",0},
4168 { "_int","_uint",0},
4169 { "_int","_wxWindowID",0},
4170 { "_int","_unsigned_int",0},
4171 { "_int","_signed_int",0},
4172 { "_time_t","_wxCoord",0},
4173 { "_time_t","_wxPrintQuality",0},
4174 { "_time_t","_unsigned_int",0},
4175 { "_time_t","_int",0},
4176 { "_time_t","_wxWindowID",0},
4177 { "_time_t","_uint",0},
4178 { "_time_t","_size_t",0},
4179 { "_wxCoord","_int",0},
4180 { "_wxCoord","_signed_int",0},
4181 { "_wxCoord","_unsigned_int",0},
4182 { "_wxCoord","_wxWindowID",0},
4183 { "_wxCoord","_uint",0},
4184 { "_wxCoord","_EBool",0},
4185 { "_wxCoord","_size_t",0},
4186 { "_wxCoord","_time_t",0},
4187 { "_wxCoord","_wxPrintQuality",0},
4188 { "_wxSizer","_wxFlexGridSizer",SwigwxFlexGridSizerTowxSizer
},
4189 { "_wxSizer","_wxGridSizer",SwigwxGridSizerTowxSizer
},
4190 { "_wxSizer","_wxNotebookSizer",SwigwxNotebookSizerTowxSizer
},
4191 { "_wxSizer","_wxStaticBoxSizer",SwigwxStaticBoxSizerTowxSizer
},
4192 { "_wxSizer","_wxBoxSizer",SwigwxBoxSizerTowxSizer
},
4193 { "_wxSizer","_wxPySizer",SwigwxPySizerTowxSizer
},
4196 static PyObject
*SWIG_globals
;
4200 SWIGEXPORT(void) initsizersc() {
4202 SWIG_globals
= SWIG_newvarlink();
4203 m
= Py_InitModule("sizersc", sizerscMethods
);
4204 d
= PyModule_GetDict(m
);
4205 PyDict_SetItemString(d
,"wxFLEX_GROWMODE_NONE", PyInt_FromLong((long) wxFLEX_GROWMODE_NONE
));
4206 PyDict_SetItemString(d
,"wxFLEX_GROWMODE_SPECIFIED", PyInt_FromLong((long) wxFLEX_GROWMODE_SPECIFIED
));
4207 PyDict_SetItemString(d
,"wxFLEX_GROWMODE_ALL", PyInt_FromLong((long) wxFLEX_GROWMODE_ALL
));
4210 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
4211 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);