2 * FILE : src/gtk/sizers.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
32 # define SWIGEXPORT(a) a
36 # define SWIGEXPORT(a) a
45 extern void SWIG_MakePtr(char *, void *, char *);
46 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
47 extern char *SWIG_GetPtr(char *, void **, char *);
48 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
49 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
50 extern PyObject
*SWIG_newvarlink(void);
54 #define SWIG_init initsizersc
56 #define SWIG_name "sizersc"
60 #include <wx/notebook.h>
63 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
69 } else if (target
== Py_None
) {
73 if (!PyTuple_Check(target
)) {
75 target
= PyTuple_New(1);
76 PyTuple_SetItem(target
, 0, o2
);
79 PyTuple_SetItem(o3
, 0, o
);
82 target
= PySequence_Concat(o2
, o3
);
89 #if PYTHON_API_VERSION >= 1009
90 static char* wxStringErrorMsg
= "String or Unicode type required";
92 static char* wxStringErrorMsg
= "string type is required for parameter";
95 class wxPySizer
: public wxSizer
{
96 DECLARE_DYNAMIC_CLASS(wxPySizer
);
98 wxPySizer() : wxSizer() {};
100 DEC_PYCALLBACK___pure(RecalcSizes
);
101 DEC_PYCALLBACK_wxSize__pure(CalcMin
);
106 IMP_PYCALLBACK___pure(wxPySizer
, wxSizer
, RecalcSizes
);
107 IMP_PYCALLBACK_wxSize__pure(wxPySizer
, wxSizer
, CalcMin
);
109 IMPLEMENT_DYNAMIC_CLASS(wxPySizer
, wxSizer
);
113 static void *SwigwxSizerItemTowxObject(void *ptr
) {
116 src
= (wxSizerItem
*) ptr
;
117 dest
= (wxObject
*) src
;
118 return (void *) dest
;
121 #define wxSizerItem_GetSize(_swigobj) (_swigobj->GetSize())
122 static PyObject
*_wrap_wxSizerItem_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
123 PyObject
* _resultobj
;
126 PyObject
* _argo0
= 0;
127 char *_kwnames
[] = { "self", NULL
};
131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSizerItem_GetSize",_kwnames
,&_argo0
))
134 if (_argo0
== Py_None
) { _arg0
= NULL
; }
135 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizerItem_p")) {
136 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizerItem_GetSize. Expected _wxSizerItem_p.");
141 wxPy_BEGIN_ALLOW_THREADS
;
142 _result
= new wxSize (wxSizerItem_GetSize(_arg0
));
144 wxPy_END_ALLOW_THREADS
;
145 if (PyErr_Occurred()) return NULL
;
146 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
147 _resultobj
= Py_BuildValue("s",_ptemp
);
151 #define wxSizerItem_CalcMin(_swigobj) (_swigobj->CalcMin())
152 static PyObject
*_wrap_wxSizerItem_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
153 PyObject
* _resultobj
;
156 PyObject
* _argo0
= 0;
157 char *_kwnames
[] = { "self", NULL
};
161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSizerItem_CalcMin",_kwnames
,&_argo0
))
164 if (_argo0
== Py_None
) { _arg0
= NULL
; }
165 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizerItem_p")) {
166 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizerItem_CalcMin. Expected _wxSizerItem_p.");
171 wxPy_BEGIN_ALLOW_THREADS
;
172 _result
= new wxSize (wxSizerItem_CalcMin(_arg0
));
174 wxPy_END_ALLOW_THREADS
;
175 if (PyErr_Occurred()) return NULL
;
176 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
177 _resultobj
= Py_BuildValue("s",_ptemp
);
181 #define wxSizerItem_SetDimension(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDimension(_swigarg0,_swigarg1))
182 static PyObject
*_wrap_wxSizerItem_SetDimension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
183 PyObject
* _resultobj
;
187 PyObject
* _argo0
= 0;
189 PyObject
* _obj1
= 0;
191 PyObject
* _obj2
= 0;
192 char *_kwnames
[] = { "self","pos","size", NULL
};
195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxSizerItem_SetDimension",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
198 if (_argo0
== Py_None
) { _arg0
= NULL
; }
199 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizerItem_p")) {
200 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizerItem_SetDimension. Expected _wxSizerItem_p.");
206 if (! wxPoint_helper(_obj1
, &_arg1
))
211 if (! wxSize_helper(_obj2
, &_arg2
))
215 wxPy_BEGIN_ALLOW_THREADS
;
216 wxSizerItem_SetDimension(_arg0
,*_arg1
,*_arg2
);
218 wxPy_END_ALLOW_THREADS
;
219 if (PyErr_Occurred()) return NULL
;
220 } Py_INCREF(Py_None
);
221 _resultobj
= Py_None
;
225 #define wxSizerItem_SetRatioWH(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRatio(_swigarg0,_swigarg1))
226 static PyObject
*_wrap_wxSizerItem_SetRatioWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
227 PyObject
* _resultobj
;
231 PyObject
* _argo0
= 0;
232 char *_kwnames
[] = { "self","width","height", NULL
};
235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxSizerItem_SetRatioWH",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
238 if (_argo0
== Py_None
) { _arg0
= NULL
; }
239 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizerItem_p")) {
240 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizerItem_SetRatioWH. Expected _wxSizerItem_p.");
245 wxPy_BEGIN_ALLOW_THREADS
;
246 wxSizerItem_SetRatioWH(_arg0
,_arg1
,_arg2
);
248 wxPy_END_ALLOW_THREADS
;
249 if (PyErr_Occurred()) return NULL
;
250 } Py_INCREF(Py_None
);
251 _resultobj
= Py_None
;
255 #define wxSizerItem_SetRatioSize(_swigobj,_swigarg0) (_swigobj->SetRatio(_swigarg0))
256 static PyObject
*_wrap_wxSizerItem_SetRatioSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
257 PyObject
* _resultobj
;
260 PyObject
* _argo0
= 0;
262 PyObject
* _obj1
= 0;
263 char *_kwnames
[] = { "self","size", NULL
};
266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxSizerItem_SetRatioSize",_kwnames
,&_argo0
,&_obj1
))
269 if (_argo0
== Py_None
) { _arg0
= NULL
; }
270 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizerItem_p")) {
271 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizerItem_SetRatioSize. Expected _wxSizerItem_p.");
277 if (! wxSize_helper(_obj1
, &_arg1
))
281 wxPy_BEGIN_ALLOW_THREADS
;
282 wxSizerItem_SetRatioSize(_arg0
,*_arg1
);
284 wxPy_END_ALLOW_THREADS
;
285 if (PyErr_Occurred()) return NULL
;
286 } Py_INCREF(Py_None
);
287 _resultobj
= Py_None
;
291 #define wxSizerItem_SetRatio(_swigobj,_swigarg0) (_swigobj->SetRatio(_swigarg0))
292 static PyObject
*_wrap_wxSizerItem_SetRatio(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
293 PyObject
* _resultobj
;
296 PyObject
* _argo0
= 0;
297 char *_kwnames
[] = { "self","ratio", NULL
};
300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Of:wxSizerItem_SetRatio",_kwnames
,&_argo0
,&_arg1
))
303 if (_argo0
== Py_None
) { _arg0
= NULL
; }
304 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizerItem_p")) {
305 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizerItem_SetRatio. Expected _wxSizerItem_p.");
310 wxPy_BEGIN_ALLOW_THREADS
;
311 wxSizerItem_SetRatio(_arg0
,_arg1
);
313 wxPy_END_ALLOW_THREADS
;
314 if (PyErr_Occurred()) return NULL
;
315 } Py_INCREF(Py_None
);
316 _resultobj
= Py_None
;
320 #define wxSizerItem_GetRatio(_swigobj) (_swigobj->GetRatio())
321 static PyObject
*_wrap_wxSizerItem_GetRatio(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
322 PyObject
* _resultobj
;
325 PyObject
* _argo0
= 0;
326 char *_kwnames
[] = { "self", NULL
};
329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSizerItem_GetRatio",_kwnames
,&_argo0
))
332 if (_argo0
== Py_None
) { _arg0
= NULL
; }
333 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizerItem_p")) {
334 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizerItem_GetRatio. Expected _wxSizerItem_p.");
339 wxPy_BEGIN_ALLOW_THREADS
;
340 _result
= (float )wxSizerItem_GetRatio(_arg0
);
342 wxPy_END_ALLOW_THREADS
;
343 if (PyErr_Occurred()) return NULL
;
344 } _resultobj
= Py_BuildValue("f",_result
);
348 #define wxSizerItem_IsWindow(_swigobj) (_swigobj->IsWindow())
349 static PyObject
*_wrap_wxSizerItem_IsWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
350 PyObject
* _resultobj
;
353 PyObject
* _argo0
= 0;
354 char *_kwnames
[] = { "self", NULL
};
357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSizerItem_IsWindow",_kwnames
,&_argo0
))
360 if (_argo0
== Py_None
) { _arg0
= NULL
; }
361 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizerItem_p")) {
362 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizerItem_IsWindow. Expected _wxSizerItem_p.");
367 wxPy_BEGIN_ALLOW_THREADS
;
368 _result
= (bool )wxSizerItem_IsWindow(_arg0
);
370 wxPy_END_ALLOW_THREADS
;
371 if (PyErr_Occurred()) return NULL
;
372 } _resultobj
= Py_BuildValue("i",_result
);
376 #define wxSizerItem_IsSizer(_swigobj) (_swigobj->IsSizer())
377 static PyObject
*_wrap_wxSizerItem_IsSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
378 PyObject
* _resultobj
;
381 PyObject
* _argo0
= 0;
382 char *_kwnames
[] = { "self", NULL
};
385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSizerItem_IsSizer",_kwnames
,&_argo0
))
388 if (_argo0
== Py_None
) { _arg0
= NULL
; }
389 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizerItem_p")) {
390 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizerItem_IsSizer. Expected _wxSizerItem_p.");
395 wxPy_BEGIN_ALLOW_THREADS
;
396 _result
= (bool )wxSizerItem_IsSizer(_arg0
);
398 wxPy_END_ALLOW_THREADS
;
399 if (PyErr_Occurred()) return NULL
;
400 } _resultobj
= Py_BuildValue("i",_result
);
404 #define wxSizerItem_IsSpacer(_swigobj) (_swigobj->IsSpacer())
405 static PyObject
*_wrap_wxSizerItem_IsSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
406 PyObject
* _resultobj
;
409 PyObject
* _argo0
= 0;
410 char *_kwnames
[] = { "self", NULL
};
413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSizerItem_IsSpacer",_kwnames
,&_argo0
))
416 if (_argo0
== Py_None
) { _arg0
= NULL
; }
417 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizerItem_p")) {
418 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizerItem_IsSpacer. Expected _wxSizerItem_p.");
423 wxPy_BEGIN_ALLOW_THREADS
;
424 _result
= (bool )wxSizerItem_IsSpacer(_arg0
);
426 wxPy_END_ALLOW_THREADS
;
427 if (PyErr_Occurred()) return NULL
;
428 } _resultobj
= Py_BuildValue("i",_result
);
432 #define wxSizerItem_GetWindow(_swigobj) (_swigobj->GetWindow())
433 static PyObject
*_wrap_wxSizerItem_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
434 PyObject
* _resultobj
;
437 PyObject
* _argo0
= 0;
438 char *_kwnames
[] = { "self", NULL
};
441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSizerItem_GetWindow",_kwnames
,&_argo0
))
444 if (_argo0
== Py_None
) { _arg0
= NULL
; }
445 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizerItem_p")) {
446 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizerItem_GetWindow. Expected _wxSizerItem_p.");
451 wxPy_BEGIN_ALLOW_THREADS
;
452 _result
= (wxWindow
*)wxSizerItem_GetWindow(_arg0
);
454 wxPy_END_ALLOW_THREADS
;
455 if (PyErr_Occurred()) return NULL
;
456 }{ _resultobj
= wxPyMake_wxObject(_result
); }
460 #define wxSizerItem_SetWindow(_swigobj,_swigarg0) (_swigobj->SetWindow(_swigarg0))
461 static PyObject
*_wrap_wxSizerItem_SetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
462 PyObject
* _resultobj
;
465 PyObject
* _argo0
= 0;
466 PyObject
* _argo1
= 0;
467 char *_kwnames
[] = { "self","window", NULL
};
470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxSizerItem_SetWindow",_kwnames
,&_argo0
,&_argo1
))
473 if (_argo0
== Py_None
) { _arg0
= NULL
; }
474 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizerItem_p")) {
475 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizerItem_SetWindow. Expected _wxSizerItem_p.");
480 if (_argo1
== Py_None
) { _arg1
= NULL
; }
481 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
482 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSizerItem_SetWindow. Expected _wxWindow_p.");
487 wxPy_BEGIN_ALLOW_THREADS
;
488 wxSizerItem_SetWindow(_arg0
,_arg1
);
490 wxPy_END_ALLOW_THREADS
;
491 if (PyErr_Occurred()) return NULL
;
492 } Py_INCREF(Py_None
);
493 _resultobj
= Py_None
;
497 #define wxSizerItem_GetSizer(_swigobj) (_swigobj->GetSizer())
498 static PyObject
*_wrap_wxSizerItem_GetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
499 PyObject
* _resultobj
;
502 PyObject
* _argo0
= 0;
503 char *_kwnames
[] = { "self", NULL
};
506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSizerItem_GetSizer",_kwnames
,&_argo0
))
509 if (_argo0
== Py_None
) { _arg0
= NULL
; }
510 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizerItem_p")) {
511 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizerItem_GetSizer. Expected _wxSizerItem_p.");
516 wxPy_BEGIN_ALLOW_THREADS
;
517 _result
= (wxSizer
*)wxSizerItem_GetSizer(_arg0
);
519 wxPy_END_ALLOW_THREADS
;
520 if (PyErr_Occurred()) return NULL
;
521 }{ _resultobj
= wxPyMake_wxObject(_result
); }
525 #define wxSizerItem_SetSizer(_swigobj,_swigarg0) (_swigobj->SetSizer(_swigarg0))
526 static PyObject
*_wrap_wxSizerItem_SetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
527 PyObject
* _resultobj
;
530 PyObject
* _argo0
= 0;
531 PyObject
* _argo1
= 0;
532 char *_kwnames
[] = { "self","sizer", NULL
};
535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxSizerItem_SetSizer",_kwnames
,&_argo0
,&_argo1
))
538 if (_argo0
== Py_None
) { _arg0
= NULL
; }
539 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizerItem_p")) {
540 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizerItem_SetSizer. Expected _wxSizerItem_p.");
545 if (_argo1
== Py_None
) { _arg1
= NULL
; }
546 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxSizer_p")) {
547 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSizerItem_SetSizer. Expected _wxSizer_p.");
552 wxPy_BEGIN_ALLOW_THREADS
;
553 wxSizerItem_SetSizer(_arg0
,_arg1
);
555 wxPy_END_ALLOW_THREADS
;
556 if (PyErr_Occurred()) return NULL
;
557 } Py_INCREF(Py_None
);
558 _resultobj
= Py_None
;
562 #define wxSizerItem_GetOption(_swigobj) (_swigobj->GetOption())
563 static PyObject
*_wrap_wxSizerItem_GetOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
564 PyObject
* _resultobj
;
567 PyObject
* _argo0
= 0;
568 char *_kwnames
[] = { "self", NULL
};
571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSizerItem_GetOption",_kwnames
,&_argo0
))
574 if (_argo0
== Py_None
) { _arg0
= NULL
; }
575 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizerItem_p")) {
576 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizerItem_GetOption. Expected _wxSizerItem_p.");
581 wxPy_BEGIN_ALLOW_THREADS
;
582 _result
= (int )wxSizerItem_GetOption(_arg0
);
584 wxPy_END_ALLOW_THREADS
;
585 if (PyErr_Occurred()) return NULL
;
586 } _resultobj
= Py_BuildValue("i",_result
);
590 #define wxSizerItem_GetFlag(_swigobj) (_swigobj->GetFlag())
591 static PyObject
*_wrap_wxSizerItem_GetFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
592 PyObject
* _resultobj
;
595 PyObject
* _argo0
= 0;
596 char *_kwnames
[] = { "self", NULL
};
599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSizerItem_GetFlag",_kwnames
,&_argo0
))
602 if (_argo0
== Py_None
) { _arg0
= NULL
; }
603 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizerItem_p")) {
604 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizerItem_GetFlag. Expected _wxSizerItem_p.");
609 wxPy_BEGIN_ALLOW_THREADS
;
610 _result
= (int )wxSizerItem_GetFlag(_arg0
);
612 wxPy_END_ALLOW_THREADS
;
613 if (PyErr_Occurred()) return NULL
;
614 } _resultobj
= Py_BuildValue("i",_result
);
618 #define wxSizerItem_GetBorder(_swigobj) (_swigobj->GetBorder())
619 static PyObject
*_wrap_wxSizerItem_GetBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
620 PyObject
* _resultobj
;
623 PyObject
* _argo0
= 0;
624 char *_kwnames
[] = { "self", NULL
};
627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSizerItem_GetBorder",_kwnames
,&_argo0
))
630 if (_argo0
== Py_None
) { _arg0
= NULL
; }
631 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizerItem_p")) {
632 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizerItem_GetBorder. Expected _wxSizerItem_p.");
637 wxPy_BEGIN_ALLOW_THREADS
;
638 _result
= (int )wxSizerItem_GetBorder(_arg0
);
640 wxPy_END_ALLOW_THREADS
;
641 if (PyErr_Occurred()) return NULL
;
642 } _resultobj
= Py_BuildValue("i",_result
);
646 #define wxSizerItem_SetInitSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetInitSize(_swigarg0,_swigarg1))
647 static PyObject
*_wrap_wxSizerItem_SetInitSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
648 PyObject
* _resultobj
;
652 PyObject
* _argo0
= 0;
653 char *_kwnames
[] = { "self","x","y", NULL
};
656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxSizerItem_SetInitSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
659 if (_argo0
== Py_None
) { _arg0
= NULL
; }
660 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizerItem_p")) {
661 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizerItem_SetInitSize. Expected _wxSizerItem_p.");
666 wxPy_BEGIN_ALLOW_THREADS
;
667 wxSizerItem_SetInitSize(_arg0
,_arg1
,_arg2
);
669 wxPy_END_ALLOW_THREADS
;
670 if (PyErr_Occurred()) return NULL
;
671 } Py_INCREF(Py_None
);
672 _resultobj
= Py_None
;
676 #define wxSizerItem_SetOption(_swigobj,_swigarg0) (_swigobj->SetOption(_swigarg0))
677 static PyObject
*_wrap_wxSizerItem_SetOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
678 PyObject
* _resultobj
;
681 PyObject
* _argo0
= 0;
682 char *_kwnames
[] = { "self","option", NULL
};
685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSizerItem_SetOption",_kwnames
,&_argo0
,&_arg1
))
688 if (_argo0
== Py_None
) { _arg0
= NULL
; }
689 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizerItem_p")) {
690 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizerItem_SetOption. Expected _wxSizerItem_p.");
695 wxPy_BEGIN_ALLOW_THREADS
;
696 wxSizerItem_SetOption(_arg0
,_arg1
);
698 wxPy_END_ALLOW_THREADS
;
699 if (PyErr_Occurred()) return NULL
;
700 } Py_INCREF(Py_None
);
701 _resultobj
= Py_None
;
705 #define wxSizerItem_SetFlag(_swigobj,_swigarg0) (_swigobj->SetFlag(_swigarg0))
706 static PyObject
*_wrap_wxSizerItem_SetFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
707 PyObject
* _resultobj
;
710 PyObject
* _argo0
= 0;
711 char *_kwnames
[] = { "self","flag", NULL
};
714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSizerItem_SetFlag",_kwnames
,&_argo0
,&_arg1
))
717 if (_argo0
== Py_None
) { _arg0
= NULL
; }
718 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizerItem_p")) {
719 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizerItem_SetFlag. Expected _wxSizerItem_p.");
724 wxPy_BEGIN_ALLOW_THREADS
;
725 wxSizerItem_SetFlag(_arg0
,_arg1
);
727 wxPy_END_ALLOW_THREADS
;
728 if (PyErr_Occurred()) return NULL
;
729 } Py_INCREF(Py_None
);
730 _resultobj
= Py_None
;
734 #define wxSizerItem_SetBorder(_swigobj,_swigarg0) (_swigobj->SetBorder(_swigarg0))
735 static PyObject
*_wrap_wxSizerItem_SetBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
736 PyObject
* _resultobj
;
739 PyObject
* _argo0
= 0;
740 char *_kwnames
[] = { "self","border", NULL
};
743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSizerItem_SetBorder",_kwnames
,&_argo0
,&_arg1
))
746 if (_argo0
== Py_None
) { _arg0
= NULL
; }
747 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizerItem_p")) {
748 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizerItem_SetBorder. Expected _wxSizerItem_p.");
753 wxPy_BEGIN_ALLOW_THREADS
;
754 wxSizerItem_SetBorder(_arg0
,_arg1
);
756 wxPy_END_ALLOW_THREADS
;
757 if (PyErr_Occurred()) return NULL
;
758 } Py_INCREF(Py_None
);
759 _resultobj
= Py_None
;
763 static PyObject
* wxSizerItem_GetUserData(wxSizerItem
*self
) {
764 wxPyUserData
* data
= (wxPyUserData
*)self
->GetUserData();
766 Py_INCREF(data
->m_obj
);
773 static PyObject
*_wrap_wxSizerItem_GetUserData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
774 PyObject
* _resultobj
;
777 PyObject
* _argo0
= 0;
778 char *_kwnames
[] = { "self", NULL
};
781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSizerItem_GetUserData",_kwnames
,&_argo0
))
784 if (_argo0
== Py_None
) { _arg0
= NULL
; }
785 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizerItem_p")) {
786 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizerItem_GetUserData. Expected _wxSizerItem_p.");
791 wxPy_BEGIN_ALLOW_THREADS
;
792 _result
= (PyObject
*)wxSizerItem_GetUserData(_arg0
);
794 wxPy_END_ALLOW_THREADS
;
795 if (PyErr_Occurred()) return NULL
;
797 _resultobj
= _result
;
802 static void *SwigwxSizerTowxObject(void *ptr
) {
805 src
= (wxSizer
*) ptr
;
806 dest
= (wxObject
*) src
;
807 return (void *) dest
;
810 static void wxSizer_Destroy(wxSizer
*self
) { delete self
; }
811 static PyObject
*_wrap_wxSizer_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
812 PyObject
* _resultobj
;
814 PyObject
* _argo0
= 0;
815 char *_kwnames
[] = { "self", NULL
};
818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSizer_Destroy",_kwnames
,&_argo0
))
821 if (_argo0
== Py_None
) { _arg0
= NULL
; }
822 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
823 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_Destroy. Expected _wxSizer_p.");
828 wxPy_BEGIN_ALLOW_THREADS
;
829 wxSizer_Destroy(_arg0
);
831 wxPy_END_ALLOW_THREADS
;
832 if (PyErr_Occurred()) return NULL
;
833 } Py_INCREF(Py_None
);
834 _resultobj
= Py_None
;
838 static void wxSizer_AddWindow(wxSizer
*self
,wxWindow
* window
,int option
,int flag
,int border
,PyObject
* userData
) {
839 wxPyUserData
* data
= NULL
;
840 if (userData
) data
= new wxPyUserData(userData
);
841 self
->Add(window
, option
, flag
, border
, data
);
843 static PyObject
*_wrap_wxSizer_AddWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
844 PyObject
* _resultobj
;
847 int _arg2
= (int ) 0;
848 int _arg3
= (int ) 0;
849 int _arg4
= (int ) 0;
850 PyObject
* _arg5
= (PyObject
*) NULL
;
851 PyObject
* _argo0
= 0;
852 PyObject
* _argo1
= 0;
853 PyObject
* _obj5
= 0;
854 char *_kwnames
[] = { "self","window","option","flag","border","userData", NULL
};
857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iiiO:wxSizer_AddWindow",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_obj5
))
860 if (_argo0
== Py_None
) { _arg0
= NULL
; }
861 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
862 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_AddWindow. Expected _wxSizer_p.");
867 if (_argo1
== Py_None
) { _arg1
= NULL
; }
868 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
869 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSizer_AddWindow. Expected _wxWindow_p.");
878 wxPy_BEGIN_ALLOW_THREADS
;
879 wxSizer_AddWindow(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
881 wxPy_END_ALLOW_THREADS
;
882 if (PyErr_Occurred()) return NULL
;
883 } Py_INCREF(Py_None
);
884 _resultobj
= Py_None
;
888 static void wxSizer_AddSizer(wxSizer
*self
,wxSizer
* sizer
,int option
,int flag
,int border
,PyObject
* userData
) {
889 wxPyUserData
* data
= NULL
;
890 if (userData
) data
= new wxPyUserData(userData
);
891 self
->Add(sizer
, option
, flag
, border
, data
);
893 static PyObject
*_wrap_wxSizer_AddSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
894 PyObject
* _resultobj
;
897 int _arg2
= (int ) 0;
898 int _arg3
= (int ) 0;
899 int _arg4
= (int ) 0;
900 PyObject
* _arg5
= (PyObject
*) NULL
;
901 PyObject
* _argo0
= 0;
902 PyObject
* _argo1
= 0;
903 PyObject
* _obj5
= 0;
904 char *_kwnames
[] = { "self","sizer","option","flag","border","userData", NULL
};
907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iiiO:wxSizer_AddSizer",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_obj5
))
910 if (_argo0
== Py_None
) { _arg0
= NULL
; }
911 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
912 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_AddSizer. Expected _wxSizer_p.");
917 if (_argo1
== Py_None
) { _arg1
= NULL
; }
918 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxSizer_p")) {
919 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSizer_AddSizer. Expected _wxSizer_p.");
928 wxPy_BEGIN_ALLOW_THREADS
;
929 wxSizer_AddSizer(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
931 wxPy_END_ALLOW_THREADS
;
932 if (PyErr_Occurred()) return NULL
;
933 } Py_INCREF(Py_None
);
934 _resultobj
= Py_None
;
938 static void wxSizer_AddSpacer(wxSizer
*self
,int width
,int height
,int option
,int flag
,int border
,PyObject
* userData
) {
939 wxPyUserData
* data
= NULL
;
940 if (userData
) data
= new wxPyUserData(userData
);
941 self
->Add(width
, height
, option
, flag
, border
, data
);
943 static PyObject
*_wrap_wxSizer_AddSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
944 PyObject
* _resultobj
;
948 int _arg3
= (int ) 0;
949 int _arg4
= (int ) 0;
950 int _arg5
= (int ) 0;
951 PyObject
* _arg6
= (PyObject
*) NULL
;
952 PyObject
* _argo0
= 0;
953 PyObject
* _obj6
= 0;
954 char *_kwnames
[] = { "self","width","height","option","flag","border","userData", NULL
};
957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|iiiO:wxSizer_AddSpacer",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_obj6
))
960 if (_argo0
== Py_None
) { _arg0
= NULL
; }
961 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
962 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_AddSpacer. Expected _wxSizer_p.");
971 wxPy_BEGIN_ALLOW_THREADS
;
972 wxSizer_AddSpacer(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
974 wxPy_END_ALLOW_THREADS
;
975 if (PyErr_Occurred()) return NULL
;
976 } Py_INCREF(Py_None
);
977 _resultobj
= Py_None
;
981 static void wxSizer_InsertWindow(wxSizer
*self
,int before
,wxWindow
* window
,int option
,int flag
,int border
,PyObject
* userData
) {
982 wxPyUserData
* data
= NULL
;
983 if (userData
) data
= new wxPyUserData(userData
);
984 self
->Insert(before
, window
, option
, flag
, border
, data
);
986 static PyObject
*_wrap_wxSizer_InsertWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
987 PyObject
* _resultobj
;
991 int _arg3
= (int ) 0;
992 int _arg4
= (int ) 0;
993 int _arg5
= (int ) 0;
994 PyObject
* _arg6
= (PyObject
*) NULL
;
995 PyObject
* _argo0
= 0;
996 PyObject
* _argo2
= 0;
997 PyObject
* _obj6
= 0;
998 char *_kwnames
[] = { "self","before","window","option","flag","border","userData", NULL
};
1001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|iiiO:wxSizer_InsertWindow",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_arg3
,&_arg4
,&_arg5
,&_obj6
))
1004 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1005 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
1006 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_InsertWindow. Expected _wxSizer_p.");
1011 if (_argo2
== Py_None
) { _arg2
= NULL
; }
1012 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
1013 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxSizer_InsertWindow. Expected _wxWindow_p.");
1022 wxPy_BEGIN_ALLOW_THREADS
;
1023 wxSizer_InsertWindow(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
1025 wxPy_END_ALLOW_THREADS
;
1026 if (PyErr_Occurred()) return NULL
;
1027 } Py_INCREF(Py_None
);
1028 _resultobj
= Py_None
;
1032 static void wxSizer_InsertSizer(wxSizer
*self
,int before
,wxSizer
* sizer
,int option
,int flag
,int border
,PyObject
* userData
) {
1033 wxPyUserData
* data
= NULL
;
1034 if (userData
) data
= new wxPyUserData(userData
);
1035 self
->Insert(before
, sizer
, option
, flag
, border
, data
);
1037 static PyObject
*_wrap_wxSizer_InsertSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1038 PyObject
* _resultobj
;
1042 int _arg3
= (int ) 0;
1043 int _arg4
= (int ) 0;
1044 int _arg5
= (int ) 0;
1045 PyObject
* _arg6
= (PyObject
*) NULL
;
1046 PyObject
* _argo0
= 0;
1047 PyObject
* _argo2
= 0;
1048 PyObject
* _obj6
= 0;
1049 char *_kwnames
[] = { "self","before","sizer","option","flag","border","userData", NULL
};
1052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|iiiO:wxSizer_InsertSizer",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_arg3
,&_arg4
,&_arg5
,&_obj6
))
1055 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1056 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
1057 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_InsertSizer. Expected _wxSizer_p.");
1062 if (_argo2
== Py_None
) { _arg2
= NULL
; }
1063 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxSizer_p")) {
1064 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxSizer_InsertSizer. Expected _wxSizer_p.");
1073 wxPy_BEGIN_ALLOW_THREADS
;
1074 wxSizer_InsertSizer(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
1076 wxPy_END_ALLOW_THREADS
;
1077 if (PyErr_Occurred()) return NULL
;
1078 } Py_INCREF(Py_None
);
1079 _resultobj
= Py_None
;
1083 static void wxSizer_InsertSpacer(wxSizer
*self
,int before
,int width
,int height
,int option
,int flag
,int border
,PyObject
* userData
) {
1084 wxPyUserData
* data
= NULL
;
1085 if (userData
) data
= new wxPyUserData(userData
);
1086 self
->Insert(before
, width
, height
, option
, flag
, border
, data
);
1088 static PyObject
*_wrap_wxSizer_InsertSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1089 PyObject
* _resultobj
;
1094 int _arg4
= (int ) 0;
1095 int _arg5
= (int ) 0;
1096 int _arg6
= (int ) 0;
1097 PyObject
* _arg7
= (PyObject
*) NULL
;
1098 PyObject
* _argo0
= 0;
1099 PyObject
* _obj7
= 0;
1100 char *_kwnames
[] = { "self","before","width","height","option","flag","border","userData", NULL
};
1103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiii|iiiO:wxSizer_InsertSpacer",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
,&_obj7
))
1106 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1107 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
1108 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_InsertSpacer. Expected _wxSizer_p.");
1117 wxPy_BEGIN_ALLOW_THREADS
;
1118 wxSizer_InsertSpacer(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
);
1120 wxPy_END_ALLOW_THREADS
;
1121 if (PyErr_Occurred()) return NULL
;
1122 } Py_INCREF(Py_None
);
1123 _resultobj
= Py_None
;
1127 static void wxSizer_PrependWindow(wxSizer
*self
,wxWindow
* window
,int option
,int flag
,int border
,PyObject
* userData
) {
1128 wxPyUserData
* data
= NULL
;
1129 if (userData
) data
= new wxPyUserData(userData
);
1130 self
->Prepend(window
, option
, flag
, border
, data
);
1132 static PyObject
*_wrap_wxSizer_PrependWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1133 PyObject
* _resultobj
;
1136 int _arg2
= (int ) 0;
1137 int _arg3
= (int ) 0;
1138 int _arg4
= (int ) 0;
1139 PyObject
* _arg5
= (PyObject
*) NULL
;
1140 PyObject
* _argo0
= 0;
1141 PyObject
* _argo1
= 0;
1142 PyObject
* _obj5
= 0;
1143 char *_kwnames
[] = { "self","window","option","flag","border","userData", NULL
};
1146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iiiO:wxSizer_PrependWindow",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_obj5
))
1149 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1150 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
1151 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_PrependWindow. Expected _wxSizer_p.");
1156 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1157 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1158 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSizer_PrependWindow. Expected _wxWindow_p.");
1167 wxPy_BEGIN_ALLOW_THREADS
;
1168 wxSizer_PrependWindow(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
1170 wxPy_END_ALLOW_THREADS
;
1171 if (PyErr_Occurred()) return NULL
;
1172 } Py_INCREF(Py_None
);
1173 _resultobj
= Py_None
;
1177 static void wxSizer_PrependSizer(wxSizer
*self
,wxSizer
* sizer
,int option
,int flag
,int border
,PyObject
* userData
) {
1178 wxPyUserData
* data
= NULL
;
1179 if (userData
) data
= new wxPyUserData(userData
);
1180 self
->Prepend(sizer
, option
, flag
, border
, data
);
1182 static PyObject
*_wrap_wxSizer_PrependSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1183 PyObject
* _resultobj
;
1186 int _arg2
= (int ) 0;
1187 int _arg3
= (int ) 0;
1188 int _arg4
= (int ) 0;
1189 PyObject
* _arg5
= (PyObject
*) NULL
;
1190 PyObject
* _argo0
= 0;
1191 PyObject
* _argo1
= 0;
1192 PyObject
* _obj5
= 0;
1193 char *_kwnames
[] = { "self","sizer","option","flag","border","userData", NULL
};
1196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iiiO:wxSizer_PrependSizer",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_obj5
))
1199 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1200 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
1201 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_PrependSizer. Expected _wxSizer_p.");
1206 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1207 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxSizer_p")) {
1208 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSizer_PrependSizer. Expected _wxSizer_p.");
1217 wxPy_BEGIN_ALLOW_THREADS
;
1218 wxSizer_PrependSizer(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
1220 wxPy_END_ALLOW_THREADS
;
1221 if (PyErr_Occurred()) return NULL
;
1222 } Py_INCREF(Py_None
);
1223 _resultobj
= Py_None
;
1227 static void wxSizer_PrependSpacer(wxSizer
*self
,int width
,int height
,int option
,int flag
,int border
,PyObject
* userData
) {
1228 wxPyUserData
* data
= NULL
;
1229 if (userData
) data
= new wxPyUserData(userData
);
1230 self
->Prepend(width
, height
, option
, flag
, border
, data
);
1232 static PyObject
*_wrap_wxSizer_PrependSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1233 PyObject
* _resultobj
;
1237 int _arg3
= (int ) 0;
1238 int _arg4
= (int ) 0;
1239 int _arg5
= (int ) 0;
1240 PyObject
* _arg6
= (PyObject
*) NULL
;
1241 PyObject
* _argo0
= 0;
1242 PyObject
* _obj6
= 0;
1243 char *_kwnames
[] = { "self","width","height","option","flag","border","userData", NULL
};
1246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|iiiO:wxSizer_PrependSpacer",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_obj6
))
1249 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1250 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
1251 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_PrependSpacer. Expected _wxSizer_p.");
1260 wxPy_BEGIN_ALLOW_THREADS
;
1261 wxSizer_PrependSpacer(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
1263 wxPy_END_ALLOW_THREADS
;
1264 if (PyErr_Occurred()) return NULL
;
1265 } Py_INCREF(Py_None
);
1266 _resultobj
= Py_None
;
1270 #define wxSizer_RemoveWindow(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
1271 static PyObject
*_wrap_wxSizer_RemoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1272 PyObject
* _resultobj
;
1276 PyObject
* _argo0
= 0;
1277 PyObject
* _argo1
= 0;
1278 char *_kwnames
[] = { "self","window", NULL
};
1281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxSizer_RemoveWindow",_kwnames
,&_argo0
,&_argo1
))
1284 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1285 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
1286 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_RemoveWindow. Expected _wxSizer_p.");
1291 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1292 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1293 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSizer_RemoveWindow. Expected _wxWindow_p.");
1298 wxPy_BEGIN_ALLOW_THREADS
;
1299 _result
= (bool )wxSizer_RemoveWindow(_arg0
,_arg1
);
1301 wxPy_END_ALLOW_THREADS
;
1302 if (PyErr_Occurred()) return NULL
;
1303 } _resultobj
= Py_BuildValue("i",_result
);
1307 #define wxSizer_RemoveSizer(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
1308 static PyObject
*_wrap_wxSizer_RemoveSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1309 PyObject
* _resultobj
;
1313 PyObject
* _argo0
= 0;
1314 PyObject
* _argo1
= 0;
1315 char *_kwnames
[] = { "self","sizer", NULL
};
1318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxSizer_RemoveSizer",_kwnames
,&_argo0
,&_argo1
))
1321 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1322 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
1323 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_RemoveSizer. Expected _wxSizer_p.");
1328 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1329 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxSizer_p")) {
1330 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSizer_RemoveSizer. Expected _wxSizer_p.");
1335 wxPy_BEGIN_ALLOW_THREADS
;
1336 _result
= (bool )wxSizer_RemoveSizer(_arg0
,_arg1
);
1338 wxPy_END_ALLOW_THREADS
;
1339 if (PyErr_Occurred()) return NULL
;
1340 } _resultobj
= Py_BuildValue("i",_result
);
1344 #define wxSizer_RemovePos(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
1345 static PyObject
*_wrap_wxSizer_RemovePos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1346 PyObject
* _resultobj
;
1350 PyObject
* _argo0
= 0;
1351 char *_kwnames
[] = { "self","pos", NULL
};
1354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSizer_RemovePos",_kwnames
,&_argo0
,&_arg1
))
1357 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1358 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
1359 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_RemovePos. Expected _wxSizer_p.");
1364 wxPy_BEGIN_ALLOW_THREADS
;
1365 _result
= (bool )wxSizer_RemovePos(_arg0
,_arg1
);
1367 wxPy_END_ALLOW_THREADS
;
1368 if (PyErr_Occurred()) return NULL
;
1369 } _resultobj
= Py_BuildValue("i",_result
);
1373 #define wxSizer_SetDimension(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetDimension(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1374 static PyObject
*_wrap_wxSizer_SetDimension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1375 PyObject
* _resultobj
;
1381 PyObject
* _argo0
= 0;
1382 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
1385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii:wxSizer_SetDimension",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
1388 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1389 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
1390 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_SetDimension. Expected _wxSizer_p.");
1395 wxPy_BEGIN_ALLOW_THREADS
;
1396 wxSizer_SetDimension(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
1398 wxPy_END_ALLOW_THREADS
;
1399 if (PyErr_Occurred()) return NULL
;
1400 } Py_INCREF(Py_None
);
1401 _resultobj
= Py_None
;
1405 #define wxSizer_SetMinSize(_swigobj,_swigarg0) (_swigobj->SetMinSize(_swigarg0))
1406 static PyObject
*_wrap_wxSizer_SetMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1407 PyObject
* _resultobj
;
1410 PyObject
* _argo0
= 0;
1412 PyObject
* _obj1
= 0;
1413 char *_kwnames
[] = { "self","size", NULL
};
1416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxSizer_SetMinSize",_kwnames
,&_argo0
,&_obj1
))
1419 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1420 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
1421 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_SetMinSize. Expected _wxSizer_p.");
1427 if (! wxSize_helper(_obj1
, &_arg1
))
1431 wxPy_BEGIN_ALLOW_THREADS
;
1432 wxSizer_SetMinSize(_arg0
,*_arg1
);
1434 wxPy_END_ALLOW_THREADS
;
1435 if (PyErr_Occurred()) return NULL
;
1436 } Py_INCREF(Py_None
);
1437 _resultobj
= Py_None
;
1441 #define wxSizer_SetItemMinSizeWindow(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemMinSize(_swigarg0,_swigarg1,_swigarg2))
1442 static PyObject
*_wrap_wxSizer_SetItemMinSizeWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1443 PyObject
* _resultobj
;
1448 PyObject
* _argo0
= 0;
1449 PyObject
* _argo1
= 0;
1450 char *_kwnames
[] = { "self","window","width","height", NULL
};
1453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxSizer_SetItemMinSizeWindow",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
1456 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1457 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
1458 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_SetItemMinSizeWindow. Expected _wxSizer_p.");
1463 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1464 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1465 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSizer_SetItemMinSizeWindow. Expected _wxWindow_p.");
1470 wxPy_BEGIN_ALLOW_THREADS
;
1471 wxSizer_SetItemMinSizeWindow(_arg0
,_arg1
,_arg2
,_arg3
);
1473 wxPy_END_ALLOW_THREADS
;
1474 if (PyErr_Occurred()) return NULL
;
1475 } Py_INCREF(Py_None
);
1476 _resultobj
= Py_None
;
1480 #define wxSizer_SetItemMinSizeSizer(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemMinSize(_swigarg0,_swigarg1,_swigarg2))
1481 static PyObject
*_wrap_wxSizer_SetItemMinSizeSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1482 PyObject
* _resultobj
;
1487 PyObject
* _argo0
= 0;
1488 PyObject
* _argo1
= 0;
1489 char *_kwnames
[] = { "self","sizer","width","height", NULL
};
1492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxSizer_SetItemMinSizeSizer",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
1495 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1496 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
1497 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_SetItemMinSizeSizer. Expected _wxSizer_p.");
1502 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1503 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxSizer_p")) {
1504 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSizer_SetItemMinSizeSizer. Expected _wxSizer_p.");
1509 wxPy_BEGIN_ALLOW_THREADS
;
1510 wxSizer_SetItemMinSizeSizer(_arg0
,_arg1
,_arg2
,_arg3
);
1512 wxPy_END_ALLOW_THREADS
;
1513 if (PyErr_Occurred()) return NULL
;
1514 } Py_INCREF(Py_None
);
1515 _resultobj
= Py_None
;
1519 #define wxSizer_SetItemMinSizePos(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemMinSize(_swigarg0,_swigarg1,_swigarg2))
1520 static PyObject
*_wrap_wxSizer_SetItemMinSizePos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1521 PyObject
* _resultobj
;
1526 PyObject
* _argo0
= 0;
1527 char *_kwnames
[] = { "self","pos","width","height", NULL
};
1530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiii:wxSizer_SetItemMinSizePos",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
1533 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1534 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
1535 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_SetItemMinSizePos. Expected _wxSizer_p.");
1540 wxPy_BEGIN_ALLOW_THREADS
;
1541 wxSizer_SetItemMinSizePos(_arg0
,_arg1
,_arg2
,_arg3
);
1543 wxPy_END_ALLOW_THREADS
;
1544 if (PyErr_Occurred()) return NULL
;
1545 } Py_INCREF(Py_None
);
1546 _resultobj
= Py_None
;
1550 #define wxSizer_GetSize(_swigobj) (_swigobj->GetSize())
1551 static PyObject
*_wrap_wxSizer_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1552 PyObject
* _resultobj
;
1555 PyObject
* _argo0
= 0;
1556 char *_kwnames
[] = { "self", NULL
};
1560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSizer_GetSize",_kwnames
,&_argo0
))
1563 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1564 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
1565 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_GetSize. Expected _wxSizer_p.");
1570 wxPy_BEGIN_ALLOW_THREADS
;
1571 _result
= new wxSize (wxSizer_GetSize(_arg0
));
1573 wxPy_END_ALLOW_THREADS
;
1574 if (PyErr_Occurred()) return NULL
;
1575 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
1576 _resultobj
= Py_BuildValue("s",_ptemp
);
1580 #define wxSizer_GetPosition(_swigobj) (_swigobj->GetPosition())
1581 static PyObject
*_wrap_wxSizer_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1582 PyObject
* _resultobj
;
1585 PyObject
* _argo0
= 0;
1586 char *_kwnames
[] = { "self", NULL
};
1590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSizer_GetPosition",_kwnames
,&_argo0
))
1593 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1594 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
1595 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_GetPosition. Expected _wxSizer_p.");
1600 wxPy_BEGIN_ALLOW_THREADS
;
1601 _result
= new wxPoint (wxSizer_GetPosition(_arg0
));
1603 wxPy_END_ALLOW_THREADS
;
1604 if (PyErr_Occurred()) return NULL
;
1605 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
1606 _resultobj
= Py_BuildValue("s",_ptemp
);
1610 #define wxSizer_GetMinSize(_swigobj) (_swigobj->GetMinSize())
1611 static PyObject
*_wrap_wxSizer_GetMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1612 PyObject
* _resultobj
;
1615 PyObject
* _argo0
= 0;
1616 char *_kwnames
[] = { "self", NULL
};
1620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSizer_GetMinSize",_kwnames
,&_argo0
))
1623 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1624 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
1625 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_GetMinSize. Expected _wxSizer_p.");
1630 wxPy_BEGIN_ALLOW_THREADS
;
1631 _result
= new wxSize (wxSizer_GetMinSize(_arg0
));
1633 wxPy_END_ALLOW_THREADS
;
1634 if (PyErr_Occurred()) return NULL
;
1635 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
1636 _resultobj
= Py_BuildValue("s",_ptemp
);
1640 #define wxSizer_Layout(_swigobj) (_swigobj->Layout())
1641 static PyObject
*_wrap_wxSizer_Layout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1642 PyObject
* _resultobj
;
1644 PyObject
* _argo0
= 0;
1645 char *_kwnames
[] = { "self", NULL
};
1648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSizer_Layout",_kwnames
,&_argo0
))
1651 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1652 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
1653 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_Layout. Expected _wxSizer_p.");
1658 wxPy_BEGIN_ALLOW_THREADS
;
1659 wxSizer_Layout(_arg0
);
1661 wxPy_END_ALLOW_THREADS
;
1662 if (PyErr_Occurred()) return NULL
;
1663 } Py_INCREF(Py_None
);
1664 _resultobj
= Py_None
;
1668 #define wxSizer_Fit(_swigobj,_swigarg0) (_swigobj->Fit(_swigarg0))
1669 static PyObject
*_wrap_wxSizer_Fit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1670 PyObject
* _resultobj
;
1673 PyObject
* _argo0
= 0;
1674 PyObject
* _argo1
= 0;
1675 char *_kwnames
[] = { "self","window", NULL
};
1678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxSizer_Fit",_kwnames
,&_argo0
,&_argo1
))
1681 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1682 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
1683 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_Fit. Expected _wxSizer_p.");
1688 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1689 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1690 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSizer_Fit. Expected _wxWindow_p.");
1695 wxPy_BEGIN_ALLOW_THREADS
;
1696 wxSizer_Fit(_arg0
,_arg1
);
1698 wxPy_END_ALLOW_THREADS
;
1699 if (PyErr_Occurred()) return NULL
;
1700 } Py_INCREF(Py_None
);
1701 _resultobj
= Py_None
;
1705 #define wxSizer_SetSizeHints(_swigobj,_swigarg0) (_swigobj->SetSizeHints(_swigarg0))
1706 static PyObject
*_wrap_wxSizer_SetSizeHints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1707 PyObject
* _resultobj
;
1710 PyObject
* _argo0
= 0;
1711 PyObject
* _argo1
= 0;
1712 char *_kwnames
[] = { "self","window", NULL
};
1715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxSizer_SetSizeHints",_kwnames
,&_argo0
,&_argo1
))
1718 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1719 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
1720 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_SetSizeHints. Expected _wxSizer_p.");
1725 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1726 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1727 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSizer_SetSizeHints. Expected _wxWindow_p.");
1732 wxPy_BEGIN_ALLOW_THREADS
;
1733 wxSizer_SetSizeHints(_arg0
,_arg1
);
1735 wxPy_END_ALLOW_THREADS
;
1736 if (PyErr_Occurred()) return NULL
;
1737 } Py_INCREF(Py_None
);
1738 _resultobj
= Py_None
;
1742 static PyObject
* wxSizer_GetChildren(wxSizer
*self
) {
1743 wxList
& list
= self
->GetChildren();
1744 return wxPy_ConvertList(&list
, "wxSizerItem");
1746 static PyObject
*_wrap_wxSizer_GetChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1747 PyObject
* _resultobj
;
1750 PyObject
* _argo0
= 0;
1751 char *_kwnames
[] = { "self", NULL
};
1754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSizer_GetChildren",_kwnames
,&_argo0
))
1757 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1758 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
1759 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_GetChildren. Expected _wxSizer_p.");
1764 wxPy_BEGIN_ALLOW_THREADS
;
1765 _result
= (PyObject
*)wxSizer_GetChildren(_arg0
);
1767 wxPy_END_ALLOW_THREADS
;
1768 if (PyErr_Occurred()) return NULL
;
1770 _resultobj
= _result
;
1775 static void *SwigwxPySizerTowxSizer(void *ptr
) {
1778 src
= (wxPySizer
*) ptr
;
1779 dest
= (wxSizer
*) src
;
1780 return (void *) dest
;
1783 static void *SwigwxPySizerTowxObject(void *ptr
) {
1786 src
= (wxPySizer
*) ptr
;
1787 dest
= (wxObject
*) src
;
1788 return (void *) dest
;
1791 #define new_wxPySizer() (new wxPySizer())
1792 static PyObject
*_wrap_new_wxPySizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1793 PyObject
* _resultobj
;
1794 wxPySizer
* _result
;
1795 char *_kwnames
[] = { NULL
};
1799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPySizer",_kwnames
))
1802 wxPy_BEGIN_ALLOW_THREADS
;
1803 _result
= (wxPySizer
*)new_wxPySizer();
1805 wxPy_END_ALLOW_THREADS
;
1806 if (PyErr_Occurred()) return NULL
;
1808 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPySizer_p");
1809 _resultobj
= Py_BuildValue("s",_ptemp
);
1812 _resultobj
= Py_None
;
1817 #define wxPySizer__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1))
1818 static PyObject
*_wrap_wxPySizer__setSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1819 PyObject
* _resultobj
;
1823 PyObject
* _argo0
= 0;
1824 PyObject
* _obj1
= 0;
1825 PyObject
* _obj2
= 0;
1826 char *_kwnames
[] = { "self","self","_class", NULL
};
1829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPySizer__setSelf",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
1832 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1833 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPySizer_p")) {
1834 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPySizer__setSelf. Expected _wxPySizer_p.");
1845 wxPy_BEGIN_ALLOW_THREADS
;
1846 wxPySizer__setSelf(_arg0
,_arg1
,_arg2
);
1848 wxPy_END_ALLOW_THREADS
;
1849 if (PyErr_Occurred()) return NULL
;
1850 } Py_INCREF(Py_None
);
1851 _resultobj
= Py_None
;
1855 static void *SwigwxBoxSizerTowxSizer(void *ptr
) {
1858 src
= (wxBoxSizer
*) ptr
;
1859 dest
= (wxSizer
*) src
;
1860 return (void *) dest
;
1863 static void *SwigwxBoxSizerTowxObject(void *ptr
) {
1866 src
= (wxBoxSizer
*) ptr
;
1867 dest
= (wxObject
*) src
;
1868 return (void *) dest
;
1871 #define new_wxBoxSizer(_swigarg0) (new wxBoxSizer(_swigarg0))
1872 static PyObject
*_wrap_new_wxBoxSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1873 PyObject
* _resultobj
;
1874 wxBoxSizer
* _result
;
1875 int _arg0
= (int ) wxHORIZONTAL
;
1876 char *_kwnames
[] = { "orient", NULL
};
1880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxBoxSizer",_kwnames
,&_arg0
))
1883 wxPy_BEGIN_ALLOW_THREADS
;
1884 _result
= (wxBoxSizer
*)new_wxBoxSizer(_arg0
);
1886 wxPy_END_ALLOW_THREADS
;
1887 if (PyErr_Occurred()) return NULL
;
1889 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBoxSizer_p");
1890 _resultobj
= Py_BuildValue("s",_ptemp
);
1893 _resultobj
= Py_None
;
1898 #define wxBoxSizer_GetOrientation(_swigobj) (_swigobj->GetOrientation())
1899 static PyObject
*_wrap_wxBoxSizer_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1900 PyObject
* _resultobj
;
1903 PyObject
* _argo0
= 0;
1904 char *_kwnames
[] = { "self", NULL
};
1907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBoxSizer_GetOrientation",_kwnames
,&_argo0
))
1910 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1911 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBoxSizer_p")) {
1912 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBoxSizer_GetOrientation. Expected _wxBoxSizer_p.");
1917 wxPy_BEGIN_ALLOW_THREADS
;
1918 _result
= (int )wxBoxSizer_GetOrientation(_arg0
);
1920 wxPy_END_ALLOW_THREADS
;
1921 if (PyErr_Occurred()) return NULL
;
1922 } _resultobj
= Py_BuildValue("i",_result
);
1926 #define wxBoxSizer_RecalcSizes(_swigobj) (_swigobj->RecalcSizes())
1927 static PyObject
*_wrap_wxBoxSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1928 PyObject
* _resultobj
;
1930 PyObject
* _argo0
= 0;
1931 char *_kwnames
[] = { "self", NULL
};
1934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBoxSizer_RecalcSizes",_kwnames
,&_argo0
))
1937 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1938 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBoxSizer_p")) {
1939 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBoxSizer_RecalcSizes. Expected _wxBoxSizer_p.");
1944 wxPy_BEGIN_ALLOW_THREADS
;
1945 wxBoxSizer_RecalcSizes(_arg0
);
1947 wxPy_END_ALLOW_THREADS
;
1948 if (PyErr_Occurred()) return NULL
;
1949 } Py_INCREF(Py_None
);
1950 _resultobj
= Py_None
;
1954 #define wxBoxSizer_CalcMin(_swigobj) (_swigobj->CalcMin())
1955 static PyObject
*_wrap_wxBoxSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1956 PyObject
* _resultobj
;
1959 PyObject
* _argo0
= 0;
1960 char *_kwnames
[] = { "self", NULL
};
1964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBoxSizer_CalcMin",_kwnames
,&_argo0
))
1967 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1968 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBoxSizer_p")) {
1969 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBoxSizer_CalcMin. Expected _wxBoxSizer_p.");
1974 wxPy_BEGIN_ALLOW_THREADS
;
1975 _result
= new wxSize (wxBoxSizer_CalcMin(_arg0
));
1977 wxPy_END_ALLOW_THREADS
;
1978 if (PyErr_Occurred()) return NULL
;
1979 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
1980 _resultobj
= Py_BuildValue("s",_ptemp
);
1984 static void *SwigwxStaticBoxSizerTowxBoxSizer(void *ptr
) {
1985 wxStaticBoxSizer
*src
;
1987 src
= (wxStaticBoxSizer
*) ptr
;
1988 dest
= (wxBoxSizer
*) src
;
1989 return (void *) dest
;
1992 static void *SwigwxStaticBoxSizerTowxSizer(void *ptr
) {
1993 wxStaticBoxSizer
*src
;
1995 src
= (wxStaticBoxSizer
*) ptr
;
1996 dest
= (wxSizer
*) src
;
1997 return (void *) dest
;
2000 static void *SwigwxStaticBoxSizerTowxObject(void *ptr
) {
2001 wxStaticBoxSizer
*src
;
2003 src
= (wxStaticBoxSizer
*) ptr
;
2004 dest
= (wxObject
*) src
;
2005 return (void *) dest
;
2008 #define new_wxStaticBoxSizer(_swigarg0,_swigarg1) (new wxStaticBoxSizer(_swigarg0,_swigarg1))
2009 static PyObject
*_wrap_new_wxStaticBoxSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2010 PyObject
* _resultobj
;
2011 wxStaticBoxSizer
* _result
;
2012 wxStaticBox
* _arg0
;
2013 int _arg1
= (int ) wxHORIZONTAL
;
2014 PyObject
* _argo0
= 0;
2015 char *_kwnames
[] = { "box","orient", NULL
};
2019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:new_wxStaticBoxSizer",_kwnames
,&_argo0
,&_arg1
))
2022 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2023 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticBox_p")) {
2024 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxStaticBoxSizer. Expected _wxStaticBox_p.");
2029 wxPy_BEGIN_ALLOW_THREADS
;
2030 _result
= (wxStaticBoxSizer
*)new_wxStaticBoxSizer(_arg0
,_arg1
);
2032 wxPy_END_ALLOW_THREADS
;
2033 if (PyErr_Occurred()) return NULL
;
2035 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticBoxSizer_p");
2036 _resultobj
= Py_BuildValue("s",_ptemp
);
2039 _resultobj
= Py_None
;
2044 #define wxStaticBoxSizer_GetStaticBox(_swigobj) (_swigobj->GetStaticBox())
2045 static PyObject
*_wrap_wxStaticBoxSizer_GetStaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2046 PyObject
* _resultobj
;
2047 wxStaticBox
* _result
;
2048 wxStaticBoxSizer
* _arg0
;
2049 PyObject
* _argo0
= 0;
2050 char *_kwnames
[] = { "self", NULL
};
2053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStaticBoxSizer_GetStaticBox",_kwnames
,&_argo0
))
2056 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2057 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticBoxSizer_p")) {
2058 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticBoxSizer_GetStaticBox. Expected _wxStaticBoxSizer_p.");
2063 wxPy_BEGIN_ALLOW_THREADS
;
2064 _result
= (wxStaticBox
*)wxStaticBoxSizer_GetStaticBox(_arg0
);
2066 wxPy_END_ALLOW_THREADS
;
2067 if (PyErr_Occurred()) return NULL
;
2068 }{ _resultobj
= wxPyMake_wxObject(_result
); }
2072 #define wxStaticBoxSizer_RecalcSizes(_swigobj) (_swigobj->RecalcSizes())
2073 static PyObject
*_wrap_wxStaticBoxSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2074 PyObject
* _resultobj
;
2075 wxStaticBoxSizer
* _arg0
;
2076 PyObject
* _argo0
= 0;
2077 char *_kwnames
[] = { "self", NULL
};
2080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStaticBoxSizer_RecalcSizes",_kwnames
,&_argo0
))
2083 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2084 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticBoxSizer_p")) {
2085 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticBoxSizer_RecalcSizes. Expected _wxStaticBoxSizer_p.");
2090 wxPy_BEGIN_ALLOW_THREADS
;
2091 wxStaticBoxSizer_RecalcSizes(_arg0
);
2093 wxPy_END_ALLOW_THREADS
;
2094 if (PyErr_Occurred()) return NULL
;
2095 } Py_INCREF(Py_None
);
2096 _resultobj
= Py_None
;
2100 #define wxStaticBoxSizer_CalcMin(_swigobj) (_swigobj->CalcMin())
2101 static PyObject
*_wrap_wxStaticBoxSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2102 PyObject
* _resultobj
;
2104 wxStaticBoxSizer
* _arg0
;
2105 PyObject
* _argo0
= 0;
2106 char *_kwnames
[] = { "self", NULL
};
2110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStaticBoxSizer_CalcMin",_kwnames
,&_argo0
))
2113 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2114 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticBoxSizer_p")) {
2115 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticBoxSizer_CalcMin. Expected _wxStaticBoxSizer_p.");
2120 wxPy_BEGIN_ALLOW_THREADS
;
2121 _result
= new wxSize (wxStaticBoxSizer_CalcMin(_arg0
));
2123 wxPy_END_ALLOW_THREADS
;
2124 if (PyErr_Occurred()) return NULL
;
2125 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2126 _resultobj
= Py_BuildValue("s",_ptemp
);
2130 static void *SwigwxNotebookSizerTowxSizer(void *ptr
) {
2131 wxNotebookSizer
*src
;
2133 src
= (wxNotebookSizer
*) ptr
;
2134 dest
= (wxSizer
*) src
;
2135 return (void *) dest
;
2138 static void *SwigwxNotebookSizerTowxObject(void *ptr
) {
2139 wxNotebookSizer
*src
;
2141 src
= (wxNotebookSizer
*) ptr
;
2142 dest
= (wxObject
*) src
;
2143 return (void *) dest
;
2146 #define new_wxNotebookSizer(_swigarg0) (new wxNotebookSizer(_swigarg0))
2147 static PyObject
*_wrap_new_wxNotebookSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2148 PyObject
* _resultobj
;
2149 wxNotebookSizer
* _result
;
2151 PyObject
* _argo0
= 0;
2152 char *_kwnames
[] = { "nb", NULL
};
2156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxNotebookSizer",_kwnames
,&_argo0
))
2159 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2160 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
2161 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxNotebookSizer. Expected _wxNotebook_p.");
2166 wxPy_BEGIN_ALLOW_THREADS
;
2167 _result
= (wxNotebookSizer
*)new_wxNotebookSizer(_arg0
);
2169 wxPy_END_ALLOW_THREADS
;
2170 if (PyErr_Occurred()) return NULL
;
2172 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxNotebookSizer_p");
2173 _resultobj
= Py_BuildValue("s",_ptemp
);
2176 _resultobj
= Py_None
;
2181 #define wxNotebookSizer_RecalcSizes(_swigobj) (_swigobj->RecalcSizes())
2182 static PyObject
*_wrap_wxNotebookSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2183 PyObject
* _resultobj
;
2184 wxNotebookSizer
* _arg0
;
2185 PyObject
* _argo0
= 0;
2186 char *_kwnames
[] = { "self", NULL
};
2189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebookSizer_RecalcSizes",_kwnames
,&_argo0
))
2192 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2193 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebookSizer_p")) {
2194 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebookSizer_RecalcSizes. Expected _wxNotebookSizer_p.");
2199 wxPy_BEGIN_ALLOW_THREADS
;
2200 wxNotebookSizer_RecalcSizes(_arg0
);
2202 wxPy_END_ALLOW_THREADS
;
2203 if (PyErr_Occurred()) return NULL
;
2204 } Py_INCREF(Py_None
);
2205 _resultobj
= Py_None
;
2209 #define wxNotebookSizer_CalcMin(_swigobj) (_swigobj->CalcMin())
2210 static PyObject
*_wrap_wxNotebookSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2211 PyObject
* _resultobj
;
2213 wxNotebookSizer
* _arg0
;
2214 PyObject
* _argo0
= 0;
2215 char *_kwnames
[] = { "self", NULL
};
2219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebookSizer_CalcMin",_kwnames
,&_argo0
))
2222 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2223 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebookSizer_p")) {
2224 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebookSizer_CalcMin. Expected _wxNotebookSizer_p.");
2229 wxPy_BEGIN_ALLOW_THREADS
;
2230 _result
= new wxSize (wxNotebookSizer_CalcMin(_arg0
));
2232 wxPy_END_ALLOW_THREADS
;
2233 if (PyErr_Occurred()) return NULL
;
2234 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2235 _resultobj
= Py_BuildValue("s",_ptemp
);
2239 #define wxNotebookSizer_GetNotebook(_swigobj) (_swigobj->GetNotebook())
2240 static PyObject
*_wrap_wxNotebookSizer_GetNotebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2241 PyObject
* _resultobj
;
2242 wxNotebook
* _result
;
2243 wxNotebookSizer
* _arg0
;
2244 PyObject
* _argo0
= 0;
2245 char *_kwnames
[] = { "self", NULL
};
2248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebookSizer_GetNotebook",_kwnames
,&_argo0
))
2251 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2252 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebookSizer_p")) {
2253 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebookSizer_GetNotebook. Expected _wxNotebookSizer_p.");
2258 wxPy_BEGIN_ALLOW_THREADS
;
2259 _result
= (wxNotebook
*)wxNotebookSizer_GetNotebook(_arg0
);
2261 wxPy_END_ALLOW_THREADS
;
2262 if (PyErr_Occurred()) return NULL
;
2263 }{ _resultobj
= wxPyMake_wxObject(_result
); }
2267 static void *SwigwxGridSizerTowxSizer(void *ptr
) {
2270 src
= (wxGridSizer
*) ptr
;
2271 dest
= (wxSizer
*) src
;
2272 return (void *) dest
;
2275 static void *SwigwxGridSizerTowxObject(void *ptr
) {
2278 src
= (wxGridSizer
*) ptr
;
2279 dest
= (wxObject
*) src
;
2280 return (void *) dest
;
2283 #define new_wxGridSizer(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxGridSizer(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2284 static PyObject
*_wrap_new_wxGridSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2285 PyObject
* _resultobj
;
2286 wxGridSizer
* _result
;
2287 int _arg0
= (int ) 1;
2288 int _arg1
= (int ) 0;
2289 int _arg2
= (int ) 0;
2290 int _arg3
= (int ) 0;
2291 char *_kwnames
[] = { "rows","cols","vgap","hgap", NULL
};
2295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iiii:new_wxGridSizer",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))
2298 wxPy_BEGIN_ALLOW_THREADS
;
2299 _result
= (wxGridSizer
*)new_wxGridSizer(_arg0
,_arg1
,_arg2
,_arg3
);
2301 wxPy_END_ALLOW_THREADS
;
2302 if (PyErr_Occurred()) return NULL
;
2304 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridSizer_p");
2305 _resultobj
= Py_BuildValue("s",_ptemp
);
2308 _resultobj
= Py_None
;
2313 #define wxGridSizer_RecalcSizes(_swigobj) (_swigobj->RecalcSizes())
2314 static PyObject
*_wrap_wxGridSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2315 PyObject
* _resultobj
;
2316 wxGridSizer
* _arg0
;
2317 PyObject
* _argo0
= 0;
2318 char *_kwnames
[] = { "self", NULL
};
2321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridSizer_RecalcSizes",_kwnames
,&_argo0
))
2324 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2325 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridSizer_p")) {
2326 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridSizer_RecalcSizes. Expected _wxGridSizer_p.");
2331 wxPy_BEGIN_ALLOW_THREADS
;
2332 wxGridSizer_RecalcSizes(_arg0
);
2334 wxPy_END_ALLOW_THREADS
;
2335 if (PyErr_Occurred()) return NULL
;
2336 } Py_INCREF(Py_None
);
2337 _resultobj
= Py_None
;
2341 #define wxGridSizer_CalcMin(_swigobj) (_swigobj->CalcMin())
2342 static PyObject
*_wrap_wxGridSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2343 PyObject
* _resultobj
;
2345 wxGridSizer
* _arg0
;
2346 PyObject
* _argo0
= 0;
2347 char *_kwnames
[] = { "self", NULL
};
2351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridSizer_CalcMin",_kwnames
,&_argo0
))
2354 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2355 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridSizer_p")) {
2356 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridSizer_CalcMin. Expected _wxGridSizer_p.");
2361 wxPy_BEGIN_ALLOW_THREADS
;
2362 _result
= new wxSize (wxGridSizer_CalcMin(_arg0
));
2364 wxPy_END_ALLOW_THREADS
;
2365 if (PyErr_Occurred()) return NULL
;
2366 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2367 _resultobj
= Py_BuildValue("s",_ptemp
);
2371 #define wxGridSizer_SetCols(_swigobj,_swigarg0) (_swigobj->SetCols(_swigarg0))
2372 static PyObject
*_wrap_wxGridSizer_SetCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2373 PyObject
* _resultobj
;
2374 wxGridSizer
* _arg0
;
2376 PyObject
* _argo0
= 0;
2377 char *_kwnames
[] = { "self","cols", NULL
};
2380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridSizer_SetCols",_kwnames
,&_argo0
,&_arg1
))
2383 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2384 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridSizer_p")) {
2385 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridSizer_SetCols. Expected _wxGridSizer_p.");
2390 wxPy_BEGIN_ALLOW_THREADS
;
2391 wxGridSizer_SetCols(_arg0
,_arg1
);
2393 wxPy_END_ALLOW_THREADS
;
2394 if (PyErr_Occurred()) return NULL
;
2395 } Py_INCREF(Py_None
);
2396 _resultobj
= Py_None
;
2400 #define wxGridSizer_SetRows(_swigobj,_swigarg0) (_swigobj->SetRows(_swigarg0))
2401 static PyObject
*_wrap_wxGridSizer_SetRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2402 PyObject
* _resultobj
;
2403 wxGridSizer
* _arg0
;
2405 PyObject
* _argo0
= 0;
2406 char *_kwnames
[] = { "self","rows", NULL
};
2409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridSizer_SetRows",_kwnames
,&_argo0
,&_arg1
))
2412 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2413 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridSizer_p")) {
2414 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridSizer_SetRows. Expected _wxGridSizer_p.");
2419 wxPy_BEGIN_ALLOW_THREADS
;
2420 wxGridSizer_SetRows(_arg0
,_arg1
);
2422 wxPy_END_ALLOW_THREADS
;
2423 if (PyErr_Occurred()) return NULL
;
2424 } Py_INCREF(Py_None
);
2425 _resultobj
= Py_None
;
2429 #define wxGridSizer_SetVGap(_swigobj,_swigarg0) (_swigobj->SetVGap(_swigarg0))
2430 static PyObject
*_wrap_wxGridSizer_SetVGap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2431 PyObject
* _resultobj
;
2432 wxGridSizer
* _arg0
;
2434 PyObject
* _argo0
= 0;
2435 char *_kwnames
[] = { "self","gap", NULL
};
2438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridSizer_SetVGap",_kwnames
,&_argo0
,&_arg1
))
2441 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2442 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridSizer_p")) {
2443 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridSizer_SetVGap. Expected _wxGridSizer_p.");
2448 wxPy_BEGIN_ALLOW_THREADS
;
2449 wxGridSizer_SetVGap(_arg0
,_arg1
);
2451 wxPy_END_ALLOW_THREADS
;
2452 if (PyErr_Occurred()) return NULL
;
2453 } Py_INCREF(Py_None
);
2454 _resultobj
= Py_None
;
2458 #define wxGridSizer_SetHGap(_swigobj,_swigarg0) (_swigobj->SetHGap(_swigarg0))
2459 static PyObject
*_wrap_wxGridSizer_SetHGap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2460 PyObject
* _resultobj
;
2461 wxGridSizer
* _arg0
;
2463 PyObject
* _argo0
= 0;
2464 char *_kwnames
[] = { "self","gap", NULL
};
2467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridSizer_SetHGap",_kwnames
,&_argo0
,&_arg1
))
2470 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2471 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridSizer_p")) {
2472 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridSizer_SetHGap. Expected _wxGridSizer_p.");
2477 wxPy_BEGIN_ALLOW_THREADS
;
2478 wxGridSizer_SetHGap(_arg0
,_arg1
);
2480 wxPy_END_ALLOW_THREADS
;
2481 if (PyErr_Occurred()) return NULL
;
2482 } Py_INCREF(Py_None
);
2483 _resultobj
= Py_None
;
2487 #define wxGridSizer_GetCols(_swigobj) (_swigobj->GetCols())
2488 static PyObject
*_wrap_wxGridSizer_GetCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2489 PyObject
* _resultobj
;
2491 wxGridSizer
* _arg0
;
2492 PyObject
* _argo0
= 0;
2493 char *_kwnames
[] = { "self", NULL
};
2496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridSizer_GetCols",_kwnames
,&_argo0
))
2499 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2500 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridSizer_p")) {
2501 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridSizer_GetCols. Expected _wxGridSizer_p.");
2506 wxPy_BEGIN_ALLOW_THREADS
;
2507 _result
= (int )wxGridSizer_GetCols(_arg0
);
2509 wxPy_END_ALLOW_THREADS
;
2510 if (PyErr_Occurred()) return NULL
;
2511 } _resultobj
= Py_BuildValue("i",_result
);
2515 #define wxGridSizer_GetRows(_swigobj) (_swigobj->GetRows())
2516 static PyObject
*_wrap_wxGridSizer_GetRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2517 PyObject
* _resultobj
;
2519 wxGridSizer
* _arg0
;
2520 PyObject
* _argo0
= 0;
2521 char *_kwnames
[] = { "self", NULL
};
2524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridSizer_GetRows",_kwnames
,&_argo0
))
2527 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2528 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridSizer_p")) {
2529 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridSizer_GetRows. Expected _wxGridSizer_p.");
2534 wxPy_BEGIN_ALLOW_THREADS
;
2535 _result
= (int )wxGridSizer_GetRows(_arg0
);
2537 wxPy_END_ALLOW_THREADS
;
2538 if (PyErr_Occurred()) return NULL
;
2539 } _resultobj
= Py_BuildValue("i",_result
);
2543 #define wxGridSizer_GetVGap(_swigobj) (_swigobj->GetVGap())
2544 static PyObject
*_wrap_wxGridSizer_GetVGap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2545 PyObject
* _resultobj
;
2547 wxGridSizer
* _arg0
;
2548 PyObject
* _argo0
= 0;
2549 char *_kwnames
[] = { "self", NULL
};
2552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridSizer_GetVGap",_kwnames
,&_argo0
))
2555 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2556 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridSizer_p")) {
2557 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridSizer_GetVGap. Expected _wxGridSizer_p.");
2562 wxPy_BEGIN_ALLOW_THREADS
;
2563 _result
= (int )wxGridSizer_GetVGap(_arg0
);
2565 wxPy_END_ALLOW_THREADS
;
2566 if (PyErr_Occurred()) return NULL
;
2567 } _resultobj
= Py_BuildValue("i",_result
);
2571 #define wxGridSizer_GetHGap(_swigobj) (_swigobj->GetHGap())
2572 static PyObject
*_wrap_wxGridSizer_GetHGap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2573 PyObject
* _resultobj
;
2575 wxGridSizer
* _arg0
;
2576 PyObject
* _argo0
= 0;
2577 char *_kwnames
[] = { "self", NULL
};
2580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridSizer_GetHGap",_kwnames
,&_argo0
))
2583 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2584 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridSizer_p")) {
2585 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridSizer_GetHGap. Expected _wxGridSizer_p.");
2590 wxPy_BEGIN_ALLOW_THREADS
;
2591 _result
= (int )wxGridSizer_GetHGap(_arg0
);
2593 wxPy_END_ALLOW_THREADS
;
2594 if (PyErr_Occurred()) return NULL
;
2595 } _resultobj
= Py_BuildValue("i",_result
);
2599 static void *SwigwxFlexGridSizerTowxGridSizer(void *ptr
) {
2600 wxFlexGridSizer
*src
;
2602 src
= (wxFlexGridSizer
*) ptr
;
2603 dest
= (wxGridSizer
*) src
;
2604 return (void *) dest
;
2607 static void *SwigwxFlexGridSizerTowxSizer(void *ptr
) {
2608 wxFlexGridSizer
*src
;
2610 src
= (wxFlexGridSizer
*) ptr
;
2611 dest
= (wxSizer
*) src
;
2612 return (void *) dest
;
2615 static void *SwigwxFlexGridSizerTowxObject(void *ptr
) {
2616 wxFlexGridSizer
*src
;
2618 src
= (wxFlexGridSizer
*) ptr
;
2619 dest
= (wxObject
*) src
;
2620 return (void *) dest
;
2623 #define new_wxFlexGridSizer(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxFlexGridSizer(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2624 static PyObject
*_wrap_new_wxFlexGridSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2625 PyObject
* _resultobj
;
2626 wxFlexGridSizer
* _result
;
2627 int _arg0
= (int ) 1;
2628 int _arg1
= (int ) 0;
2629 int _arg2
= (int ) 0;
2630 int _arg3
= (int ) 0;
2631 char *_kwnames
[] = { "rows","cols","vgap","hgap", NULL
};
2635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iiii:new_wxFlexGridSizer",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))
2638 wxPy_BEGIN_ALLOW_THREADS
;
2639 _result
= (wxFlexGridSizer
*)new_wxFlexGridSizer(_arg0
,_arg1
,_arg2
,_arg3
);
2641 wxPy_END_ALLOW_THREADS
;
2642 if (PyErr_Occurred()) return NULL
;
2644 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFlexGridSizer_p");
2645 _resultobj
= Py_BuildValue("s",_ptemp
);
2648 _resultobj
= Py_None
;
2653 #define wxFlexGridSizer_RecalcSizes(_swigobj) (_swigobj->RecalcSizes())
2654 static PyObject
*_wrap_wxFlexGridSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2655 PyObject
* _resultobj
;
2656 wxFlexGridSizer
* _arg0
;
2657 PyObject
* _argo0
= 0;
2658 char *_kwnames
[] = { "self", NULL
};
2661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFlexGridSizer_RecalcSizes",_kwnames
,&_argo0
))
2664 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2665 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFlexGridSizer_p")) {
2666 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFlexGridSizer_RecalcSizes. Expected _wxFlexGridSizer_p.");
2671 wxPy_BEGIN_ALLOW_THREADS
;
2672 wxFlexGridSizer_RecalcSizes(_arg0
);
2674 wxPy_END_ALLOW_THREADS
;
2675 if (PyErr_Occurred()) return NULL
;
2676 } Py_INCREF(Py_None
);
2677 _resultobj
= Py_None
;
2681 #define wxFlexGridSizer_CalcMin(_swigobj) (_swigobj->CalcMin())
2682 static PyObject
*_wrap_wxFlexGridSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2683 PyObject
* _resultobj
;
2685 wxFlexGridSizer
* _arg0
;
2686 PyObject
* _argo0
= 0;
2687 char *_kwnames
[] = { "self", NULL
};
2691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFlexGridSizer_CalcMin",_kwnames
,&_argo0
))
2694 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2695 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFlexGridSizer_p")) {
2696 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFlexGridSizer_CalcMin. Expected _wxFlexGridSizer_p.");
2701 wxPy_BEGIN_ALLOW_THREADS
;
2702 _result
= new wxSize (wxFlexGridSizer_CalcMin(_arg0
));
2704 wxPy_END_ALLOW_THREADS
;
2705 if (PyErr_Occurred()) return NULL
;
2706 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2707 _resultobj
= Py_BuildValue("s",_ptemp
);
2711 #define wxFlexGridSizer_AddGrowableRow(_swigobj,_swigarg0) (_swigobj->AddGrowableRow(_swigarg0))
2712 static PyObject
*_wrap_wxFlexGridSizer_AddGrowableRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2713 PyObject
* _resultobj
;
2714 wxFlexGridSizer
* _arg0
;
2716 PyObject
* _argo0
= 0;
2717 char *_kwnames
[] = { "self","idx", NULL
};
2720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFlexGridSizer_AddGrowableRow",_kwnames
,&_argo0
,&_arg1
))
2723 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2724 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFlexGridSizer_p")) {
2725 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFlexGridSizer_AddGrowableRow. Expected _wxFlexGridSizer_p.");
2730 wxPy_BEGIN_ALLOW_THREADS
;
2731 wxFlexGridSizer_AddGrowableRow(_arg0
,_arg1
);
2733 wxPy_END_ALLOW_THREADS
;
2734 if (PyErr_Occurred()) return NULL
;
2735 } Py_INCREF(Py_None
);
2736 _resultobj
= Py_None
;
2740 #define wxFlexGridSizer_RemoveGrowableRow(_swigobj,_swigarg0) (_swigobj->RemoveGrowableRow(_swigarg0))
2741 static PyObject
*_wrap_wxFlexGridSizer_RemoveGrowableRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2742 PyObject
* _resultobj
;
2743 wxFlexGridSizer
* _arg0
;
2745 PyObject
* _argo0
= 0;
2746 char *_kwnames
[] = { "self","idx", NULL
};
2749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFlexGridSizer_RemoveGrowableRow",_kwnames
,&_argo0
,&_arg1
))
2752 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2753 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFlexGridSizer_p")) {
2754 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFlexGridSizer_RemoveGrowableRow. Expected _wxFlexGridSizer_p.");
2759 wxPy_BEGIN_ALLOW_THREADS
;
2760 wxFlexGridSizer_RemoveGrowableRow(_arg0
,_arg1
);
2762 wxPy_END_ALLOW_THREADS
;
2763 if (PyErr_Occurred()) return NULL
;
2764 } Py_INCREF(Py_None
);
2765 _resultobj
= Py_None
;
2769 #define wxFlexGridSizer_AddGrowableCol(_swigobj,_swigarg0) (_swigobj->AddGrowableCol(_swigarg0))
2770 static PyObject
*_wrap_wxFlexGridSizer_AddGrowableCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2771 PyObject
* _resultobj
;
2772 wxFlexGridSizer
* _arg0
;
2774 PyObject
* _argo0
= 0;
2775 char *_kwnames
[] = { "self","idx", NULL
};
2778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFlexGridSizer_AddGrowableCol",_kwnames
,&_argo0
,&_arg1
))
2781 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2782 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFlexGridSizer_p")) {
2783 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFlexGridSizer_AddGrowableCol. Expected _wxFlexGridSizer_p.");
2788 wxPy_BEGIN_ALLOW_THREADS
;
2789 wxFlexGridSizer_AddGrowableCol(_arg0
,_arg1
);
2791 wxPy_END_ALLOW_THREADS
;
2792 if (PyErr_Occurred()) return NULL
;
2793 } Py_INCREF(Py_None
);
2794 _resultobj
= Py_None
;
2798 #define wxFlexGridSizer_RemoveGrowableCol(_swigobj,_swigarg0) (_swigobj->RemoveGrowableCol(_swigarg0))
2799 static PyObject
*_wrap_wxFlexGridSizer_RemoveGrowableCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2800 PyObject
* _resultobj
;
2801 wxFlexGridSizer
* _arg0
;
2803 PyObject
* _argo0
= 0;
2804 char *_kwnames
[] = { "self","idx", NULL
};
2807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFlexGridSizer_RemoveGrowableCol",_kwnames
,&_argo0
,&_arg1
))
2810 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2811 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFlexGridSizer_p")) {
2812 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFlexGridSizer_RemoveGrowableCol. Expected _wxFlexGridSizer_p.");
2817 wxPy_BEGIN_ALLOW_THREADS
;
2818 wxFlexGridSizer_RemoveGrowableCol(_arg0
,_arg1
);
2820 wxPy_END_ALLOW_THREADS
;
2821 if (PyErr_Occurred()) return NULL
;
2822 } Py_INCREF(Py_None
);
2823 _resultobj
= Py_None
;
2827 static PyMethodDef sizerscMethods
[] = {
2828 { "wxFlexGridSizer_RemoveGrowableCol", (PyCFunction
) _wrap_wxFlexGridSizer_RemoveGrowableCol
, METH_VARARGS
| METH_KEYWORDS
},
2829 { "wxFlexGridSizer_AddGrowableCol", (PyCFunction
) _wrap_wxFlexGridSizer_AddGrowableCol
, METH_VARARGS
| METH_KEYWORDS
},
2830 { "wxFlexGridSizer_RemoveGrowableRow", (PyCFunction
) _wrap_wxFlexGridSizer_RemoveGrowableRow
, METH_VARARGS
| METH_KEYWORDS
},
2831 { "wxFlexGridSizer_AddGrowableRow", (PyCFunction
) _wrap_wxFlexGridSizer_AddGrowableRow
, METH_VARARGS
| METH_KEYWORDS
},
2832 { "wxFlexGridSizer_CalcMin", (PyCFunction
) _wrap_wxFlexGridSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
2833 { "wxFlexGridSizer_RecalcSizes", (PyCFunction
) _wrap_wxFlexGridSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
2834 { "new_wxFlexGridSizer", (PyCFunction
) _wrap_new_wxFlexGridSizer
, METH_VARARGS
| METH_KEYWORDS
},
2835 { "wxGridSizer_GetHGap", (PyCFunction
) _wrap_wxGridSizer_GetHGap
, METH_VARARGS
| METH_KEYWORDS
},
2836 { "wxGridSizer_GetVGap", (PyCFunction
) _wrap_wxGridSizer_GetVGap
, METH_VARARGS
| METH_KEYWORDS
},
2837 { "wxGridSizer_GetRows", (PyCFunction
) _wrap_wxGridSizer_GetRows
, METH_VARARGS
| METH_KEYWORDS
},
2838 { "wxGridSizer_GetCols", (PyCFunction
) _wrap_wxGridSizer_GetCols
, METH_VARARGS
| METH_KEYWORDS
},
2839 { "wxGridSizer_SetHGap", (PyCFunction
) _wrap_wxGridSizer_SetHGap
, METH_VARARGS
| METH_KEYWORDS
},
2840 { "wxGridSizer_SetVGap", (PyCFunction
) _wrap_wxGridSizer_SetVGap
, METH_VARARGS
| METH_KEYWORDS
},
2841 { "wxGridSizer_SetRows", (PyCFunction
) _wrap_wxGridSizer_SetRows
, METH_VARARGS
| METH_KEYWORDS
},
2842 { "wxGridSizer_SetCols", (PyCFunction
) _wrap_wxGridSizer_SetCols
, METH_VARARGS
| METH_KEYWORDS
},
2843 { "wxGridSizer_CalcMin", (PyCFunction
) _wrap_wxGridSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
2844 { "wxGridSizer_RecalcSizes", (PyCFunction
) _wrap_wxGridSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
2845 { "new_wxGridSizer", (PyCFunction
) _wrap_new_wxGridSizer
, METH_VARARGS
| METH_KEYWORDS
},
2846 { "wxNotebookSizer_GetNotebook", (PyCFunction
) _wrap_wxNotebookSizer_GetNotebook
, METH_VARARGS
| METH_KEYWORDS
},
2847 { "wxNotebookSizer_CalcMin", (PyCFunction
) _wrap_wxNotebookSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
2848 { "wxNotebookSizer_RecalcSizes", (PyCFunction
) _wrap_wxNotebookSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
2849 { "new_wxNotebookSizer", (PyCFunction
) _wrap_new_wxNotebookSizer
, METH_VARARGS
| METH_KEYWORDS
},
2850 { "wxStaticBoxSizer_CalcMin", (PyCFunction
) _wrap_wxStaticBoxSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
2851 { "wxStaticBoxSizer_RecalcSizes", (PyCFunction
) _wrap_wxStaticBoxSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
2852 { "wxStaticBoxSizer_GetStaticBox", (PyCFunction
) _wrap_wxStaticBoxSizer_GetStaticBox
, METH_VARARGS
| METH_KEYWORDS
},
2853 { "new_wxStaticBoxSizer", (PyCFunction
) _wrap_new_wxStaticBoxSizer
, METH_VARARGS
| METH_KEYWORDS
},
2854 { "wxBoxSizer_CalcMin", (PyCFunction
) _wrap_wxBoxSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
2855 { "wxBoxSizer_RecalcSizes", (PyCFunction
) _wrap_wxBoxSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
2856 { "wxBoxSizer_GetOrientation", (PyCFunction
) _wrap_wxBoxSizer_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
2857 { "new_wxBoxSizer", (PyCFunction
) _wrap_new_wxBoxSizer
, METH_VARARGS
| METH_KEYWORDS
},
2858 { "wxPySizer__setSelf", (PyCFunction
) _wrap_wxPySizer__setSelf
, METH_VARARGS
| METH_KEYWORDS
},
2859 { "new_wxPySizer", (PyCFunction
) _wrap_new_wxPySizer
, METH_VARARGS
| METH_KEYWORDS
},
2860 { "wxSizer_GetChildren", (PyCFunction
) _wrap_wxSizer_GetChildren
, METH_VARARGS
| METH_KEYWORDS
},
2861 { "wxSizer_SetSizeHints", (PyCFunction
) _wrap_wxSizer_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
},
2862 { "wxSizer_Fit", (PyCFunction
) _wrap_wxSizer_Fit
, METH_VARARGS
| METH_KEYWORDS
},
2863 { "wxSizer_Layout", (PyCFunction
) _wrap_wxSizer_Layout
, METH_VARARGS
| METH_KEYWORDS
},
2864 { "wxSizer_GetMinSize", (PyCFunction
) _wrap_wxSizer_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
2865 { "wxSizer_GetPosition", (PyCFunction
) _wrap_wxSizer_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
2866 { "wxSizer_GetSize", (PyCFunction
) _wrap_wxSizer_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
2867 { "wxSizer_SetItemMinSizePos", (PyCFunction
) _wrap_wxSizer_SetItemMinSizePos
, METH_VARARGS
| METH_KEYWORDS
},
2868 { "wxSizer_SetItemMinSizeSizer", (PyCFunction
) _wrap_wxSizer_SetItemMinSizeSizer
, METH_VARARGS
| METH_KEYWORDS
},
2869 { "wxSizer_SetItemMinSizeWindow", (PyCFunction
) _wrap_wxSizer_SetItemMinSizeWindow
, METH_VARARGS
| METH_KEYWORDS
},
2870 { "wxSizer_SetMinSize", (PyCFunction
) _wrap_wxSizer_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
2871 { "wxSizer_SetDimension", (PyCFunction
) _wrap_wxSizer_SetDimension
, METH_VARARGS
| METH_KEYWORDS
},
2872 { "wxSizer_RemovePos", (PyCFunction
) _wrap_wxSizer_RemovePos
, METH_VARARGS
| METH_KEYWORDS
},
2873 { "wxSizer_RemoveSizer", (PyCFunction
) _wrap_wxSizer_RemoveSizer
, METH_VARARGS
| METH_KEYWORDS
},
2874 { "wxSizer_RemoveWindow", (PyCFunction
) _wrap_wxSizer_RemoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
2875 { "wxSizer_PrependSpacer", (PyCFunction
) _wrap_wxSizer_PrependSpacer
, METH_VARARGS
| METH_KEYWORDS
},
2876 { "wxSizer_PrependSizer", (PyCFunction
) _wrap_wxSizer_PrependSizer
, METH_VARARGS
| METH_KEYWORDS
},
2877 { "wxSizer_PrependWindow", (PyCFunction
) _wrap_wxSizer_PrependWindow
, METH_VARARGS
| METH_KEYWORDS
},
2878 { "wxSizer_InsertSpacer", (PyCFunction
) _wrap_wxSizer_InsertSpacer
, METH_VARARGS
| METH_KEYWORDS
},
2879 { "wxSizer_InsertSizer", (PyCFunction
) _wrap_wxSizer_InsertSizer
, METH_VARARGS
| METH_KEYWORDS
},
2880 { "wxSizer_InsertWindow", (PyCFunction
) _wrap_wxSizer_InsertWindow
, METH_VARARGS
| METH_KEYWORDS
},
2881 { "wxSizer_AddSpacer", (PyCFunction
) _wrap_wxSizer_AddSpacer
, METH_VARARGS
| METH_KEYWORDS
},
2882 { "wxSizer_AddSizer", (PyCFunction
) _wrap_wxSizer_AddSizer
, METH_VARARGS
| METH_KEYWORDS
},
2883 { "wxSizer_AddWindow", (PyCFunction
) _wrap_wxSizer_AddWindow
, METH_VARARGS
| METH_KEYWORDS
},
2884 { "wxSizer_Destroy", (PyCFunction
) _wrap_wxSizer_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
2885 { "wxSizerItem_GetUserData", (PyCFunction
) _wrap_wxSizerItem_GetUserData
, METH_VARARGS
| METH_KEYWORDS
},
2886 { "wxSizerItem_SetBorder", (PyCFunction
) _wrap_wxSizerItem_SetBorder
, METH_VARARGS
| METH_KEYWORDS
},
2887 { "wxSizerItem_SetFlag", (PyCFunction
) _wrap_wxSizerItem_SetFlag
, METH_VARARGS
| METH_KEYWORDS
},
2888 { "wxSizerItem_SetOption", (PyCFunction
) _wrap_wxSizerItem_SetOption
, METH_VARARGS
| METH_KEYWORDS
},
2889 { "wxSizerItem_SetInitSize", (PyCFunction
) _wrap_wxSizerItem_SetInitSize
, METH_VARARGS
| METH_KEYWORDS
},
2890 { "wxSizerItem_GetBorder", (PyCFunction
) _wrap_wxSizerItem_GetBorder
, METH_VARARGS
| METH_KEYWORDS
},
2891 { "wxSizerItem_GetFlag", (PyCFunction
) _wrap_wxSizerItem_GetFlag
, METH_VARARGS
| METH_KEYWORDS
},
2892 { "wxSizerItem_GetOption", (PyCFunction
) _wrap_wxSizerItem_GetOption
, METH_VARARGS
| METH_KEYWORDS
},
2893 { "wxSizerItem_SetSizer", (PyCFunction
) _wrap_wxSizerItem_SetSizer
, METH_VARARGS
| METH_KEYWORDS
},
2894 { "wxSizerItem_GetSizer", (PyCFunction
) _wrap_wxSizerItem_GetSizer
, METH_VARARGS
| METH_KEYWORDS
},
2895 { "wxSizerItem_SetWindow", (PyCFunction
) _wrap_wxSizerItem_SetWindow
, METH_VARARGS
| METH_KEYWORDS
},
2896 { "wxSizerItem_GetWindow", (PyCFunction
) _wrap_wxSizerItem_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
2897 { "wxSizerItem_IsSpacer", (PyCFunction
) _wrap_wxSizerItem_IsSpacer
, METH_VARARGS
| METH_KEYWORDS
},
2898 { "wxSizerItem_IsSizer", (PyCFunction
) _wrap_wxSizerItem_IsSizer
, METH_VARARGS
| METH_KEYWORDS
},
2899 { "wxSizerItem_IsWindow", (PyCFunction
) _wrap_wxSizerItem_IsWindow
, METH_VARARGS
| METH_KEYWORDS
},
2900 { "wxSizerItem_GetRatio", (PyCFunction
) _wrap_wxSizerItem_GetRatio
, METH_VARARGS
| METH_KEYWORDS
},
2901 { "wxSizerItem_SetRatio", (PyCFunction
) _wrap_wxSizerItem_SetRatio
, METH_VARARGS
| METH_KEYWORDS
},
2902 { "wxSizerItem_SetRatioSize", (PyCFunction
) _wrap_wxSizerItem_SetRatioSize
, METH_VARARGS
| METH_KEYWORDS
},
2903 { "wxSizerItem_SetRatioWH", (PyCFunction
) _wrap_wxSizerItem_SetRatioWH
, METH_VARARGS
| METH_KEYWORDS
},
2904 { "wxSizerItem_SetDimension", (PyCFunction
) _wrap_wxSizerItem_SetDimension
, METH_VARARGS
| METH_KEYWORDS
},
2905 { "wxSizerItem_CalcMin", (PyCFunction
) _wrap_wxSizerItem_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
2906 { "wxSizerItem_GetSize", (PyCFunction
) _wrap_wxSizerItem_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
2913 * This table is used by the pointer type-checker
2915 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
2916 { "_signed_long","_long",0},
2917 { "_wxPrintQuality","_wxCoord",0},
2918 { "_wxPrintQuality","_int",0},
2919 { "_wxPrintQuality","_signed_int",0},
2920 { "_wxPrintQuality","_unsigned_int",0},
2921 { "_wxPrintQuality","_wxWindowID",0},
2922 { "_wxPrintQuality","_uint",0},
2923 { "_wxPrintQuality","_EBool",0},
2924 { "_wxPrintQuality","_size_t",0},
2925 { "_wxPrintQuality","_time_t",0},
2926 { "_byte","_unsigned_char",0},
2927 { "_long","_unsigned_long",0},
2928 { "_long","_signed_long",0},
2929 { "_class_wxSizer","_class_wxFlexGridSizer",SwigwxFlexGridSizerTowxSizer
},
2930 { "_class_wxSizer","_wxFlexGridSizer",SwigwxFlexGridSizerTowxSizer
},
2931 { "_class_wxSizer","_class_wxGridSizer",SwigwxGridSizerTowxSizer
},
2932 { "_class_wxSizer","_wxGridSizer",SwigwxGridSizerTowxSizer
},
2933 { "_class_wxSizer","_class_wxNotebookSizer",SwigwxNotebookSizerTowxSizer
},
2934 { "_class_wxSizer","_wxNotebookSizer",SwigwxNotebookSizerTowxSizer
},
2935 { "_class_wxSizer","_class_wxStaticBoxSizer",SwigwxStaticBoxSizerTowxSizer
},
2936 { "_class_wxSizer","_wxStaticBoxSizer",SwigwxStaticBoxSizerTowxSizer
},
2937 { "_class_wxSizer","_class_wxBoxSizer",SwigwxBoxSizerTowxSizer
},
2938 { "_class_wxSizer","_wxBoxSizer",SwigwxBoxSizerTowxSizer
},
2939 { "_class_wxSizer","_class_wxPySizer",SwigwxPySizerTowxSizer
},
2940 { "_class_wxSizer","_wxPySizer",SwigwxPySizerTowxSizer
},
2941 { "_wxGridSizer","_class_wxFlexGridSizer",SwigwxFlexGridSizerTowxGridSizer
},
2942 { "_wxGridSizer","_wxFlexGridSizer",SwigwxFlexGridSizerTowxGridSizer
},
2943 { "_class_wxObject","_class_wxFlexGridSizer",SwigwxFlexGridSizerTowxObject
},
2944 { "_class_wxObject","_wxFlexGridSizer",SwigwxFlexGridSizerTowxObject
},
2945 { "_class_wxObject","_class_wxGridSizer",SwigwxGridSizerTowxObject
},
2946 { "_class_wxObject","_wxGridSizer",SwigwxGridSizerTowxObject
},
2947 { "_class_wxObject","_class_wxNotebookSizer",SwigwxNotebookSizerTowxObject
},
2948 { "_class_wxObject","_wxNotebookSizer",SwigwxNotebookSizerTowxObject
},
2949 { "_class_wxObject","_class_wxStaticBoxSizer",SwigwxStaticBoxSizerTowxObject
},
2950 { "_class_wxObject","_wxStaticBoxSizer",SwigwxStaticBoxSizerTowxObject
},
2951 { "_class_wxObject","_class_wxBoxSizer",SwigwxBoxSizerTowxObject
},
2952 { "_class_wxObject","_wxBoxSizer",SwigwxBoxSizerTowxObject
},
2953 { "_class_wxObject","_class_wxPySizer",SwigwxPySizerTowxObject
},
2954 { "_class_wxObject","_wxPySizer",SwigwxPySizerTowxObject
},
2955 { "_class_wxObject","_class_wxSizer",SwigwxSizerTowxObject
},
2956 { "_class_wxObject","_wxSizer",SwigwxSizerTowxObject
},
2957 { "_class_wxObject","_class_wxSizerItem",SwigwxSizerItemTowxObject
},
2958 { "_class_wxObject","_wxSizerItem",SwigwxSizerItemTowxObject
},
2959 { "_size_t","_wxCoord",0},
2960 { "_size_t","_wxPrintQuality",0},
2961 { "_size_t","_time_t",0},
2962 { "_size_t","_unsigned_int",0},
2963 { "_size_t","_int",0},
2964 { "_size_t","_wxWindowID",0},
2965 { "_size_t","_uint",0},
2966 { "_uint","_wxCoord",0},
2967 { "_uint","_wxPrintQuality",0},
2968 { "_uint","_time_t",0},
2969 { "_uint","_size_t",0},
2970 { "_uint","_unsigned_int",0},
2971 { "_uint","_int",0},
2972 { "_uint","_wxWindowID",0},
2973 { "_wxChar","_char",0},
2974 { "_wxBoxSizer","_class_wxStaticBoxSizer",SwigwxStaticBoxSizerTowxBoxSizer
},
2975 { "_wxBoxSizer","_wxStaticBoxSizer",SwigwxStaticBoxSizerTowxBoxSizer
},
2976 { "_char","_wxChar",0},
2977 { "_EBool","_wxCoord",0},
2978 { "_EBool","_wxPrintQuality",0},
2979 { "_EBool","_signed_int",0},
2980 { "_EBool","_int",0},
2981 { "_EBool","_wxWindowID",0},
2982 { "_unsigned_long","_long",0},
2983 { "_signed_int","_wxCoord",0},
2984 { "_signed_int","_wxPrintQuality",0},
2985 { "_signed_int","_EBool",0},
2986 { "_signed_int","_wxWindowID",0},
2987 { "_signed_int","_int",0},
2988 { "_WXTYPE","_short",0},
2989 { "_WXTYPE","_signed_short",0},
2990 { "_WXTYPE","_unsigned_short",0},
2991 { "_unsigned_short","_WXTYPE",0},
2992 { "_unsigned_short","_short",0},
2993 { "_wxObject","_class_wxFlexGridSizer",SwigwxFlexGridSizerTowxObject
},
2994 { "_wxObject","_wxFlexGridSizer",SwigwxFlexGridSizerTowxObject
},
2995 { "_wxObject","_class_wxGridSizer",SwigwxGridSizerTowxObject
},
2996 { "_wxObject","_wxGridSizer",SwigwxGridSizerTowxObject
},
2997 { "_wxObject","_class_wxNotebookSizer",SwigwxNotebookSizerTowxObject
},
2998 { "_wxObject","_wxNotebookSizer",SwigwxNotebookSizerTowxObject
},
2999 { "_wxObject","_class_wxStaticBoxSizer",SwigwxStaticBoxSizerTowxObject
},
3000 { "_wxObject","_wxStaticBoxSizer",SwigwxStaticBoxSizerTowxObject
},
3001 { "_wxObject","_class_wxBoxSizer",SwigwxBoxSizerTowxObject
},
3002 { "_wxObject","_wxBoxSizer",SwigwxBoxSizerTowxObject
},
3003 { "_wxObject","_class_wxPySizer",SwigwxPySizerTowxObject
},
3004 { "_wxObject","_wxPySizer",SwigwxPySizerTowxObject
},
3005 { "_wxObject","_class_wxSizer",SwigwxSizerTowxObject
},
3006 { "_wxObject","_wxSizer",SwigwxSizerTowxObject
},
3007 { "_wxObject","_class_wxSizerItem",SwigwxSizerItemTowxObject
},
3008 { "_wxObject","_wxSizerItem",SwigwxSizerItemTowxObject
},
3009 { "_class_wxBoxSizer","_class_wxStaticBoxSizer",SwigwxStaticBoxSizerTowxBoxSizer
},
3010 { "_class_wxBoxSizer","_wxStaticBoxSizer",SwigwxStaticBoxSizerTowxBoxSizer
},
3011 { "_signed_short","_WXTYPE",0},
3012 { "_signed_short","_short",0},
3013 { "_unsigned_char","_byte",0},
3014 { "_unsigned_int","_wxCoord",0},
3015 { "_unsigned_int","_wxPrintQuality",0},
3016 { "_unsigned_int","_time_t",0},
3017 { "_unsigned_int","_size_t",0},
3018 { "_unsigned_int","_uint",0},
3019 { "_unsigned_int","_wxWindowID",0},
3020 { "_unsigned_int","_int",0},
3021 { "_short","_WXTYPE",0},
3022 { "_short","_unsigned_short",0},
3023 { "_short","_signed_short",0},
3024 { "_class_wxGridSizer","_class_wxFlexGridSizer",SwigwxFlexGridSizerTowxGridSizer
},
3025 { "_class_wxGridSizer","_wxFlexGridSizer",SwigwxFlexGridSizerTowxGridSizer
},
3026 { "_wxWindowID","_wxCoord",0},
3027 { "_wxWindowID","_wxPrintQuality",0},
3028 { "_wxWindowID","_time_t",0},
3029 { "_wxWindowID","_size_t",0},
3030 { "_wxWindowID","_EBool",0},
3031 { "_wxWindowID","_uint",0},
3032 { "_wxWindowID","_int",0},
3033 { "_wxWindowID","_signed_int",0},
3034 { "_wxWindowID","_unsigned_int",0},
3035 { "_int","_wxCoord",0},
3036 { "_int","_wxPrintQuality",0},
3037 { "_int","_time_t",0},
3038 { "_int","_size_t",0},
3039 { "_int","_EBool",0},
3040 { "_int","_uint",0},
3041 { "_int","_wxWindowID",0},
3042 { "_int","_unsigned_int",0},
3043 { "_int","_signed_int",0},
3044 { "_time_t","_wxCoord",0},
3045 { "_time_t","_wxPrintQuality",0},
3046 { "_time_t","_unsigned_int",0},
3047 { "_time_t","_int",0},
3048 { "_time_t","_wxWindowID",0},
3049 { "_time_t","_uint",0},
3050 { "_time_t","_size_t",0},
3051 { "_wxCoord","_int",0},
3052 { "_wxCoord","_signed_int",0},
3053 { "_wxCoord","_unsigned_int",0},
3054 { "_wxCoord","_wxWindowID",0},
3055 { "_wxCoord","_uint",0},
3056 { "_wxCoord","_EBool",0},
3057 { "_wxCoord","_size_t",0},
3058 { "_wxCoord","_time_t",0},
3059 { "_wxCoord","_wxPrintQuality",0},
3060 { "_wxSizer","_class_wxFlexGridSizer",SwigwxFlexGridSizerTowxSizer
},
3061 { "_wxSizer","_wxFlexGridSizer",SwigwxFlexGridSizerTowxSizer
},
3062 { "_wxSizer","_class_wxGridSizer",SwigwxGridSizerTowxSizer
},
3063 { "_wxSizer","_wxGridSizer",SwigwxGridSizerTowxSizer
},
3064 { "_wxSizer","_class_wxNotebookSizer",SwigwxNotebookSizerTowxSizer
},
3065 { "_wxSizer","_wxNotebookSizer",SwigwxNotebookSizerTowxSizer
},
3066 { "_wxSizer","_class_wxStaticBoxSizer",SwigwxStaticBoxSizerTowxSizer
},
3067 { "_wxSizer","_wxStaticBoxSizer",SwigwxStaticBoxSizerTowxSizer
},
3068 { "_wxSizer","_class_wxBoxSizer",SwigwxBoxSizerTowxSizer
},
3069 { "_wxSizer","_wxBoxSizer",SwigwxBoxSizerTowxSizer
},
3070 { "_wxSizer","_class_wxPySizer",SwigwxPySizerTowxSizer
},
3071 { "_wxSizer","_wxPySizer",SwigwxPySizerTowxSizer
},
3074 static PyObject
*SWIG_globals
;
3078 SWIGEXPORT(void) initsizersc() {
3080 SWIG_globals
= SWIG_newvarlink();
3081 m
= Py_InitModule("sizersc", sizerscMethods
);
3082 d
= PyModule_GetDict(m
);
3085 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
3086 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);