2 * FILE : src/msw/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 static PyObject
* l_output_helper(PyObject
* target
, PyObject
* o
) {
64 } else if (target
== Py_None
) {
68 if (!PyList_Check(target
)) {
70 target
= PyList_New(0);
71 PyList_Append(target
, o2
);
74 PyList_Append(target
,o
);
80 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
86 } else if (target
== Py_None
) {
90 if (!PyTuple_Check(target
)) {
92 target
= PyTuple_New(1);
93 PyTuple_SetItem(target
, 0, o2
);
96 PyTuple_SetItem(o3
, 0, o
);
99 target
= PySequence_Concat(o2
, o3
);
106 static char* wxStringErrorMsg
= "string type is required for parameter";
108 class wxPySizer
: public wxSizer
{
109 DECLARE_DYNAMIC_CLASS(wxPySizer
);
111 wxPySizer() : wxSizer() {};
113 DEC_PYCALLBACK___pure(RecalcSizes
);
114 DEC_PYCALLBACK_wxSize__pure(CalcMin
);
119 IMP_PYCALLBACK___pure(wxPySizer
, wxSizer
, RecalcSizes
);
120 IMP_PYCALLBACK_wxSize__pure(wxPySizer
, wxSizer
, CalcMin
);
122 IMPLEMENT_DYNAMIC_CLASS(wxPySizer
, wxSizer
);
126 #define wxSizerItem_GetSize(_swigobj) (_swigobj->GetSize())
127 static PyObject
*_wrap_wxSizerItem_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
128 PyObject
* _resultobj
;
131 PyObject
* _argo0
= 0;
132 char *_kwnames
[] = { "self", NULL
};
136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSizerItem_GetSize",_kwnames
,&_argo0
))
139 if (_argo0
== Py_None
) { _arg0
= NULL
; }
140 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizerItem_p")) {
141 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizerItem_GetSize. Expected _wxSizerItem_p.");
146 wxPy_BEGIN_ALLOW_THREADS
;
147 _result
= new wxSize (wxSizerItem_GetSize(_arg0
));
149 wxPy_END_ALLOW_THREADS
;
150 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
151 _resultobj
= Py_BuildValue("s",_ptemp
);
155 #define wxSizerItem_CalcMin(_swigobj) (_swigobj->CalcMin())
156 static PyObject
*_wrap_wxSizerItem_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
157 PyObject
* _resultobj
;
160 PyObject
* _argo0
= 0;
161 char *_kwnames
[] = { "self", NULL
};
165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSizerItem_CalcMin",_kwnames
,&_argo0
))
168 if (_argo0
== Py_None
) { _arg0
= NULL
; }
169 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizerItem_p")) {
170 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizerItem_CalcMin. Expected _wxSizerItem_p.");
175 wxPy_BEGIN_ALLOW_THREADS
;
176 _result
= new wxSize (wxSizerItem_CalcMin(_arg0
));
178 wxPy_END_ALLOW_THREADS
;
179 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
180 _resultobj
= Py_BuildValue("s",_ptemp
);
184 #define wxSizerItem_SetDimension(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDimension(_swigarg0,_swigarg1))
185 static PyObject
*_wrap_wxSizerItem_SetDimension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
186 PyObject
* _resultobj
;
190 PyObject
* _argo0
= 0;
192 PyObject
* _obj1
= 0;
194 PyObject
* _obj2
= 0;
195 char *_kwnames
[] = { "self","pos","size", NULL
};
198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxSizerItem_SetDimension",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
201 if (_argo0
== Py_None
) { _arg0
= NULL
; }
202 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizerItem_p")) {
203 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizerItem_SetDimension. Expected _wxSizerItem_p.");
209 if (! wxPoint_helper(_obj1
, &_arg1
))
214 if (! wxSize_helper(_obj2
, &_arg2
))
218 wxPy_BEGIN_ALLOW_THREADS
;
219 wxSizerItem_SetDimension(_arg0
,*_arg1
,*_arg2
);
221 wxPy_END_ALLOW_THREADS
;
222 } Py_INCREF(Py_None
);
223 _resultobj
= Py_None
;
227 #define wxSizerItem_SetRatioWH(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRatio(_swigarg0,_swigarg1))
228 static PyObject
*_wrap_wxSizerItem_SetRatioWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
229 PyObject
* _resultobj
;
233 PyObject
* _argo0
= 0;
234 char *_kwnames
[] = { "self","width","height", NULL
};
237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxSizerItem_SetRatioWH",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
240 if (_argo0
== Py_None
) { _arg0
= NULL
; }
241 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizerItem_p")) {
242 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizerItem_SetRatioWH. Expected _wxSizerItem_p.");
247 wxPy_BEGIN_ALLOW_THREADS
;
248 wxSizerItem_SetRatioWH(_arg0
,_arg1
,_arg2
);
250 wxPy_END_ALLOW_THREADS
;
251 } Py_INCREF(Py_None
);
252 _resultobj
= Py_None
;
256 #define wxSizerItem_SetRatioSize(_swigobj,_swigarg0) (_swigobj->SetRatio(_swigarg0))
257 static PyObject
*_wrap_wxSizerItem_SetRatioSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
258 PyObject
* _resultobj
;
261 PyObject
* _argo0
= 0;
263 PyObject
* _obj1
= 0;
264 char *_kwnames
[] = { "self","size", NULL
};
267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxSizerItem_SetRatioSize",_kwnames
,&_argo0
,&_obj1
))
270 if (_argo0
== Py_None
) { _arg0
= NULL
; }
271 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizerItem_p")) {
272 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizerItem_SetRatioSize. Expected _wxSizerItem_p.");
278 if (! wxSize_helper(_obj1
, &_arg1
))
282 wxPy_BEGIN_ALLOW_THREADS
;
283 wxSizerItem_SetRatioSize(_arg0
,*_arg1
);
285 wxPy_END_ALLOW_THREADS
;
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 } Py_INCREF(Py_None
);
315 _resultobj
= Py_None
;
319 #define wxSizerItem_GetRatio(_swigobj) (_swigobj->GetRatio())
320 static PyObject
*_wrap_wxSizerItem_GetRatio(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
321 PyObject
* _resultobj
;
324 PyObject
* _argo0
= 0;
325 char *_kwnames
[] = { "self", NULL
};
328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSizerItem_GetRatio",_kwnames
,&_argo0
))
331 if (_argo0
== Py_None
) { _arg0
= NULL
; }
332 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizerItem_p")) {
333 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizerItem_GetRatio. Expected _wxSizerItem_p.");
338 wxPy_BEGIN_ALLOW_THREADS
;
339 _result
= (float )wxSizerItem_GetRatio(_arg0
);
341 wxPy_END_ALLOW_THREADS
;
342 } _resultobj
= Py_BuildValue("f",_result
);
346 #define wxSizerItem_IsWindow(_swigobj) (_swigobj->IsWindow())
347 static PyObject
*_wrap_wxSizerItem_IsWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
348 PyObject
* _resultobj
;
351 PyObject
* _argo0
= 0;
352 char *_kwnames
[] = { "self", NULL
};
355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSizerItem_IsWindow",_kwnames
,&_argo0
))
358 if (_argo0
== Py_None
) { _arg0
= NULL
; }
359 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizerItem_p")) {
360 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizerItem_IsWindow. Expected _wxSizerItem_p.");
365 wxPy_BEGIN_ALLOW_THREADS
;
366 _result
= (bool )wxSizerItem_IsWindow(_arg0
);
368 wxPy_END_ALLOW_THREADS
;
369 } _resultobj
= Py_BuildValue("i",_result
);
373 #define wxSizerItem_IsSizer(_swigobj) (_swigobj->IsSizer())
374 static PyObject
*_wrap_wxSizerItem_IsSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
375 PyObject
* _resultobj
;
378 PyObject
* _argo0
= 0;
379 char *_kwnames
[] = { "self", NULL
};
382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSizerItem_IsSizer",_kwnames
,&_argo0
))
385 if (_argo0
== Py_None
) { _arg0
= NULL
; }
386 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizerItem_p")) {
387 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizerItem_IsSizer. Expected _wxSizerItem_p.");
392 wxPy_BEGIN_ALLOW_THREADS
;
393 _result
= (bool )wxSizerItem_IsSizer(_arg0
);
395 wxPy_END_ALLOW_THREADS
;
396 } _resultobj
= Py_BuildValue("i",_result
);
400 #define wxSizerItem_IsSpacer(_swigobj) (_swigobj->IsSpacer())
401 static PyObject
*_wrap_wxSizerItem_IsSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
402 PyObject
* _resultobj
;
405 PyObject
* _argo0
= 0;
406 char *_kwnames
[] = { "self", NULL
};
409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSizerItem_IsSpacer",_kwnames
,&_argo0
))
412 if (_argo0
== Py_None
) { _arg0
= NULL
; }
413 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizerItem_p")) {
414 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizerItem_IsSpacer. Expected _wxSizerItem_p.");
419 wxPy_BEGIN_ALLOW_THREADS
;
420 _result
= (bool )wxSizerItem_IsSpacer(_arg0
);
422 wxPy_END_ALLOW_THREADS
;
423 } _resultobj
= Py_BuildValue("i",_result
);
427 #define wxSizerItem_GetWindow(_swigobj) (_swigobj->GetWindow())
428 static PyObject
*_wrap_wxSizerItem_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
429 PyObject
* _resultobj
;
432 PyObject
* _argo0
= 0;
433 char *_kwnames
[] = { "self", NULL
};
437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSizerItem_GetWindow",_kwnames
,&_argo0
))
440 if (_argo0
== Py_None
) { _arg0
= NULL
; }
441 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizerItem_p")) {
442 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizerItem_GetWindow. Expected _wxSizerItem_p.");
447 wxPy_BEGIN_ALLOW_THREADS
;
448 _result
= (wxWindow
*)wxSizerItem_GetWindow(_arg0
);
450 wxPy_END_ALLOW_THREADS
;
452 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
453 _resultobj
= Py_BuildValue("s",_ptemp
);
456 _resultobj
= Py_None
;
461 #define wxSizerItem_SetWindow(_swigobj,_swigarg0) (_swigobj->SetWindow(_swigarg0))
462 static PyObject
*_wrap_wxSizerItem_SetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
463 PyObject
* _resultobj
;
466 PyObject
* _argo0
= 0;
467 PyObject
* _argo1
= 0;
468 char *_kwnames
[] = { "self","window", NULL
};
471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxSizerItem_SetWindow",_kwnames
,&_argo0
,&_argo1
))
474 if (_argo0
== Py_None
) { _arg0
= NULL
; }
475 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizerItem_p")) {
476 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizerItem_SetWindow. Expected _wxSizerItem_p.");
481 if (_argo1
== Py_None
) { _arg1
= NULL
; }
482 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
483 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSizerItem_SetWindow. Expected _wxWindow_p.");
488 wxPy_BEGIN_ALLOW_THREADS
;
489 wxSizerItem_SetWindow(_arg0
,_arg1
);
491 wxPy_END_ALLOW_THREADS
;
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
};
507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSizerItem_GetSizer",_kwnames
,&_argo0
))
510 if (_argo0
== Py_None
) { _arg0
= NULL
; }
511 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizerItem_p")) {
512 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizerItem_GetSizer. Expected _wxSizerItem_p.");
517 wxPy_BEGIN_ALLOW_THREADS
;
518 _result
= (wxSizer
*)wxSizerItem_GetSizer(_arg0
);
520 wxPy_END_ALLOW_THREADS
;
522 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSizer_p");
523 _resultobj
= Py_BuildValue("s",_ptemp
);
526 _resultobj
= Py_None
;
531 #define wxSizerItem_SetSizer(_swigobj,_swigarg0) (_swigobj->SetSizer(_swigarg0))
532 static PyObject
*_wrap_wxSizerItem_SetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
533 PyObject
* _resultobj
;
536 PyObject
* _argo0
= 0;
537 PyObject
* _argo1
= 0;
538 char *_kwnames
[] = { "self","sizer", NULL
};
541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxSizerItem_SetSizer",_kwnames
,&_argo0
,&_argo1
))
544 if (_argo0
== Py_None
) { _arg0
= NULL
; }
545 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizerItem_p")) {
546 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizerItem_SetSizer. Expected _wxSizerItem_p.");
551 if (_argo1
== Py_None
) { _arg1
= NULL
; }
552 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxSizer_p")) {
553 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSizerItem_SetSizer. Expected _wxSizer_p.");
558 wxPy_BEGIN_ALLOW_THREADS
;
559 wxSizerItem_SetSizer(_arg0
,_arg1
);
561 wxPy_END_ALLOW_THREADS
;
562 } Py_INCREF(Py_None
);
563 _resultobj
= Py_None
;
567 #define wxSizerItem_GetOption(_swigobj) (_swigobj->GetOption())
568 static PyObject
*_wrap_wxSizerItem_GetOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
569 PyObject
* _resultobj
;
572 PyObject
* _argo0
= 0;
573 char *_kwnames
[] = { "self", NULL
};
576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSizerItem_GetOption",_kwnames
,&_argo0
))
579 if (_argo0
== Py_None
) { _arg0
= NULL
; }
580 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizerItem_p")) {
581 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizerItem_GetOption. Expected _wxSizerItem_p.");
586 wxPy_BEGIN_ALLOW_THREADS
;
587 _result
= (int )wxSizerItem_GetOption(_arg0
);
589 wxPy_END_ALLOW_THREADS
;
590 } _resultobj
= Py_BuildValue("i",_result
);
594 #define wxSizerItem_GetFlag(_swigobj) (_swigobj->GetFlag())
595 static PyObject
*_wrap_wxSizerItem_GetFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
596 PyObject
* _resultobj
;
599 PyObject
* _argo0
= 0;
600 char *_kwnames
[] = { "self", NULL
};
603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSizerItem_GetFlag",_kwnames
,&_argo0
))
606 if (_argo0
== Py_None
) { _arg0
= NULL
; }
607 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizerItem_p")) {
608 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizerItem_GetFlag. Expected _wxSizerItem_p.");
613 wxPy_BEGIN_ALLOW_THREADS
;
614 _result
= (int )wxSizerItem_GetFlag(_arg0
);
616 wxPy_END_ALLOW_THREADS
;
617 } _resultobj
= Py_BuildValue("i",_result
);
621 #define wxSizerItem_GetBorder(_swigobj) (_swigobj->GetBorder())
622 static PyObject
*_wrap_wxSizerItem_GetBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
623 PyObject
* _resultobj
;
626 PyObject
* _argo0
= 0;
627 char *_kwnames
[] = { "self", NULL
};
630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSizerItem_GetBorder",_kwnames
,&_argo0
))
633 if (_argo0
== Py_None
) { _arg0
= NULL
; }
634 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizerItem_p")) {
635 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizerItem_GetBorder. Expected _wxSizerItem_p.");
640 wxPy_BEGIN_ALLOW_THREADS
;
641 _result
= (int )wxSizerItem_GetBorder(_arg0
);
643 wxPy_END_ALLOW_THREADS
;
644 } _resultobj
= Py_BuildValue("i",_result
);
648 #define wxSizerItem_SetInitSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetInitSize(_swigarg0,_swigarg1))
649 static PyObject
*_wrap_wxSizerItem_SetInitSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
650 PyObject
* _resultobj
;
654 PyObject
* _argo0
= 0;
655 char *_kwnames
[] = { "self","x","y", NULL
};
658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxSizerItem_SetInitSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
661 if (_argo0
== Py_None
) { _arg0
= NULL
; }
662 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizerItem_p")) {
663 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizerItem_SetInitSize. Expected _wxSizerItem_p.");
668 wxPy_BEGIN_ALLOW_THREADS
;
669 wxSizerItem_SetInitSize(_arg0
,_arg1
,_arg2
);
671 wxPy_END_ALLOW_THREADS
;
672 } Py_INCREF(Py_None
);
673 _resultobj
= Py_None
;
677 #define wxSizerItem_SetOption(_swigobj,_swigarg0) (_swigobj->SetOption(_swigarg0))
678 static PyObject
*_wrap_wxSizerItem_SetOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
679 PyObject
* _resultobj
;
682 PyObject
* _argo0
= 0;
683 char *_kwnames
[] = { "self","option", NULL
};
686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSizerItem_SetOption",_kwnames
,&_argo0
,&_arg1
))
689 if (_argo0
== Py_None
) { _arg0
= NULL
; }
690 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizerItem_p")) {
691 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizerItem_SetOption. Expected _wxSizerItem_p.");
696 wxPy_BEGIN_ALLOW_THREADS
;
697 wxSizerItem_SetOption(_arg0
,_arg1
);
699 wxPy_END_ALLOW_THREADS
;
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 } Py_INCREF(Py_None
);
729 _resultobj
= Py_None
;
733 #define wxSizerItem_SetBorder(_swigobj,_swigarg0) (_swigobj->SetBorder(_swigarg0))
734 static PyObject
*_wrap_wxSizerItem_SetBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
735 PyObject
* _resultobj
;
738 PyObject
* _argo0
= 0;
739 char *_kwnames
[] = { "self","border", NULL
};
742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSizerItem_SetBorder",_kwnames
,&_argo0
,&_arg1
))
745 if (_argo0
== Py_None
) { _arg0
= NULL
; }
746 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizerItem_p")) {
747 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizerItem_SetBorder. Expected _wxSizerItem_p.");
752 wxPy_BEGIN_ALLOW_THREADS
;
753 wxSizerItem_SetBorder(_arg0
,_arg1
);
755 wxPy_END_ALLOW_THREADS
;
756 } Py_INCREF(Py_None
);
757 _resultobj
= Py_None
;
761 static PyObject
* wxSizerItem_GetUserData(wxSizerItem
*self
) {
762 wxPyUserData
* data
= (wxPyUserData
*)self
->GetUserData();
764 Py_INCREF(data
->m_obj
);
771 static PyObject
*_wrap_wxSizerItem_GetUserData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
772 PyObject
* _resultobj
;
775 PyObject
* _argo0
= 0;
776 char *_kwnames
[] = { "self", NULL
};
779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSizerItem_GetUserData",_kwnames
,&_argo0
))
782 if (_argo0
== Py_None
) { _arg0
= NULL
; }
783 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizerItem_p")) {
784 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizerItem_GetUserData. Expected _wxSizerItem_p.");
789 wxPy_BEGIN_ALLOW_THREADS
;
790 _result
= (PyObject
*)wxSizerItem_GetUserData(_arg0
);
792 wxPy_END_ALLOW_THREADS
;
794 _resultobj
= _result
;
799 static void wxSizer_Destroy(wxSizer
*self
) { delete self
; }
800 static PyObject
*_wrap_wxSizer_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
801 PyObject
* _resultobj
;
803 PyObject
* _argo0
= 0;
804 char *_kwnames
[] = { "self", NULL
};
807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSizer_Destroy",_kwnames
,&_argo0
))
810 if (_argo0
== Py_None
) { _arg0
= NULL
; }
811 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
812 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_Destroy. Expected _wxSizer_p.");
817 wxPy_BEGIN_ALLOW_THREADS
;
818 wxSizer_Destroy(_arg0
);
820 wxPy_END_ALLOW_THREADS
;
821 } Py_INCREF(Py_None
);
822 _resultobj
= Py_None
;
826 static void wxSizer_AddWindow(wxSizer
*self
,wxWindow
* window
,int option
,int flag
,int border
,PyObject
* userData
) {
827 wxPyUserData
* data
= NULL
;
828 if (userData
) data
= new wxPyUserData(userData
);
829 self
->Add(window
, option
, flag
, border
, data
);
831 static PyObject
*_wrap_wxSizer_AddWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
832 PyObject
* _resultobj
;
835 int _arg2
= (int ) 0;
836 int _arg3
= (int ) 0;
837 int _arg4
= (int ) 0;
838 PyObject
* _arg5
= (PyObject
*) NULL
;
839 PyObject
* _argo0
= 0;
840 PyObject
* _argo1
= 0;
841 PyObject
* _obj5
= 0;
842 char *_kwnames
[] = { "self","window","option","flag","border","userData", NULL
};
845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iiiO:wxSizer_AddWindow",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_obj5
))
848 if (_argo0
== Py_None
) { _arg0
= NULL
; }
849 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
850 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_AddWindow. Expected _wxSizer_p.");
855 if (_argo1
== Py_None
) { _arg1
= NULL
; }
856 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
857 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSizer_AddWindow. Expected _wxWindow_p.");
866 wxPy_BEGIN_ALLOW_THREADS
;
867 wxSizer_AddWindow(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
869 wxPy_END_ALLOW_THREADS
;
870 } Py_INCREF(Py_None
);
871 _resultobj
= Py_None
;
875 static void wxSizer_AddSizer(wxSizer
*self
,wxSizer
* sizer
,int option
,int flag
,int border
,PyObject
* userData
) {
876 wxPyUserData
* data
= NULL
;
877 if (userData
) data
= new wxPyUserData(userData
);
878 self
->Add(sizer
, option
, flag
, border
, data
);
880 static PyObject
*_wrap_wxSizer_AddSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
881 PyObject
* _resultobj
;
884 int _arg2
= (int ) 0;
885 int _arg3
= (int ) 0;
886 int _arg4
= (int ) 0;
887 PyObject
* _arg5
= (PyObject
*) NULL
;
888 PyObject
* _argo0
= 0;
889 PyObject
* _argo1
= 0;
890 PyObject
* _obj5
= 0;
891 char *_kwnames
[] = { "self","sizer","option","flag","border","userData", NULL
};
894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iiiO:wxSizer_AddSizer",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_obj5
))
897 if (_argo0
== Py_None
) { _arg0
= NULL
; }
898 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
899 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_AddSizer. Expected _wxSizer_p.");
904 if (_argo1
== Py_None
) { _arg1
= NULL
; }
905 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxSizer_p")) {
906 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSizer_AddSizer. Expected _wxSizer_p.");
915 wxPy_BEGIN_ALLOW_THREADS
;
916 wxSizer_AddSizer(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
918 wxPy_END_ALLOW_THREADS
;
919 } Py_INCREF(Py_None
);
920 _resultobj
= Py_None
;
924 static void wxSizer_AddSpacer(wxSizer
*self
,int width
,int height
,int option
,int flag
,int border
,PyObject
* userData
) {
925 wxPyUserData
* data
= NULL
;
926 if (userData
) data
= new wxPyUserData(userData
);
927 self
->Add(width
, height
, option
, flag
, border
, data
);
929 static PyObject
*_wrap_wxSizer_AddSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
930 PyObject
* _resultobj
;
934 int _arg3
= (int ) 0;
935 int _arg4
= (int ) 0;
936 int _arg5
= (int ) 0;
937 PyObject
* _arg6
= (PyObject
*) NULL
;
938 PyObject
* _argo0
= 0;
939 PyObject
* _obj6
= 0;
940 char *_kwnames
[] = { "self","width","height","option","flag","border","userData", NULL
};
943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|iiiO:wxSizer_AddSpacer",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_obj6
))
946 if (_argo0
== Py_None
) { _arg0
= NULL
; }
947 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
948 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_AddSpacer. Expected _wxSizer_p.");
957 wxPy_BEGIN_ALLOW_THREADS
;
958 wxSizer_AddSpacer(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
960 wxPy_END_ALLOW_THREADS
;
961 } Py_INCREF(Py_None
);
962 _resultobj
= Py_None
;
966 static void wxSizer_InsertWindow(wxSizer
*self
,int before
,wxWindow
* window
,int option
,int flag
,int border
,PyObject
* userData
) {
967 wxPyUserData
* data
= NULL
;
968 if (userData
) data
= new wxPyUserData(userData
);
969 self
->Insert(before
, window
, option
, flag
, border
, data
);
971 static PyObject
*_wrap_wxSizer_InsertWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
972 PyObject
* _resultobj
;
976 int _arg3
= (int ) 0;
977 int _arg4
= (int ) 0;
978 int _arg5
= (int ) 0;
979 PyObject
* _arg6
= (PyObject
*) NULL
;
980 PyObject
* _argo0
= 0;
981 PyObject
* _argo2
= 0;
982 PyObject
* _obj6
= 0;
983 char *_kwnames
[] = { "self","before","window","option","flag","border","userData", NULL
};
986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|iiiO:wxSizer_InsertWindow",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_arg3
,&_arg4
,&_arg5
,&_obj6
))
989 if (_argo0
== Py_None
) { _arg0
= NULL
; }
990 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
991 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_InsertWindow. Expected _wxSizer_p.");
996 if (_argo2
== Py_None
) { _arg2
= NULL
; }
997 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
998 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxSizer_InsertWindow. Expected _wxWindow_p.");
1007 wxPy_BEGIN_ALLOW_THREADS
;
1008 wxSizer_InsertWindow(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
1010 wxPy_END_ALLOW_THREADS
;
1011 } Py_INCREF(Py_None
);
1012 _resultobj
= Py_None
;
1016 static void wxSizer_InsertSizer(wxSizer
*self
,int before
,wxSizer
* sizer
,int option
,int flag
,int border
,PyObject
* userData
) {
1017 wxPyUserData
* data
= NULL
;
1018 if (userData
) data
= new wxPyUserData(userData
);
1019 self
->Insert(before
, sizer
, option
, flag
, border
, data
);
1021 static PyObject
*_wrap_wxSizer_InsertSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1022 PyObject
* _resultobj
;
1026 int _arg3
= (int ) 0;
1027 int _arg4
= (int ) 0;
1028 int _arg5
= (int ) 0;
1029 PyObject
* _arg6
= (PyObject
*) NULL
;
1030 PyObject
* _argo0
= 0;
1031 PyObject
* _argo2
= 0;
1032 PyObject
* _obj6
= 0;
1033 char *_kwnames
[] = { "self","before","sizer","option","flag","border","userData", NULL
};
1036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|iiiO:wxSizer_InsertSizer",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_arg3
,&_arg4
,&_arg5
,&_obj6
))
1039 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1040 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
1041 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_InsertSizer. Expected _wxSizer_p.");
1046 if (_argo2
== Py_None
) { _arg2
= NULL
; }
1047 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxSizer_p")) {
1048 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxSizer_InsertSizer. Expected _wxSizer_p.");
1057 wxPy_BEGIN_ALLOW_THREADS
;
1058 wxSizer_InsertSizer(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
1060 wxPy_END_ALLOW_THREADS
;
1061 } Py_INCREF(Py_None
);
1062 _resultobj
= Py_None
;
1066 static void wxSizer_InsertSpacer(wxSizer
*self
,int before
,int width
,int height
,int option
,int flag
,int border
,PyObject
* userData
) {
1067 wxPyUserData
* data
= NULL
;
1068 if (userData
) data
= new wxPyUserData(userData
);
1069 self
->Insert(before
, width
, height
, option
, flag
, border
, data
);
1071 static PyObject
*_wrap_wxSizer_InsertSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1072 PyObject
* _resultobj
;
1077 int _arg4
= (int ) 0;
1078 int _arg5
= (int ) 0;
1079 int _arg6
= (int ) 0;
1080 PyObject
* _arg7
= (PyObject
*) NULL
;
1081 PyObject
* _argo0
= 0;
1082 PyObject
* _obj7
= 0;
1083 char *_kwnames
[] = { "self","before","width","height","option","flag","border","userData", NULL
};
1086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiii|iiiO:wxSizer_InsertSpacer",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
,&_obj7
))
1089 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1090 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
1091 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_InsertSpacer. Expected _wxSizer_p.");
1100 wxPy_BEGIN_ALLOW_THREADS
;
1101 wxSizer_InsertSpacer(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
);
1103 wxPy_END_ALLOW_THREADS
;
1104 } Py_INCREF(Py_None
);
1105 _resultobj
= Py_None
;
1109 static void wxSizer_PrependWindow(wxSizer
*self
,wxWindow
* window
,int option
,int flag
,int border
,PyObject
* userData
) {
1110 wxPyUserData
* data
= NULL
;
1111 if (userData
) data
= new wxPyUserData(userData
);
1112 self
->Prepend(window
, option
, flag
, border
, data
);
1114 static PyObject
*_wrap_wxSizer_PrependWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1115 PyObject
* _resultobj
;
1118 int _arg2
= (int ) 0;
1119 int _arg3
= (int ) 0;
1120 int _arg4
= (int ) 0;
1121 PyObject
* _arg5
= (PyObject
*) NULL
;
1122 PyObject
* _argo0
= 0;
1123 PyObject
* _argo1
= 0;
1124 PyObject
* _obj5
= 0;
1125 char *_kwnames
[] = { "self","window","option","flag","border","userData", NULL
};
1128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iiiO:wxSizer_PrependWindow",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_obj5
))
1131 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1132 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
1133 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_PrependWindow. Expected _wxSizer_p.");
1138 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1139 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1140 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSizer_PrependWindow. Expected _wxWindow_p.");
1149 wxPy_BEGIN_ALLOW_THREADS
;
1150 wxSizer_PrependWindow(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
1152 wxPy_END_ALLOW_THREADS
;
1153 } Py_INCREF(Py_None
);
1154 _resultobj
= Py_None
;
1158 static void wxSizer_PrependSizer(wxSizer
*self
,wxSizer
* sizer
,int option
,int flag
,int border
,PyObject
* userData
) {
1159 wxPyUserData
* data
= NULL
;
1160 if (userData
) data
= new wxPyUserData(userData
);
1161 self
->Prepend(sizer
, option
, flag
, border
, data
);
1163 static PyObject
*_wrap_wxSizer_PrependSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1164 PyObject
* _resultobj
;
1167 int _arg2
= (int ) 0;
1168 int _arg3
= (int ) 0;
1169 int _arg4
= (int ) 0;
1170 PyObject
* _arg5
= (PyObject
*) NULL
;
1171 PyObject
* _argo0
= 0;
1172 PyObject
* _argo1
= 0;
1173 PyObject
* _obj5
= 0;
1174 char *_kwnames
[] = { "self","sizer","option","flag","border","userData", NULL
};
1177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iiiO:wxSizer_PrependSizer",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_obj5
))
1180 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1181 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
1182 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_PrependSizer. Expected _wxSizer_p.");
1187 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1188 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxSizer_p")) {
1189 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSizer_PrependSizer. Expected _wxSizer_p.");
1198 wxPy_BEGIN_ALLOW_THREADS
;
1199 wxSizer_PrependSizer(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
1201 wxPy_END_ALLOW_THREADS
;
1202 } Py_INCREF(Py_None
);
1203 _resultobj
= Py_None
;
1207 static void wxSizer_PrependSpacer(wxSizer
*self
,int width
,int height
,int option
,int flag
,int border
,PyObject
* userData
) {
1208 wxPyUserData
* data
= NULL
;
1209 if (userData
) data
= new wxPyUserData(userData
);
1210 self
->Prepend(width
, height
, option
, flag
, border
, data
);
1212 static PyObject
*_wrap_wxSizer_PrependSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1213 PyObject
* _resultobj
;
1217 int _arg3
= (int ) 0;
1218 int _arg4
= (int ) 0;
1219 int _arg5
= (int ) 0;
1220 PyObject
* _arg6
= (PyObject
*) NULL
;
1221 PyObject
* _argo0
= 0;
1222 PyObject
* _obj6
= 0;
1223 char *_kwnames
[] = { "self","width","height","option","flag","border","userData", NULL
};
1226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|iiiO:wxSizer_PrependSpacer",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_obj6
))
1229 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1230 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
1231 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_PrependSpacer. Expected _wxSizer_p.");
1240 wxPy_BEGIN_ALLOW_THREADS
;
1241 wxSizer_PrependSpacer(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
1243 wxPy_END_ALLOW_THREADS
;
1244 } Py_INCREF(Py_None
);
1245 _resultobj
= Py_None
;
1249 #define wxSizer_RemoveWindow(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
1250 static PyObject
*_wrap_wxSizer_RemoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1251 PyObject
* _resultobj
;
1255 PyObject
* _argo0
= 0;
1256 PyObject
* _argo1
= 0;
1257 char *_kwnames
[] = { "self","window", NULL
};
1260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxSizer_RemoveWindow",_kwnames
,&_argo0
,&_argo1
))
1263 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1264 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
1265 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_RemoveWindow. Expected _wxSizer_p.");
1270 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1271 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1272 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSizer_RemoveWindow. Expected _wxWindow_p.");
1277 wxPy_BEGIN_ALLOW_THREADS
;
1278 _result
= (bool )wxSizer_RemoveWindow(_arg0
,_arg1
);
1280 wxPy_END_ALLOW_THREADS
;
1281 } _resultobj
= Py_BuildValue("i",_result
);
1285 #define wxSizer_RemoveSizer(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
1286 static PyObject
*_wrap_wxSizer_RemoveSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1287 PyObject
* _resultobj
;
1291 PyObject
* _argo0
= 0;
1292 PyObject
* _argo1
= 0;
1293 char *_kwnames
[] = { "self","sizer", NULL
};
1296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxSizer_RemoveSizer",_kwnames
,&_argo0
,&_argo1
))
1299 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1300 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
1301 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_RemoveSizer. Expected _wxSizer_p.");
1306 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1307 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxSizer_p")) {
1308 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSizer_RemoveSizer. Expected _wxSizer_p.");
1313 wxPy_BEGIN_ALLOW_THREADS
;
1314 _result
= (bool )wxSizer_RemoveSizer(_arg0
,_arg1
);
1316 wxPy_END_ALLOW_THREADS
;
1317 } _resultobj
= Py_BuildValue("i",_result
);
1321 #define wxSizer_RemovePos(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
1322 static PyObject
*_wrap_wxSizer_RemovePos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1323 PyObject
* _resultobj
;
1327 PyObject
* _argo0
= 0;
1328 char *_kwnames
[] = { "self","pos", NULL
};
1331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSizer_RemovePos",_kwnames
,&_argo0
,&_arg1
))
1334 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1335 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
1336 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_RemovePos. Expected _wxSizer_p.");
1341 wxPy_BEGIN_ALLOW_THREADS
;
1342 _result
= (bool )wxSizer_RemovePos(_arg0
,_arg1
);
1344 wxPy_END_ALLOW_THREADS
;
1345 } _resultobj
= Py_BuildValue("i",_result
);
1349 #define wxSizer_SetDimension(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetDimension(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1350 static PyObject
*_wrap_wxSizer_SetDimension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1351 PyObject
* _resultobj
;
1357 PyObject
* _argo0
= 0;
1358 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
1361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii:wxSizer_SetDimension",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
1364 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1365 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
1366 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_SetDimension. Expected _wxSizer_p.");
1371 wxPy_BEGIN_ALLOW_THREADS
;
1372 wxSizer_SetDimension(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
1374 wxPy_END_ALLOW_THREADS
;
1375 } Py_INCREF(Py_None
);
1376 _resultobj
= Py_None
;
1380 #define wxSizer_SetMinSize(_swigobj,_swigarg0) (_swigobj->SetMinSize(_swigarg0))
1381 static PyObject
*_wrap_wxSizer_SetMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1382 PyObject
* _resultobj
;
1385 PyObject
* _argo0
= 0;
1387 PyObject
* _obj1
= 0;
1388 char *_kwnames
[] = { "self","size", NULL
};
1391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxSizer_SetMinSize",_kwnames
,&_argo0
,&_obj1
))
1394 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1395 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
1396 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_SetMinSize. Expected _wxSizer_p.");
1402 if (! wxSize_helper(_obj1
, &_arg1
))
1406 wxPy_BEGIN_ALLOW_THREADS
;
1407 wxSizer_SetMinSize(_arg0
,*_arg1
);
1409 wxPy_END_ALLOW_THREADS
;
1410 } Py_INCREF(Py_None
);
1411 _resultobj
= Py_None
;
1415 #define wxSizer_SetItemMinSizeWindow(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemMinSize(_swigarg0,_swigarg1,_swigarg2))
1416 static PyObject
*_wrap_wxSizer_SetItemMinSizeWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1417 PyObject
* _resultobj
;
1422 PyObject
* _argo0
= 0;
1423 PyObject
* _argo1
= 0;
1424 char *_kwnames
[] = { "self","window","width","height", NULL
};
1427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxSizer_SetItemMinSizeWindow",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
1430 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1431 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
1432 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_SetItemMinSizeWindow. Expected _wxSizer_p.");
1437 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1438 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1439 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSizer_SetItemMinSizeWindow. Expected _wxWindow_p.");
1444 wxPy_BEGIN_ALLOW_THREADS
;
1445 wxSizer_SetItemMinSizeWindow(_arg0
,_arg1
,_arg2
,_arg3
);
1447 wxPy_END_ALLOW_THREADS
;
1448 } Py_INCREF(Py_None
);
1449 _resultobj
= Py_None
;
1453 #define wxSizer_SetItemMinSizeSizer(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemMinSize(_swigarg0,_swigarg1,_swigarg2))
1454 static PyObject
*_wrap_wxSizer_SetItemMinSizeSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1455 PyObject
* _resultobj
;
1460 PyObject
* _argo0
= 0;
1461 PyObject
* _argo1
= 0;
1462 char *_kwnames
[] = { "self","sizer","width","height", NULL
};
1465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxSizer_SetItemMinSizeSizer",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
1468 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1469 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
1470 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_SetItemMinSizeSizer. Expected _wxSizer_p.");
1475 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1476 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxSizer_p")) {
1477 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSizer_SetItemMinSizeSizer. Expected _wxSizer_p.");
1482 wxPy_BEGIN_ALLOW_THREADS
;
1483 wxSizer_SetItemMinSizeSizer(_arg0
,_arg1
,_arg2
,_arg3
);
1485 wxPy_END_ALLOW_THREADS
;
1486 } Py_INCREF(Py_None
);
1487 _resultobj
= Py_None
;
1491 #define wxSizer_SetItemMinSizePos(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemMinSize(_swigarg0,_swigarg1,_swigarg2))
1492 static PyObject
*_wrap_wxSizer_SetItemMinSizePos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1493 PyObject
* _resultobj
;
1498 PyObject
* _argo0
= 0;
1499 char *_kwnames
[] = { "self","pos","width","height", NULL
};
1502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiii:wxSizer_SetItemMinSizePos",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
1505 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1506 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
1507 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_SetItemMinSizePos. Expected _wxSizer_p.");
1512 wxPy_BEGIN_ALLOW_THREADS
;
1513 wxSizer_SetItemMinSizePos(_arg0
,_arg1
,_arg2
,_arg3
);
1515 wxPy_END_ALLOW_THREADS
;
1516 } Py_INCREF(Py_None
);
1517 _resultobj
= Py_None
;
1521 #define wxSizer_GetSize(_swigobj) (_swigobj->GetSize())
1522 static PyObject
*_wrap_wxSizer_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1523 PyObject
* _resultobj
;
1526 PyObject
* _argo0
= 0;
1527 char *_kwnames
[] = { "self", NULL
};
1531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSizer_GetSize",_kwnames
,&_argo0
))
1534 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1535 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
1536 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_GetSize. Expected _wxSizer_p.");
1541 wxPy_BEGIN_ALLOW_THREADS
;
1542 _result
= new wxSize (wxSizer_GetSize(_arg0
));
1544 wxPy_END_ALLOW_THREADS
;
1545 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
1546 _resultobj
= Py_BuildValue("s",_ptemp
);
1550 #define wxSizer_GetPosition(_swigobj) (_swigobj->GetPosition())
1551 static PyObject
*_wrap_wxSizer_GetPosition(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_GetPosition",_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_GetPosition. Expected _wxSizer_p.");
1570 wxPy_BEGIN_ALLOW_THREADS
;
1571 _result
= new wxPoint (wxSizer_GetPosition(_arg0
));
1573 wxPy_END_ALLOW_THREADS
;
1574 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
1575 _resultobj
= Py_BuildValue("s",_ptemp
);
1579 #define wxSizer_GetMinSize(_swigobj) (_swigobj->GetMinSize())
1580 static PyObject
*_wrap_wxSizer_GetMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1581 PyObject
* _resultobj
;
1584 PyObject
* _argo0
= 0;
1585 char *_kwnames
[] = { "self", NULL
};
1589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSizer_GetMinSize",_kwnames
,&_argo0
))
1592 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1593 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
1594 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_GetMinSize. Expected _wxSizer_p.");
1599 wxPy_BEGIN_ALLOW_THREADS
;
1600 _result
= new wxSize (wxSizer_GetMinSize(_arg0
));
1602 wxPy_END_ALLOW_THREADS
;
1603 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
1604 _resultobj
= Py_BuildValue("s",_ptemp
);
1608 #define wxSizer_Layout(_swigobj) (_swigobj->Layout())
1609 static PyObject
*_wrap_wxSizer_Layout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1610 PyObject
* _resultobj
;
1612 PyObject
* _argo0
= 0;
1613 char *_kwnames
[] = { "self", NULL
};
1616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSizer_Layout",_kwnames
,&_argo0
))
1619 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1620 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
1621 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_Layout. Expected _wxSizer_p.");
1626 wxPy_BEGIN_ALLOW_THREADS
;
1627 wxSizer_Layout(_arg0
);
1629 wxPy_END_ALLOW_THREADS
;
1630 } Py_INCREF(Py_None
);
1631 _resultobj
= Py_None
;
1635 #define wxSizer_Fit(_swigobj,_swigarg0) (_swigobj->Fit(_swigarg0))
1636 static PyObject
*_wrap_wxSizer_Fit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1637 PyObject
* _resultobj
;
1640 PyObject
* _argo0
= 0;
1641 PyObject
* _argo1
= 0;
1642 char *_kwnames
[] = { "self","window", NULL
};
1645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxSizer_Fit",_kwnames
,&_argo0
,&_argo1
))
1648 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1649 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
1650 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_Fit. Expected _wxSizer_p.");
1655 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1656 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1657 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSizer_Fit. Expected _wxWindow_p.");
1662 wxPy_BEGIN_ALLOW_THREADS
;
1663 wxSizer_Fit(_arg0
,_arg1
);
1665 wxPy_END_ALLOW_THREADS
;
1666 } Py_INCREF(Py_None
);
1667 _resultobj
= Py_None
;
1671 #define wxSizer_SetSizeHints(_swigobj,_swigarg0) (_swigobj->SetSizeHints(_swigarg0))
1672 static PyObject
*_wrap_wxSizer_SetSizeHints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1673 PyObject
* _resultobj
;
1676 PyObject
* _argo0
= 0;
1677 PyObject
* _argo1
= 0;
1678 char *_kwnames
[] = { "self","window", NULL
};
1681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxSizer_SetSizeHints",_kwnames
,&_argo0
,&_argo1
))
1684 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1685 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
1686 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_SetSizeHints. Expected _wxSizer_p.");
1691 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1692 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1693 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSizer_SetSizeHints. Expected _wxWindow_p.");
1698 wxPy_BEGIN_ALLOW_THREADS
;
1699 wxSizer_SetSizeHints(_arg0
,_arg1
);
1701 wxPy_END_ALLOW_THREADS
;
1702 } Py_INCREF(Py_None
);
1703 _resultobj
= Py_None
;
1707 static PyObject
* wxSizer_GetChildren(wxSizer
*self
) {
1708 wxList
& list
= self
->GetChildren();
1709 return wxPy_ConvertList(&list
, "wxSizerItem");
1711 static PyObject
*_wrap_wxSizer_GetChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1712 PyObject
* _resultobj
;
1715 PyObject
* _argo0
= 0;
1716 char *_kwnames
[] = { "self", NULL
};
1719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSizer_GetChildren",_kwnames
,&_argo0
))
1722 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1723 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
1724 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_GetChildren. Expected _wxSizer_p.");
1729 wxPy_BEGIN_ALLOW_THREADS
;
1730 _result
= (PyObject
*)wxSizer_GetChildren(_arg0
);
1732 wxPy_END_ALLOW_THREADS
;
1734 _resultobj
= _result
;
1739 static void *SwigwxPySizerTowxSizer(void *ptr
) {
1742 src
= (wxPySizer
*) ptr
;
1743 dest
= (wxSizer
*) src
;
1744 return (void *) dest
;
1747 #define new_wxPySizer() (new wxPySizer())
1748 static PyObject
*_wrap_new_wxPySizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1749 PyObject
* _resultobj
;
1750 wxPySizer
* _result
;
1751 char *_kwnames
[] = { NULL
};
1755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPySizer",_kwnames
))
1758 wxPy_BEGIN_ALLOW_THREADS
;
1759 _result
= (wxPySizer
*)new_wxPySizer();
1761 wxPy_END_ALLOW_THREADS
;
1763 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPySizer_p");
1764 _resultobj
= Py_BuildValue("s",_ptemp
);
1767 _resultobj
= Py_None
;
1772 #define wxPySizer__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1))
1773 static PyObject
*_wrap_wxPySizer__setSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1774 PyObject
* _resultobj
;
1778 PyObject
* _argo0
= 0;
1779 PyObject
* _obj1
= 0;
1780 PyObject
* _obj2
= 0;
1781 char *_kwnames
[] = { "self","self","_class", NULL
};
1784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPySizer__setSelf",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
1787 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1788 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPySizer_p")) {
1789 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPySizer__setSelf. Expected _wxPySizer_p.");
1800 wxPy_BEGIN_ALLOW_THREADS
;
1801 wxPySizer__setSelf(_arg0
,_arg1
,_arg2
);
1803 wxPy_END_ALLOW_THREADS
;
1804 } Py_INCREF(Py_None
);
1805 _resultobj
= Py_None
;
1809 static void *SwigwxBoxSizerTowxSizer(void *ptr
) {
1812 src
= (wxBoxSizer
*) ptr
;
1813 dest
= (wxSizer
*) src
;
1814 return (void *) dest
;
1817 #define new_wxBoxSizer(_swigarg0) (new wxBoxSizer(_swigarg0))
1818 static PyObject
*_wrap_new_wxBoxSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1819 PyObject
* _resultobj
;
1820 wxBoxSizer
* _result
;
1821 int _arg0
= (int ) wxHORIZONTAL
;
1822 char *_kwnames
[] = { "orient", NULL
};
1826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxBoxSizer",_kwnames
,&_arg0
))
1829 wxPy_BEGIN_ALLOW_THREADS
;
1830 _result
= (wxBoxSizer
*)new_wxBoxSizer(_arg0
);
1832 wxPy_END_ALLOW_THREADS
;
1834 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBoxSizer_p");
1835 _resultobj
= Py_BuildValue("s",_ptemp
);
1838 _resultobj
= Py_None
;
1843 #define wxBoxSizer_GetOrientation(_swigobj) (_swigobj->GetOrientation())
1844 static PyObject
*_wrap_wxBoxSizer_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1845 PyObject
* _resultobj
;
1848 PyObject
* _argo0
= 0;
1849 char *_kwnames
[] = { "self", NULL
};
1852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBoxSizer_GetOrientation",_kwnames
,&_argo0
))
1855 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1856 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBoxSizer_p")) {
1857 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBoxSizer_GetOrientation. Expected _wxBoxSizer_p.");
1862 wxPy_BEGIN_ALLOW_THREADS
;
1863 _result
= (int )wxBoxSizer_GetOrientation(_arg0
);
1865 wxPy_END_ALLOW_THREADS
;
1866 } _resultobj
= Py_BuildValue("i",_result
);
1870 #define wxBoxSizer_RecalcSizes(_swigobj) (_swigobj->RecalcSizes())
1871 static PyObject
*_wrap_wxBoxSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1872 PyObject
* _resultobj
;
1874 PyObject
* _argo0
= 0;
1875 char *_kwnames
[] = { "self", NULL
};
1878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBoxSizer_RecalcSizes",_kwnames
,&_argo0
))
1881 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1882 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBoxSizer_p")) {
1883 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBoxSizer_RecalcSizes. Expected _wxBoxSizer_p.");
1888 wxPy_BEGIN_ALLOW_THREADS
;
1889 wxBoxSizer_RecalcSizes(_arg0
);
1891 wxPy_END_ALLOW_THREADS
;
1892 } Py_INCREF(Py_None
);
1893 _resultobj
= Py_None
;
1897 #define wxBoxSizer_CalcMin(_swigobj) (_swigobj->CalcMin())
1898 static PyObject
*_wrap_wxBoxSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1899 PyObject
* _resultobj
;
1902 PyObject
* _argo0
= 0;
1903 char *_kwnames
[] = { "self", NULL
};
1907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBoxSizer_CalcMin",_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_CalcMin. Expected _wxBoxSizer_p.");
1917 wxPy_BEGIN_ALLOW_THREADS
;
1918 _result
= new wxSize (wxBoxSizer_CalcMin(_arg0
));
1920 wxPy_END_ALLOW_THREADS
;
1921 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
1922 _resultobj
= Py_BuildValue("s",_ptemp
);
1926 static void *SwigwxStaticBoxSizerTowxBoxSizer(void *ptr
) {
1927 wxStaticBoxSizer
*src
;
1929 src
= (wxStaticBoxSizer
*) ptr
;
1930 dest
= (wxBoxSizer
*) src
;
1931 return (void *) dest
;
1934 static void *SwigwxStaticBoxSizerTowxSizer(void *ptr
) {
1935 wxStaticBoxSizer
*src
;
1937 src
= (wxStaticBoxSizer
*) ptr
;
1938 dest
= (wxSizer
*) src
;
1939 return (void *) dest
;
1942 #define new_wxStaticBoxSizer(_swigarg0,_swigarg1) (new wxStaticBoxSizer(_swigarg0,_swigarg1))
1943 static PyObject
*_wrap_new_wxStaticBoxSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1944 PyObject
* _resultobj
;
1945 wxStaticBoxSizer
* _result
;
1946 wxStaticBox
* _arg0
;
1947 int _arg1
= (int ) wxHORIZONTAL
;
1948 PyObject
* _argo0
= 0;
1949 char *_kwnames
[] = { "box","orient", NULL
};
1953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:new_wxStaticBoxSizer",_kwnames
,&_argo0
,&_arg1
))
1956 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1957 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticBox_p")) {
1958 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxStaticBoxSizer. Expected _wxStaticBox_p.");
1963 wxPy_BEGIN_ALLOW_THREADS
;
1964 _result
= (wxStaticBoxSizer
*)new_wxStaticBoxSizer(_arg0
,_arg1
);
1966 wxPy_END_ALLOW_THREADS
;
1968 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticBoxSizer_p");
1969 _resultobj
= Py_BuildValue("s",_ptemp
);
1972 _resultobj
= Py_None
;
1977 #define wxStaticBoxSizer_GetStaticBox(_swigobj) (_swigobj->GetStaticBox())
1978 static PyObject
*_wrap_wxStaticBoxSizer_GetStaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1979 PyObject
* _resultobj
;
1980 wxStaticBox
* _result
;
1981 wxStaticBoxSizer
* _arg0
;
1982 PyObject
* _argo0
= 0;
1983 char *_kwnames
[] = { "self", NULL
};
1987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStaticBoxSizer_GetStaticBox",_kwnames
,&_argo0
))
1990 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1991 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticBoxSizer_p")) {
1992 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticBoxSizer_GetStaticBox. Expected _wxStaticBoxSizer_p.");
1997 wxPy_BEGIN_ALLOW_THREADS
;
1998 _result
= (wxStaticBox
*)wxStaticBoxSizer_GetStaticBox(_arg0
);
2000 wxPy_END_ALLOW_THREADS
;
2002 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticBox_p");
2003 _resultobj
= Py_BuildValue("s",_ptemp
);
2006 _resultobj
= Py_None
;
2011 #define wxStaticBoxSizer_RecalcSizes(_swigobj) (_swigobj->RecalcSizes())
2012 static PyObject
*_wrap_wxStaticBoxSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2013 PyObject
* _resultobj
;
2014 wxStaticBoxSizer
* _arg0
;
2015 PyObject
* _argo0
= 0;
2016 char *_kwnames
[] = { "self", NULL
};
2019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStaticBoxSizer_RecalcSizes",_kwnames
,&_argo0
))
2022 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2023 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticBoxSizer_p")) {
2024 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticBoxSizer_RecalcSizes. Expected _wxStaticBoxSizer_p.");
2029 wxPy_BEGIN_ALLOW_THREADS
;
2030 wxStaticBoxSizer_RecalcSizes(_arg0
);
2032 wxPy_END_ALLOW_THREADS
;
2033 } Py_INCREF(Py_None
);
2034 _resultobj
= Py_None
;
2038 #define wxStaticBoxSizer_CalcMin(_swigobj) (_swigobj->CalcMin())
2039 static PyObject
*_wrap_wxStaticBoxSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2040 PyObject
* _resultobj
;
2042 wxStaticBoxSizer
* _arg0
;
2043 PyObject
* _argo0
= 0;
2044 char *_kwnames
[] = { "self", NULL
};
2048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStaticBoxSizer_CalcMin",_kwnames
,&_argo0
))
2051 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2052 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticBoxSizer_p")) {
2053 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticBoxSizer_CalcMin. Expected _wxStaticBoxSizer_p.");
2058 wxPy_BEGIN_ALLOW_THREADS
;
2059 _result
= new wxSize (wxStaticBoxSizer_CalcMin(_arg0
));
2061 wxPy_END_ALLOW_THREADS
;
2062 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2063 _resultobj
= Py_BuildValue("s",_ptemp
);
2067 static void *SwigwxNotebookSizerTowxSizer(void *ptr
) {
2068 wxNotebookSizer
*src
;
2070 src
= (wxNotebookSizer
*) ptr
;
2071 dest
= (wxSizer
*) src
;
2072 return (void *) dest
;
2075 #define new_wxNotebookSizer(_swigarg0) (new wxNotebookSizer(_swigarg0))
2076 static PyObject
*_wrap_new_wxNotebookSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2077 PyObject
* _resultobj
;
2078 wxNotebookSizer
* _result
;
2080 PyObject
* _argo0
= 0;
2081 char *_kwnames
[] = { "nb", NULL
};
2085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxNotebookSizer",_kwnames
,&_argo0
))
2088 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2089 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
2090 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxNotebookSizer. Expected _wxNotebook_p.");
2095 wxPy_BEGIN_ALLOW_THREADS
;
2096 _result
= (wxNotebookSizer
*)new_wxNotebookSizer(_arg0
);
2098 wxPy_END_ALLOW_THREADS
;
2100 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxNotebookSizer_p");
2101 _resultobj
= Py_BuildValue("s",_ptemp
);
2104 _resultobj
= Py_None
;
2109 #define wxNotebookSizer_RecalcSizes(_swigobj) (_swigobj->RecalcSizes())
2110 static PyObject
*_wrap_wxNotebookSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2111 PyObject
* _resultobj
;
2112 wxNotebookSizer
* _arg0
;
2113 PyObject
* _argo0
= 0;
2114 char *_kwnames
[] = { "self", NULL
};
2117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebookSizer_RecalcSizes",_kwnames
,&_argo0
))
2120 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2121 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebookSizer_p")) {
2122 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebookSizer_RecalcSizes. Expected _wxNotebookSizer_p.");
2127 wxPy_BEGIN_ALLOW_THREADS
;
2128 wxNotebookSizer_RecalcSizes(_arg0
);
2130 wxPy_END_ALLOW_THREADS
;
2131 } Py_INCREF(Py_None
);
2132 _resultobj
= Py_None
;
2136 #define wxNotebookSizer_CalcMin(_swigobj) (_swigobj->CalcMin())
2137 static PyObject
*_wrap_wxNotebookSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2138 PyObject
* _resultobj
;
2140 wxNotebookSizer
* _arg0
;
2141 PyObject
* _argo0
= 0;
2142 char *_kwnames
[] = { "self", NULL
};
2146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebookSizer_CalcMin",_kwnames
,&_argo0
))
2149 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2150 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebookSizer_p")) {
2151 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebookSizer_CalcMin. Expected _wxNotebookSizer_p.");
2156 wxPy_BEGIN_ALLOW_THREADS
;
2157 _result
= new wxSize (wxNotebookSizer_CalcMin(_arg0
));
2159 wxPy_END_ALLOW_THREADS
;
2160 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2161 _resultobj
= Py_BuildValue("s",_ptemp
);
2165 #define wxNotebookSizer_GetNotebook(_swigobj) (_swigobj->GetNotebook())
2166 static PyObject
*_wrap_wxNotebookSizer_GetNotebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2167 PyObject
* _resultobj
;
2168 wxNotebook
* _result
;
2169 wxNotebookSizer
* _arg0
;
2170 PyObject
* _argo0
= 0;
2171 char *_kwnames
[] = { "self", NULL
};
2175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebookSizer_GetNotebook",_kwnames
,&_argo0
))
2178 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2179 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebookSizer_p")) {
2180 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebookSizer_GetNotebook. Expected _wxNotebookSizer_p.");
2185 wxPy_BEGIN_ALLOW_THREADS
;
2186 _result
= (wxNotebook
*)wxNotebookSizer_GetNotebook(_arg0
);
2188 wxPy_END_ALLOW_THREADS
;
2190 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxNotebook_p");
2191 _resultobj
= Py_BuildValue("s",_ptemp
);
2194 _resultobj
= Py_None
;
2199 static void *SwigwxGridSizerTowxSizer(void *ptr
) {
2202 src
= (wxGridSizer
*) ptr
;
2203 dest
= (wxSizer
*) src
;
2204 return (void *) dest
;
2207 #define new_wxGridSizer(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxGridSizer(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2208 static PyObject
*_wrap_new_wxGridSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2209 PyObject
* _resultobj
;
2210 wxGridSizer
* _result
;
2211 int _arg0
= (int ) 1;
2212 int _arg1
= (int ) 0;
2213 int _arg2
= (int ) 0;
2214 int _arg3
= (int ) 0;
2215 char *_kwnames
[] = { "rows","cols","vgap","hgap", NULL
};
2219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iiii:new_wxGridSizer",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))
2222 wxPy_BEGIN_ALLOW_THREADS
;
2223 _result
= (wxGridSizer
*)new_wxGridSizer(_arg0
,_arg1
,_arg2
,_arg3
);
2225 wxPy_END_ALLOW_THREADS
;
2227 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridSizer_p");
2228 _resultobj
= Py_BuildValue("s",_ptemp
);
2231 _resultobj
= Py_None
;
2236 #define wxGridSizer_RecalcSizes(_swigobj) (_swigobj->RecalcSizes())
2237 static PyObject
*_wrap_wxGridSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2238 PyObject
* _resultobj
;
2239 wxGridSizer
* _arg0
;
2240 PyObject
* _argo0
= 0;
2241 char *_kwnames
[] = { "self", NULL
};
2244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridSizer_RecalcSizes",_kwnames
,&_argo0
))
2247 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2248 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridSizer_p")) {
2249 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridSizer_RecalcSizes. Expected _wxGridSizer_p.");
2254 wxPy_BEGIN_ALLOW_THREADS
;
2255 wxGridSizer_RecalcSizes(_arg0
);
2257 wxPy_END_ALLOW_THREADS
;
2258 } Py_INCREF(Py_None
);
2259 _resultobj
= Py_None
;
2263 #define wxGridSizer_CalcMin(_swigobj) (_swigobj->CalcMin())
2264 static PyObject
*_wrap_wxGridSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2265 PyObject
* _resultobj
;
2267 wxGridSizer
* _arg0
;
2268 PyObject
* _argo0
= 0;
2269 char *_kwnames
[] = { "self", NULL
};
2273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridSizer_CalcMin",_kwnames
,&_argo0
))
2276 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2277 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridSizer_p")) {
2278 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridSizer_CalcMin. Expected _wxGridSizer_p.");
2283 wxPy_BEGIN_ALLOW_THREADS
;
2284 _result
= new wxSize (wxGridSizer_CalcMin(_arg0
));
2286 wxPy_END_ALLOW_THREADS
;
2287 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2288 _resultobj
= Py_BuildValue("s",_ptemp
);
2292 #define wxGridSizer_SetCols(_swigobj,_swigarg0) (_swigobj->SetCols(_swigarg0))
2293 static PyObject
*_wrap_wxGridSizer_SetCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2294 PyObject
* _resultobj
;
2295 wxGridSizer
* _arg0
;
2297 PyObject
* _argo0
= 0;
2298 char *_kwnames
[] = { "self","cols", NULL
};
2301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridSizer_SetCols",_kwnames
,&_argo0
,&_arg1
))
2304 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2305 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridSizer_p")) {
2306 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridSizer_SetCols. Expected _wxGridSizer_p.");
2311 wxPy_BEGIN_ALLOW_THREADS
;
2312 wxGridSizer_SetCols(_arg0
,_arg1
);
2314 wxPy_END_ALLOW_THREADS
;
2315 } Py_INCREF(Py_None
);
2316 _resultobj
= Py_None
;
2320 #define wxGridSizer_SetRows(_swigobj,_swigarg0) (_swigobj->SetRows(_swigarg0))
2321 static PyObject
*_wrap_wxGridSizer_SetRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2322 PyObject
* _resultobj
;
2323 wxGridSizer
* _arg0
;
2325 PyObject
* _argo0
= 0;
2326 char *_kwnames
[] = { "self","rows", NULL
};
2329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridSizer_SetRows",_kwnames
,&_argo0
,&_arg1
))
2332 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2333 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridSizer_p")) {
2334 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridSizer_SetRows. Expected _wxGridSizer_p.");
2339 wxPy_BEGIN_ALLOW_THREADS
;
2340 wxGridSizer_SetRows(_arg0
,_arg1
);
2342 wxPy_END_ALLOW_THREADS
;
2343 } Py_INCREF(Py_None
);
2344 _resultobj
= Py_None
;
2348 #define wxGridSizer_SetVGap(_swigobj,_swigarg0) (_swigobj->SetVGap(_swigarg0))
2349 static PyObject
*_wrap_wxGridSizer_SetVGap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2350 PyObject
* _resultobj
;
2351 wxGridSizer
* _arg0
;
2353 PyObject
* _argo0
= 0;
2354 char *_kwnames
[] = { "self","gap", NULL
};
2357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridSizer_SetVGap",_kwnames
,&_argo0
,&_arg1
))
2360 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2361 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridSizer_p")) {
2362 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridSizer_SetVGap. Expected _wxGridSizer_p.");
2367 wxPy_BEGIN_ALLOW_THREADS
;
2368 wxGridSizer_SetVGap(_arg0
,_arg1
);
2370 wxPy_END_ALLOW_THREADS
;
2371 } Py_INCREF(Py_None
);
2372 _resultobj
= Py_None
;
2376 #define wxGridSizer_SetHGap(_swigobj,_swigarg0) (_swigobj->SetHGap(_swigarg0))
2377 static PyObject
*_wrap_wxGridSizer_SetHGap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2378 PyObject
* _resultobj
;
2379 wxGridSizer
* _arg0
;
2381 PyObject
* _argo0
= 0;
2382 char *_kwnames
[] = { "self","gap", NULL
};
2385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridSizer_SetHGap",_kwnames
,&_argo0
,&_arg1
))
2388 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2389 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridSizer_p")) {
2390 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridSizer_SetHGap. Expected _wxGridSizer_p.");
2395 wxPy_BEGIN_ALLOW_THREADS
;
2396 wxGridSizer_SetHGap(_arg0
,_arg1
);
2398 wxPy_END_ALLOW_THREADS
;
2399 } Py_INCREF(Py_None
);
2400 _resultobj
= Py_None
;
2404 #define wxGridSizer_GetCols(_swigobj) (_swigobj->GetCols())
2405 static PyObject
*_wrap_wxGridSizer_GetCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2406 PyObject
* _resultobj
;
2408 wxGridSizer
* _arg0
;
2409 PyObject
* _argo0
= 0;
2410 char *_kwnames
[] = { "self", NULL
};
2413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridSizer_GetCols",_kwnames
,&_argo0
))
2416 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2417 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridSizer_p")) {
2418 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridSizer_GetCols. Expected _wxGridSizer_p.");
2423 wxPy_BEGIN_ALLOW_THREADS
;
2424 _result
= (int )wxGridSizer_GetCols(_arg0
);
2426 wxPy_END_ALLOW_THREADS
;
2427 } _resultobj
= Py_BuildValue("i",_result
);
2431 #define wxGridSizer_GetRows(_swigobj) (_swigobj->GetRows())
2432 static PyObject
*_wrap_wxGridSizer_GetRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2433 PyObject
* _resultobj
;
2435 wxGridSizer
* _arg0
;
2436 PyObject
* _argo0
= 0;
2437 char *_kwnames
[] = { "self", NULL
};
2440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridSizer_GetRows",_kwnames
,&_argo0
))
2443 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2444 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridSizer_p")) {
2445 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridSizer_GetRows. Expected _wxGridSizer_p.");
2450 wxPy_BEGIN_ALLOW_THREADS
;
2451 _result
= (int )wxGridSizer_GetRows(_arg0
);
2453 wxPy_END_ALLOW_THREADS
;
2454 } _resultobj
= Py_BuildValue("i",_result
);
2458 #define wxGridSizer_GetVGap(_swigobj) (_swigobj->GetVGap())
2459 static PyObject
*_wrap_wxGridSizer_GetVGap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2460 PyObject
* _resultobj
;
2462 wxGridSizer
* _arg0
;
2463 PyObject
* _argo0
= 0;
2464 char *_kwnames
[] = { "self", NULL
};
2467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridSizer_GetVGap",_kwnames
,&_argo0
))
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_GetVGap. Expected _wxGridSizer_p.");
2477 wxPy_BEGIN_ALLOW_THREADS
;
2478 _result
= (int )wxGridSizer_GetVGap(_arg0
);
2480 wxPy_END_ALLOW_THREADS
;
2481 } _resultobj
= Py_BuildValue("i",_result
);
2485 #define wxGridSizer_GetHGap(_swigobj) (_swigobj->GetHGap())
2486 static PyObject
*_wrap_wxGridSizer_GetHGap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2487 PyObject
* _resultobj
;
2489 wxGridSizer
* _arg0
;
2490 PyObject
* _argo0
= 0;
2491 char *_kwnames
[] = { "self", NULL
};
2494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridSizer_GetHGap",_kwnames
,&_argo0
))
2497 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2498 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridSizer_p")) {
2499 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridSizer_GetHGap. Expected _wxGridSizer_p.");
2504 wxPy_BEGIN_ALLOW_THREADS
;
2505 _result
= (int )wxGridSizer_GetHGap(_arg0
);
2507 wxPy_END_ALLOW_THREADS
;
2508 } _resultobj
= Py_BuildValue("i",_result
);
2512 static void *SwigwxFlexGridSizerTowxGridSizer(void *ptr
) {
2513 wxFlexGridSizer
*src
;
2515 src
= (wxFlexGridSizer
*) ptr
;
2516 dest
= (wxGridSizer
*) src
;
2517 return (void *) dest
;
2520 static void *SwigwxFlexGridSizerTowxSizer(void *ptr
) {
2521 wxFlexGridSizer
*src
;
2523 src
= (wxFlexGridSizer
*) ptr
;
2524 dest
= (wxSizer
*) src
;
2525 return (void *) dest
;
2528 #define new_wxFlexGridSizer(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxFlexGridSizer(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2529 static PyObject
*_wrap_new_wxFlexGridSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2530 PyObject
* _resultobj
;
2531 wxFlexGridSizer
* _result
;
2532 int _arg0
= (int ) 1;
2533 int _arg1
= (int ) 0;
2534 int _arg2
= (int ) 0;
2535 int _arg3
= (int ) 0;
2536 char *_kwnames
[] = { "rows","cols","vgap","hgap", NULL
};
2540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iiii:new_wxFlexGridSizer",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))
2543 wxPy_BEGIN_ALLOW_THREADS
;
2544 _result
= (wxFlexGridSizer
*)new_wxFlexGridSizer(_arg0
,_arg1
,_arg2
,_arg3
);
2546 wxPy_END_ALLOW_THREADS
;
2548 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFlexGridSizer_p");
2549 _resultobj
= Py_BuildValue("s",_ptemp
);
2552 _resultobj
= Py_None
;
2557 #define wxFlexGridSizer_RecalcSizes(_swigobj) (_swigobj->RecalcSizes())
2558 static PyObject
*_wrap_wxFlexGridSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2559 PyObject
* _resultobj
;
2560 wxFlexGridSizer
* _arg0
;
2561 PyObject
* _argo0
= 0;
2562 char *_kwnames
[] = { "self", NULL
};
2565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFlexGridSizer_RecalcSizes",_kwnames
,&_argo0
))
2568 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2569 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFlexGridSizer_p")) {
2570 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFlexGridSizer_RecalcSizes. Expected _wxFlexGridSizer_p.");
2575 wxPy_BEGIN_ALLOW_THREADS
;
2576 wxFlexGridSizer_RecalcSizes(_arg0
);
2578 wxPy_END_ALLOW_THREADS
;
2579 } Py_INCREF(Py_None
);
2580 _resultobj
= Py_None
;
2584 #define wxFlexGridSizer_CalcMin(_swigobj) (_swigobj->CalcMin())
2585 static PyObject
*_wrap_wxFlexGridSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2586 PyObject
* _resultobj
;
2588 wxFlexGridSizer
* _arg0
;
2589 PyObject
* _argo0
= 0;
2590 char *_kwnames
[] = { "self", NULL
};
2594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFlexGridSizer_CalcMin",_kwnames
,&_argo0
))
2597 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2598 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFlexGridSizer_p")) {
2599 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFlexGridSizer_CalcMin. Expected _wxFlexGridSizer_p.");
2604 wxPy_BEGIN_ALLOW_THREADS
;
2605 _result
= new wxSize (wxFlexGridSizer_CalcMin(_arg0
));
2607 wxPy_END_ALLOW_THREADS
;
2608 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2609 _resultobj
= Py_BuildValue("s",_ptemp
);
2613 #define wxFlexGridSizer_AddGrowableRow(_swigobj,_swigarg0) (_swigobj->AddGrowableRow(_swigarg0))
2614 static PyObject
*_wrap_wxFlexGridSizer_AddGrowableRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2615 PyObject
* _resultobj
;
2616 wxFlexGridSizer
* _arg0
;
2618 PyObject
* _argo0
= 0;
2619 char *_kwnames
[] = { "self","idx", NULL
};
2622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFlexGridSizer_AddGrowableRow",_kwnames
,&_argo0
,&_arg1
))
2625 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2626 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFlexGridSizer_p")) {
2627 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFlexGridSizer_AddGrowableRow. Expected _wxFlexGridSizer_p.");
2632 wxPy_BEGIN_ALLOW_THREADS
;
2633 wxFlexGridSizer_AddGrowableRow(_arg0
,_arg1
);
2635 wxPy_END_ALLOW_THREADS
;
2636 } Py_INCREF(Py_None
);
2637 _resultobj
= Py_None
;
2641 #define wxFlexGridSizer_RemoveGrowableRow(_swigobj,_swigarg0) (_swigobj->RemoveGrowableRow(_swigarg0))
2642 static PyObject
*_wrap_wxFlexGridSizer_RemoveGrowableRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2643 PyObject
* _resultobj
;
2644 wxFlexGridSizer
* _arg0
;
2646 PyObject
* _argo0
= 0;
2647 char *_kwnames
[] = { "self","idx", NULL
};
2650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFlexGridSizer_RemoveGrowableRow",_kwnames
,&_argo0
,&_arg1
))
2653 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2654 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFlexGridSizer_p")) {
2655 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFlexGridSizer_RemoveGrowableRow. Expected _wxFlexGridSizer_p.");
2660 wxPy_BEGIN_ALLOW_THREADS
;
2661 wxFlexGridSizer_RemoveGrowableRow(_arg0
,_arg1
);
2663 wxPy_END_ALLOW_THREADS
;
2664 } Py_INCREF(Py_None
);
2665 _resultobj
= Py_None
;
2669 #define wxFlexGridSizer_AddGrowableCol(_swigobj,_swigarg0) (_swigobj->AddGrowableCol(_swigarg0))
2670 static PyObject
*_wrap_wxFlexGridSizer_AddGrowableCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2671 PyObject
* _resultobj
;
2672 wxFlexGridSizer
* _arg0
;
2674 PyObject
* _argo0
= 0;
2675 char *_kwnames
[] = { "self","idx", NULL
};
2678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFlexGridSizer_AddGrowableCol",_kwnames
,&_argo0
,&_arg1
))
2681 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2682 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFlexGridSizer_p")) {
2683 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFlexGridSizer_AddGrowableCol. Expected _wxFlexGridSizer_p.");
2688 wxPy_BEGIN_ALLOW_THREADS
;
2689 wxFlexGridSizer_AddGrowableCol(_arg0
,_arg1
);
2691 wxPy_END_ALLOW_THREADS
;
2692 } Py_INCREF(Py_None
);
2693 _resultobj
= Py_None
;
2697 #define wxFlexGridSizer_RemoveGrowableCol(_swigobj,_swigarg0) (_swigobj->RemoveGrowableCol(_swigarg0))
2698 static PyObject
*_wrap_wxFlexGridSizer_RemoveGrowableCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2699 PyObject
* _resultobj
;
2700 wxFlexGridSizer
* _arg0
;
2702 PyObject
* _argo0
= 0;
2703 char *_kwnames
[] = { "self","idx", NULL
};
2706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFlexGridSizer_RemoveGrowableCol",_kwnames
,&_argo0
,&_arg1
))
2709 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2710 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFlexGridSizer_p")) {
2711 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFlexGridSizer_RemoveGrowableCol. Expected _wxFlexGridSizer_p.");
2716 wxPy_BEGIN_ALLOW_THREADS
;
2717 wxFlexGridSizer_RemoveGrowableCol(_arg0
,_arg1
);
2719 wxPy_END_ALLOW_THREADS
;
2720 } Py_INCREF(Py_None
);
2721 _resultobj
= Py_None
;
2725 static PyMethodDef sizerscMethods
[] = {
2726 { "wxFlexGridSizer_RemoveGrowableCol", (PyCFunction
) _wrap_wxFlexGridSizer_RemoveGrowableCol
, METH_VARARGS
| METH_KEYWORDS
},
2727 { "wxFlexGridSizer_AddGrowableCol", (PyCFunction
) _wrap_wxFlexGridSizer_AddGrowableCol
, METH_VARARGS
| METH_KEYWORDS
},
2728 { "wxFlexGridSizer_RemoveGrowableRow", (PyCFunction
) _wrap_wxFlexGridSizer_RemoveGrowableRow
, METH_VARARGS
| METH_KEYWORDS
},
2729 { "wxFlexGridSizer_AddGrowableRow", (PyCFunction
) _wrap_wxFlexGridSizer_AddGrowableRow
, METH_VARARGS
| METH_KEYWORDS
},
2730 { "wxFlexGridSizer_CalcMin", (PyCFunction
) _wrap_wxFlexGridSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
2731 { "wxFlexGridSizer_RecalcSizes", (PyCFunction
) _wrap_wxFlexGridSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
2732 { "new_wxFlexGridSizer", (PyCFunction
) _wrap_new_wxFlexGridSizer
, METH_VARARGS
| METH_KEYWORDS
},
2733 { "wxGridSizer_GetHGap", (PyCFunction
) _wrap_wxGridSizer_GetHGap
, METH_VARARGS
| METH_KEYWORDS
},
2734 { "wxGridSizer_GetVGap", (PyCFunction
) _wrap_wxGridSizer_GetVGap
, METH_VARARGS
| METH_KEYWORDS
},
2735 { "wxGridSizer_GetRows", (PyCFunction
) _wrap_wxGridSizer_GetRows
, METH_VARARGS
| METH_KEYWORDS
},
2736 { "wxGridSizer_GetCols", (PyCFunction
) _wrap_wxGridSizer_GetCols
, METH_VARARGS
| METH_KEYWORDS
},
2737 { "wxGridSizer_SetHGap", (PyCFunction
) _wrap_wxGridSizer_SetHGap
, METH_VARARGS
| METH_KEYWORDS
},
2738 { "wxGridSizer_SetVGap", (PyCFunction
) _wrap_wxGridSizer_SetVGap
, METH_VARARGS
| METH_KEYWORDS
},
2739 { "wxGridSizer_SetRows", (PyCFunction
) _wrap_wxGridSizer_SetRows
, METH_VARARGS
| METH_KEYWORDS
},
2740 { "wxGridSizer_SetCols", (PyCFunction
) _wrap_wxGridSizer_SetCols
, METH_VARARGS
| METH_KEYWORDS
},
2741 { "wxGridSizer_CalcMin", (PyCFunction
) _wrap_wxGridSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
2742 { "wxGridSizer_RecalcSizes", (PyCFunction
) _wrap_wxGridSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
2743 { "new_wxGridSizer", (PyCFunction
) _wrap_new_wxGridSizer
, METH_VARARGS
| METH_KEYWORDS
},
2744 { "wxNotebookSizer_GetNotebook", (PyCFunction
) _wrap_wxNotebookSizer_GetNotebook
, METH_VARARGS
| METH_KEYWORDS
},
2745 { "wxNotebookSizer_CalcMin", (PyCFunction
) _wrap_wxNotebookSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
2746 { "wxNotebookSizer_RecalcSizes", (PyCFunction
) _wrap_wxNotebookSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
2747 { "new_wxNotebookSizer", (PyCFunction
) _wrap_new_wxNotebookSizer
, METH_VARARGS
| METH_KEYWORDS
},
2748 { "wxStaticBoxSizer_CalcMin", (PyCFunction
) _wrap_wxStaticBoxSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
2749 { "wxStaticBoxSizer_RecalcSizes", (PyCFunction
) _wrap_wxStaticBoxSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
2750 { "wxStaticBoxSizer_GetStaticBox", (PyCFunction
) _wrap_wxStaticBoxSizer_GetStaticBox
, METH_VARARGS
| METH_KEYWORDS
},
2751 { "new_wxStaticBoxSizer", (PyCFunction
) _wrap_new_wxStaticBoxSizer
, METH_VARARGS
| METH_KEYWORDS
},
2752 { "wxBoxSizer_CalcMin", (PyCFunction
) _wrap_wxBoxSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
2753 { "wxBoxSizer_RecalcSizes", (PyCFunction
) _wrap_wxBoxSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
2754 { "wxBoxSizer_GetOrientation", (PyCFunction
) _wrap_wxBoxSizer_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
2755 { "new_wxBoxSizer", (PyCFunction
) _wrap_new_wxBoxSizer
, METH_VARARGS
| METH_KEYWORDS
},
2756 { "wxPySizer__setSelf", (PyCFunction
) _wrap_wxPySizer__setSelf
, METH_VARARGS
| METH_KEYWORDS
},
2757 { "new_wxPySizer", (PyCFunction
) _wrap_new_wxPySizer
, METH_VARARGS
| METH_KEYWORDS
},
2758 { "wxSizer_GetChildren", (PyCFunction
) _wrap_wxSizer_GetChildren
, METH_VARARGS
| METH_KEYWORDS
},
2759 { "wxSizer_SetSizeHints", (PyCFunction
) _wrap_wxSizer_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
},
2760 { "wxSizer_Fit", (PyCFunction
) _wrap_wxSizer_Fit
, METH_VARARGS
| METH_KEYWORDS
},
2761 { "wxSizer_Layout", (PyCFunction
) _wrap_wxSizer_Layout
, METH_VARARGS
| METH_KEYWORDS
},
2762 { "wxSizer_GetMinSize", (PyCFunction
) _wrap_wxSizer_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
2763 { "wxSizer_GetPosition", (PyCFunction
) _wrap_wxSizer_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
2764 { "wxSizer_GetSize", (PyCFunction
) _wrap_wxSizer_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
2765 { "wxSizer_SetItemMinSizePos", (PyCFunction
) _wrap_wxSizer_SetItemMinSizePos
, METH_VARARGS
| METH_KEYWORDS
},
2766 { "wxSizer_SetItemMinSizeSizer", (PyCFunction
) _wrap_wxSizer_SetItemMinSizeSizer
, METH_VARARGS
| METH_KEYWORDS
},
2767 { "wxSizer_SetItemMinSizeWindow", (PyCFunction
) _wrap_wxSizer_SetItemMinSizeWindow
, METH_VARARGS
| METH_KEYWORDS
},
2768 { "wxSizer_SetMinSize", (PyCFunction
) _wrap_wxSizer_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
2769 { "wxSizer_SetDimension", (PyCFunction
) _wrap_wxSizer_SetDimension
, METH_VARARGS
| METH_KEYWORDS
},
2770 { "wxSizer_RemovePos", (PyCFunction
) _wrap_wxSizer_RemovePos
, METH_VARARGS
| METH_KEYWORDS
},
2771 { "wxSizer_RemoveSizer", (PyCFunction
) _wrap_wxSizer_RemoveSizer
, METH_VARARGS
| METH_KEYWORDS
},
2772 { "wxSizer_RemoveWindow", (PyCFunction
) _wrap_wxSizer_RemoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
2773 { "wxSizer_PrependSpacer", (PyCFunction
) _wrap_wxSizer_PrependSpacer
, METH_VARARGS
| METH_KEYWORDS
},
2774 { "wxSizer_PrependSizer", (PyCFunction
) _wrap_wxSizer_PrependSizer
, METH_VARARGS
| METH_KEYWORDS
},
2775 { "wxSizer_PrependWindow", (PyCFunction
) _wrap_wxSizer_PrependWindow
, METH_VARARGS
| METH_KEYWORDS
},
2776 { "wxSizer_InsertSpacer", (PyCFunction
) _wrap_wxSizer_InsertSpacer
, METH_VARARGS
| METH_KEYWORDS
},
2777 { "wxSizer_InsertSizer", (PyCFunction
) _wrap_wxSizer_InsertSizer
, METH_VARARGS
| METH_KEYWORDS
},
2778 { "wxSizer_InsertWindow", (PyCFunction
) _wrap_wxSizer_InsertWindow
, METH_VARARGS
| METH_KEYWORDS
},
2779 { "wxSizer_AddSpacer", (PyCFunction
) _wrap_wxSizer_AddSpacer
, METH_VARARGS
| METH_KEYWORDS
},
2780 { "wxSizer_AddSizer", (PyCFunction
) _wrap_wxSizer_AddSizer
, METH_VARARGS
| METH_KEYWORDS
},
2781 { "wxSizer_AddWindow", (PyCFunction
) _wrap_wxSizer_AddWindow
, METH_VARARGS
| METH_KEYWORDS
},
2782 { "wxSizer_Destroy", (PyCFunction
) _wrap_wxSizer_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
2783 { "wxSizerItem_GetUserData", (PyCFunction
) _wrap_wxSizerItem_GetUserData
, METH_VARARGS
| METH_KEYWORDS
},
2784 { "wxSizerItem_SetBorder", (PyCFunction
) _wrap_wxSizerItem_SetBorder
, METH_VARARGS
| METH_KEYWORDS
},
2785 { "wxSizerItem_SetFlag", (PyCFunction
) _wrap_wxSizerItem_SetFlag
, METH_VARARGS
| METH_KEYWORDS
},
2786 { "wxSizerItem_SetOption", (PyCFunction
) _wrap_wxSizerItem_SetOption
, METH_VARARGS
| METH_KEYWORDS
},
2787 { "wxSizerItem_SetInitSize", (PyCFunction
) _wrap_wxSizerItem_SetInitSize
, METH_VARARGS
| METH_KEYWORDS
},
2788 { "wxSizerItem_GetBorder", (PyCFunction
) _wrap_wxSizerItem_GetBorder
, METH_VARARGS
| METH_KEYWORDS
},
2789 { "wxSizerItem_GetFlag", (PyCFunction
) _wrap_wxSizerItem_GetFlag
, METH_VARARGS
| METH_KEYWORDS
},
2790 { "wxSizerItem_GetOption", (PyCFunction
) _wrap_wxSizerItem_GetOption
, METH_VARARGS
| METH_KEYWORDS
},
2791 { "wxSizerItem_SetSizer", (PyCFunction
) _wrap_wxSizerItem_SetSizer
, METH_VARARGS
| METH_KEYWORDS
},
2792 { "wxSizerItem_GetSizer", (PyCFunction
) _wrap_wxSizerItem_GetSizer
, METH_VARARGS
| METH_KEYWORDS
},
2793 { "wxSizerItem_SetWindow", (PyCFunction
) _wrap_wxSizerItem_SetWindow
, METH_VARARGS
| METH_KEYWORDS
},
2794 { "wxSizerItem_GetWindow", (PyCFunction
) _wrap_wxSizerItem_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
2795 { "wxSizerItem_IsSpacer", (PyCFunction
) _wrap_wxSizerItem_IsSpacer
, METH_VARARGS
| METH_KEYWORDS
},
2796 { "wxSizerItem_IsSizer", (PyCFunction
) _wrap_wxSizerItem_IsSizer
, METH_VARARGS
| METH_KEYWORDS
},
2797 { "wxSizerItem_IsWindow", (PyCFunction
) _wrap_wxSizerItem_IsWindow
, METH_VARARGS
| METH_KEYWORDS
},
2798 { "wxSizerItem_GetRatio", (PyCFunction
) _wrap_wxSizerItem_GetRatio
, METH_VARARGS
| METH_KEYWORDS
},
2799 { "wxSizerItem_SetRatio", (PyCFunction
) _wrap_wxSizerItem_SetRatio
, METH_VARARGS
| METH_KEYWORDS
},
2800 { "wxSizerItem_SetRatioSize", (PyCFunction
) _wrap_wxSizerItem_SetRatioSize
, METH_VARARGS
| METH_KEYWORDS
},
2801 { "wxSizerItem_SetRatioWH", (PyCFunction
) _wrap_wxSizerItem_SetRatioWH
, METH_VARARGS
| METH_KEYWORDS
},
2802 { "wxSizerItem_SetDimension", (PyCFunction
) _wrap_wxSizerItem_SetDimension
, METH_VARARGS
| METH_KEYWORDS
},
2803 { "wxSizerItem_CalcMin", (PyCFunction
) _wrap_wxSizerItem_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
2804 { "wxSizerItem_GetSize", (PyCFunction
) _wrap_wxSizerItem_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
2811 * This table is used by the pointer type-checker
2813 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
2814 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
2815 { "_wxEvent","_class_wxEvent",0},
2816 { "_class_wxActivateEvent","_wxActivateEvent",0},
2817 { "_signed_long","_long",0},
2818 { "_wxMenuEvent","_class_wxMenuEvent",0},
2819 { "_wxPyBitmapDataObject","_class_wxPyBitmapDataObject",0},
2820 { "_wxBitmapDataObject","_class_wxBitmapDataObject",0},
2821 { "_class_wxPyCommandEvent","_wxPyCommandEvent",0},
2822 { "_wxFlexGridSizer","_class_wxFlexGridSizer",0},
2823 { "_wxPrintQuality","_wxCoord",0},
2824 { "_wxPrintQuality","_int",0},
2825 { "_wxPrintQuality","_signed_int",0},
2826 { "_wxPrintQuality","_unsigned_int",0},
2827 { "_wxPrintQuality","_wxWindowID",0},
2828 { "_wxPrintQuality","_uint",0},
2829 { "_wxPrintQuality","_EBool",0},
2830 { "_wxPrintQuality","_size_t",0},
2831 { "_wxPrintQuality","_time_t",0},
2832 { "_class_wxCustomDataObject","_wxCustomDataObject",0},
2833 { "_wxSpinCtrl","_class_wxSpinCtrl",0},
2834 { "_class_wxRegionIterator","_wxRegionIterator",0},
2835 { "_class_wxPyTextDropTarget","_wxPyTextDropTarget",0},
2836 { "_class_wxMenuBar","_wxMenuBar",0},
2837 { "_class_wxStaticBoxSizer","_wxStaticBoxSizer",0},
2838 { "_class_wxEvtHandler","_wxEvtHandler",0},
2839 { "_wxPaintEvent","_class_wxPaintEvent",0},
2840 { "_wxPySizer","_class_wxPySizer",0},
2841 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
2842 { "_wxCursor","_class_wxCursor",0},
2843 { "_wxNotifyEvent","_class_wxNotifyEvent",0},
2844 { "_wxMask","_class_wxMask",0},
2845 { "_wxPen","_class_wxPen",0},
2846 { "_wxUpdateUIEvent","_class_wxUpdateUIEvent",0},
2847 { "_class_wxNotebookSizer","_wxNotebookSizer",0},
2848 { "_byte","_unsigned_char",0},
2849 { "_wxDataObject","_class_wxDataObject",0},
2850 { "_wxStaticBox","_class_wxStaticBox",0},
2851 { "_wxColourDatabase","_class_wxColourDatabase",0},
2852 { "_wxPyDataObjectSimple","_class_wxPyDataObjectSimple",0},
2853 { "_wxPyDropSource","_class_wxPyDropSource",0},
2854 { "_wxChoice","_class_wxChoice",0},
2855 { "_wxSlider","_class_wxSlider",0},
2856 { "_long","_unsigned_long",0},
2857 { "_long","_signed_long",0},
2858 { "_wxImageList","_class_wxImageList",0},
2859 { "_wxDataObjectSimple","_class_wxDataObjectSimple",0},
2860 { "_wxDropFilesEvent","_class_wxDropFilesEvent",0},
2861 { "_wxBitmapButton","_class_wxBitmapButton",0},
2862 { "_class_wxSizer","_class_wxFlexGridSizer",SwigwxFlexGridSizerTowxSizer
},
2863 { "_class_wxSizer","_wxFlexGridSizer",SwigwxFlexGridSizerTowxSizer
},
2864 { "_class_wxSizer","_class_wxGridSizer",SwigwxGridSizerTowxSizer
},
2865 { "_class_wxSizer","_wxGridSizer",SwigwxGridSizerTowxSizer
},
2866 { "_class_wxSizer","_class_wxNotebookSizer",SwigwxNotebookSizerTowxSizer
},
2867 { "_class_wxSizer","_wxNotebookSizer",SwigwxNotebookSizerTowxSizer
},
2868 { "_class_wxSizer","_class_wxStaticBoxSizer",SwigwxStaticBoxSizerTowxSizer
},
2869 { "_class_wxSizer","_wxStaticBoxSizer",SwigwxStaticBoxSizerTowxSizer
},
2870 { "_class_wxSizer","_class_wxBoxSizer",SwigwxBoxSizerTowxSizer
},
2871 { "_class_wxSizer","_wxBoxSizer",SwigwxBoxSizerTowxSizer
},
2872 { "_class_wxSizer","_class_wxPySizer",SwigwxPySizerTowxSizer
},
2873 { "_class_wxSizer","_wxPySizer",SwigwxPySizerTowxSizer
},
2874 { "_class_wxSizer","_wxSizer",0},
2875 { "_wxGridSizer","_class_wxFlexGridSizer",SwigwxFlexGridSizerTowxGridSizer
},
2876 { "_wxGridSizer","_wxFlexGridSizer",SwigwxFlexGridSizerTowxGridSizer
},
2877 { "_wxGridSizer","_class_wxGridSizer",0},
2878 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
2879 { "_class_wxClipboard","_wxClipboard",0},
2880 { "_class_wxGauge","_wxGauge",0},
2881 { "_wxDC","_class_wxDC",0},
2882 { "_wxSizerItem","_class_wxSizerItem",0},
2883 { "_class_wxBitmapDataObject","_wxBitmapDataObject",0},
2884 { "_class_wxFlexGridSizer","_wxFlexGridSizer",0},
2885 { "_wxSpinEvent","_class_wxSpinEvent",0},
2886 { "_size_t","_wxCoord",0},
2887 { "_size_t","_wxPrintQuality",0},
2888 { "_size_t","_time_t",0},
2889 { "_size_t","_unsigned_int",0},
2890 { "_size_t","_int",0},
2891 { "_size_t","_wxWindowID",0},
2892 { "_size_t","_uint",0},
2893 { "_class_wxRealPoint","_wxRealPoint",0},
2894 { "_wxNavigationKeyEvent","_class_wxNavigationKeyEvent",0},
2895 { "_wxWindowCreateEvent","_class_wxWindowCreateEvent",0},
2896 { "_class_wxMenuItem","_wxMenuItem",0},
2897 { "_class_wxPaintEvent","_wxPaintEvent",0},
2898 { "_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0},
2899 { "_class_wxPySizer","_wxPySizer",0},
2900 { "_wxPanel","_class_wxPanel",0},
2901 { "_wxInitDialogEvent","_class_wxInitDialogEvent",0},
2902 { "_wxCheckBox","_class_wxCheckBox",0},
2903 { "_wxPyEvent","_class_wxPyEvent",0},
2904 { "_wxTextCtrl","_class_wxTextCtrl",0},
2905 { "_class_wxMask","_wxMask",0},
2906 { "_wxTextDataObject","_class_wxTextDataObject",0},
2907 { "_class_wxKeyEvent","_wxKeyEvent",0},
2908 { "_wxColour","_class_wxColour",0},
2909 { "_class_wxDialog","_wxDialog",0},
2910 { "_class_wxFileDataObject","_wxFileDataObject",0},
2911 { "_wxIdleEvent","_class_wxIdleEvent",0},
2912 { "_class_wxUpdateUIEvent","_wxUpdateUIEvent",0},
2913 { "_class_wxDataObject","_wxDataObject",0},
2914 { "_wxStaticLine","_class_wxStaticLine",0},
2915 { "_wxBrush","_class_wxBrush",0},
2916 { "_wxToggleButton","_class_wxToggleButton",0},
2917 { "_wxDataFormat","_class_wxDataFormat",0},
2918 { "_class_wxDataObjectSimple","_wxDataObjectSimple",0},
2919 { "_wxShowEvent","_class_wxShowEvent",0},
2920 { "_uint","_wxCoord",0},
2921 { "_uint","_wxPrintQuality",0},
2922 { "_uint","_time_t",0},
2923 { "_uint","_size_t",0},
2924 { "_uint","_unsigned_int",0},
2925 { "_uint","_int",0},
2926 { "_uint","_wxWindowID",0},
2927 { "_wxChar","_char",0},
2928 { "_wxPyValidator","_class_wxPyValidator",0},
2929 { "_class_wxEvent","_wxEvent",0},
2930 { "_wxCheckListBox","_class_wxCheckListBox",0},
2931 { "_wxRect","_class_wxRect",0},
2932 { "_wxCommandEvent","_class_wxCommandEvent",0},
2933 { "_wxSizeEvent","_class_wxSizeEvent",0},
2934 { "_wxPoint","_class_wxPoint",0},
2935 { "_class_wxButton","_wxButton",0},
2936 { "_wxRadioBox","_class_wxRadioBox",0},
2937 { "_class_wxSpinCtrl","_wxSpinCtrl",0},
2938 { "_wxBoxSizer","_class_wxStaticBoxSizer",SwigwxStaticBoxSizerTowxBoxSizer
},
2939 { "_wxBoxSizer","_wxStaticBoxSizer",SwigwxStaticBoxSizerTowxBoxSizer
},
2940 { "_wxBoxSizer","_class_wxBoxSizer",0},
2941 { "_char","_wxChar",0},
2942 { "_wxBitmap","_class_wxBitmap",0},
2943 { "_wxPenList","_class_wxPenList",0},
2944 { "_wxWindowDC","_class_wxWindowDC",0},
2945 { "_wxTimerEvent","_class_wxTimerEvent",0},
2946 { "_wxScrollBar","_class_wxScrollBar",0},
2947 { "_wxSpinButton","_class_wxSpinButton",0},
2948 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
2949 { "_class_wxNotifyEvent","_wxNotifyEvent",0},
2950 { "_class_wxValidator","_wxValidator",0},
2951 { "_class_wxPyEvent","_wxPyEvent",0},
2952 { "_class_wxIconizeEvent","_wxIconizeEvent",0},
2953 { "_class_wxStaticBitmap","_wxStaticBitmap",0},
2954 { "_wxDropTarget","_class_wxDropTarget",0},
2955 { "_class_wxStaticLine","_wxStaticLine",0},
2956 { "_class_wxColourDatabase","_wxColourDatabase",0},
2957 { "_wxScrollEvent","_class_wxScrollEvent",0},
2958 { "_EBool","_wxCoord",0},
2959 { "_EBool","_wxPrintQuality",0},
2960 { "_EBool","_signed_int",0},
2961 { "_EBool","_int",0},
2962 { "_EBool","_wxWindowID",0},
2963 { "_class_wxRegion","_wxRegion",0},
2964 { "_class_wxDataFormat","_wxDataFormat",0},
2965 { "_class_wxDropFilesEvent","_wxDropFilesEvent",0},
2966 { "_wxWindowDestroyEvent","_class_wxWindowDestroyEvent",0},
2967 { "_wxStaticText","_class_wxStaticText",0},
2968 { "_wxFont","_class_wxFont",0},
2969 { "_class_wxPyDropTarget","_wxPyDropTarget",0},
2970 { "_wxCloseEvent","_class_wxCloseEvent",0},
2971 { "_unsigned_long","_long",0},
2972 { "_class_wxRect","_wxRect",0},
2973 { "_class_wxDC","_wxDC",0},
2974 { "_wxScrollWinEvent","_class_wxScrollWinEvent",0},
2975 { "_class_wxBrushList","_wxBrushList",0},
2976 { "_wxQueryNewPaletteEvent","_class_wxQueryNewPaletteEvent",0},
2977 { "_class_wxPenList","_wxPenList",0},
2978 { "_class_wxWindowCreateEvent","_wxWindowCreateEvent",0},
2979 { "_wxFocusEvent","_class_wxFocusEvent",0},
2980 { "_wxMaximizeEvent","_class_wxMaximizeEvent",0},
2981 { "_class_wxTimerEvent","_wxTimerEvent",0},
2982 { "_class_wxSpinButton","_wxSpinButton",0},
2983 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
2984 { "_class_wxPanel","_wxPanel",0},
2985 { "_class_wxCheckBox","_wxCheckBox",0},
2986 { "_wxComboBox","_class_wxComboBox",0},
2987 { "_wxRadioButton","_class_wxRadioButton",0},
2988 { "_signed_int","_wxCoord",0},
2989 { "_signed_int","_wxPrintQuality",0},
2990 { "_signed_int","_EBool",0},
2991 { "_signed_int","_wxWindowID",0},
2992 { "_signed_int","_int",0},
2993 { "_class_wxTextCtrl","_wxTextCtrl",0},
2994 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
2995 { "_wxMetaFileDC","_class_wxMetaFileDC",0},
2996 { "_class_wxTextDataObject","_wxTextDataObject",0},
2997 { "_wxMenu","_class_wxMenu",0},
2998 { "_class_wxMoveEvent","_wxMoveEvent",0},
2999 { "_wxListBox","_class_wxListBox",0},
3000 { "_wxScreenDC","_class_wxScreenDC",0},
3001 { "_WXTYPE","_short",0},
3002 { "_WXTYPE","_signed_short",0},
3003 { "_WXTYPE","_unsigned_short",0},
3004 { "_class_wxDropTarget","_wxDropTarget",0},
3005 { "_class_wxBrush","_wxBrush",0},
3006 { "_unsigned_short","_WXTYPE",0},
3007 { "_unsigned_short","_short",0},
3008 { "_class_wxWindow","_wxWindow",0},
3009 { "_class_wxStaticText","_wxStaticText",0},
3010 { "_class_wxFont","_wxFont",0},
3011 { "_wxClipboard","_class_wxClipboard",0},
3012 { "_class_wxPyValidator","_wxPyValidator",0},
3013 { "_class_wxCloseEvent","_wxCloseEvent",0},
3014 { "_wxBusyInfo","_class_wxBusyInfo",0},
3015 { "_wxFontList","_class_wxFontList",0},
3016 { "_class_wxMenuEvent","_wxMenuEvent",0},
3017 { "_wxPaletteChangedEvent","_class_wxPaletteChangedEvent",0},
3018 { "_class_wxPyBitmapDataObject","_wxPyBitmapDataObject",0},
3019 { "_wxClientDC","_class_wxClientDC",0},
3020 { "_wxMouseEvent","_class_wxMouseEvent",0},
3021 { "_class_wxPoint","_wxPoint",0},
3022 { "_wxRealPoint","_class_wxRealPoint",0},
3023 { "_class_wxRadioBox","_wxRadioBox",0},
3024 { "_class_wxBoxSizer","_class_wxStaticBoxSizer",SwigwxStaticBoxSizerTowxBoxSizer
},
3025 { "_class_wxBoxSizer","_wxStaticBoxSizer",SwigwxStaticBoxSizerTowxBoxSizer
},
3026 { "_class_wxBoxSizer","_wxBoxSizer",0},
3027 { "_signed_short","_WXTYPE",0},
3028 { "_signed_short","_short",0},
3029 { "_wxMemoryDC","_class_wxMemoryDC",0},
3030 { "_wxPyTextDataObject","_class_wxPyTextDataObject",0},
3031 { "_wxPaintDC","_class_wxPaintDC",0},
3032 { "_class_wxWindowDC","_wxWindowDC",0},
3033 { "_class_wxFocusEvent","_wxFocusEvent",0},
3034 { "_class_wxMaximizeEvent","_wxMaximizeEvent",0},
3035 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
3036 { "_class_wxCursor","_wxCursor",0},
3037 { "_wxPyFileDropTarget","_class_wxPyFileDropTarget",0},
3038 { "_wxScrolledWindow","_class_wxScrolledWindow",0},
3039 { "_unsigned_char","_byte",0},
3040 { "_class_wxMetaFileDC","_wxMetaFileDC",0},
3041 { "_class_wxMenu","_wxMenu",0},
3042 { "_wxControl","_class_wxControl",0},
3043 { "_class_wxListBox","_wxListBox",0},
3044 { "_unsigned_int","_wxCoord",0},
3045 { "_unsigned_int","_wxPrintQuality",0},
3046 { "_unsigned_int","_time_t",0},
3047 { "_unsigned_int","_size_t",0},
3048 { "_unsigned_int","_uint",0},
3049 { "_unsigned_int","_wxWindowID",0},
3050 { "_unsigned_int","_int",0},
3051 { "_wxIcon","_class_wxIcon",0},
3052 { "_wxDialog","_class_wxDialog",0},
3053 { "_class_wxPen","_wxPen",0},
3054 { "_short","_WXTYPE",0},
3055 { "_short","_unsigned_short",0},
3056 { "_short","_signed_short",0},
3057 { "_class_wxStaticBox","_wxStaticBox",0},
3058 { "_class_wxPyDataObjectSimple","_wxPyDataObjectSimple",0},
3059 { "_class_wxPyDropSource","_wxPyDropSource",0},
3060 { "_class_wxScrollEvent","_wxScrollEvent",0},
3061 { "_wxJoystickEvent","_class_wxJoystickEvent",0},
3062 { "_class_wxChoice","_wxChoice",0},
3063 { "_class_wxSlider","_wxSlider",0},
3064 { "_class_wxImageList","_wxImageList",0},
3065 { "_class_wxBitmapButton","_wxBitmapButton",0},
3066 { "_class_wxGridSizer","_class_wxFlexGridSizer",SwigwxFlexGridSizerTowxGridSizer
},
3067 { "_class_wxGridSizer","_wxFlexGridSizer",SwigwxFlexGridSizerTowxGridSizer
},
3068 { "_class_wxGridSizer","_wxGridSizer",0},
3069 { "_class_wxPaletteChangedEvent","_wxPaletteChangedEvent",0},
3070 { "_wxWindowID","_wxCoord",0},
3071 { "_wxWindowID","_wxPrintQuality",0},
3072 { "_wxWindowID","_time_t",0},
3073 { "_wxWindowID","_size_t",0},
3074 { "_wxWindowID","_EBool",0},
3075 { "_wxWindowID","_uint",0},
3076 { "_wxWindowID","_int",0},
3077 { "_wxWindowID","_signed_int",0},
3078 { "_wxWindowID","_unsigned_int",0},
3079 { "_class_wxScrollWinEvent","_wxScrollWinEvent",0},
3080 { "_class_wxSizerItem","_wxSizerItem",0},
3081 { "_int","_wxCoord",0},
3082 { "_int","_wxPrintQuality",0},
3083 { "_int","_time_t",0},
3084 { "_int","_size_t",0},
3085 { "_int","_EBool",0},
3086 { "_int","_uint",0},
3087 { "_int","_wxWindowID",0},
3088 { "_int","_unsigned_int",0},
3089 { "_int","_signed_int",0},
3090 { "_class_wxMouseEvent","_wxMouseEvent",0},
3091 { "_wxPyCommandEvent","_class_wxPyCommandEvent",0},
3092 { "_class_wxSpinEvent","_wxSpinEvent",0},
3093 { "_class_wxQueryNewPaletteEvent","_wxQueryNewPaletteEvent",0},
3094 { "_time_t","_wxCoord",0},
3095 { "_time_t","_wxPrintQuality",0},
3096 { "_time_t","_unsigned_int",0},
3097 { "_time_t","_int",0},
3098 { "_time_t","_wxWindowID",0},
3099 { "_time_t","_uint",0},
3100 { "_time_t","_size_t",0},
3101 { "_class_wxNavigationKeyEvent","_wxNavigationKeyEvent",0},
3102 { "_wxButton","_class_wxButton",0},
3103 { "_wxSize","_class_wxSize",0},
3104 { "_wxRegionIterator","_class_wxRegionIterator",0},
3105 { "_class_wxPyTextDataObject","_wxPyTextDataObject",0},
3106 { "_wxStaticBoxSizer","_class_wxStaticBoxSizer",0},
3107 { "_class_wxPaintDC","_wxPaintDC",0},
3108 { "_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0},
3109 { "_class_wxPyFileDropTarget","_wxPyFileDropTarget",0},
3110 { "_class_wxInitDialogEvent","_wxInitDialogEvent",0},
3111 { "_class_wxComboBox","_wxComboBox",0},
3112 { "_class_wxRadioButton","_wxRadioButton",0},
3113 { "_wxValidator","_class_wxValidator",0},
3114 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
3115 { "_wxIconizeEvent","_class_wxIconizeEvent",0},
3116 { "_class_wxControl","_wxControl",0},
3117 { "_wxStaticBitmap","_class_wxStaticBitmap",0},
3118 { "_class_wxIcon","_wxIcon",0},
3119 { "_class_wxColour","_wxColour",0},
3120 { "_class_wxScreenDC","_wxScreenDC",0},
3121 { "_wxPalette","_class_wxPalette",0},
3122 { "_class_wxIdleEvent","_wxIdleEvent",0},
3123 { "_wxCoord","_int",0},
3124 { "_wxCoord","_signed_int",0},
3125 { "_wxCoord","_unsigned_int",0},
3126 { "_wxCoord","_wxWindowID",0},
3127 { "_wxCoord","_uint",0},
3128 { "_wxCoord","_EBool",0},
3129 { "_wxCoord","_size_t",0},
3130 { "_wxCoord","_time_t",0},
3131 { "_wxCoord","_wxPrintQuality",0},
3132 { "_wxEraseEvent","_class_wxEraseEvent",0},
3133 { "_wxDataObjectComposite","_class_wxDataObjectComposite",0},
3134 { "_class_wxJoystickEvent","_wxJoystickEvent",0},
3135 { "_class_wxToggleButton","_wxToggleButton",0},
3136 { "_wxRegion","_class_wxRegion",0},
3137 { "_wxSizer","_class_wxFlexGridSizer",SwigwxFlexGridSizerTowxSizer
},
3138 { "_wxSizer","_wxFlexGridSizer",SwigwxFlexGridSizerTowxSizer
},
3139 { "_wxSizer","_class_wxGridSizer",SwigwxGridSizerTowxSizer
},
3140 { "_wxSizer","_wxGridSizer",SwigwxGridSizerTowxSizer
},
3141 { "_wxSizer","_class_wxNotebookSizer",SwigwxNotebookSizerTowxSizer
},
3142 { "_wxSizer","_wxNotebookSizer",SwigwxNotebookSizerTowxSizer
},
3143 { "_wxSizer","_class_wxStaticBoxSizer",SwigwxStaticBoxSizerTowxSizer
},
3144 { "_wxSizer","_wxStaticBoxSizer",SwigwxStaticBoxSizerTowxSizer
},
3145 { "_wxSizer","_class_wxBoxSizer",SwigwxBoxSizerTowxSizer
},
3146 { "_wxSizer","_wxBoxSizer",SwigwxBoxSizerTowxSizer
},
3147 { "_wxSizer","_class_wxPySizer",SwigwxPySizerTowxSizer
},
3148 { "_wxSizer","_wxPySizer",SwigwxPySizerTowxSizer
},
3149 { "_wxSizer","_class_wxSizer",0},
3150 { "_class_wxShowEvent","_wxShowEvent",0},
3151 { "_wxPyDropTarget","_class_wxPyDropTarget",0},
3152 { "_wxActivateEvent","_class_wxActivateEvent",0},
3153 { "_wxGauge","_class_wxGauge",0},
3154 { "_class_wxCheckListBox","_wxCheckListBox",0},
3155 { "_class_wxBusyInfo","_wxBusyInfo",0},
3156 { "_class_wxFontList","_wxFontList",0},
3157 { "_class_wxCommandEvent","_wxCommandEvent",0},
3158 { "_class_wxClientDC","_wxClientDC",0},
3159 { "_class_wxSizeEvent","_wxSizeEvent",0},
3160 { "_wxBrushList","_class_wxBrushList",0},
3161 { "_wxCustomDataObject","_class_wxCustomDataObject",0},
3162 { "_class_wxSize","_wxSize",0},
3163 { "_class_wxBitmap","_wxBitmap",0},
3164 { "_class_wxMemoryDC","_wxMemoryDC",0},
3165 { "_wxPyTextDropTarget","_class_wxPyTextDropTarget",0},
3166 { "_wxMenuBar","_class_wxMenuBar",0},
3167 { "_wxEvtHandler","_class_wxEvtHandler",0},
3168 { "_wxMenuItem","_class_wxMenuItem",0},
3169 { "_class_wxScrollBar","_wxScrollBar",0},
3170 { "_class_wxScrolledWindow","_wxScrolledWindow",0},
3171 { "_wxKeyEvent","_class_wxKeyEvent",0},
3172 { "_wxMoveEvent","_class_wxMoveEvent",0},
3173 { "_class_wxPalette","_wxPalette",0},
3174 { "_wxFileDataObject","_class_wxFileDataObject",0},
3175 { "_wxNotebookSizer","_class_wxNotebookSizer",0},
3176 { "_class_wxEraseEvent","_wxEraseEvent",0},
3177 { "_class_wxDataObjectComposite","_wxDataObjectComposite",0},
3178 { "_wxWindow","_class_wxWindow",0},
3179 { "_class_wxWindowDestroyEvent","_wxWindowDestroyEvent",0},
3182 static PyObject
*SWIG_globals
;
3186 SWIGEXPORT(void) initsizersc() {
3188 SWIG_globals
= SWIG_newvarlink();
3189 m
= Py_InitModule("sizersc", sizerscMethods
);
3190 d
= PyModule_GetDict(m
);
3193 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
3194 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);