2 * FILE : src/gtk/sizers.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
32 # define SWIGEXPORT(a) a
36 # define SWIGEXPORT(a) a
45 extern void SWIG_MakePtr(char *, void *, char *);
46 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
47 extern char *SWIG_GetPtr(char *, void **, char *);
48 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
49 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
50 extern PyObject
*SWIG_newvarlink(void);
54 #define SWIG_init initsizersc
56 #define SWIG_name "sizersc"
60 static PyObject
* l_output_helper(PyObject
* target
, PyObject
* o
) {
64 } else if (target
== Py_None
) {
68 if (!PyList_Check(target
)) {
70 target
= PyList_New(0);
71 PyList_Append(target
, o2
);
74 PyList_Append(target
,o
);
80 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
86 } else if (target
== Py_None
) {
90 if (!PyTuple_Check(target
)) {
92 target
= PyTuple_New(1);
93 PyTuple_SetItem(target
, 0, o2
);
96 PyTuple_SetItem(o3
, 0, o
);
99 target
= PySequence_Concat(o2
, o3
);
106 #if PYTHON_API_VERSION >= 1009
107 static char* wxStringErrorMsg
= "String or Unicode type required";
109 static char* wxStringErrorMsg
= "string type is required for parameter";
112 class wxPySizer
: public wxSizer
{
113 DECLARE_DYNAMIC_CLASS(wxPySizer
);
115 wxPySizer() : wxSizer() {};
117 DEC_PYCALLBACK___pure(RecalcSizes
);
118 DEC_PYCALLBACK_wxSize__pure(CalcMin
);
123 IMP_PYCALLBACK___pure(wxPySizer
, wxSizer
, RecalcSizes
);
124 IMP_PYCALLBACK_wxSize__pure(wxPySizer
, wxSizer
, CalcMin
);
126 IMPLEMENT_DYNAMIC_CLASS(wxPySizer
, wxSizer
);
130 #define wxSizerItem_GetSize(_swigobj) (_swigobj->GetSize())
131 static PyObject
*_wrap_wxSizerItem_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
132 PyObject
* _resultobj
;
135 PyObject
* _argo0
= 0;
136 char *_kwnames
[] = { "self", NULL
};
140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSizerItem_GetSize",_kwnames
,&_argo0
))
143 if (_argo0
== Py_None
) { _arg0
= NULL
; }
144 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizerItem_p")) {
145 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizerItem_GetSize. Expected _wxSizerItem_p.");
150 wxPy_BEGIN_ALLOW_THREADS
;
151 _result
= new wxSize (wxSizerItem_GetSize(_arg0
));
153 wxPy_END_ALLOW_THREADS
;
154 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
155 _resultobj
= Py_BuildValue("s",_ptemp
);
159 #define wxSizerItem_CalcMin(_swigobj) (_swigobj->CalcMin())
160 static PyObject
*_wrap_wxSizerItem_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
161 PyObject
* _resultobj
;
164 PyObject
* _argo0
= 0;
165 char *_kwnames
[] = { "self", NULL
};
169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSizerItem_CalcMin",_kwnames
,&_argo0
))
172 if (_argo0
== Py_None
) { _arg0
= NULL
; }
173 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizerItem_p")) {
174 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizerItem_CalcMin. Expected _wxSizerItem_p.");
179 wxPy_BEGIN_ALLOW_THREADS
;
180 _result
= new wxSize (wxSizerItem_CalcMin(_arg0
));
182 wxPy_END_ALLOW_THREADS
;
183 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
184 _resultobj
= Py_BuildValue("s",_ptemp
);
188 #define wxSizerItem_SetDimension(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDimension(_swigarg0,_swigarg1))
189 static PyObject
*_wrap_wxSizerItem_SetDimension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
190 PyObject
* _resultobj
;
194 PyObject
* _argo0
= 0;
196 PyObject
* _obj1
= 0;
198 PyObject
* _obj2
= 0;
199 char *_kwnames
[] = { "self","pos","size", NULL
};
202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxSizerItem_SetDimension",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
205 if (_argo0
== Py_None
) { _arg0
= NULL
; }
206 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizerItem_p")) {
207 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizerItem_SetDimension. Expected _wxSizerItem_p.");
213 if (! wxPoint_helper(_obj1
, &_arg1
))
218 if (! wxSize_helper(_obj2
, &_arg2
))
222 wxPy_BEGIN_ALLOW_THREADS
;
223 wxSizerItem_SetDimension(_arg0
,*_arg1
,*_arg2
);
225 wxPy_END_ALLOW_THREADS
;
226 } Py_INCREF(Py_None
);
227 _resultobj
= Py_None
;
231 #define wxSizerItem_SetRatioWH(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRatio(_swigarg0,_swigarg1))
232 static PyObject
*_wrap_wxSizerItem_SetRatioWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
233 PyObject
* _resultobj
;
237 PyObject
* _argo0
= 0;
238 char *_kwnames
[] = { "self","width","height", NULL
};
241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxSizerItem_SetRatioWH",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
244 if (_argo0
== Py_None
) { _arg0
= NULL
; }
245 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizerItem_p")) {
246 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizerItem_SetRatioWH. Expected _wxSizerItem_p.");
251 wxPy_BEGIN_ALLOW_THREADS
;
252 wxSizerItem_SetRatioWH(_arg0
,_arg1
,_arg2
);
254 wxPy_END_ALLOW_THREADS
;
255 } Py_INCREF(Py_None
);
256 _resultobj
= Py_None
;
260 #define wxSizerItem_SetRatioSize(_swigobj,_swigarg0) (_swigobj->SetRatio(_swigarg0))
261 static PyObject
*_wrap_wxSizerItem_SetRatioSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
262 PyObject
* _resultobj
;
265 PyObject
* _argo0
= 0;
267 PyObject
* _obj1
= 0;
268 char *_kwnames
[] = { "self","size", NULL
};
271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxSizerItem_SetRatioSize",_kwnames
,&_argo0
,&_obj1
))
274 if (_argo0
== Py_None
) { _arg0
= NULL
; }
275 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizerItem_p")) {
276 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizerItem_SetRatioSize. Expected _wxSizerItem_p.");
282 if (! wxSize_helper(_obj1
, &_arg1
))
286 wxPy_BEGIN_ALLOW_THREADS
;
287 wxSizerItem_SetRatioSize(_arg0
,*_arg1
);
289 wxPy_END_ALLOW_THREADS
;
290 } Py_INCREF(Py_None
);
291 _resultobj
= Py_None
;
295 #define wxSizerItem_SetRatio(_swigobj,_swigarg0) (_swigobj->SetRatio(_swigarg0))
296 static PyObject
*_wrap_wxSizerItem_SetRatio(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
297 PyObject
* _resultobj
;
300 PyObject
* _argo0
= 0;
301 char *_kwnames
[] = { "self","ratio", NULL
};
304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Of:wxSizerItem_SetRatio",_kwnames
,&_argo0
,&_arg1
))
307 if (_argo0
== Py_None
) { _arg0
= NULL
; }
308 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizerItem_p")) {
309 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizerItem_SetRatio. Expected _wxSizerItem_p.");
314 wxPy_BEGIN_ALLOW_THREADS
;
315 wxSizerItem_SetRatio(_arg0
,_arg1
);
317 wxPy_END_ALLOW_THREADS
;
318 } Py_INCREF(Py_None
);
319 _resultobj
= Py_None
;
323 #define wxSizerItem_GetRatio(_swigobj) (_swigobj->GetRatio())
324 static PyObject
*_wrap_wxSizerItem_GetRatio(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
325 PyObject
* _resultobj
;
328 PyObject
* _argo0
= 0;
329 char *_kwnames
[] = { "self", NULL
};
332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSizerItem_GetRatio",_kwnames
,&_argo0
))
335 if (_argo0
== Py_None
) { _arg0
= NULL
; }
336 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizerItem_p")) {
337 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizerItem_GetRatio. Expected _wxSizerItem_p.");
342 wxPy_BEGIN_ALLOW_THREADS
;
343 _result
= (float )wxSizerItem_GetRatio(_arg0
);
345 wxPy_END_ALLOW_THREADS
;
346 } _resultobj
= Py_BuildValue("f",_result
);
350 #define wxSizerItem_IsWindow(_swigobj) (_swigobj->IsWindow())
351 static PyObject
*_wrap_wxSizerItem_IsWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
352 PyObject
* _resultobj
;
355 PyObject
* _argo0
= 0;
356 char *_kwnames
[] = { "self", NULL
};
359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSizerItem_IsWindow",_kwnames
,&_argo0
))
362 if (_argo0
== Py_None
) { _arg0
= NULL
; }
363 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizerItem_p")) {
364 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizerItem_IsWindow. Expected _wxSizerItem_p.");
369 wxPy_BEGIN_ALLOW_THREADS
;
370 _result
= (bool )wxSizerItem_IsWindow(_arg0
);
372 wxPy_END_ALLOW_THREADS
;
373 } _resultobj
= Py_BuildValue("i",_result
);
377 #define wxSizerItem_IsSizer(_swigobj) (_swigobj->IsSizer())
378 static PyObject
*_wrap_wxSizerItem_IsSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
379 PyObject
* _resultobj
;
382 PyObject
* _argo0
= 0;
383 char *_kwnames
[] = { "self", NULL
};
386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSizerItem_IsSizer",_kwnames
,&_argo0
))
389 if (_argo0
== Py_None
) { _arg0
= NULL
; }
390 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizerItem_p")) {
391 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizerItem_IsSizer. Expected _wxSizerItem_p.");
396 wxPy_BEGIN_ALLOW_THREADS
;
397 _result
= (bool )wxSizerItem_IsSizer(_arg0
);
399 wxPy_END_ALLOW_THREADS
;
400 } _resultobj
= Py_BuildValue("i",_result
);
404 #define wxSizerItem_IsSpacer(_swigobj) (_swigobj->IsSpacer())
405 static PyObject
*_wrap_wxSizerItem_IsSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
406 PyObject
* _resultobj
;
409 PyObject
* _argo0
= 0;
410 char *_kwnames
[] = { "self", NULL
};
413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSizerItem_IsSpacer",_kwnames
,&_argo0
))
416 if (_argo0
== Py_None
) { _arg0
= NULL
; }
417 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizerItem_p")) {
418 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizerItem_IsSpacer. Expected _wxSizerItem_p.");
423 wxPy_BEGIN_ALLOW_THREADS
;
424 _result
= (bool )wxSizerItem_IsSpacer(_arg0
);
426 wxPy_END_ALLOW_THREADS
;
427 } _resultobj
= Py_BuildValue("i",_result
);
431 #define wxSizerItem_GetWindow(_swigobj) (_swigobj->GetWindow())
432 static PyObject
*_wrap_wxSizerItem_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
433 PyObject
* _resultobj
;
436 PyObject
* _argo0
= 0;
437 char *_kwnames
[] = { "self", NULL
};
441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSizerItem_GetWindow",_kwnames
,&_argo0
))
444 if (_argo0
== Py_None
) { _arg0
= NULL
; }
445 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizerItem_p")) {
446 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizerItem_GetWindow. Expected _wxSizerItem_p.");
451 wxPy_BEGIN_ALLOW_THREADS
;
452 _result
= (wxWindow
*)wxSizerItem_GetWindow(_arg0
);
454 wxPy_END_ALLOW_THREADS
;
456 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
457 _resultobj
= Py_BuildValue("s",_ptemp
);
460 _resultobj
= Py_None
;
465 #define wxSizerItem_SetWindow(_swigobj,_swigarg0) (_swigobj->SetWindow(_swigarg0))
466 static PyObject
*_wrap_wxSizerItem_SetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
467 PyObject
* _resultobj
;
470 PyObject
* _argo0
= 0;
471 PyObject
* _argo1
= 0;
472 char *_kwnames
[] = { "self","window", NULL
};
475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxSizerItem_SetWindow",_kwnames
,&_argo0
,&_argo1
))
478 if (_argo0
== Py_None
) { _arg0
= NULL
; }
479 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizerItem_p")) {
480 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizerItem_SetWindow. Expected _wxSizerItem_p.");
485 if (_argo1
== Py_None
) { _arg1
= NULL
; }
486 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
487 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSizerItem_SetWindow. Expected _wxWindow_p.");
492 wxPy_BEGIN_ALLOW_THREADS
;
493 wxSizerItem_SetWindow(_arg0
,_arg1
);
495 wxPy_END_ALLOW_THREADS
;
496 } Py_INCREF(Py_None
);
497 _resultobj
= Py_None
;
501 #define wxSizerItem_GetSizer(_swigobj) (_swigobj->GetSizer())
502 static PyObject
*_wrap_wxSizerItem_GetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
503 PyObject
* _resultobj
;
506 PyObject
* _argo0
= 0;
507 char *_kwnames
[] = { "self", NULL
};
511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSizerItem_GetSizer",_kwnames
,&_argo0
))
514 if (_argo0
== Py_None
) { _arg0
= NULL
; }
515 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizerItem_p")) {
516 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizerItem_GetSizer. Expected _wxSizerItem_p.");
521 wxPy_BEGIN_ALLOW_THREADS
;
522 _result
= (wxSizer
*)wxSizerItem_GetSizer(_arg0
);
524 wxPy_END_ALLOW_THREADS
;
526 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSizer_p");
527 _resultobj
= Py_BuildValue("s",_ptemp
);
530 _resultobj
= Py_None
;
535 #define wxSizerItem_SetSizer(_swigobj,_swigarg0) (_swigobj->SetSizer(_swigarg0))
536 static PyObject
*_wrap_wxSizerItem_SetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
537 PyObject
* _resultobj
;
540 PyObject
* _argo0
= 0;
541 PyObject
* _argo1
= 0;
542 char *_kwnames
[] = { "self","sizer", NULL
};
545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxSizerItem_SetSizer",_kwnames
,&_argo0
,&_argo1
))
548 if (_argo0
== Py_None
) { _arg0
= NULL
; }
549 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizerItem_p")) {
550 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizerItem_SetSizer. Expected _wxSizerItem_p.");
555 if (_argo1
== Py_None
) { _arg1
= NULL
; }
556 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxSizer_p")) {
557 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSizerItem_SetSizer. Expected _wxSizer_p.");
562 wxPy_BEGIN_ALLOW_THREADS
;
563 wxSizerItem_SetSizer(_arg0
,_arg1
);
565 wxPy_END_ALLOW_THREADS
;
566 } Py_INCREF(Py_None
);
567 _resultobj
= Py_None
;
571 #define wxSizerItem_GetOption(_swigobj) (_swigobj->GetOption())
572 static PyObject
*_wrap_wxSizerItem_GetOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
573 PyObject
* _resultobj
;
576 PyObject
* _argo0
= 0;
577 char *_kwnames
[] = { "self", NULL
};
580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSizerItem_GetOption",_kwnames
,&_argo0
))
583 if (_argo0
== Py_None
) { _arg0
= NULL
; }
584 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizerItem_p")) {
585 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizerItem_GetOption. Expected _wxSizerItem_p.");
590 wxPy_BEGIN_ALLOW_THREADS
;
591 _result
= (int )wxSizerItem_GetOption(_arg0
);
593 wxPy_END_ALLOW_THREADS
;
594 } _resultobj
= Py_BuildValue("i",_result
);
598 #define wxSizerItem_GetFlag(_swigobj) (_swigobj->GetFlag())
599 static PyObject
*_wrap_wxSizerItem_GetFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
600 PyObject
* _resultobj
;
603 PyObject
* _argo0
= 0;
604 char *_kwnames
[] = { "self", NULL
};
607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSizerItem_GetFlag",_kwnames
,&_argo0
))
610 if (_argo0
== Py_None
) { _arg0
= NULL
; }
611 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizerItem_p")) {
612 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizerItem_GetFlag. Expected _wxSizerItem_p.");
617 wxPy_BEGIN_ALLOW_THREADS
;
618 _result
= (int )wxSizerItem_GetFlag(_arg0
);
620 wxPy_END_ALLOW_THREADS
;
621 } _resultobj
= Py_BuildValue("i",_result
);
625 #define wxSizerItem_GetBorder(_swigobj) (_swigobj->GetBorder())
626 static PyObject
*_wrap_wxSizerItem_GetBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
627 PyObject
* _resultobj
;
630 PyObject
* _argo0
= 0;
631 char *_kwnames
[] = { "self", NULL
};
634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSizerItem_GetBorder",_kwnames
,&_argo0
))
637 if (_argo0
== Py_None
) { _arg0
= NULL
; }
638 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizerItem_p")) {
639 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizerItem_GetBorder. Expected _wxSizerItem_p.");
644 wxPy_BEGIN_ALLOW_THREADS
;
645 _result
= (int )wxSizerItem_GetBorder(_arg0
);
647 wxPy_END_ALLOW_THREADS
;
648 } _resultobj
= Py_BuildValue("i",_result
);
652 #define wxSizerItem_SetInitSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetInitSize(_swigarg0,_swigarg1))
653 static PyObject
*_wrap_wxSizerItem_SetInitSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
654 PyObject
* _resultobj
;
658 PyObject
* _argo0
= 0;
659 char *_kwnames
[] = { "self","x","y", NULL
};
662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxSizerItem_SetInitSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
665 if (_argo0
== Py_None
) { _arg0
= NULL
; }
666 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizerItem_p")) {
667 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizerItem_SetInitSize. Expected _wxSizerItem_p.");
672 wxPy_BEGIN_ALLOW_THREADS
;
673 wxSizerItem_SetInitSize(_arg0
,_arg1
,_arg2
);
675 wxPy_END_ALLOW_THREADS
;
676 } Py_INCREF(Py_None
);
677 _resultobj
= Py_None
;
681 #define wxSizerItem_SetOption(_swigobj,_swigarg0) (_swigobj->SetOption(_swigarg0))
682 static PyObject
*_wrap_wxSizerItem_SetOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
683 PyObject
* _resultobj
;
686 PyObject
* _argo0
= 0;
687 char *_kwnames
[] = { "self","option", NULL
};
690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSizerItem_SetOption",_kwnames
,&_argo0
,&_arg1
))
693 if (_argo0
== Py_None
) { _arg0
= NULL
; }
694 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizerItem_p")) {
695 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizerItem_SetOption. Expected _wxSizerItem_p.");
700 wxPy_BEGIN_ALLOW_THREADS
;
701 wxSizerItem_SetOption(_arg0
,_arg1
);
703 wxPy_END_ALLOW_THREADS
;
704 } Py_INCREF(Py_None
);
705 _resultobj
= Py_None
;
709 #define wxSizerItem_SetFlag(_swigobj,_swigarg0) (_swigobj->SetFlag(_swigarg0))
710 static PyObject
*_wrap_wxSizerItem_SetFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
711 PyObject
* _resultobj
;
714 PyObject
* _argo0
= 0;
715 char *_kwnames
[] = { "self","flag", NULL
};
718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSizerItem_SetFlag",_kwnames
,&_argo0
,&_arg1
))
721 if (_argo0
== Py_None
) { _arg0
= NULL
; }
722 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizerItem_p")) {
723 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizerItem_SetFlag. Expected _wxSizerItem_p.");
728 wxPy_BEGIN_ALLOW_THREADS
;
729 wxSizerItem_SetFlag(_arg0
,_arg1
);
731 wxPy_END_ALLOW_THREADS
;
732 } Py_INCREF(Py_None
);
733 _resultobj
= Py_None
;
737 #define wxSizerItem_SetBorder(_swigobj,_swigarg0) (_swigobj->SetBorder(_swigarg0))
738 static PyObject
*_wrap_wxSizerItem_SetBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
739 PyObject
* _resultobj
;
742 PyObject
* _argo0
= 0;
743 char *_kwnames
[] = { "self","border", NULL
};
746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSizerItem_SetBorder",_kwnames
,&_argo0
,&_arg1
))
749 if (_argo0
== Py_None
) { _arg0
= NULL
; }
750 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizerItem_p")) {
751 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizerItem_SetBorder. Expected _wxSizerItem_p.");
756 wxPy_BEGIN_ALLOW_THREADS
;
757 wxSizerItem_SetBorder(_arg0
,_arg1
);
759 wxPy_END_ALLOW_THREADS
;
760 } Py_INCREF(Py_None
);
761 _resultobj
= Py_None
;
765 static PyObject
* wxSizerItem_GetUserData(wxSizerItem
*self
) {
766 wxPyUserData
* data
= (wxPyUserData
*)self
->GetUserData();
768 Py_INCREF(data
->m_obj
);
775 static PyObject
*_wrap_wxSizerItem_GetUserData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
776 PyObject
* _resultobj
;
779 PyObject
* _argo0
= 0;
780 char *_kwnames
[] = { "self", NULL
};
783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSizerItem_GetUserData",_kwnames
,&_argo0
))
786 if (_argo0
== Py_None
) { _arg0
= NULL
; }
787 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizerItem_p")) {
788 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizerItem_GetUserData. Expected _wxSizerItem_p.");
793 wxPy_BEGIN_ALLOW_THREADS
;
794 _result
= (PyObject
*)wxSizerItem_GetUserData(_arg0
);
796 wxPy_END_ALLOW_THREADS
;
798 _resultobj
= _result
;
803 static void wxSizer_Destroy(wxSizer
*self
) { delete self
; }
804 static PyObject
*_wrap_wxSizer_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
805 PyObject
* _resultobj
;
807 PyObject
* _argo0
= 0;
808 char *_kwnames
[] = { "self", NULL
};
811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSizer_Destroy",_kwnames
,&_argo0
))
814 if (_argo0
== Py_None
) { _arg0
= NULL
; }
815 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
816 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_Destroy. Expected _wxSizer_p.");
821 wxPy_BEGIN_ALLOW_THREADS
;
822 wxSizer_Destroy(_arg0
);
824 wxPy_END_ALLOW_THREADS
;
825 } Py_INCREF(Py_None
);
826 _resultobj
= Py_None
;
830 static void wxSizer_AddWindow(wxSizer
*self
,wxWindow
* window
,int option
,int flag
,int border
,PyObject
* userData
) {
831 wxPyUserData
* data
= NULL
;
832 if (userData
) data
= new wxPyUserData(userData
);
833 self
->Add(window
, option
, flag
, border
, data
);
835 static PyObject
*_wrap_wxSizer_AddWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
836 PyObject
* _resultobj
;
839 int _arg2
= (int ) 0;
840 int _arg3
= (int ) 0;
841 int _arg4
= (int ) 0;
842 PyObject
* _arg5
= (PyObject
*) NULL
;
843 PyObject
* _argo0
= 0;
844 PyObject
* _argo1
= 0;
845 PyObject
* _obj5
= 0;
846 char *_kwnames
[] = { "self","window","option","flag","border","userData", NULL
};
849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iiiO:wxSizer_AddWindow",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_obj5
))
852 if (_argo0
== Py_None
) { _arg0
= NULL
; }
853 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
854 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_AddWindow. Expected _wxSizer_p.");
859 if (_argo1
== Py_None
) { _arg1
= NULL
; }
860 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
861 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSizer_AddWindow. Expected _wxWindow_p.");
870 wxPy_BEGIN_ALLOW_THREADS
;
871 wxSizer_AddWindow(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
873 wxPy_END_ALLOW_THREADS
;
874 } Py_INCREF(Py_None
);
875 _resultobj
= Py_None
;
879 static void wxSizer_AddSizer(wxSizer
*self
,wxSizer
* sizer
,int option
,int flag
,int border
,PyObject
* userData
) {
880 wxPyUserData
* data
= NULL
;
881 if (userData
) data
= new wxPyUserData(userData
);
882 self
->Add(sizer
, option
, flag
, border
, data
);
884 static PyObject
*_wrap_wxSizer_AddSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
885 PyObject
* _resultobj
;
888 int _arg2
= (int ) 0;
889 int _arg3
= (int ) 0;
890 int _arg4
= (int ) 0;
891 PyObject
* _arg5
= (PyObject
*) NULL
;
892 PyObject
* _argo0
= 0;
893 PyObject
* _argo1
= 0;
894 PyObject
* _obj5
= 0;
895 char *_kwnames
[] = { "self","sizer","option","flag","border","userData", NULL
};
898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iiiO:wxSizer_AddSizer",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_obj5
))
901 if (_argo0
== Py_None
) { _arg0
= NULL
; }
902 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
903 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_AddSizer. Expected _wxSizer_p.");
908 if (_argo1
== Py_None
) { _arg1
= NULL
; }
909 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxSizer_p")) {
910 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSizer_AddSizer. Expected _wxSizer_p.");
919 wxPy_BEGIN_ALLOW_THREADS
;
920 wxSizer_AddSizer(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
922 wxPy_END_ALLOW_THREADS
;
923 } Py_INCREF(Py_None
);
924 _resultobj
= Py_None
;
928 static void wxSizer_AddSpacer(wxSizer
*self
,int width
,int height
,int option
,int flag
,int border
,PyObject
* userData
) {
929 wxPyUserData
* data
= NULL
;
930 if (userData
) data
= new wxPyUserData(userData
);
931 self
->Add(width
, height
, option
, flag
, border
, data
);
933 static PyObject
*_wrap_wxSizer_AddSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
934 PyObject
* _resultobj
;
938 int _arg3
= (int ) 0;
939 int _arg4
= (int ) 0;
940 int _arg5
= (int ) 0;
941 PyObject
* _arg6
= (PyObject
*) NULL
;
942 PyObject
* _argo0
= 0;
943 PyObject
* _obj6
= 0;
944 char *_kwnames
[] = { "self","width","height","option","flag","border","userData", NULL
};
947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|iiiO:wxSizer_AddSpacer",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_obj6
))
950 if (_argo0
== Py_None
) { _arg0
= NULL
; }
951 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
952 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_AddSpacer. Expected _wxSizer_p.");
961 wxPy_BEGIN_ALLOW_THREADS
;
962 wxSizer_AddSpacer(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
964 wxPy_END_ALLOW_THREADS
;
965 } Py_INCREF(Py_None
);
966 _resultobj
= Py_None
;
970 static void wxSizer_InsertWindow(wxSizer
*self
,int before
,wxWindow
* window
,int option
,int flag
,int border
,PyObject
* userData
) {
971 wxPyUserData
* data
= NULL
;
972 if (userData
) data
= new wxPyUserData(userData
);
973 self
->Insert(before
, window
, option
, flag
, border
, data
);
975 static PyObject
*_wrap_wxSizer_InsertWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
976 PyObject
* _resultobj
;
980 int _arg3
= (int ) 0;
981 int _arg4
= (int ) 0;
982 int _arg5
= (int ) 0;
983 PyObject
* _arg6
= (PyObject
*) NULL
;
984 PyObject
* _argo0
= 0;
985 PyObject
* _argo2
= 0;
986 PyObject
* _obj6
= 0;
987 char *_kwnames
[] = { "self","before","window","option","flag","border","userData", NULL
};
990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|iiiO:wxSizer_InsertWindow",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_arg3
,&_arg4
,&_arg5
,&_obj6
))
993 if (_argo0
== Py_None
) { _arg0
= NULL
; }
994 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
995 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_InsertWindow. Expected _wxSizer_p.");
1000 if (_argo2
== Py_None
) { _arg2
= NULL
; }
1001 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
1002 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxSizer_InsertWindow. Expected _wxWindow_p.");
1011 wxPy_BEGIN_ALLOW_THREADS
;
1012 wxSizer_InsertWindow(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
1014 wxPy_END_ALLOW_THREADS
;
1015 } Py_INCREF(Py_None
);
1016 _resultobj
= Py_None
;
1020 static void wxSizer_InsertSizer(wxSizer
*self
,int before
,wxSizer
* sizer
,int option
,int flag
,int border
,PyObject
* userData
) {
1021 wxPyUserData
* data
= NULL
;
1022 if (userData
) data
= new wxPyUserData(userData
);
1023 self
->Insert(before
, sizer
, option
, flag
, border
, data
);
1025 static PyObject
*_wrap_wxSizer_InsertSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1026 PyObject
* _resultobj
;
1030 int _arg3
= (int ) 0;
1031 int _arg4
= (int ) 0;
1032 int _arg5
= (int ) 0;
1033 PyObject
* _arg6
= (PyObject
*) NULL
;
1034 PyObject
* _argo0
= 0;
1035 PyObject
* _argo2
= 0;
1036 PyObject
* _obj6
= 0;
1037 char *_kwnames
[] = { "self","before","sizer","option","flag","border","userData", NULL
};
1040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|iiiO:wxSizer_InsertSizer",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_arg3
,&_arg4
,&_arg5
,&_obj6
))
1043 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1044 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
1045 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_InsertSizer. Expected _wxSizer_p.");
1050 if (_argo2
== Py_None
) { _arg2
= NULL
; }
1051 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxSizer_p")) {
1052 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxSizer_InsertSizer. Expected _wxSizer_p.");
1061 wxPy_BEGIN_ALLOW_THREADS
;
1062 wxSizer_InsertSizer(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
1064 wxPy_END_ALLOW_THREADS
;
1065 } Py_INCREF(Py_None
);
1066 _resultobj
= Py_None
;
1070 static void wxSizer_InsertSpacer(wxSizer
*self
,int before
,int width
,int height
,int option
,int flag
,int border
,PyObject
* userData
) {
1071 wxPyUserData
* data
= NULL
;
1072 if (userData
) data
= new wxPyUserData(userData
);
1073 self
->Insert(before
, width
, height
, option
, flag
, border
, data
);
1075 static PyObject
*_wrap_wxSizer_InsertSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1076 PyObject
* _resultobj
;
1081 int _arg4
= (int ) 0;
1082 int _arg5
= (int ) 0;
1083 int _arg6
= (int ) 0;
1084 PyObject
* _arg7
= (PyObject
*) NULL
;
1085 PyObject
* _argo0
= 0;
1086 PyObject
* _obj7
= 0;
1087 char *_kwnames
[] = { "self","before","width","height","option","flag","border","userData", NULL
};
1090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiii|iiiO:wxSizer_InsertSpacer",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
,&_obj7
))
1093 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1094 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
1095 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_InsertSpacer. Expected _wxSizer_p.");
1104 wxPy_BEGIN_ALLOW_THREADS
;
1105 wxSizer_InsertSpacer(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
);
1107 wxPy_END_ALLOW_THREADS
;
1108 } Py_INCREF(Py_None
);
1109 _resultobj
= Py_None
;
1113 static void wxSizer_PrependWindow(wxSizer
*self
,wxWindow
* window
,int option
,int flag
,int border
,PyObject
* userData
) {
1114 wxPyUserData
* data
= NULL
;
1115 if (userData
) data
= new wxPyUserData(userData
);
1116 self
->Prepend(window
, option
, flag
, border
, data
);
1118 static PyObject
*_wrap_wxSizer_PrependWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1119 PyObject
* _resultobj
;
1122 int _arg2
= (int ) 0;
1123 int _arg3
= (int ) 0;
1124 int _arg4
= (int ) 0;
1125 PyObject
* _arg5
= (PyObject
*) NULL
;
1126 PyObject
* _argo0
= 0;
1127 PyObject
* _argo1
= 0;
1128 PyObject
* _obj5
= 0;
1129 char *_kwnames
[] = { "self","window","option","flag","border","userData", NULL
};
1132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iiiO:wxSizer_PrependWindow",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_obj5
))
1135 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1136 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
1137 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_PrependWindow. Expected _wxSizer_p.");
1142 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1143 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1144 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSizer_PrependWindow. Expected _wxWindow_p.");
1153 wxPy_BEGIN_ALLOW_THREADS
;
1154 wxSizer_PrependWindow(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
1156 wxPy_END_ALLOW_THREADS
;
1157 } Py_INCREF(Py_None
);
1158 _resultobj
= Py_None
;
1162 static void wxSizer_PrependSizer(wxSizer
*self
,wxSizer
* sizer
,int option
,int flag
,int border
,PyObject
* userData
) {
1163 wxPyUserData
* data
= NULL
;
1164 if (userData
) data
= new wxPyUserData(userData
);
1165 self
->Prepend(sizer
, option
, flag
, border
, data
);
1167 static PyObject
*_wrap_wxSizer_PrependSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1168 PyObject
* _resultobj
;
1171 int _arg2
= (int ) 0;
1172 int _arg3
= (int ) 0;
1173 int _arg4
= (int ) 0;
1174 PyObject
* _arg5
= (PyObject
*) NULL
;
1175 PyObject
* _argo0
= 0;
1176 PyObject
* _argo1
= 0;
1177 PyObject
* _obj5
= 0;
1178 char *_kwnames
[] = { "self","sizer","option","flag","border","userData", NULL
};
1181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iiiO:wxSizer_PrependSizer",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_obj5
))
1184 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1185 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
1186 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_PrependSizer. Expected _wxSizer_p.");
1191 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1192 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxSizer_p")) {
1193 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSizer_PrependSizer. Expected _wxSizer_p.");
1202 wxPy_BEGIN_ALLOW_THREADS
;
1203 wxSizer_PrependSizer(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
1205 wxPy_END_ALLOW_THREADS
;
1206 } Py_INCREF(Py_None
);
1207 _resultobj
= Py_None
;
1211 static void wxSizer_PrependSpacer(wxSizer
*self
,int width
,int height
,int option
,int flag
,int border
,PyObject
* userData
) {
1212 wxPyUserData
* data
= NULL
;
1213 if (userData
) data
= new wxPyUserData(userData
);
1214 self
->Prepend(width
, height
, option
, flag
, border
, data
);
1216 static PyObject
*_wrap_wxSizer_PrependSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1217 PyObject
* _resultobj
;
1221 int _arg3
= (int ) 0;
1222 int _arg4
= (int ) 0;
1223 int _arg5
= (int ) 0;
1224 PyObject
* _arg6
= (PyObject
*) NULL
;
1225 PyObject
* _argo0
= 0;
1226 PyObject
* _obj6
= 0;
1227 char *_kwnames
[] = { "self","width","height","option","flag","border","userData", NULL
};
1230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|iiiO:wxSizer_PrependSpacer",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_obj6
))
1233 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1234 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
1235 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_PrependSpacer. Expected _wxSizer_p.");
1244 wxPy_BEGIN_ALLOW_THREADS
;
1245 wxSizer_PrependSpacer(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
1247 wxPy_END_ALLOW_THREADS
;
1248 } Py_INCREF(Py_None
);
1249 _resultobj
= Py_None
;
1253 #define wxSizer_RemoveWindow(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
1254 static PyObject
*_wrap_wxSizer_RemoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1255 PyObject
* _resultobj
;
1259 PyObject
* _argo0
= 0;
1260 PyObject
* _argo1
= 0;
1261 char *_kwnames
[] = { "self","window", NULL
};
1264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxSizer_RemoveWindow",_kwnames
,&_argo0
,&_argo1
))
1267 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1268 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
1269 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_RemoveWindow. Expected _wxSizer_p.");
1274 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1275 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1276 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSizer_RemoveWindow. Expected _wxWindow_p.");
1281 wxPy_BEGIN_ALLOW_THREADS
;
1282 _result
= (bool )wxSizer_RemoveWindow(_arg0
,_arg1
);
1284 wxPy_END_ALLOW_THREADS
;
1285 } _resultobj
= Py_BuildValue("i",_result
);
1289 #define wxSizer_RemoveSizer(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
1290 static PyObject
*_wrap_wxSizer_RemoveSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1291 PyObject
* _resultobj
;
1295 PyObject
* _argo0
= 0;
1296 PyObject
* _argo1
= 0;
1297 char *_kwnames
[] = { "self","sizer", NULL
};
1300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxSizer_RemoveSizer",_kwnames
,&_argo0
,&_argo1
))
1303 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1304 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
1305 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_RemoveSizer. Expected _wxSizer_p.");
1310 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1311 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxSizer_p")) {
1312 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSizer_RemoveSizer. Expected _wxSizer_p.");
1317 wxPy_BEGIN_ALLOW_THREADS
;
1318 _result
= (bool )wxSizer_RemoveSizer(_arg0
,_arg1
);
1320 wxPy_END_ALLOW_THREADS
;
1321 } _resultobj
= Py_BuildValue("i",_result
);
1325 #define wxSizer_RemovePos(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
1326 static PyObject
*_wrap_wxSizer_RemovePos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1327 PyObject
* _resultobj
;
1331 PyObject
* _argo0
= 0;
1332 char *_kwnames
[] = { "self","pos", NULL
};
1335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSizer_RemovePos",_kwnames
,&_argo0
,&_arg1
))
1338 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1339 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
1340 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_RemovePos. Expected _wxSizer_p.");
1345 wxPy_BEGIN_ALLOW_THREADS
;
1346 _result
= (bool )wxSizer_RemovePos(_arg0
,_arg1
);
1348 wxPy_END_ALLOW_THREADS
;
1349 } _resultobj
= Py_BuildValue("i",_result
);
1353 #define wxSizer_SetDimension(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetDimension(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1354 static PyObject
*_wrap_wxSizer_SetDimension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1355 PyObject
* _resultobj
;
1361 PyObject
* _argo0
= 0;
1362 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
1365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii:wxSizer_SetDimension",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
1368 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1369 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
1370 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_SetDimension. Expected _wxSizer_p.");
1375 wxPy_BEGIN_ALLOW_THREADS
;
1376 wxSizer_SetDimension(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
1378 wxPy_END_ALLOW_THREADS
;
1379 } Py_INCREF(Py_None
);
1380 _resultobj
= Py_None
;
1384 #define wxSizer_SetMinSize(_swigobj,_swigarg0) (_swigobj->SetMinSize(_swigarg0))
1385 static PyObject
*_wrap_wxSizer_SetMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1386 PyObject
* _resultobj
;
1389 PyObject
* _argo0
= 0;
1391 PyObject
* _obj1
= 0;
1392 char *_kwnames
[] = { "self","size", NULL
};
1395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxSizer_SetMinSize",_kwnames
,&_argo0
,&_obj1
))
1398 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1399 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
1400 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_SetMinSize. Expected _wxSizer_p.");
1406 if (! wxSize_helper(_obj1
, &_arg1
))
1410 wxPy_BEGIN_ALLOW_THREADS
;
1411 wxSizer_SetMinSize(_arg0
,*_arg1
);
1413 wxPy_END_ALLOW_THREADS
;
1414 } Py_INCREF(Py_None
);
1415 _resultobj
= Py_None
;
1419 #define wxSizer_SetItemMinSizeWindow(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemMinSize(_swigarg0,_swigarg1,_swigarg2))
1420 static PyObject
*_wrap_wxSizer_SetItemMinSizeWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1421 PyObject
* _resultobj
;
1426 PyObject
* _argo0
= 0;
1427 PyObject
* _argo1
= 0;
1428 char *_kwnames
[] = { "self","window","width","height", NULL
};
1431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxSizer_SetItemMinSizeWindow",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
1434 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1435 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
1436 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_SetItemMinSizeWindow. Expected _wxSizer_p.");
1441 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1442 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1443 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSizer_SetItemMinSizeWindow. Expected _wxWindow_p.");
1448 wxPy_BEGIN_ALLOW_THREADS
;
1449 wxSizer_SetItemMinSizeWindow(_arg0
,_arg1
,_arg2
,_arg3
);
1451 wxPy_END_ALLOW_THREADS
;
1452 } Py_INCREF(Py_None
);
1453 _resultobj
= Py_None
;
1457 #define wxSizer_SetItemMinSizeSizer(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemMinSize(_swigarg0,_swigarg1,_swigarg2))
1458 static PyObject
*_wrap_wxSizer_SetItemMinSizeSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1459 PyObject
* _resultobj
;
1464 PyObject
* _argo0
= 0;
1465 PyObject
* _argo1
= 0;
1466 char *_kwnames
[] = { "self","sizer","width","height", NULL
};
1469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxSizer_SetItemMinSizeSizer",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
1472 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1473 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
1474 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_SetItemMinSizeSizer. Expected _wxSizer_p.");
1479 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1480 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxSizer_p")) {
1481 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSizer_SetItemMinSizeSizer. Expected _wxSizer_p.");
1486 wxPy_BEGIN_ALLOW_THREADS
;
1487 wxSizer_SetItemMinSizeSizer(_arg0
,_arg1
,_arg2
,_arg3
);
1489 wxPy_END_ALLOW_THREADS
;
1490 } Py_INCREF(Py_None
);
1491 _resultobj
= Py_None
;
1495 #define wxSizer_SetItemMinSizePos(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemMinSize(_swigarg0,_swigarg1,_swigarg2))
1496 static PyObject
*_wrap_wxSizer_SetItemMinSizePos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1497 PyObject
* _resultobj
;
1502 PyObject
* _argo0
= 0;
1503 char *_kwnames
[] = { "self","pos","width","height", NULL
};
1506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiii:wxSizer_SetItemMinSizePos",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
1509 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1510 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
1511 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_SetItemMinSizePos. Expected _wxSizer_p.");
1516 wxPy_BEGIN_ALLOW_THREADS
;
1517 wxSizer_SetItemMinSizePos(_arg0
,_arg1
,_arg2
,_arg3
);
1519 wxPy_END_ALLOW_THREADS
;
1520 } Py_INCREF(Py_None
);
1521 _resultobj
= Py_None
;
1525 #define wxSizer_GetSize(_swigobj) (_swigobj->GetSize())
1526 static PyObject
*_wrap_wxSizer_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1527 PyObject
* _resultobj
;
1530 PyObject
* _argo0
= 0;
1531 char *_kwnames
[] = { "self", NULL
};
1535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSizer_GetSize",_kwnames
,&_argo0
))
1538 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1539 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
1540 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_GetSize. Expected _wxSizer_p.");
1545 wxPy_BEGIN_ALLOW_THREADS
;
1546 _result
= new wxSize (wxSizer_GetSize(_arg0
));
1548 wxPy_END_ALLOW_THREADS
;
1549 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
1550 _resultobj
= Py_BuildValue("s",_ptemp
);
1554 #define wxSizer_GetPosition(_swigobj) (_swigobj->GetPosition())
1555 static PyObject
*_wrap_wxSizer_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1556 PyObject
* _resultobj
;
1559 PyObject
* _argo0
= 0;
1560 char *_kwnames
[] = { "self", NULL
};
1564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSizer_GetPosition",_kwnames
,&_argo0
))
1567 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1568 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
1569 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_GetPosition. Expected _wxSizer_p.");
1574 wxPy_BEGIN_ALLOW_THREADS
;
1575 _result
= new wxPoint (wxSizer_GetPosition(_arg0
));
1577 wxPy_END_ALLOW_THREADS
;
1578 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
1579 _resultobj
= Py_BuildValue("s",_ptemp
);
1583 #define wxSizer_GetMinSize(_swigobj) (_swigobj->GetMinSize())
1584 static PyObject
*_wrap_wxSizer_GetMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1585 PyObject
* _resultobj
;
1588 PyObject
* _argo0
= 0;
1589 char *_kwnames
[] = { "self", NULL
};
1593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSizer_GetMinSize",_kwnames
,&_argo0
))
1596 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1597 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
1598 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_GetMinSize. Expected _wxSizer_p.");
1603 wxPy_BEGIN_ALLOW_THREADS
;
1604 _result
= new wxSize (wxSizer_GetMinSize(_arg0
));
1606 wxPy_END_ALLOW_THREADS
;
1607 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
1608 _resultobj
= Py_BuildValue("s",_ptemp
);
1612 #define wxSizer_Layout(_swigobj) (_swigobj->Layout())
1613 static PyObject
*_wrap_wxSizer_Layout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1614 PyObject
* _resultobj
;
1616 PyObject
* _argo0
= 0;
1617 char *_kwnames
[] = { "self", NULL
};
1620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSizer_Layout",_kwnames
,&_argo0
))
1623 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1624 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
1625 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_Layout. Expected _wxSizer_p.");
1630 wxPy_BEGIN_ALLOW_THREADS
;
1631 wxSizer_Layout(_arg0
);
1633 wxPy_END_ALLOW_THREADS
;
1634 } Py_INCREF(Py_None
);
1635 _resultobj
= Py_None
;
1639 #define wxSizer_Fit(_swigobj,_swigarg0) (_swigobj->Fit(_swigarg0))
1640 static PyObject
*_wrap_wxSizer_Fit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1641 PyObject
* _resultobj
;
1644 PyObject
* _argo0
= 0;
1645 PyObject
* _argo1
= 0;
1646 char *_kwnames
[] = { "self","window", NULL
};
1649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxSizer_Fit",_kwnames
,&_argo0
,&_argo1
))
1652 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1653 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
1654 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_Fit. Expected _wxSizer_p.");
1659 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1660 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1661 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSizer_Fit. Expected _wxWindow_p.");
1666 wxPy_BEGIN_ALLOW_THREADS
;
1667 wxSizer_Fit(_arg0
,_arg1
);
1669 wxPy_END_ALLOW_THREADS
;
1670 } Py_INCREF(Py_None
);
1671 _resultobj
= Py_None
;
1675 #define wxSizer_SetSizeHints(_swigobj,_swigarg0) (_swigobj->SetSizeHints(_swigarg0))
1676 static PyObject
*_wrap_wxSizer_SetSizeHints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1677 PyObject
* _resultobj
;
1680 PyObject
* _argo0
= 0;
1681 PyObject
* _argo1
= 0;
1682 char *_kwnames
[] = { "self","window", NULL
};
1685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxSizer_SetSizeHints",_kwnames
,&_argo0
,&_argo1
))
1688 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1689 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
1690 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_SetSizeHints. Expected _wxSizer_p.");
1695 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1696 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1697 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSizer_SetSizeHints. Expected _wxWindow_p.");
1702 wxPy_BEGIN_ALLOW_THREADS
;
1703 wxSizer_SetSizeHints(_arg0
,_arg1
);
1705 wxPy_END_ALLOW_THREADS
;
1706 } Py_INCREF(Py_None
);
1707 _resultobj
= Py_None
;
1711 static PyObject
* wxSizer_GetChildren(wxSizer
*self
) {
1712 wxList
& list
= self
->GetChildren();
1713 return wxPy_ConvertList(&list
, "wxSizerItem");
1715 static PyObject
*_wrap_wxSizer_GetChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1716 PyObject
* _resultobj
;
1719 PyObject
* _argo0
= 0;
1720 char *_kwnames
[] = { "self", NULL
};
1723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSizer_GetChildren",_kwnames
,&_argo0
))
1726 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1727 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
1728 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_GetChildren. Expected _wxSizer_p.");
1733 wxPy_BEGIN_ALLOW_THREADS
;
1734 _result
= (PyObject
*)wxSizer_GetChildren(_arg0
);
1736 wxPy_END_ALLOW_THREADS
;
1738 _resultobj
= _result
;
1743 static void *SwigwxPySizerTowxSizer(void *ptr
) {
1746 src
= (wxPySizer
*) ptr
;
1747 dest
= (wxSizer
*) src
;
1748 return (void *) dest
;
1751 #define new_wxPySizer() (new wxPySizer())
1752 static PyObject
*_wrap_new_wxPySizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1753 PyObject
* _resultobj
;
1754 wxPySizer
* _result
;
1755 char *_kwnames
[] = { NULL
};
1759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPySizer",_kwnames
))
1762 wxPy_BEGIN_ALLOW_THREADS
;
1763 _result
= (wxPySizer
*)new_wxPySizer();
1765 wxPy_END_ALLOW_THREADS
;
1767 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPySizer_p");
1768 _resultobj
= Py_BuildValue("s",_ptemp
);
1771 _resultobj
= Py_None
;
1776 #define wxPySizer__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1))
1777 static PyObject
*_wrap_wxPySizer__setSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1778 PyObject
* _resultobj
;
1782 PyObject
* _argo0
= 0;
1783 PyObject
* _obj1
= 0;
1784 PyObject
* _obj2
= 0;
1785 char *_kwnames
[] = { "self","self","_class", NULL
};
1788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPySizer__setSelf",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
1791 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1792 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPySizer_p")) {
1793 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPySizer__setSelf. Expected _wxPySizer_p.");
1804 wxPy_BEGIN_ALLOW_THREADS
;
1805 wxPySizer__setSelf(_arg0
,_arg1
,_arg2
);
1807 wxPy_END_ALLOW_THREADS
;
1808 } Py_INCREF(Py_None
);
1809 _resultobj
= Py_None
;
1813 static void *SwigwxBoxSizerTowxSizer(void *ptr
) {
1816 src
= (wxBoxSizer
*) ptr
;
1817 dest
= (wxSizer
*) src
;
1818 return (void *) dest
;
1821 #define new_wxBoxSizer(_swigarg0) (new wxBoxSizer(_swigarg0))
1822 static PyObject
*_wrap_new_wxBoxSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1823 PyObject
* _resultobj
;
1824 wxBoxSizer
* _result
;
1825 int _arg0
= (int ) wxHORIZONTAL
;
1826 char *_kwnames
[] = { "orient", NULL
};
1830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxBoxSizer",_kwnames
,&_arg0
))
1833 wxPy_BEGIN_ALLOW_THREADS
;
1834 _result
= (wxBoxSizer
*)new_wxBoxSizer(_arg0
);
1836 wxPy_END_ALLOW_THREADS
;
1838 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBoxSizer_p");
1839 _resultobj
= Py_BuildValue("s",_ptemp
);
1842 _resultobj
= Py_None
;
1847 #define wxBoxSizer_GetOrientation(_swigobj) (_swigobj->GetOrientation())
1848 static PyObject
*_wrap_wxBoxSizer_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1849 PyObject
* _resultobj
;
1852 PyObject
* _argo0
= 0;
1853 char *_kwnames
[] = { "self", NULL
};
1856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBoxSizer_GetOrientation",_kwnames
,&_argo0
))
1859 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1860 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBoxSizer_p")) {
1861 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBoxSizer_GetOrientation. Expected _wxBoxSizer_p.");
1866 wxPy_BEGIN_ALLOW_THREADS
;
1867 _result
= (int )wxBoxSizer_GetOrientation(_arg0
);
1869 wxPy_END_ALLOW_THREADS
;
1870 } _resultobj
= Py_BuildValue("i",_result
);
1874 #define wxBoxSizer_RecalcSizes(_swigobj) (_swigobj->RecalcSizes())
1875 static PyObject
*_wrap_wxBoxSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1876 PyObject
* _resultobj
;
1878 PyObject
* _argo0
= 0;
1879 char *_kwnames
[] = { "self", NULL
};
1882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBoxSizer_RecalcSizes",_kwnames
,&_argo0
))
1885 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1886 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBoxSizer_p")) {
1887 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBoxSizer_RecalcSizes. Expected _wxBoxSizer_p.");
1892 wxPy_BEGIN_ALLOW_THREADS
;
1893 wxBoxSizer_RecalcSizes(_arg0
);
1895 wxPy_END_ALLOW_THREADS
;
1896 } Py_INCREF(Py_None
);
1897 _resultobj
= Py_None
;
1901 #define wxBoxSizer_CalcMin(_swigobj) (_swigobj->CalcMin())
1902 static PyObject
*_wrap_wxBoxSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1903 PyObject
* _resultobj
;
1906 PyObject
* _argo0
= 0;
1907 char *_kwnames
[] = { "self", NULL
};
1911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBoxSizer_CalcMin",_kwnames
,&_argo0
))
1914 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1915 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBoxSizer_p")) {
1916 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBoxSizer_CalcMin. Expected _wxBoxSizer_p.");
1921 wxPy_BEGIN_ALLOW_THREADS
;
1922 _result
= new wxSize (wxBoxSizer_CalcMin(_arg0
));
1924 wxPy_END_ALLOW_THREADS
;
1925 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
1926 _resultobj
= Py_BuildValue("s",_ptemp
);
1930 static void *SwigwxStaticBoxSizerTowxBoxSizer(void *ptr
) {
1931 wxStaticBoxSizer
*src
;
1933 src
= (wxStaticBoxSizer
*) ptr
;
1934 dest
= (wxBoxSizer
*) src
;
1935 return (void *) dest
;
1938 static void *SwigwxStaticBoxSizerTowxSizer(void *ptr
) {
1939 wxStaticBoxSizer
*src
;
1941 src
= (wxStaticBoxSizer
*) ptr
;
1942 dest
= (wxSizer
*) src
;
1943 return (void *) dest
;
1946 #define new_wxStaticBoxSizer(_swigarg0,_swigarg1) (new wxStaticBoxSizer(_swigarg0,_swigarg1))
1947 static PyObject
*_wrap_new_wxStaticBoxSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1948 PyObject
* _resultobj
;
1949 wxStaticBoxSizer
* _result
;
1950 wxStaticBox
* _arg0
;
1951 int _arg1
= (int ) wxHORIZONTAL
;
1952 PyObject
* _argo0
= 0;
1953 char *_kwnames
[] = { "box","orient", NULL
};
1957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:new_wxStaticBoxSizer",_kwnames
,&_argo0
,&_arg1
))
1960 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1961 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticBox_p")) {
1962 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxStaticBoxSizer. Expected _wxStaticBox_p.");
1967 wxPy_BEGIN_ALLOW_THREADS
;
1968 _result
= (wxStaticBoxSizer
*)new_wxStaticBoxSizer(_arg0
,_arg1
);
1970 wxPy_END_ALLOW_THREADS
;
1972 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticBoxSizer_p");
1973 _resultobj
= Py_BuildValue("s",_ptemp
);
1976 _resultobj
= Py_None
;
1981 #define wxStaticBoxSizer_GetStaticBox(_swigobj) (_swigobj->GetStaticBox())
1982 static PyObject
*_wrap_wxStaticBoxSizer_GetStaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1983 PyObject
* _resultobj
;
1984 wxStaticBox
* _result
;
1985 wxStaticBoxSizer
* _arg0
;
1986 PyObject
* _argo0
= 0;
1987 char *_kwnames
[] = { "self", NULL
};
1991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStaticBoxSizer_GetStaticBox",_kwnames
,&_argo0
))
1994 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1995 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticBoxSizer_p")) {
1996 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticBoxSizer_GetStaticBox. Expected _wxStaticBoxSizer_p.");
2001 wxPy_BEGIN_ALLOW_THREADS
;
2002 _result
= (wxStaticBox
*)wxStaticBoxSizer_GetStaticBox(_arg0
);
2004 wxPy_END_ALLOW_THREADS
;
2006 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticBox_p");
2007 _resultobj
= Py_BuildValue("s",_ptemp
);
2010 _resultobj
= Py_None
;
2015 #define wxStaticBoxSizer_RecalcSizes(_swigobj) (_swigobj->RecalcSizes())
2016 static PyObject
*_wrap_wxStaticBoxSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2017 PyObject
* _resultobj
;
2018 wxStaticBoxSizer
* _arg0
;
2019 PyObject
* _argo0
= 0;
2020 char *_kwnames
[] = { "self", NULL
};
2023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStaticBoxSizer_RecalcSizes",_kwnames
,&_argo0
))
2026 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2027 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticBoxSizer_p")) {
2028 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticBoxSizer_RecalcSizes. Expected _wxStaticBoxSizer_p.");
2033 wxPy_BEGIN_ALLOW_THREADS
;
2034 wxStaticBoxSizer_RecalcSizes(_arg0
);
2036 wxPy_END_ALLOW_THREADS
;
2037 } Py_INCREF(Py_None
);
2038 _resultobj
= Py_None
;
2042 #define wxStaticBoxSizer_CalcMin(_swigobj) (_swigobj->CalcMin())
2043 static PyObject
*_wrap_wxStaticBoxSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2044 PyObject
* _resultobj
;
2046 wxStaticBoxSizer
* _arg0
;
2047 PyObject
* _argo0
= 0;
2048 char *_kwnames
[] = { "self", NULL
};
2052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStaticBoxSizer_CalcMin",_kwnames
,&_argo0
))
2055 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2056 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticBoxSizer_p")) {
2057 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticBoxSizer_CalcMin. Expected _wxStaticBoxSizer_p.");
2062 wxPy_BEGIN_ALLOW_THREADS
;
2063 _result
= new wxSize (wxStaticBoxSizer_CalcMin(_arg0
));
2065 wxPy_END_ALLOW_THREADS
;
2066 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2067 _resultobj
= Py_BuildValue("s",_ptemp
);
2071 static void *SwigwxNotebookSizerTowxSizer(void *ptr
) {
2072 wxNotebookSizer
*src
;
2074 src
= (wxNotebookSizer
*) ptr
;
2075 dest
= (wxSizer
*) src
;
2076 return (void *) dest
;
2079 #define new_wxNotebookSizer(_swigarg0) (new wxNotebookSizer(_swigarg0))
2080 static PyObject
*_wrap_new_wxNotebookSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2081 PyObject
* _resultobj
;
2082 wxNotebookSizer
* _result
;
2084 PyObject
* _argo0
= 0;
2085 char *_kwnames
[] = { "nb", NULL
};
2089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxNotebookSizer",_kwnames
,&_argo0
))
2092 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2093 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
2094 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxNotebookSizer. Expected _wxNotebook_p.");
2099 wxPy_BEGIN_ALLOW_THREADS
;
2100 _result
= (wxNotebookSizer
*)new_wxNotebookSizer(_arg0
);
2102 wxPy_END_ALLOW_THREADS
;
2104 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxNotebookSizer_p");
2105 _resultobj
= Py_BuildValue("s",_ptemp
);
2108 _resultobj
= Py_None
;
2113 #define wxNotebookSizer_RecalcSizes(_swigobj) (_swigobj->RecalcSizes())
2114 static PyObject
*_wrap_wxNotebookSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2115 PyObject
* _resultobj
;
2116 wxNotebookSizer
* _arg0
;
2117 PyObject
* _argo0
= 0;
2118 char *_kwnames
[] = { "self", NULL
};
2121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebookSizer_RecalcSizes",_kwnames
,&_argo0
))
2124 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2125 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebookSizer_p")) {
2126 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebookSizer_RecalcSizes. Expected _wxNotebookSizer_p.");
2131 wxPy_BEGIN_ALLOW_THREADS
;
2132 wxNotebookSizer_RecalcSizes(_arg0
);
2134 wxPy_END_ALLOW_THREADS
;
2135 } Py_INCREF(Py_None
);
2136 _resultobj
= Py_None
;
2140 #define wxNotebookSizer_CalcMin(_swigobj) (_swigobj->CalcMin())
2141 static PyObject
*_wrap_wxNotebookSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2142 PyObject
* _resultobj
;
2144 wxNotebookSizer
* _arg0
;
2145 PyObject
* _argo0
= 0;
2146 char *_kwnames
[] = { "self", NULL
};
2150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebookSizer_CalcMin",_kwnames
,&_argo0
))
2153 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2154 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebookSizer_p")) {
2155 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebookSizer_CalcMin. Expected _wxNotebookSizer_p.");
2160 wxPy_BEGIN_ALLOW_THREADS
;
2161 _result
= new wxSize (wxNotebookSizer_CalcMin(_arg0
));
2163 wxPy_END_ALLOW_THREADS
;
2164 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2165 _resultobj
= Py_BuildValue("s",_ptemp
);
2169 #define wxNotebookSizer_GetNotebook(_swigobj) (_swigobj->GetNotebook())
2170 static PyObject
*_wrap_wxNotebookSizer_GetNotebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2171 PyObject
* _resultobj
;
2172 wxNotebook
* _result
;
2173 wxNotebookSizer
* _arg0
;
2174 PyObject
* _argo0
= 0;
2175 char *_kwnames
[] = { "self", NULL
};
2179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebookSizer_GetNotebook",_kwnames
,&_argo0
))
2182 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2183 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebookSizer_p")) {
2184 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebookSizer_GetNotebook. Expected _wxNotebookSizer_p.");
2189 wxPy_BEGIN_ALLOW_THREADS
;
2190 _result
= (wxNotebook
*)wxNotebookSizer_GetNotebook(_arg0
);
2192 wxPy_END_ALLOW_THREADS
;
2194 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxNotebook_p");
2195 _resultobj
= Py_BuildValue("s",_ptemp
);
2198 _resultobj
= Py_None
;
2203 static void *SwigwxGridSizerTowxSizer(void *ptr
) {
2206 src
= (wxGridSizer
*) ptr
;
2207 dest
= (wxSizer
*) src
;
2208 return (void *) dest
;
2211 #define new_wxGridSizer(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxGridSizer(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2212 static PyObject
*_wrap_new_wxGridSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2213 PyObject
* _resultobj
;
2214 wxGridSizer
* _result
;
2215 int _arg0
= (int ) 1;
2216 int _arg1
= (int ) 0;
2217 int _arg2
= (int ) 0;
2218 int _arg3
= (int ) 0;
2219 char *_kwnames
[] = { "rows","cols","vgap","hgap", NULL
};
2223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iiii:new_wxGridSizer",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))
2226 wxPy_BEGIN_ALLOW_THREADS
;
2227 _result
= (wxGridSizer
*)new_wxGridSizer(_arg0
,_arg1
,_arg2
,_arg3
);
2229 wxPy_END_ALLOW_THREADS
;
2231 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridSizer_p");
2232 _resultobj
= Py_BuildValue("s",_ptemp
);
2235 _resultobj
= Py_None
;
2240 #define wxGridSizer_RecalcSizes(_swigobj) (_swigobj->RecalcSizes())
2241 static PyObject
*_wrap_wxGridSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2242 PyObject
* _resultobj
;
2243 wxGridSizer
* _arg0
;
2244 PyObject
* _argo0
= 0;
2245 char *_kwnames
[] = { "self", NULL
};
2248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridSizer_RecalcSizes",_kwnames
,&_argo0
))
2251 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2252 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridSizer_p")) {
2253 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridSizer_RecalcSizes. Expected _wxGridSizer_p.");
2258 wxPy_BEGIN_ALLOW_THREADS
;
2259 wxGridSizer_RecalcSizes(_arg0
);
2261 wxPy_END_ALLOW_THREADS
;
2262 } Py_INCREF(Py_None
);
2263 _resultobj
= Py_None
;
2267 #define wxGridSizer_CalcMin(_swigobj) (_swigobj->CalcMin())
2268 static PyObject
*_wrap_wxGridSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2269 PyObject
* _resultobj
;
2271 wxGridSizer
* _arg0
;
2272 PyObject
* _argo0
= 0;
2273 char *_kwnames
[] = { "self", NULL
};
2277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridSizer_CalcMin",_kwnames
,&_argo0
))
2280 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2281 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridSizer_p")) {
2282 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridSizer_CalcMin. Expected _wxGridSizer_p.");
2287 wxPy_BEGIN_ALLOW_THREADS
;
2288 _result
= new wxSize (wxGridSizer_CalcMin(_arg0
));
2290 wxPy_END_ALLOW_THREADS
;
2291 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2292 _resultobj
= Py_BuildValue("s",_ptemp
);
2296 #define wxGridSizer_SetCols(_swigobj,_swigarg0) (_swigobj->SetCols(_swigarg0))
2297 static PyObject
*_wrap_wxGridSizer_SetCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2298 PyObject
* _resultobj
;
2299 wxGridSizer
* _arg0
;
2301 PyObject
* _argo0
= 0;
2302 char *_kwnames
[] = { "self","cols", NULL
};
2305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridSizer_SetCols",_kwnames
,&_argo0
,&_arg1
))
2308 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2309 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridSizer_p")) {
2310 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridSizer_SetCols. Expected _wxGridSizer_p.");
2315 wxPy_BEGIN_ALLOW_THREADS
;
2316 wxGridSizer_SetCols(_arg0
,_arg1
);
2318 wxPy_END_ALLOW_THREADS
;
2319 } Py_INCREF(Py_None
);
2320 _resultobj
= Py_None
;
2324 #define wxGridSizer_SetRows(_swigobj,_swigarg0) (_swigobj->SetRows(_swigarg0))
2325 static PyObject
*_wrap_wxGridSizer_SetRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2326 PyObject
* _resultobj
;
2327 wxGridSizer
* _arg0
;
2329 PyObject
* _argo0
= 0;
2330 char *_kwnames
[] = { "self","rows", NULL
};
2333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridSizer_SetRows",_kwnames
,&_argo0
,&_arg1
))
2336 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2337 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridSizer_p")) {
2338 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridSizer_SetRows. Expected _wxGridSizer_p.");
2343 wxPy_BEGIN_ALLOW_THREADS
;
2344 wxGridSizer_SetRows(_arg0
,_arg1
);
2346 wxPy_END_ALLOW_THREADS
;
2347 } Py_INCREF(Py_None
);
2348 _resultobj
= Py_None
;
2352 #define wxGridSizer_SetVGap(_swigobj,_swigarg0) (_swigobj->SetVGap(_swigarg0))
2353 static PyObject
*_wrap_wxGridSizer_SetVGap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2354 PyObject
* _resultobj
;
2355 wxGridSizer
* _arg0
;
2357 PyObject
* _argo0
= 0;
2358 char *_kwnames
[] = { "self","gap", NULL
};
2361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridSizer_SetVGap",_kwnames
,&_argo0
,&_arg1
))
2364 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2365 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridSizer_p")) {
2366 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridSizer_SetVGap. Expected _wxGridSizer_p.");
2371 wxPy_BEGIN_ALLOW_THREADS
;
2372 wxGridSizer_SetVGap(_arg0
,_arg1
);
2374 wxPy_END_ALLOW_THREADS
;
2375 } Py_INCREF(Py_None
);
2376 _resultobj
= Py_None
;
2380 #define wxGridSizer_SetHGap(_swigobj,_swigarg0) (_swigobj->SetHGap(_swigarg0))
2381 static PyObject
*_wrap_wxGridSizer_SetHGap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2382 PyObject
* _resultobj
;
2383 wxGridSizer
* _arg0
;
2385 PyObject
* _argo0
= 0;
2386 char *_kwnames
[] = { "self","gap", NULL
};
2389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridSizer_SetHGap",_kwnames
,&_argo0
,&_arg1
))
2392 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2393 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridSizer_p")) {
2394 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridSizer_SetHGap. Expected _wxGridSizer_p.");
2399 wxPy_BEGIN_ALLOW_THREADS
;
2400 wxGridSizer_SetHGap(_arg0
,_arg1
);
2402 wxPy_END_ALLOW_THREADS
;
2403 } Py_INCREF(Py_None
);
2404 _resultobj
= Py_None
;
2408 #define wxGridSizer_GetCols(_swigobj) (_swigobj->GetCols())
2409 static PyObject
*_wrap_wxGridSizer_GetCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2410 PyObject
* _resultobj
;
2412 wxGridSizer
* _arg0
;
2413 PyObject
* _argo0
= 0;
2414 char *_kwnames
[] = { "self", NULL
};
2417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridSizer_GetCols",_kwnames
,&_argo0
))
2420 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2421 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridSizer_p")) {
2422 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridSizer_GetCols. Expected _wxGridSizer_p.");
2427 wxPy_BEGIN_ALLOW_THREADS
;
2428 _result
= (int )wxGridSizer_GetCols(_arg0
);
2430 wxPy_END_ALLOW_THREADS
;
2431 } _resultobj
= Py_BuildValue("i",_result
);
2435 #define wxGridSizer_GetRows(_swigobj) (_swigobj->GetRows())
2436 static PyObject
*_wrap_wxGridSizer_GetRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2437 PyObject
* _resultobj
;
2439 wxGridSizer
* _arg0
;
2440 PyObject
* _argo0
= 0;
2441 char *_kwnames
[] = { "self", NULL
};
2444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridSizer_GetRows",_kwnames
,&_argo0
))
2447 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2448 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridSizer_p")) {
2449 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridSizer_GetRows. Expected _wxGridSizer_p.");
2454 wxPy_BEGIN_ALLOW_THREADS
;
2455 _result
= (int )wxGridSizer_GetRows(_arg0
);
2457 wxPy_END_ALLOW_THREADS
;
2458 } _resultobj
= Py_BuildValue("i",_result
);
2462 #define wxGridSizer_GetVGap(_swigobj) (_swigobj->GetVGap())
2463 static PyObject
*_wrap_wxGridSizer_GetVGap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2464 PyObject
* _resultobj
;
2466 wxGridSizer
* _arg0
;
2467 PyObject
* _argo0
= 0;
2468 char *_kwnames
[] = { "self", NULL
};
2471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridSizer_GetVGap",_kwnames
,&_argo0
))
2474 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2475 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridSizer_p")) {
2476 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridSizer_GetVGap. Expected _wxGridSizer_p.");
2481 wxPy_BEGIN_ALLOW_THREADS
;
2482 _result
= (int )wxGridSizer_GetVGap(_arg0
);
2484 wxPy_END_ALLOW_THREADS
;
2485 } _resultobj
= Py_BuildValue("i",_result
);
2489 #define wxGridSizer_GetHGap(_swigobj) (_swigobj->GetHGap())
2490 static PyObject
*_wrap_wxGridSizer_GetHGap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2491 PyObject
* _resultobj
;
2493 wxGridSizer
* _arg0
;
2494 PyObject
* _argo0
= 0;
2495 char *_kwnames
[] = { "self", NULL
};
2498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridSizer_GetHGap",_kwnames
,&_argo0
))
2501 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2502 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridSizer_p")) {
2503 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridSizer_GetHGap. Expected _wxGridSizer_p.");
2508 wxPy_BEGIN_ALLOW_THREADS
;
2509 _result
= (int )wxGridSizer_GetHGap(_arg0
);
2511 wxPy_END_ALLOW_THREADS
;
2512 } _resultobj
= Py_BuildValue("i",_result
);
2516 static void *SwigwxFlexGridSizerTowxGridSizer(void *ptr
) {
2517 wxFlexGridSizer
*src
;
2519 src
= (wxFlexGridSizer
*) ptr
;
2520 dest
= (wxGridSizer
*) src
;
2521 return (void *) dest
;
2524 static void *SwigwxFlexGridSizerTowxSizer(void *ptr
) {
2525 wxFlexGridSizer
*src
;
2527 src
= (wxFlexGridSizer
*) ptr
;
2528 dest
= (wxSizer
*) src
;
2529 return (void *) dest
;
2532 #define new_wxFlexGridSizer(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxFlexGridSizer(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2533 static PyObject
*_wrap_new_wxFlexGridSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2534 PyObject
* _resultobj
;
2535 wxFlexGridSizer
* _result
;
2536 int _arg0
= (int ) 1;
2537 int _arg1
= (int ) 0;
2538 int _arg2
= (int ) 0;
2539 int _arg3
= (int ) 0;
2540 char *_kwnames
[] = { "rows","cols","vgap","hgap", NULL
};
2544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iiii:new_wxFlexGridSizer",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))
2547 wxPy_BEGIN_ALLOW_THREADS
;
2548 _result
= (wxFlexGridSizer
*)new_wxFlexGridSizer(_arg0
,_arg1
,_arg2
,_arg3
);
2550 wxPy_END_ALLOW_THREADS
;
2552 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFlexGridSizer_p");
2553 _resultobj
= Py_BuildValue("s",_ptemp
);
2556 _resultobj
= Py_None
;
2561 #define wxFlexGridSizer_RecalcSizes(_swigobj) (_swigobj->RecalcSizes())
2562 static PyObject
*_wrap_wxFlexGridSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2563 PyObject
* _resultobj
;
2564 wxFlexGridSizer
* _arg0
;
2565 PyObject
* _argo0
= 0;
2566 char *_kwnames
[] = { "self", NULL
};
2569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFlexGridSizer_RecalcSizes",_kwnames
,&_argo0
))
2572 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2573 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFlexGridSizer_p")) {
2574 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFlexGridSizer_RecalcSizes. Expected _wxFlexGridSizer_p.");
2579 wxPy_BEGIN_ALLOW_THREADS
;
2580 wxFlexGridSizer_RecalcSizes(_arg0
);
2582 wxPy_END_ALLOW_THREADS
;
2583 } Py_INCREF(Py_None
);
2584 _resultobj
= Py_None
;
2588 #define wxFlexGridSizer_CalcMin(_swigobj) (_swigobj->CalcMin())
2589 static PyObject
*_wrap_wxFlexGridSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2590 PyObject
* _resultobj
;
2592 wxFlexGridSizer
* _arg0
;
2593 PyObject
* _argo0
= 0;
2594 char *_kwnames
[] = { "self", NULL
};
2598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFlexGridSizer_CalcMin",_kwnames
,&_argo0
))
2601 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2602 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFlexGridSizer_p")) {
2603 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFlexGridSizer_CalcMin. Expected _wxFlexGridSizer_p.");
2608 wxPy_BEGIN_ALLOW_THREADS
;
2609 _result
= new wxSize (wxFlexGridSizer_CalcMin(_arg0
));
2611 wxPy_END_ALLOW_THREADS
;
2612 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2613 _resultobj
= Py_BuildValue("s",_ptemp
);
2617 #define wxFlexGridSizer_AddGrowableRow(_swigobj,_swigarg0) (_swigobj->AddGrowableRow(_swigarg0))
2618 static PyObject
*_wrap_wxFlexGridSizer_AddGrowableRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2619 PyObject
* _resultobj
;
2620 wxFlexGridSizer
* _arg0
;
2622 PyObject
* _argo0
= 0;
2623 char *_kwnames
[] = { "self","idx", NULL
};
2626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFlexGridSizer_AddGrowableRow",_kwnames
,&_argo0
,&_arg1
))
2629 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2630 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFlexGridSizer_p")) {
2631 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFlexGridSizer_AddGrowableRow. Expected _wxFlexGridSizer_p.");
2636 wxPy_BEGIN_ALLOW_THREADS
;
2637 wxFlexGridSizer_AddGrowableRow(_arg0
,_arg1
);
2639 wxPy_END_ALLOW_THREADS
;
2640 } Py_INCREF(Py_None
);
2641 _resultobj
= Py_None
;
2645 #define wxFlexGridSizer_RemoveGrowableRow(_swigobj,_swigarg0) (_swigobj->RemoveGrowableRow(_swigarg0))
2646 static PyObject
*_wrap_wxFlexGridSizer_RemoveGrowableRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2647 PyObject
* _resultobj
;
2648 wxFlexGridSizer
* _arg0
;
2650 PyObject
* _argo0
= 0;
2651 char *_kwnames
[] = { "self","idx", NULL
};
2654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFlexGridSizer_RemoveGrowableRow",_kwnames
,&_argo0
,&_arg1
))
2657 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2658 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFlexGridSizer_p")) {
2659 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFlexGridSizer_RemoveGrowableRow. Expected _wxFlexGridSizer_p.");
2664 wxPy_BEGIN_ALLOW_THREADS
;
2665 wxFlexGridSizer_RemoveGrowableRow(_arg0
,_arg1
);
2667 wxPy_END_ALLOW_THREADS
;
2668 } Py_INCREF(Py_None
);
2669 _resultobj
= Py_None
;
2673 #define wxFlexGridSizer_AddGrowableCol(_swigobj,_swigarg0) (_swigobj->AddGrowableCol(_swigarg0))
2674 static PyObject
*_wrap_wxFlexGridSizer_AddGrowableCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2675 PyObject
* _resultobj
;
2676 wxFlexGridSizer
* _arg0
;
2678 PyObject
* _argo0
= 0;
2679 char *_kwnames
[] = { "self","idx", NULL
};
2682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFlexGridSizer_AddGrowableCol",_kwnames
,&_argo0
,&_arg1
))
2685 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2686 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFlexGridSizer_p")) {
2687 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFlexGridSizer_AddGrowableCol. Expected _wxFlexGridSizer_p.");
2692 wxPy_BEGIN_ALLOW_THREADS
;
2693 wxFlexGridSizer_AddGrowableCol(_arg0
,_arg1
);
2695 wxPy_END_ALLOW_THREADS
;
2696 } Py_INCREF(Py_None
);
2697 _resultobj
= Py_None
;
2701 #define wxFlexGridSizer_RemoveGrowableCol(_swigobj,_swigarg0) (_swigobj->RemoveGrowableCol(_swigarg0))
2702 static PyObject
*_wrap_wxFlexGridSizer_RemoveGrowableCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2703 PyObject
* _resultobj
;
2704 wxFlexGridSizer
* _arg0
;
2706 PyObject
* _argo0
= 0;
2707 char *_kwnames
[] = { "self","idx", NULL
};
2710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFlexGridSizer_RemoveGrowableCol",_kwnames
,&_argo0
,&_arg1
))
2713 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2714 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFlexGridSizer_p")) {
2715 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFlexGridSizer_RemoveGrowableCol. Expected _wxFlexGridSizer_p.");
2720 wxPy_BEGIN_ALLOW_THREADS
;
2721 wxFlexGridSizer_RemoveGrowableCol(_arg0
,_arg1
);
2723 wxPy_END_ALLOW_THREADS
;
2724 } Py_INCREF(Py_None
);
2725 _resultobj
= Py_None
;
2729 static PyMethodDef sizerscMethods
[] = {
2730 { "wxFlexGridSizer_RemoveGrowableCol", (PyCFunction
) _wrap_wxFlexGridSizer_RemoveGrowableCol
, METH_VARARGS
| METH_KEYWORDS
},
2731 { "wxFlexGridSizer_AddGrowableCol", (PyCFunction
) _wrap_wxFlexGridSizer_AddGrowableCol
, METH_VARARGS
| METH_KEYWORDS
},
2732 { "wxFlexGridSizer_RemoveGrowableRow", (PyCFunction
) _wrap_wxFlexGridSizer_RemoveGrowableRow
, METH_VARARGS
| METH_KEYWORDS
},
2733 { "wxFlexGridSizer_AddGrowableRow", (PyCFunction
) _wrap_wxFlexGridSizer_AddGrowableRow
, METH_VARARGS
| METH_KEYWORDS
},
2734 { "wxFlexGridSizer_CalcMin", (PyCFunction
) _wrap_wxFlexGridSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
2735 { "wxFlexGridSizer_RecalcSizes", (PyCFunction
) _wrap_wxFlexGridSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
2736 { "new_wxFlexGridSizer", (PyCFunction
) _wrap_new_wxFlexGridSizer
, METH_VARARGS
| METH_KEYWORDS
},
2737 { "wxGridSizer_GetHGap", (PyCFunction
) _wrap_wxGridSizer_GetHGap
, METH_VARARGS
| METH_KEYWORDS
},
2738 { "wxGridSizer_GetVGap", (PyCFunction
) _wrap_wxGridSizer_GetVGap
, METH_VARARGS
| METH_KEYWORDS
},
2739 { "wxGridSizer_GetRows", (PyCFunction
) _wrap_wxGridSizer_GetRows
, METH_VARARGS
| METH_KEYWORDS
},
2740 { "wxGridSizer_GetCols", (PyCFunction
) _wrap_wxGridSizer_GetCols
, METH_VARARGS
| METH_KEYWORDS
},
2741 { "wxGridSizer_SetHGap", (PyCFunction
) _wrap_wxGridSizer_SetHGap
, METH_VARARGS
| METH_KEYWORDS
},
2742 { "wxGridSizer_SetVGap", (PyCFunction
) _wrap_wxGridSizer_SetVGap
, METH_VARARGS
| METH_KEYWORDS
},
2743 { "wxGridSizer_SetRows", (PyCFunction
) _wrap_wxGridSizer_SetRows
, METH_VARARGS
| METH_KEYWORDS
},
2744 { "wxGridSizer_SetCols", (PyCFunction
) _wrap_wxGridSizer_SetCols
, METH_VARARGS
| METH_KEYWORDS
},
2745 { "wxGridSizer_CalcMin", (PyCFunction
) _wrap_wxGridSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
2746 { "wxGridSizer_RecalcSizes", (PyCFunction
) _wrap_wxGridSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
2747 { "new_wxGridSizer", (PyCFunction
) _wrap_new_wxGridSizer
, METH_VARARGS
| METH_KEYWORDS
},
2748 { "wxNotebookSizer_GetNotebook", (PyCFunction
) _wrap_wxNotebookSizer_GetNotebook
, METH_VARARGS
| METH_KEYWORDS
},
2749 { "wxNotebookSizer_CalcMin", (PyCFunction
) _wrap_wxNotebookSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
2750 { "wxNotebookSizer_RecalcSizes", (PyCFunction
) _wrap_wxNotebookSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
2751 { "new_wxNotebookSizer", (PyCFunction
) _wrap_new_wxNotebookSizer
, METH_VARARGS
| METH_KEYWORDS
},
2752 { "wxStaticBoxSizer_CalcMin", (PyCFunction
) _wrap_wxStaticBoxSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
2753 { "wxStaticBoxSizer_RecalcSizes", (PyCFunction
) _wrap_wxStaticBoxSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
2754 { "wxStaticBoxSizer_GetStaticBox", (PyCFunction
) _wrap_wxStaticBoxSizer_GetStaticBox
, METH_VARARGS
| METH_KEYWORDS
},
2755 { "new_wxStaticBoxSizer", (PyCFunction
) _wrap_new_wxStaticBoxSizer
, METH_VARARGS
| METH_KEYWORDS
},
2756 { "wxBoxSizer_CalcMin", (PyCFunction
) _wrap_wxBoxSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
2757 { "wxBoxSizer_RecalcSizes", (PyCFunction
) _wrap_wxBoxSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
2758 { "wxBoxSizer_GetOrientation", (PyCFunction
) _wrap_wxBoxSizer_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
2759 { "new_wxBoxSizer", (PyCFunction
) _wrap_new_wxBoxSizer
, METH_VARARGS
| METH_KEYWORDS
},
2760 { "wxPySizer__setSelf", (PyCFunction
) _wrap_wxPySizer__setSelf
, METH_VARARGS
| METH_KEYWORDS
},
2761 { "new_wxPySizer", (PyCFunction
) _wrap_new_wxPySizer
, METH_VARARGS
| METH_KEYWORDS
},
2762 { "wxSizer_GetChildren", (PyCFunction
) _wrap_wxSizer_GetChildren
, METH_VARARGS
| METH_KEYWORDS
},
2763 { "wxSizer_SetSizeHints", (PyCFunction
) _wrap_wxSizer_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
},
2764 { "wxSizer_Fit", (PyCFunction
) _wrap_wxSizer_Fit
, METH_VARARGS
| METH_KEYWORDS
},
2765 { "wxSizer_Layout", (PyCFunction
) _wrap_wxSizer_Layout
, METH_VARARGS
| METH_KEYWORDS
},
2766 { "wxSizer_GetMinSize", (PyCFunction
) _wrap_wxSizer_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
2767 { "wxSizer_GetPosition", (PyCFunction
) _wrap_wxSizer_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
2768 { "wxSizer_GetSize", (PyCFunction
) _wrap_wxSizer_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
2769 { "wxSizer_SetItemMinSizePos", (PyCFunction
) _wrap_wxSizer_SetItemMinSizePos
, METH_VARARGS
| METH_KEYWORDS
},
2770 { "wxSizer_SetItemMinSizeSizer", (PyCFunction
) _wrap_wxSizer_SetItemMinSizeSizer
, METH_VARARGS
| METH_KEYWORDS
},
2771 { "wxSizer_SetItemMinSizeWindow", (PyCFunction
) _wrap_wxSizer_SetItemMinSizeWindow
, METH_VARARGS
| METH_KEYWORDS
},
2772 { "wxSizer_SetMinSize", (PyCFunction
) _wrap_wxSizer_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
2773 { "wxSizer_SetDimension", (PyCFunction
) _wrap_wxSizer_SetDimension
, METH_VARARGS
| METH_KEYWORDS
},
2774 { "wxSizer_RemovePos", (PyCFunction
) _wrap_wxSizer_RemovePos
, METH_VARARGS
| METH_KEYWORDS
},
2775 { "wxSizer_RemoveSizer", (PyCFunction
) _wrap_wxSizer_RemoveSizer
, METH_VARARGS
| METH_KEYWORDS
},
2776 { "wxSizer_RemoveWindow", (PyCFunction
) _wrap_wxSizer_RemoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
2777 { "wxSizer_PrependSpacer", (PyCFunction
) _wrap_wxSizer_PrependSpacer
, METH_VARARGS
| METH_KEYWORDS
},
2778 { "wxSizer_PrependSizer", (PyCFunction
) _wrap_wxSizer_PrependSizer
, METH_VARARGS
| METH_KEYWORDS
},
2779 { "wxSizer_PrependWindow", (PyCFunction
) _wrap_wxSizer_PrependWindow
, METH_VARARGS
| METH_KEYWORDS
},
2780 { "wxSizer_InsertSpacer", (PyCFunction
) _wrap_wxSizer_InsertSpacer
, METH_VARARGS
| METH_KEYWORDS
},
2781 { "wxSizer_InsertSizer", (PyCFunction
) _wrap_wxSizer_InsertSizer
, METH_VARARGS
| METH_KEYWORDS
},
2782 { "wxSizer_InsertWindow", (PyCFunction
) _wrap_wxSizer_InsertWindow
, METH_VARARGS
| METH_KEYWORDS
},
2783 { "wxSizer_AddSpacer", (PyCFunction
) _wrap_wxSizer_AddSpacer
, METH_VARARGS
| METH_KEYWORDS
},
2784 { "wxSizer_AddSizer", (PyCFunction
) _wrap_wxSizer_AddSizer
, METH_VARARGS
| METH_KEYWORDS
},
2785 { "wxSizer_AddWindow", (PyCFunction
) _wrap_wxSizer_AddWindow
, METH_VARARGS
| METH_KEYWORDS
},
2786 { "wxSizer_Destroy", (PyCFunction
) _wrap_wxSizer_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
2787 { "wxSizerItem_GetUserData", (PyCFunction
) _wrap_wxSizerItem_GetUserData
, METH_VARARGS
| METH_KEYWORDS
},
2788 { "wxSizerItem_SetBorder", (PyCFunction
) _wrap_wxSizerItem_SetBorder
, METH_VARARGS
| METH_KEYWORDS
},
2789 { "wxSizerItem_SetFlag", (PyCFunction
) _wrap_wxSizerItem_SetFlag
, METH_VARARGS
| METH_KEYWORDS
},
2790 { "wxSizerItem_SetOption", (PyCFunction
) _wrap_wxSizerItem_SetOption
, METH_VARARGS
| METH_KEYWORDS
},
2791 { "wxSizerItem_SetInitSize", (PyCFunction
) _wrap_wxSizerItem_SetInitSize
, METH_VARARGS
| METH_KEYWORDS
},
2792 { "wxSizerItem_GetBorder", (PyCFunction
) _wrap_wxSizerItem_GetBorder
, METH_VARARGS
| METH_KEYWORDS
},
2793 { "wxSizerItem_GetFlag", (PyCFunction
) _wrap_wxSizerItem_GetFlag
, METH_VARARGS
| METH_KEYWORDS
},
2794 { "wxSizerItem_GetOption", (PyCFunction
) _wrap_wxSizerItem_GetOption
, METH_VARARGS
| METH_KEYWORDS
},
2795 { "wxSizerItem_SetSizer", (PyCFunction
) _wrap_wxSizerItem_SetSizer
, METH_VARARGS
| METH_KEYWORDS
},
2796 { "wxSizerItem_GetSizer", (PyCFunction
) _wrap_wxSizerItem_GetSizer
, METH_VARARGS
| METH_KEYWORDS
},
2797 { "wxSizerItem_SetWindow", (PyCFunction
) _wrap_wxSizerItem_SetWindow
, METH_VARARGS
| METH_KEYWORDS
},
2798 { "wxSizerItem_GetWindow", (PyCFunction
) _wrap_wxSizerItem_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
2799 { "wxSizerItem_IsSpacer", (PyCFunction
) _wrap_wxSizerItem_IsSpacer
, METH_VARARGS
| METH_KEYWORDS
},
2800 { "wxSizerItem_IsSizer", (PyCFunction
) _wrap_wxSizerItem_IsSizer
, METH_VARARGS
| METH_KEYWORDS
},
2801 { "wxSizerItem_IsWindow", (PyCFunction
) _wrap_wxSizerItem_IsWindow
, METH_VARARGS
| METH_KEYWORDS
},
2802 { "wxSizerItem_GetRatio", (PyCFunction
) _wrap_wxSizerItem_GetRatio
, METH_VARARGS
| METH_KEYWORDS
},
2803 { "wxSizerItem_SetRatio", (PyCFunction
) _wrap_wxSizerItem_SetRatio
, METH_VARARGS
| METH_KEYWORDS
},
2804 { "wxSizerItem_SetRatioSize", (PyCFunction
) _wrap_wxSizerItem_SetRatioSize
, METH_VARARGS
| METH_KEYWORDS
},
2805 { "wxSizerItem_SetRatioWH", (PyCFunction
) _wrap_wxSizerItem_SetRatioWH
, METH_VARARGS
| METH_KEYWORDS
},
2806 { "wxSizerItem_SetDimension", (PyCFunction
) _wrap_wxSizerItem_SetDimension
, METH_VARARGS
| METH_KEYWORDS
},
2807 { "wxSizerItem_CalcMin", (PyCFunction
) _wrap_wxSizerItem_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
2808 { "wxSizerItem_GetSize", (PyCFunction
) _wrap_wxSizerItem_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
2815 * This table is used by the pointer type-checker
2817 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
2818 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
2819 { "_wxEvent","_class_wxEvent",0},
2820 { "_class_wxActivateEvent","_wxActivateEvent",0},
2821 { "_signed_long","_long",0},
2822 { "_wxMenuEvent","_class_wxMenuEvent",0},
2823 { "_wxPyBitmapDataObject","_class_wxPyBitmapDataObject",0},
2824 { "_wxBitmapDataObject","_class_wxBitmapDataObject",0},
2825 { "_class_wxPyCommandEvent","_wxPyCommandEvent",0},
2826 { "_wxFlexGridSizer","_class_wxFlexGridSizer",0},
2827 { "_wxPrintQuality","_wxCoord",0},
2828 { "_wxPrintQuality","_int",0},
2829 { "_wxPrintQuality","_signed_int",0},
2830 { "_wxPrintQuality","_unsigned_int",0},
2831 { "_wxPrintQuality","_wxWindowID",0},
2832 { "_wxPrintQuality","_uint",0},
2833 { "_wxPrintQuality","_EBool",0},
2834 { "_wxPrintQuality","_size_t",0},
2835 { "_wxPrintQuality","_time_t",0},
2836 { "_class_wxCustomDataObject","_wxCustomDataObject",0},
2837 { "_wxSpinCtrl","_class_wxSpinCtrl",0},
2838 { "_class_wxRegionIterator","_wxRegionIterator",0},
2839 { "_class_wxPyTextDropTarget","_wxPyTextDropTarget",0},
2840 { "_class_wxMenuBar","_wxMenuBar",0},
2841 { "_class_wxStaticBoxSizer","_wxStaticBoxSizer",0},
2842 { "_class_wxEvtHandler","_wxEvtHandler",0},
2843 { "_wxPaintEvent","_class_wxPaintEvent",0},
2844 { "_wxPySizer","_class_wxPySizer",0},
2845 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
2846 { "_wxCursor","_class_wxCursor",0},
2847 { "_wxNotifyEvent","_class_wxNotifyEvent",0},
2848 { "_wxMask","_class_wxMask",0},
2849 { "_wxPen","_class_wxPen",0},
2850 { "_wxUpdateUIEvent","_class_wxUpdateUIEvent",0},
2851 { "_class_wxNotebookSizer","_wxNotebookSizer",0},
2852 { "_byte","_unsigned_char",0},
2853 { "_wxDataObject","_class_wxDataObject",0},
2854 { "_wxStaticBox","_class_wxStaticBox",0},
2855 { "_wxColourDatabase","_class_wxColourDatabase",0},
2856 { "_wxPyDataObjectSimple","_class_wxPyDataObjectSimple",0},
2857 { "_wxPyDropSource","_class_wxPyDropSource",0},
2858 { "_wxChoice","_class_wxChoice",0},
2859 { "_wxSlider","_class_wxSlider",0},
2860 { "_long","_unsigned_long",0},
2861 { "_long","_signed_long",0},
2862 { "_wxImageList","_class_wxImageList",0},
2863 { "_wxDataObjectSimple","_class_wxDataObjectSimple",0},
2864 { "_wxDropFilesEvent","_class_wxDropFilesEvent",0},
2865 { "_wxBitmapButton","_class_wxBitmapButton",0},
2866 { "_class_wxSizer","_class_wxFlexGridSizer",SwigwxFlexGridSizerTowxSizer
},
2867 { "_class_wxSizer","_wxFlexGridSizer",SwigwxFlexGridSizerTowxSizer
},
2868 { "_class_wxSizer","_class_wxGridSizer",SwigwxGridSizerTowxSizer
},
2869 { "_class_wxSizer","_wxGridSizer",SwigwxGridSizerTowxSizer
},
2870 { "_class_wxSizer","_class_wxNotebookSizer",SwigwxNotebookSizerTowxSizer
},
2871 { "_class_wxSizer","_wxNotebookSizer",SwigwxNotebookSizerTowxSizer
},
2872 { "_class_wxSizer","_class_wxStaticBoxSizer",SwigwxStaticBoxSizerTowxSizer
},
2873 { "_class_wxSizer","_wxStaticBoxSizer",SwigwxStaticBoxSizerTowxSizer
},
2874 { "_class_wxSizer","_class_wxBoxSizer",SwigwxBoxSizerTowxSizer
},
2875 { "_class_wxSizer","_wxBoxSizer",SwigwxBoxSizerTowxSizer
},
2876 { "_class_wxSizer","_class_wxPySizer",SwigwxPySizerTowxSizer
},
2877 { "_class_wxSizer","_wxPySizer",SwigwxPySizerTowxSizer
},
2878 { "_class_wxSizer","_wxSizer",0},
2879 { "_wxGridSizer","_class_wxFlexGridSizer",SwigwxFlexGridSizerTowxGridSizer
},
2880 { "_wxGridSizer","_wxFlexGridSizer",SwigwxFlexGridSizerTowxGridSizer
},
2881 { "_wxGridSizer","_class_wxGridSizer",0},
2882 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
2883 { "_class_wxClipboard","_wxClipboard",0},
2884 { "_class_wxGauge","_wxGauge",0},
2885 { "_wxDC","_class_wxDC",0},
2886 { "_wxSizerItem","_class_wxSizerItem",0},
2887 { "_class_wxBitmapDataObject","_wxBitmapDataObject",0},
2888 { "_class_wxFlexGridSizer","_wxFlexGridSizer",0},
2889 { "_wxSpinEvent","_class_wxSpinEvent",0},
2890 { "_size_t","_wxCoord",0},
2891 { "_size_t","_wxPrintQuality",0},
2892 { "_size_t","_time_t",0},
2893 { "_size_t","_unsigned_int",0},
2894 { "_size_t","_int",0},
2895 { "_size_t","_wxWindowID",0},
2896 { "_size_t","_uint",0},
2897 { "_class_wxRealPoint","_wxRealPoint",0},
2898 { "_wxNavigationKeyEvent","_class_wxNavigationKeyEvent",0},
2899 { "_wxWindowCreateEvent","_class_wxWindowCreateEvent",0},
2900 { "_class_wxMenuItem","_wxMenuItem",0},
2901 { "_class_wxPaintEvent","_wxPaintEvent",0},
2902 { "_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0},
2903 { "_class_wxPySizer","_wxPySizer",0},
2904 { "_class_wxPostScriptDC","_wxPostScriptDC",0},
2905 { "_wxPanel","_class_wxPanel",0},
2906 { "_wxInitDialogEvent","_class_wxInitDialogEvent",0},
2907 { "_wxCheckBox","_class_wxCheckBox",0},
2908 { "_wxPyEvent","_class_wxPyEvent",0},
2909 { "_wxTextCtrl","_class_wxTextCtrl",0},
2910 { "_class_wxMask","_wxMask",0},
2911 { "_wxTextDataObject","_class_wxTextDataObject",0},
2912 { "_class_wxKeyEvent","_wxKeyEvent",0},
2913 { "_wxColour","_class_wxColour",0},
2914 { "_class_wxDialog","_wxDialog",0},
2915 { "_class_wxFileDataObject","_wxFileDataObject",0},
2916 { "_wxIdleEvent","_class_wxIdleEvent",0},
2917 { "_class_wxUpdateUIEvent","_wxUpdateUIEvent",0},
2918 { "_class_wxDataObject","_wxDataObject",0},
2919 { "_wxStaticLine","_class_wxStaticLine",0},
2920 { "_wxBrush","_class_wxBrush",0},
2921 { "_wxToggleButton","_class_wxToggleButton",0},
2922 { "_wxDataFormat","_class_wxDataFormat",0},
2923 { "_class_wxDataObjectSimple","_wxDataObjectSimple",0},
2924 { "_wxShowEvent","_class_wxShowEvent",0},
2925 { "_uint","_wxCoord",0},
2926 { "_uint","_wxPrintQuality",0},
2927 { "_uint","_time_t",0},
2928 { "_uint","_size_t",0},
2929 { "_uint","_unsigned_int",0},
2930 { "_uint","_int",0},
2931 { "_uint","_wxWindowID",0},
2932 { "_wxChar","_char",0},
2933 { "_wxPyValidator","_class_wxPyValidator",0},
2934 { "_class_wxEvent","_wxEvent",0},
2935 { "_wxCheckListBox","_class_wxCheckListBox",0},
2936 { "_wxRect","_class_wxRect",0},
2937 { "_wxCommandEvent","_class_wxCommandEvent",0},
2938 { "_wxSizeEvent","_class_wxSizeEvent",0},
2939 { "_wxPoint","_class_wxPoint",0},
2940 { "_class_wxButton","_wxButton",0},
2941 { "_wxRadioBox","_class_wxRadioBox",0},
2942 { "_class_wxSpinCtrl","_wxSpinCtrl",0},
2943 { "_wxBoxSizer","_class_wxStaticBoxSizer",SwigwxStaticBoxSizerTowxBoxSizer
},
2944 { "_wxBoxSizer","_wxStaticBoxSizer",SwigwxStaticBoxSizerTowxBoxSizer
},
2945 { "_wxBoxSizer","_class_wxBoxSizer",0},
2946 { "_char","_wxChar",0},
2947 { "_wxBitmap","_class_wxBitmap",0},
2948 { "_wxPenList","_class_wxPenList",0},
2949 { "_wxWindowDC","_class_wxWindowDC",0},
2950 { "_wxTimerEvent","_class_wxTimerEvent",0},
2951 { "_wxScrollBar","_class_wxScrollBar",0},
2952 { "_wxSpinButton","_class_wxSpinButton",0},
2953 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
2954 { "_class_wxNotifyEvent","_wxNotifyEvent",0},
2955 { "_class_wxValidator","_wxValidator",0},
2956 { "_class_wxPyEvent","_wxPyEvent",0},
2957 { "_class_wxIconizeEvent","_wxIconizeEvent",0},
2958 { "_class_wxStaticBitmap","_wxStaticBitmap",0},
2959 { "_wxDropTarget","_class_wxDropTarget",0},
2960 { "_class_wxStaticLine","_wxStaticLine",0},
2961 { "_class_wxColourDatabase","_wxColourDatabase",0},
2962 { "_wxScrollEvent","_class_wxScrollEvent",0},
2963 { "_EBool","_wxCoord",0},
2964 { "_EBool","_wxPrintQuality",0},
2965 { "_EBool","_signed_int",0},
2966 { "_EBool","_int",0},
2967 { "_EBool","_wxWindowID",0},
2968 { "_class_wxRegion","_wxRegion",0},
2969 { "_class_wxDataFormat","_wxDataFormat",0},
2970 { "_class_wxDropFilesEvent","_wxDropFilesEvent",0},
2971 { "_wxWindowDestroyEvent","_class_wxWindowDestroyEvent",0},
2972 { "_wxStaticText","_class_wxStaticText",0},
2973 { "_wxFont","_class_wxFont",0},
2974 { "_class_wxPyDropTarget","_wxPyDropTarget",0},
2975 { "_wxCloseEvent","_class_wxCloseEvent",0},
2976 { "_unsigned_long","_long",0},
2977 { "_class_wxRect","_wxRect",0},
2978 { "_class_wxDC","_wxDC",0},
2979 { "_wxScrollWinEvent","_class_wxScrollWinEvent",0},
2980 { "_class_wxBrushList","_wxBrushList",0},
2981 { "_wxQueryNewPaletteEvent","_class_wxQueryNewPaletteEvent",0},
2982 { "_class_wxPenList","_wxPenList",0},
2983 { "_class_wxWindowCreateEvent","_wxWindowCreateEvent",0},
2984 { "_wxFocusEvent","_class_wxFocusEvent",0},
2985 { "_wxMaximizeEvent","_class_wxMaximizeEvent",0},
2986 { "_class_wxTimerEvent","_wxTimerEvent",0},
2987 { "_class_wxSpinButton","_wxSpinButton",0},
2988 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
2989 { "_class_wxPanel","_wxPanel",0},
2990 { "_class_wxCheckBox","_wxCheckBox",0},
2991 { "_wxComboBox","_class_wxComboBox",0},
2992 { "_wxRadioButton","_class_wxRadioButton",0},
2993 { "_signed_int","_wxCoord",0},
2994 { "_signed_int","_wxPrintQuality",0},
2995 { "_signed_int","_EBool",0},
2996 { "_signed_int","_wxWindowID",0},
2997 { "_signed_int","_int",0},
2998 { "_class_wxTextCtrl","_wxTextCtrl",0},
2999 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
3000 { "_class_wxTextDataObject","_wxTextDataObject",0},
3001 { "_wxMenu","_class_wxMenu",0},
3002 { "_class_wxMoveEvent","_wxMoveEvent",0},
3003 { "_wxListBox","_class_wxListBox",0},
3004 { "_wxScreenDC","_class_wxScreenDC",0},
3005 { "_WXTYPE","_short",0},
3006 { "_WXTYPE","_signed_short",0},
3007 { "_WXTYPE","_unsigned_short",0},
3008 { "_class_wxDropTarget","_wxDropTarget",0},
3009 { "_class_wxBrush","_wxBrush",0},
3010 { "_unsigned_short","_WXTYPE",0},
3011 { "_unsigned_short","_short",0},
3012 { "_class_wxWindow","_wxWindow",0},
3013 { "_class_wxStaticText","_wxStaticText",0},
3014 { "_class_wxFont","_wxFont",0},
3015 { "_wxClipboard","_class_wxClipboard",0},
3016 { "_class_wxPyValidator","_wxPyValidator",0},
3017 { "_class_wxCloseEvent","_wxCloseEvent",0},
3018 { "_wxBusyInfo","_class_wxBusyInfo",0},
3019 { "_wxFontList","_class_wxFontList",0},
3020 { "_class_wxMenuEvent","_wxMenuEvent",0},
3021 { "_wxPaletteChangedEvent","_class_wxPaletteChangedEvent",0},
3022 { "_class_wxPyBitmapDataObject","_wxPyBitmapDataObject",0},
3023 { "_wxClientDC","_class_wxClientDC",0},
3024 { "_wxMouseEvent","_class_wxMouseEvent",0},
3025 { "_class_wxPoint","_wxPoint",0},
3026 { "_wxRealPoint","_class_wxRealPoint",0},
3027 { "_class_wxRadioBox","_wxRadioBox",0},
3028 { "_class_wxBoxSizer","_class_wxStaticBoxSizer",SwigwxStaticBoxSizerTowxBoxSizer
},
3029 { "_class_wxBoxSizer","_wxStaticBoxSizer",SwigwxStaticBoxSizerTowxBoxSizer
},
3030 { "_class_wxBoxSizer","_wxBoxSizer",0},
3031 { "_signed_short","_WXTYPE",0},
3032 { "_signed_short","_short",0},
3033 { "_wxMemoryDC","_class_wxMemoryDC",0},
3034 { "_wxPyTextDataObject","_class_wxPyTextDataObject",0},
3035 { "_wxPaintDC","_class_wxPaintDC",0},
3036 { "_class_wxWindowDC","_wxWindowDC",0},
3037 { "_class_wxFocusEvent","_wxFocusEvent",0},
3038 { "_class_wxMaximizeEvent","_wxMaximizeEvent",0},
3039 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
3040 { "_class_wxCursor","_wxCursor",0},
3041 { "_wxPostScriptDC","_class_wxPostScriptDC",0},
3042 { "_wxPyFileDropTarget","_class_wxPyFileDropTarget",0},
3043 { "_wxScrolledWindow","_class_wxScrolledWindow",0},
3044 { "_unsigned_char","_byte",0},
3045 { "_class_wxMenu","_wxMenu",0},
3046 { "_wxControl","_class_wxControl",0},
3047 { "_class_wxListBox","_wxListBox",0},
3048 { "_unsigned_int","_wxCoord",0},
3049 { "_unsigned_int","_wxPrintQuality",0},
3050 { "_unsigned_int","_time_t",0},
3051 { "_unsigned_int","_size_t",0},
3052 { "_unsigned_int","_uint",0},
3053 { "_unsigned_int","_wxWindowID",0},
3054 { "_unsigned_int","_int",0},
3055 { "_wxIcon","_class_wxIcon",0},
3056 { "_wxDialog","_class_wxDialog",0},
3057 { "_class_wxPen","_wxPen",0},
3058 { "_short","_WXTYPE",0},
3059 { "_short","_unsigned_short",0},
3060 { "_short","_signed_short",0},
3061 { "_class_wxStaticBox","_wxStaticBox",0},
3062 { "_class_wxPyDataObjectSimple","_wxPyDataObjectSimple",0},
3063 { "_class_wxPyDropSource","_wxPyDropSource",0},
3064 { "_class_wxScrollEvent","_wxScrollEvent",0},
3065 { "_wxJoystickEvent","_class_wxJoystickEvent",0},
3066 { "_class_wxChoice","_wxChoice",0},
3067 { "_class_wxSlider","_wxSlider",0},
3068 { "_class_wxImageList","_wxImageList",0},
3069 { "_class_wxBitmapButton","_wxBitmapButton",0},
3070 { "_class_wxGridSizer","_class_wxFlexGridSizer",SwigwxFlexGridSizerTowxGridSizer
},
3071 { "_class_wxGridSizer","_wxFlexGridSizer",SwigwxFlexGridSizerTowxGridSizer
},
3072 { "_class_wxGridSizer","_wxGridSizer",0},
3073 { "_class_wxPaletteChangedEvent","_wxPaletteChangedEvent",0},
3074 { "_wxWindowID","_wxCoord",0},
3075 { "_wxWindowID","_wxPrintQuality",0},
3076 { "_wxWindowID","_time_t",0},
3077 { "_wxWindowID","_size_t",0},
3078 { "_wxWindowID","_EBool",0},
3079 { "_wxWindowID","_uint",0},
3080 { "_wxWindowID","_int",0},
3081 { "_wxWindowID","_signed_int",0},
3082 { "_wxWindowID","_unsigned_int",0},
3083 { "_class_wxScrollWinEvent","_wxScrollWinEvent",0},
3084 { "_class_wxSizerItem","_wxSizerItem",0},
3085 { "_int","_wxCoord",0},
3086 { "_int","_wxPrintQuality",0},
3087 { "_int","_time_t",0},
3088 { "_int","_size_t",0},
3089 { "_int","_EBool",0},
3090 { "_int","_uint",0},
3091 { "_int","_wxWindowID",0},
3092 { "_int","_unsigned_int",0},
3093 { "_int","_signed_int",0},
3094 { "_class_wxMouseEvent","_wxMouseEvent",0},
3095 { "_wxPyCommandEvent","_class_wxPyCommandEvent",0},
3096 { "_class_wxSpinEvent","_wxSpinEvent",0},
3097 { "_class_wxQueryNewPaletteEvent","_wxQueryNewPaletteEvent",0},
3098 { "_time_t","_wxCoord",0},
3099 { "_time_t","_wxPrintQuality",0},
3100 { "_time_t","_unsigned_int",0},
3101 { "_time_t","_int",0},
3102 { "_time_t","_wxWindowID",0},
3103 { "_time_t","_uint",0},
3104 { "_time_t","_size_t",0},
3105 { "_class_wxNavigationKeyEvent","_wxNavigationKeyEvent",0},
3106 { "_wxButton","_class_wxButton",0},
3107 { "_wxSize","_class_wxSize",0},
3108 { "_wxRegionIterator","_class_wxRegionIterator",0},
3109 { "_class_wxPyTextDataObject","_wxPyTextDataObject",0},
3110 { "_wxStaticBoxSizer","_class_wxStaticBoxSizer",0},
3111 { "_class_wxPaintDC","_wxPaintDC",0},
3112 { "_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0},
3113 { "_class_wxPyFileDropTarget","_wxPyFileDropTarget",0},
3114 { "_class_wxInitDialogEvent","_wxInitDialogEvent",0},
3115 { "_class_wxComboBox","_wxComboBox",0},
3116 { "_class_wxRadioButton","_wxRadioButton",0},
3117 { "_wxValidator","_class_wxValidator",0},
3118 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
3119 { "_wxIconizeEvent","_class_wxIconizeEvent",0},
3120 { "_class_wxControl","_wxControl",0},
3121 { "_wxStaticBitmap","_class_wxStaticBitmap",0},
3122 { "_class_wxIcon","_wxIcon",0},
3123 { "_class_wxColour","_wxColour",0},
3124 { "_class_wxScreenDC","_wxScreenDC",0},
3125 { "_wxPalette","_class_wxPalette",0},
3126 { "_class_wxIdleEvent","_wxIdleEvent",0},
3127 { "_wxCoord","_int",0},
3128 { "_wxCoord","_signed_int",0},
3129 { "_wxCoord","_unsigned_int",0},
3130 { "_wxCoord","_wxWindowID",0},
3131 { "_wxCoord","_uint",0},
3132 { "_wxCoord","_EBool",0},
3133 { "_wxCoord","_size_t",0},
3134 { "_wxCoord","_time_t",0},
3135 { "_wxCoord","_wxPrintQuality",0},
3136 { "_wxEraseEvent","_class_wxEraseEvent",0},
3137 { "_wxDataObjectComposite","_class_wxDataObjectComposite",0},
3138 { "_class_wxJoystickEvent","_wxJoystickEvent",0},
3139 { "_class_wxToggleButton","_wxToggleButton",0},
3140 { "_wxRegion","_class_wxRegion",0},
3141 { "_wxSizer","_class_wxFlexGridSizer",SwigwxFlexGridSizerTowxSizer
},
3142 { "_wxSizer","_wxFlexGridSizer",SwigwxFlexGridSizerTowxSizer
},
3143 { "_wxSizer","_class_wxGridSizer",SwigwxGridSizerTowxSizer
},
3144 { "_wxSizer","_wxGridSizer",SwigwxGridSizerTowxSizer
},
3145 { "_wxSizer","_class_wxNotebookSizer",SwigwxNotebookSizerTowxSizer
},
3146 { "_wxSizer","_wxNotebookSizer",SwigwxNotebookSizerTowxSizer
},
3147 { "_wxSizer","_class_wxStaticBoxSizer",SwigwxStaticBoxSizerTowxSizer
},
3148 { "_wxSizer","_wxStaticBoxSizer",SwigwxStaticBoxSizerTowxSizer
},
3149 { "_wxSizer","_class_wxBoxSizer",SwigwxBoxSizerTowxSizer
},
3150 { "_wxSizer","_wxBoxSizer",SwigwxBoxSizerTowxSizer
},
3151 { "_wxSizer","_class_wxPySizer",SwigwxPySizerTowxSizer
},
3152 { "_wxSizer","_wxPySizer",SwigwxPySizerTowxSizer
},
3153 { "_wxSizer","_class_wxSizer",0},
3154 { "_class_wxShowEvent","_wxShowEvent",0},
3155 { "_wxPyDropTarget","_class_wxPyDropTarget",0},
3156 { "_wxActivateEvent","_class_wxActivateEvent",0},
3157 { "_wxGauge","_class_wxGauge",0},
3158 { "_class_wxCheckListBox","_wxCheckListBox",0},
3159 { "_class_wxBusyInfo","_wxBusyInfo",0},
3160 { "_class_wxFontList","_wxFontList",0},
3161 { "_class_wxCommandEvent","_wxCommandEvent",0},
3162 { "_class_wxClientDC","_wxClientDC",0},
3163 { "_class_wxSizeEvent","_wxSizeEvent",0},
3164 { "_wxBrushList","_class_wxBrushList",0},
3165 { "_wxCustomDataObject","_class_wxCustomDataObject",0},
3166 { "_class_wxSize","_wxSize",0},
3167 { "_class_wxBitmap","_wxBitmap",0},
3168 { "_class_wxMemoryDC","_wxMemoryDC",0},
3169 { "_wxPyTextDropTarget","_class_wxPyTextDropTarget",0},
3170 { "_wxMenuBar","_class_wxMenuBar",0},
3171 { "_wxEvtHandler","_class_wxEvtHandler",0},
3172 { "_wxMenuItem","_class_wxMenuItem",0},
3173 { "_class_wxScrollBar","_wxScrollBar",0},
3174 { "_class_wxScrolledWindow","_wxScrolledWindow",0},
3175 { "_wxKeyEvent","_class_wxKeyEvent",0},
3176 { "_wxMoveEvent","_class_wxMoveEvent",0},
3177 { "_class_wxPalette","_wxPalette",0},
3178 { "_wxFileDataObject","_class_wxFileDataObject",0},
3179 { "_wxNotebookSizer","_class_wxNotebookSizer",0},
3180 { "_class_wxEraseEvent","_wxEraseEvent",0},
3181 { "_class_wxDataObjectComposite","_wxDataObjectComposite",0},
3182 { "_wxWindow","_class_wxWindow",0},
3183 { "_class_wxWindowDestroyEvent","_wxWindowDestroyEvent",0},
3186 static PyObject
*SWIG_globals
;
3190 SWIGEXPORT(void) initsizersc() {
3192 SWIG_globals
= SWIG_newvarlink();
3193 m
= Py_InitModule("sizersc", sizerscMethods
);
3194 d
= PyModule_GetDict(m
);
3197 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
3198 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);