2 * FILE : gtk/sizers.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 810)
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
32 # define SWIGEXPORT(a) a
36 # define SWIGEXPORT(a) a
43 extern void SWIG_MakePtr(char *, void *, char *);
44 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
45 extern char *SWIG_GetPtr(char *, void **, char *);
46 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
47 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
48 extern PyObject
*SWIG_newvarlink(void);
52 #define SWIG_init initsizersc
54 #define SWIG_name "sizersc"
58 static PyObject
* l_output_helper(PyObject
* target
, PyObject
* o
) {
63 } else if (target
== Py_None
) {
67 if (!PyList_Check(target
)) {
69 target
= PyList_New(0);
70 PyList_Append(target
, o2
);
73 PyList_Append(target
,o
);
79 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
85 } else if (target
== Py_None
) {
89 if (!PyTuple_Check(target
)) {
91 target
= PyTuple_New(1);
92 PyTuple_SetItem(target
, 0, o2
);
95 PyTuple_SetItem(o3
, 0, o
);
98 target
= PySequence_Concat(o2
, o3
);
105 static char* wxStringErrorMsg
= "string type is required for parameter";
107 class wxPySizer
: public wxSizer
{
108 DECLARE_DYNAMIC_CLASS(wxPySizer
);
110 wxPySizer() : wxSizer() {};
112 DEC_PYCALLBACK___pure(RecalcSizes
);
113 DEC_PYCALLBACK_wxSize__pure(CalcMin
);
118 IMP_PYCALLBACK___pure(wxPySizer
, wxSizer
, RecalcSizes
);
119 IMP_PYCALLBACK_wxSize__pure(wxPySizer
, wxSizer
, CalcMin
);
121 IMPLEMENT_DYNAMIC_CLASS(wxPySizer
, wxSizer
);
125 #define wxSizerItem_GetSize(_swigobj) (_swigobj->GetSize())
126 static PyObject
*_wrap_wxSizerItem_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
127 PyObject
* _resultobj
;
130 PyObject
* _argo0
= 0;
131 char *_kwnames
[] = { "self", NULL
};
135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSizerItem_GetSize",_kwnames
,&_argo0
))
138 if (_argo0
== Py_None
) { _arg0
= NULL
; }
139 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizerItem_p")) {
140 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizerItem_GetSize. Expected _wxSizerItem_p.");
145 wxPy_BEGIN_ALLOW_THREADS
;
146 _result
= new wxSize (wxSizerItem_GetSize(_arg0
));
148 wxPy_END_ALLOW_THREADS
;
149 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
150 _resultobj
= Py_BuildValue("s",_ptemp
);
154 #define wxSizerItem_CalcMin(_swigobj) (_swigobj->CalcMin())
155 static PyObject
*_wrap_wxSizerItem_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
156 PyObject
* _resultobj
;
159 PyObject
* _argo0
= 0;
160 char *_kwnames
[] = { "self", NULL
};
164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSizerItem_CalcMin",_kwnames
,&_argo0
))
167 if (_argo0
== Py_None
) { _arg0
= NULL
; }
168 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizerItem_p")) {
169 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizerItem_CalcMin. Expected _wxSizerItem_p.");
174 wxPy_BEGIN_ALLOW_THREADS
;
175 _result
= new wxSize (wxSizerItem_CalcMin(_arg0
));
177 wxPy_END_ALLOW_THREADS
;
178 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
179 _resultobj
= Py_BuildValue("s",_ptemp
);
183 #define wxSizerItem_SetDimension(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDimension(_swigarg0,_swigarg1))
184 static PyObject
*_wrap_wxSizerItem_SetDimension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
185 PyObject
* _resultobj
;
189 PyObject
* _argo0
= 0;
191 PyObject
* _obj1
= 0;
193 PyObject
* _obj2
= 0;
194 char *_kwnames
[] = { "self","pos","size", NULL
};
197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxSizerItem_SetDimension",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
200 if (_argo0
== Py_None
) { _arg0
= NULL
; }
201 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizerItem_p")) {
202 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizerItem_SetDimension. Expected _wxSizerItem_p.");
208 if (! wxPoint_helper(_obj1
, &_arg1
))
213 if (! wxSize_helper(_obj2
, &_arg2
))
217 wxPy_BEGIN_ALLOW_THREADS
;
218 wxSizerItem_SetDimension(_arg0
,*_arg1
,*_arg2
);
220 wxPy_END_ALLOW_THREADS
;
221 } Py_INCREF(Py_None
);
222 _resultobj
= Py_None
;
226 #define wxSizerItem_IsWindow(_swigobj) (_swigobj->IsWindow())
227 static PyObject
*_wrap_wxSizerItem_IsWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
228 PyObject
* _resultobj
;
231 PyObject
* _argo0
= 0;
232 char *_kwnames
[] = { "self", NULL
};
235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSizerItem_IsWindow",_kwnames
,&_argo0
))
238 if (_argo0
== Py_None
) { _arg0
= NULL
; }
239 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizerItem_p")) {
240 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizerItem_IsWindow. Expected _wxSizerItem_p.");
245 wxPy_BEGIN_ALLOW_THREADS
;
246 _result
= (bool )wxSizerItem_IsWindow(_arg0
);
248 wxPy_END_ALLOW_THREADS
;
249 } _resultobj
= Py_BuildValue("i",_result
);
253 #define wxSizerItem_IsSizer(_swigobj) (_swigobj->IsSizer())
254 static PyObject
*_wrap_wxSizerItem_IsSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
255 PyObject
* _resultobj
;
258 PyObject
* _argo0
= 0;
259 char *_kwnames
[] = { "self", NULL
};
262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSizerItem_IsSizer",_kwnames
,&_argo0
))
265 if (_argo0
== Py_None
) { _arg0
= NULL
; }
266 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizerItem_p")) {
267 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizerItem_IsSizer. Expected _wxSizerItem_p.");
272 wxPy_BEGIN_ALLOW_THREADS
;
273 _result
= (bool )wxSizerItem_IsSizer(_arg0
);
275 wxPy_END_ALLOW_THREADS
;
276 } _resultobj
= Py_BuildValue("i",_result
);
280 #define wxSizerItem_IsSpacer(_swigobj) (_swigobj->IsSpacer())
281 static PyObject
*_wrap_wxSizerItem_IsSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
282 PyObject
* _resultobj
;
285 PyObject
* _argo0
= 0;
286 char *_kwnames
[] = { "self", NULL
};
289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSizerItem_IsSpacer",_kwnames
,&_argo0
))
292 if (_argo0
== Py_None
) { _arg0
= NULL
; }
293 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizerItem_p")) {
294 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizerItem_IsSpacer. Expected _wxSizerItem_p.");
299 wxPy_BEGIN_ALLOW_THREADS
;
300 _result
= (bool )wxSizerItem_IsSpacer(_arg0
);
302 wxPy_END_ALLOW_THREADS
;
303 } _resultobj
= Py_BuildValue("i",_result
);
307 #define wxSizerItem_GetWindow(_swigobj) (_swigobj->GetWindow())
308 static PyObject
*_wrap_wxSizerItem_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
309 PyObject
* _resultobj
;
312 PyObject
* _argo0
= 0;
313 char *_kwnames
[] = { "self", NULL
};
317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSizerItem_GetWindow",_kwnames
,&_argo0
))
320 if (_argo0
== Py_None
) { _arg0
= NULL
; }
321 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizerItem_p")) {
322 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizerItem_GetWindow. Expected _wxSizerItem_p.");
327 wxPy_BEGIN_ALLOW_THREADS
;
328 _result
= (wxWindow
*)wxSizerItem_GetWindow(_arg0
);
330 wxPy_END_ALLOW_THREADS
;
332 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
333 _resultobj
= Py_BuildValue("s",_ptemp
);
336 _resultobj
= Py_None
;
341 #define wxSizerItem_GetSizer(_swigobj) (_swigobj->GetSizer())
342 static PyObject
*_wrap_wxSizerItem_GetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
343 PyObject
* _resultobj
;
346 PyObject
* _argo0
= 0;
347 char *_kwnames
[] = { "self", NULL
};
351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSizerItem_GetSizer",_kwnames
,&_argo0
))
354 if (_argo0
== Py_None
) { _arg0
= NULL
; }
355 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizerItem_p")) {
356 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizerItem_GetSizer. Expected _wxSizerItem_p.");
361 wxPy_BEGIN_ALLOW_THREADS
;
362 _result
= (wxSizer
*)wxSizerItem_GetSizer(_arg0
);
364 wxPy_END_ALLOW_THREADS
;
366 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSizer_p");
367 _resultobj
= Py_BuildValue("s",_ptemp
);
370 _resultobj
= Py_None
;
375 #define wxSizerItem_GetOption(_swigobj) (_swigobj->GetOption())
376 static PyObject
*_wrap_wxSizerItem_GetOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
377 PyObject
* _resultobj
;
380 PyObject
* _argo0
= 0;
381 char *_kwnames
[] = { "self", NULL
};
384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSizerItem_GetOption",_kwnames
,&_argo0
))
387 if (_argo0
== Py_None
) { _arg0
= NULL
; }
388 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizerItem_p")) {
389 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizerItem_GetOption. Expected _wxSizerItem_p.");
394 wxPy_BEGIN_ALLOW_THREADS
;
395 _result
= (int )wxSizerItem_GetOption(_arg0
);
397 wxPy_END_ALLOW_THREADS
;
398 } _resultobj
= Py_BuildValue("i",_result
);
402 #define wxSizerItem_GetFlag(_swigobj) (_swigobj->GetFlag())
403 static PyObject
*_wrap_wxSizerItem_GetFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
404 PyObject
* _resultobj
;
407 PyObject
* _argo0
= 0;
408 char *_kwnames
[] = { "self", NULL
};
411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSizerItem_GetFlag",_kwnames
,&_argo0
))
414 if (_argo0
== Py_None
) { _arg0
= NULL
; }
415 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizerItem_p")) {
416 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizerItem_GetFlag. Expected _wxSizerItem_p.");
421 wxPy_BEGIN_ALLOW_THREADS
;
422 _result
= (int )wxSizerItem_GetFlag(_arg0
);
424 wxPy_END_ALLOW_THREADS
;
425 } _resultobj
= Py_BuildValue("i",_result
);
429 #define wxSizerItem_GetBorder(_swigobj) (_swigobj->GetBorder())
430 static PyObject
*_wrap_wxSizerItem_GetBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
431 PyObject
* _resultobj
;
434 PyObject
* _argo0
= 0;
435 char *_kwnames
[] = { "self", NULL
};
438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSizerItem_GetBorder",_kwnames
,&_argo0
))
441 if (_argo0
== Py_None
) { _arg0
= NULL
; }
442 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizerItem_p")) {
443 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizerItem_GetBorder. Expected _wxSizerItem_p.");
448 wxPy_BEGIN_ALLOW_THREADS
;
449 _result
= (int )wxSizerItem_GetBorder(_arg0
);
451 wxPy_END_ALLOW_THREADS
;
452 } _resultobj
= Py_BuildValue("i",_result
);
456 #define wxSizerItem_SetInitSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetInitSize(_swigarg0,_swigarg1))
457 static PyObject
*_wrap_wxSizerItem_SetInitSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
458 PyObject
* _resultobj
;
462 PyObject
* _argo0
= 0;
463 char *_kwnames
[] = { "self","x","y", NULL
};
466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxSizerItem_SetInitSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
469 if (_argo0
== Py_None
) { _arg0
= NULL
; }
470 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizerItem_p")) {
471 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizerItem_SetInitSize. Expected _wxSizerItem_p.");
476 wxPy_BEGIN_ALLOW_THREADS
;
477 wxSizerItem_SetInitSize(_arg0
,_arg1
,_arg2
);
479 wxPy_END_ALLOW_THREADS
;
480 } Py_INCREF(Py_None
);
481 _resultobj
= Py_None
;
485 #define wxSizerItem_SetOption(_swigobj,_swigarg0) (_swigobj->SetOption(_swigarg0))
486 static PyObject
*_wrap_wxSizerItem_SetOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
487 PyObject
* _resultobj
;
490 PyObject
* _argo0
= 0;
491 char *_kwnames
[] = { "self","option", NULL
};
494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSizerItem_SetOption",_kwnames
,&_argo0
,&_arg1
))
497 if (_argo0
== Py_None
) { _arg0
= NULL
; }
498 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizerItem_p")) {
499 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizerItem_SetOption. Expected _wxSizerItem_p.");
504 wxPy_BEGIN_ALLOW_THREADS
;
505 wxSizerItem_SetOption(_arg0
,_arg1
);
507 wxPy_END_ALLOW_THREADS
;
508 } Py_INCREF(Py_None
);
509 _resultobj
= Py_None
;
513 #define wxSizerItem_SetFlag(_swigobj,_swigarg0) (_swigobj->SetFlag(_swigarg0))
514 static PyObject
*_wrap_wxSizerItem_SetFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
515 PyObject
* _resultobj
;
518 PyObject
* _argo0
= 0;
519 char *_kwnames
[] = { "self","flag", NULL
};
522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSizerItem_SetFlag",_kwnames
,&_argo0
,&_arg1
))
525 if (_argo0
== Py_None
) { _arg0
= NULL
; }
526 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizerItem_p")) {
527 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizerItem_SetFlag. Expected _wxSizerItem_p.");
532 wxPy_BEGIN_ALLOW_THREADS
;
533 wxSizerItem_SetFlag(_arg0
,_arg1
);
535 wxPy_END_ALLOW_THREADS
;
536 } Py_INCREF(Py_None
);
537 _resultobj
= Py_None
;
541 #define wxSizerItem_SetBorder(_swigobj,_swigarg0) (_swigobj->SetBorder(_swigarg0))
542 static PyObject
*_wrap_wxSizerItem_SetBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
543 PyObject
* _resultobj
;
546 PyObject
* _argo0
= 0;
547 char *_kwnames
[] = { "self","border", NULL
};
550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSizerItem_SetBorder",_kwnames
,&_argo0
,&_arg1
))
553 if (_argo0
== Py_None
) { _arg0
= NULL
; }
554 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizerItem_p")) {
555 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizerItem_SetBorder. Expected _wxSizerItem_p.");
560 wxPy_BEGIN_ALLOW_THREADS
;
561 wxSizerItem_SetBorder(_arg0
,_arg1
);
563 wxPy_END_ALLOW_THREADS
;
564 } Py_INCREF(Py_None
);
565 _resultobj
= Py_None
;
569 static PyObject
* wxSizerItem_GetUserData(wxSizerItem
*self
) {
570 wxPyUserData
* data
= (wxPyUserData
*)self
->GetUserData();
572 Py_INCREF(data
->m_obj
);
579 static PyObject
*_wrap_wxSizerItem_GetUserData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
580 PyObject
* _resultobj
;
583 PyObject
* _argo0
= 0;
584 char *_kwnames
[] = { "self", NULL
};
587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSizerItem_GetUserData",_kwnames
,&_argo0
))
590 if (_argo0
== Py_None
) { _arg0
= NULL
; }
591 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizerItem_p")) {
592 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizerItem_GetUserData. Expected _wxSizerItem_p.");
597 wxPy_BEGIN_ALLOW_THREADS
;
598 _result
= (PyObject
*)wxSizerItem_GetUserData(_arg0
);
600 wxPy_END_ALLOW_THREADS
;
602 _resultobj
= _result
;
607 static void wxSizer_Destroy(wxSizer
*self
) { delete self
; }
608 static PyObject
*_wrap_wxSizer_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
609 PyObject
* _resultobj
;
611 PyObject
* _argo0
= 0;
612 char *_kwnames
[] = { "self", NULL
};
615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSizer_Destroy",_kwnames
,&_argo0
))
618 if (_argo0
== Py_None
) { _arg0
= NULL
; }
619 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
620 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_Destroy. Expected _wxSizer_p.");
625 wxPy_BEGIN_ALLOW_THREADS
;
626 wxSizer_Destroy(_arg0
);
628 wxPy_END_ALLOW_THREADS
;
629 } Py_INCREF(Py_None
);
630 _resultobj
= Py_None
;
634 static void wxSizer_AddWindow(wxSizer
*self
,wxWindow
* window
,int option
,int flag
,int border
,PyObject
* userData
) {
635 wxPyUserData
* data
= NULL
;
636 if (userData
) data
= new wxPyUserData(userData
);
637 self
->Add(window
, option
, flag
, border
, data
);
639 static PyObject
*_wrap_wxSizer_AddWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
640 PyObject
* _resultobj
;
643 int _arg2
= (int ) 0;
644 int _arg3
= (int ) 0;
645 int _arg4
= (int ) 0;
646 PyObject
* _arg5
= (PyObject
*) NULL
;
647 PyObject
* _argo0
= 0;
648 PyObject
* _argo1
= 0;
649 PyObject
* _obj5
= 0;
650 char *_kwnames
[] = { "self","window","option","flag","border","userData", NULL
};
653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iiiO:wxSizer_AddWindow",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_obj5
))
656 if (_argo0
== Py_None
) { _arg0
= NULL
; }
657 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
658 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_AddWindow. Expected _wxSizer_p.");
663 if (_argo1
== Py_None
) { _arg1
= NULL
; }
664 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
665 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSizer_AddWindow. Expected _wxWindow_p.");
674 wxPy_BEGIN_ALLOW_THREADS
;
675 wxSizer_AddWindow(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
677 wxPy_END_ALLOW_THREADS
;
678 } Py_INCREF(Py_None
);
679 _resultobj
= Py_None
;
683 static void wxSizer_AddSizer(wxSizer
*self
,wxSizer
* sizer
,int option
,int flag
,int border
,PyObject
* userData
) {
684 wxPyUserData
* data
= NULL
;
685 if (userData
) data
= new wxPyUserData(userData
);
686 self
->Add(sizer
, option
, flag
, border
, data
);
688 static PyObject
*_wrap_wxSizer_AddSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
689 PyObject
* _resultobj
;
692 int _arg2
= (int ) 0;
693 int _arg3
= (int ) 0;
694 int _arg4
= (int ) 0;
695 PyObject
* _arg5
= (PyObject
*) NULL
;
696 PyObject
* _argo0
= 0;
697 PyObject
* _argo1
= 0;
698 PyObject
* _obj5
= 0;
699 char *_kwnames
[] = { "self","sizer","option","flag","border","userData", NULL
};
702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iiiO:wxSizer_AddSizer",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_obj5
))
705 if (_argo0
== Py_None
) { _arg0
= NULL
; }
706 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
707 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_AddSizer. Expected _wxSizer_p.");
712 if (_argo1
== Py_None
) { _arg1
= NULL
; }
713 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxSizer_p")) {
714 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSizer_AddSizer. Expected _wxSizer_p.");
723 wxPy_BEGIN_ALLOW_THREADS
;
724 wxSizer_AddSizer(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
726 wxPy_END_ALLOW_THREADS
;
727 } Py_INCREF(Py_None
);
728 _resultobj
= Py_None
;
732 static void wxSizer_AddSpacer(wxSizer
*self
,int width
,int height
,int option
,int flag
,int border
,PyObject
* userData
) {
733 wxPyUserData
* data
= NULL
;
734 if (userData
) data
= new wxPyUserData(userData
);
735 self
->Add(width
, height
, option
, flag
, border
, data
);
737 static PyObject
*_wrap_wxSizer_AddSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
738 PyObject
* _resultobj
;
742 int _arg3
= (int ) 0;
743 int _arg4
= (int ) 0;
744 int _arg5
= (int ) 0;
745 PyObject
* _arg6
= (PyObject
*) NULL
;
746 PyObject
* _argo0
= 0;
747 PyObject
* _obj6
= 0;
748 char *_kwnames
[] = { "self","width","height","option","flag","border","userData", NULL
};
751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|iiiO:wxSizer_AddSpacer",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_obj6
))
754 if (_argo0
== Py_None
) { _arg0
= NULL
; }
755 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
756 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_AddSpacer. Expected _wxSizer_p.");
765 wxPy_BEGIN_ALLOW_THREADS
;
766 wxSizer_AddSpacer(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
768 wxPy_END_ALLOW_THREADS
;
769 } Py_INCREF(Py_None
);
770 _resultobj
= Py_None
;
774 static void wxSizer_PrependWindow(wxSizer
*self
,wxWindow
* window
,int option
,int flag
,int border
,PyObject
* userData
) {
775 wxPyUserData
* data
= NULL
;
776 if (userData
) data
= new wxPyUserData(userData
);
777 self
->Prepend(window
, option
, flag
, border
, data
);
779 static PyObject
*_wrap_wxSizer_PrependWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
780 PyObject
* _resultobj
;
783 int _arg2
= (int ) 0;
784 int _arg3
= (int ) 0;
785 int _arg4
= (int ) 0;
786 PyObject
* _arg5
= (PyObject
*) NULL
;
787 PyObject
* _argo0
= 0;
788 PyObject
* _argo1
= 0;
789 PyObject
* _obj5
= 0;
790 char *_kwnames
[] = { "self","window","option","flag","border","userData", NULL
};
793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iiiO:wxSizer_PrependWindow",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_obj5
))
796 if (_argo0
== Py_None
) { _arg0
= NULL
; }
797 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
798 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_PrependWindow. Expected _wxSizer_p.");
803 if (_argo1
== Py_None
) { _arg1
= NULL
; }
804 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
805 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSizer_PrependWindow. Expected _wxWindow_p.");
814 wxPy_BEGIN_ALLOW_THREADS
;
815 wxSizer_PrependWindow(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
817 wxPy_END_ALLOW_THREADS
;
818 } Py_INCREF(Py_None
);
819 _resultobj
= Py_None
;
823 static void wxSizer_PrependSizer(wxSizer
*self
,wxSizer
* sizer
,int option
,int flag
,int border
,PyObject
* userData
) {
824 wxPyUserData
* data
= NULL
;
825 if (userData
) data
= new wxPyUserData(userData
);
826 self
->Prepend(sizer
, option
, flag
, border
, data
);
828 static PyObject
*_wrap_wxSizer_PrependSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
829 PyObject
* _resultobj
;
832 int _arg2
= (int ) 0;
833 int _arg3
= (int ) 0;
834 int _arg4
= (int ) 0;
835 PyObject
* _arg5
= (PyObject
*) NULL
;
836 PyObject
* _argo0
= 0;
837 PyObject
* _argo1
= 0;
838 PyObject
* _obj5
= 0;
839 char *_kwnames
[] = { "self","sizer","option","flag","border","userData", NULL
};
842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iiiO:wxSizer_PrependSizer",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_obj5
))
845 if (_argo0
== Py_None
) { _arg0
= NULL
; }
846 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
847 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_PrependSizer. Expected _wxSizer_p.");
852 if (_argo1
== Py_None
) { _arg1
= NULL
; }
853 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxSizer_p")) {
854 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSizer_PrependSizer. Expected _wxSizer_p.");
863 wxPy_BEGIN_ALLOW_THREADS
;
864 wxSizer_PrependSizer(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
866 wxPy_END_ALLOW_THREADS
;
867 } Py_INCREF(Py_None
);
868 _resultobj
= Py_None
;
872 static void wxSizer_PrependSpacer(wxSizer
*self
,int width
,int height
,int option
,int flag
,int border
,PyObject
* userData
) {
873 wxPyUserData
* data
= NULL
;
874 if (userData
) data
= new wxPyUserData(userData
);
875 self
->Prepend(width
, height
, option
, flag
, border
, data
);
877 static PyObject
*_wrap_wxSizer_PrependSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
878 PyObject
* _resultobj
;
882 int _arg3
= (int ) 0;
883 int _arg4
= (int ) 0;
884 int _arg5
= (int ) 0;
885 PyObject
* _arg6
= (PyObject
*) NULL
;
886 PyObject
* _argo0
= 0;
887 PyObject
* _obj6
= 0;
888 char *_kwnames
[] = { "self","width","height","option","flag","border","userData", NULL
};
891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|iiiO:wxSizer_PrependSpacer",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_obj6
))
894 if (_argo0
== Py_None
) { _arg0
= NULL
; }
895 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
896 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_PrependSpacer. Expected _wxSizer_p.");
905 wxPy_BEGIN_ALLOW_THREADS
;
906 wxSizer_PrependSpacer(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
908 wxPy_END_ALLOW_THREADS
;
909 } Py_INCREF(Py_None
);
910 _resultobj
= Py_None
;
914 #define wxSizer_RemoveWindow(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
915 static PyObject
*_wrap_wxSizer_RemoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
916 PyObject
* _resultobj
;
920 PyObject
* _argo0
= 0;
921 PyObject
* _argo1
= 0;
922 char *_kwnames
[] = { "self","window", NULL
};
925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxSizer_RemoveWindow",_kwnames
,&_argo0
,&_argo1
))
928 if (_argo0
== Py_None
) { _arg0
= NULL
; }
929 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
930 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_RemoveWindow. Expected _wxSizer_p.");
935 if (_argo1
== Py_None
) { _arg1
= NULL
; }
936 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
937 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSizer_RemoveWindow. Expected _wxWindow_p.");
942 wxPy_BEGIN_ALLOW_THREADS
;
943 _result
= (bool )wxSizer_RemoveWindow(_arg0
,_arg1
);
945 wxPy_END_ALLOW_THREADS
;
946 } _resultobj
= Py_BuildValue("i",_result
);
950 #define wxSizer_RemoveSizer(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
951 static PyObject
*_wrap_wxSizer_RemoveSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
952 PyObject
* _resultobj
;
956 PyObject
* _argo0
= 0;
957 PyObject
* _argo1
= 0;
958 char *_kwnames
[] = { "self","sizer", NULL
};
961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxSizer_RemoveSizer",_kwnames
,&_argo0
,&_argo1
))
964 if (_argo0
== Py_None
) { _arg0
= NULL
; }
965 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
966 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_RemoveSizer. Expected _wxSizer_p.");
971 if (_argo1
== Py_None
) { _arg1
= NULL
; }
972 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxSizer_p")) {
973 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSizer_RemoveSizer. Expected _wxSizer_p.");
978 wxPy_BEGIN_ALLOW_THREADS
;
979 _result
= (bool )wxSizer_RemoveSizer(_arg0
,_arg1
);
981 wxPy_END_ALLOW_THREADS
;
982 } _resultobj
= Py_BuildValue("i",_result
);
986 #define wxSizer_RemovePos(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
987 static PyObject
*_wrap_wxSizer_RemovePos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
988 PyObject
* _resultobj
;
992 PyObject
* _argo0
= 0;
993 char *_kwnames
[] = { "self","pos", NULL
};
996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSizer_RemovePos",_kwnames
,&_argo0
,&_arg1
))
999 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1000 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
1001 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_RemovePos. Expected _wxSizer_p.");
1006 wxPy_BEGIN_ALLOW_THREADS
;
1007 _result
= (bool )wxSizer_RemovePos(_arg0
,_arg1
);
1009 wxPy_END_ALLOW_THREADS
;
1010 } _resultobj
= Py_BuildValue("i",_result
);
1014 #define wxSizer_SetDimension(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetDimension(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1015 static PyObject
*_wrap_wxSizer_SetDimension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1016 PyObject
* _resultobj
;
1022 PyObject
* _argo0
= 0;
1023 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
1026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii:wxSizer_SetDimension",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
1029 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1030 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
1031 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_SetDimension. Expected _wxSizer_p.");
1036 wxPy_BEGIN_ALLOW_THREADS
;
1037 wxSizer_SetDimension(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
1039 wxPy_END_ALLOW_THREADS
;
1040 } Py_INCREF(Py_None
);
1041 _resultobj
= Py_None
;
1045 #define wxSizer_GetSize(_swigobj) (_swigobj->GetSize())
1046 static PyObject
*_wrap_wxSizer_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1047 PyObject
* _resultobj
;
1050 PyObject
* _argo0
= 0;
1051 char *_kwnames
[] = { "self", NULL
};
1055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSizer_GetSize",_kwnames
,&_argo0
))
1058 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1059 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
1060 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_GetSize. Expected _wxSizer_p.");
1065 wxPy_BEGIN_ALLOW_THREADS
;
1066 _result
= new wxSize (wxSizer_GetSize(_arg0
));
1068 wxPy_END_ALLOW_THREADS
;
1069 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
1070 _resultobj
= Py_BuildValue("s",_ptemp
);
1074 #define wxSizer_GetPosition(_swigobj) (_swigobj->GetPosition())
1075 static PyObject
*_wrap_wxSizer_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1076 PyObject
* _resultobj
;
1079 PyObject
* _argo0
= 0;
1080 char *_kwnames
[] = { "self", NULL
};
1084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSizer_GetPosition",_kwnames
,&_argo0
))
1087 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1088 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
1089 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_GetPosition. Expected _wxSizer_p.");
1094 wxPy_BEGIN_ALLOW_THREADS
;
1095 _result
= new wxPoint (wxSizer_GetPosition(_arg0
));
1097 wxPy_END_ALLOW_THREADS
;
1098 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
1099 _resultobj
= Py_BuildValue("s",_ptemp
);
1103 #define wxSizer_GetMinSize(_swigobj) (_swigobj->GetMinSize())
1104 static PyObject
*_wrap_wxSizer_GetMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1105 PyObject
* _resultobj
;
1108 PyObject
* _argo0
= 0;
1109 char *_kwnames
[] = { "self", NULL
};
1113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSizer_GetMinSize",_kwnames
,&_argo0
))
1116 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1117 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
1118 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_GetMinSize. Expected _wxSizer_p.");
1123 wxPy_BEGIN_ALLOW_THREADS
;
1124 _result
= new wxSize (wxSizer_GetMinSize(_arg0
));
1126 wxPy_END_ALLOW_THREADS
;
1127 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
1128 _resultobj
= Py_BuildValue("s",_ptemp
);
1132 #define wxSizer_Layout(_swigobj) (_swigobj->Layout())
1133 static PyObject
*_wrap_wxSizer_Layout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1134 PyObject
* _resultobj
;
1136 PyObject
* _argo0
= 0;
1137 char *_kwnames
[] = { "self", NULL
};
1140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSizer_Layout",_kwnames
,&_argo0
))
1143 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1144 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
1145 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_Layout. Expected _wxSizer_p.");
1150 wxPy_BEGIN_ALLOW_THREADS
;
1151 wxSizer_Layout(_arg0
);
1153 wxPy_END_ALLOW_THREADS
;
1154 } Py_INCREF(Py_None
);
1155 _resultobj
= Py_None
;
1159 #define wxSizer_Fit(_swigobj,_swigarg0) (_swigobj->Fit(_swigarg0))
1160 static PyObject
*_wrap_wxSizer_Fit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1161 PyObject
* _resultobj
;
1164 PyObject
* _argo0
= 0;
1165 PyObject
* _argo1
= 0;
1166 char *_kwnames
[] = { "self","window", NULL
};
1169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxSizer_Fit",_kwnames
,&_argo0
,&_argo1
))
1172 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1173 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
1174 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_Fit. Expected _wxSizer_p.");
1179 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1180 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1181 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSizer_Fit. Expected _wxWindow_p.");
1186 wxPy_BEGIN_ALLOW_THREADS
;
1187 wxSizer_Fit(_arg0
,_arg1
);
1189 wxPy_END_ALLOW_THREADS
;
1190 } Py_INCREF(Py_None
);
1191 _resultobj
= Py_None
;
1195 #define wxSizer_SetSizeHints(_swigobj,_swigarg0) (_swigobj->SetSizeHints(_swigarg0))
1196 static PyObject
*_wrap_wxSizer_SetSizeHints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1197 PyObject
* _resultobj
;
1200 PyObject
* _argo0
= 0;
1201 PyObject
* _argo1
= 0;
1202 char *_kwnames
[] = { "self","window", NULL
};
1205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxSizer_SetSizeHints",_kwnames
,&_argo0
,&_argo1
))
1208 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1209 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
1210 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_SetSizeHints. Expected _wxSizer_p.");
1215 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1216 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1217 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSizer_SetSizeHints. Expected _wxWindow_p.");
1222 wxPy_BEGIN_ALLOW_THREADS
;
1223 wxSizer_SetSizeHints(_arg0
,_arg1
);
1225 wxPy_END_ALLOW_THREADS
;
1226 } Py_INCREF(Py_None
);
1227 _resultobj
= Py_None
;
1231 static PyObject
* wxSizer_GetChildren(wxSizer
*self
) {
1232 wxList
& list
= self
->GetChildren();
1233 return wxPy_ConvertList(&list
, "wxSizerItem");
1235 static PyObject
*_wrap_wxSizer_GetChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1236 PyObject
* _resultobj
;
1239 PyObject
* _argo0
= 0;
1240 char *_kwnames
[] = { "self", NULL
};
1243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSizer_GetChildren",_kwnames
,&_argo0
))
1246 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1247 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
1248 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_GetChildren. Expected _wxSizer_p.");
1253 wxPy_BEGIN_ALLOW_THREADS
;
1254 _result
= (PyObject
*)wxSizer_GetChildren(_arg0
);
1256 wxPy_END_ALLOW_THREADS
;
1258 _resultobj
= _result
;
1263 static void *SwigwxPySizerTowxSizer(void *ptr
) {
1266 src
= (wxPySizer
*) ptr
;
1267 dest
= (wxSizer
*) src
;
1268 return (void *) dest
;
1271 #define new_wxPySizer() (new wxPySizer())
1272 static PyObject
*_wrap_new_wxPySizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1273 PyObject
* _resultobj
;
1274 wxPySizer
* _result
;
1275 char *_kwnames
[] = { NULL
};
1279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPySizer",_kwnames
))
1282 wxPy_BEGIN_ALLOW_THREADS
;
1283 _result
= (wxPySizer
*)new_wxPySizer();
1285 wxPy_END_ALLOW_THREADS
;
1287 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPySizer_p");
1288 _resultobj
= Py_BuildValue("s",_ptemp
);
1291 _resultobj
= Py_None
;
1296 #define wxPySizer__setSelf(_swigobj,_swigarg0) (_swigobj->_setSelf(_swigarg0))
1297 static PyObject
*_wrap_wxPySizer__setSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1298 PyObject
* _resultobj
;
1301 PyObject
* _argo0
= 0;
1302 PyObject
* _obj1
= 0;
1303 char *_kwnames
[] = { "self","self", NULL
};
1306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPySizer__setSelf",_kwnames
,&_argo0
,&_obj1
))
1309 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1310 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPySizer_p")) {
1311 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPySizer__setSelf. Expected _wxPySizer_p.");
1319 wxPy_BEGIN_ALLOW_THREADS
;
1320 wxPySizer__setSelf(_arg0
,_arg1
);
1322 wxPy_END_ALLOW_THREADS
;
1323 } Py_INCREF(Py_None
);
1324 _resultobj
= Py_None
;
1328 static void *SwigwxBoxSizerTowxSizer(void *ptr
) {
1331 src
= (wxBoxSizer
*) ptr
;
1332 dest
= (wxSizer
*) src
;
1333 return (void *) dest
;
1336 #define new_wxBoxSizer(_swigarg0) (new wxBoxSizer(_swigarg0))
1337 static PyObject
*_wrap_new_wxBoxSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1338 PyObject
* _resultobj
;
1339 wxBoxSizer
* _result
;
1340 int _arg0
= (int ) wxHORIZONTAL
;
1341 char *_kwnames
[] = { "orient", NULL
};
1345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxBoxSizer",_kwnames
,&_arg0
))
1348 wxPy_BEGIN_ALLOW_THREADS
;
1349 _result
= (wxBoxSizer
*)new_wxBoxSizer(_arg0
);
1351 wxPy_END_ALLOW_THREADS
;
1353 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBoxSizer_p");
1354 _resultobj
= Py_BuildValue("s",_ptemp
);
1357 _resultobj
= Py_None
;
1362 #define wxBoxSizer_GetOrientation(_swigobj) (_swigobj->GetOrientation())
1363 static PyObject
*_wrap_wxBoxSizer_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1364 PyObject
* _resultobj
;
1367 PyObject
* _argo0
= 0;
1368 char *_kwnames
[] = { "self", NULL
};
1371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBoxSizer_GetOrientation",_kwnames
,&_argo0
))
1374 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1375 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBoxSizer_p")) {
1376 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBoxSizer_GetOrientation. Expected _wxBoxSizer_p.");
1381 wxPy_BEGIN_ALLOW_THREADS
;
1382 _result
= (int )wxBoxSizer_GetOrientation(_arg0
);
1384 wxPy_END_ALLOW_THREADS
;
1385 } _resultobj
= Py_BuildValue("i",_result
);
1389 static void *SwigwxStaticBoxSizerTowxBoxSizer(void *ptr
) {
1390 wxStaticBoxSizer
*src
;
1392 src
= (wxStaticBoxSizer
*) ptr
;
1393 dest
= (wxBoxSizer
*) src
;
1394 return (void *) dest
;
1397 static void *SwigwxStaticBoxSizerTowxSizer(void *ptr
) {
1398 wxStaticBoxSizer
*src
;
1400 src
= (wxStaticBoxSizer
*) ptr
;
1401 dest
= (wxSizer
*) src
;
1402 return (void *) dest
;
1405 #define new_wxStaticBoxSizer(_swigarg0,_swigarg1) (new wxStaticBoxSizer(_swigarg0,_swigarg1))
1406 static PyObject
*_wrap_new_wxStaticBoxSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1407 PyObject
* _resultobj
;
1408 wxStaticBoxSizer
* _result
;
1409 wxStaticBox
* _arg0
;
1410 int _arg1
= (int ) wxHORIZONTAL
;
1411 PyObject
* _argo0
= 0;
1412 char *_kwnames
[] = { "box","orient", NULL
};
1416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:new_wxStaticBoxSizer",_kwnames
,&_argo0
,&_arg1
))
1419 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1420 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticBox_p")) {
1421 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxStaticBoxSizer. Expected _wxStaticBox_p.");
1426 wxPy_BEGIN_ALLOW_THREADS
;
1427 _result
= (wxStaticBoxSizer
*)new_wxStaticBoxSizer(_arg0
,_arg1
);
1429 wxPy_END_ALLOW_THREADS
;
1431 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticBoxSizer_p");
1432 _resultobj
= Py_BuildValue("s",_ptemp
);
1435 _resultobj
= Py_None
;
1440 #define wxStaticBoxSizer_GetStaticBox(_swigobj) (_swigobj->GetStaticBox())
1441 static PyObject
*_wrap_wxStaticBoxSizer_GetStaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1442 PyObject
* _resultobj
;
1443 wxStaticBox
* _result
;
1444 wxStaticBoxSizer
* _arg0
;
1445 PyObject
* _argo0
= 0;
1446 char *_kwnames
[] = { "self", NULL
};
1450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStaticBoxSizer_GetStaticBox",_kwnames
,&_argo0
))
1453 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1454 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticBoxSizer_p")) {
1455 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticBoxSizer_GetStaticBox. Expected _wxStaticBoxSizer_p.");
1460 wxPy_BEGIN_ALLOW_THREADS
;
1461 _result
= (wxStaticBox
*)wxStaticBoxSizer_GetStaticBox(_arg0
);
1463 wxPy_END_ALLOW_THREADS
;
1465 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticBox_p");
1466 _resultobj
= Py_BuildValue("s",_ptemp
);
1469 _resultobj
= Py_None
;
1474 static PyMethodDef sizerscMethods
[] = {
1475 { "wxStaticBoxSizer_GetStaticBox", (PyCFunction
) _wrap_wxStaticBoxSizer_GetStaticBox
, METH_VARARGS
| METH_KEYWORDS
},
1476 { "new_wxStaticBoxSizer", (PyCFunction
) _wrap_new_wxStaticBoxSizer
, METH_VARARGS
| METH_KEYWORDS
},
1477 { "wxBoxSizer_GetOrientation", (PyCFunction
) _wrap_wxBoxSizer_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
1478 { "new_wxBoxSizer", (PyCFunction
) _wrap_new_wxBoxSizer
, METH_VARARGS
| METH_KEYWORDS
},
1479 { "wxPySizer__setSelf", (PyCFunction
) _wrap_wxPySizer__setSelf
, METH_VARARGS
| METH_KEYWORDS
},
1480 { "new_wxPySizer", (PyCFunction
) _wrap_new_wxPySizer
, METH_VARARGS
| METH_KEYWORDS
},
1481 { "wxSizer_GetChildren", (PyCFunction
) _wrap_wxSizer_GetChildren
, METH_VARARGS
| METH_KEYWORDS
},
1482 { "wxSizer_SetSizeHints", (PyCFunction
) _wrap_wxSizer_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
},
1483 { "wxSizer_Fit", (PyCFunction
) _wrap_wxSizer_Fit
, METH_VARARGS
| METH_KEYWORDS
},
1484 { "wxSizer_Layout", (PyCFunction
) _wrap_wxSizer_Layout
, METH_VARARGS
| METH_KEYWORDS
},
1485 { "wxSizer_GetMinSize", (PyCFunction
) _wrap_wxSizer_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
1486 { "wxSizer_GetPosition", (PyCFunction
) _wrap_wxSizer_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
1487 { "wxSizer_GetSize", (PyCFunction
) _wrap_wxSizer_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
1488 { "wxSizer_SetDimension", (PyCFunction
) _wrap_wxSizer_SetDimension
, METH_VARARGS
| METH_KEYWORDS
},
1489 { "wxSizer_RemovePos", (PyCFunction
) _wrap_wxSizer_RemovePos
, METH_VARARGS
| METH_KEYWORDS
},
1490 { "wxSizer_RemoveSizer", (PyCFunction
) _wrap_wxSizer_RemoveSizer
, METH_VARARGS
| METH_KEYWORDS
},
1491 { "wxSizer_RemoveWindow", (PyCFunction
) _wrap_wxSizer_RemoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
1492 { "wxSizer_PrependSpacer", (PyCFunction
) _wrap_wxSizer_PrependSpacer
, METH_VARARGS
| METH_KEYWORDS
},
1493 { "wxSizer_PrependSizer", (PyCFunction
) _wrap_wxSizer_PrependSizer
, METH_VARARGS
| METH_KEYWORDS
},
1494 { "wxSizer_PrependWindow", (PyCFunction
) _wrap_wxSizer_PrependWindow
, METH_VARARGS
| METH_KEYWORDS
},
1495 { "wxSizer_AddSpacer", (PyCFunction
) _wrap_wxSizer_AddSpacer
, METH_VARARGS
| METH_KEYWORDS
},
1496 { "wxSizer_AddSizer", (PyCFunction
) _wrap_wxSizer_AddSizer
, METH_VARARGS
| METH_KEYWORDS
},
1497 { "wxSizer_AddWindow", (PyCFunction
) _wrap_wxSizer_AddWindow
, METH_VARARGS
| METH_KEYWORDS
},
1498 { "wxSizer_Destroy", (PyCFunction
) _wrap_wxSizer_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
1499 { "wxSizerItem_GetUserData", (PyCFunction
) _wrap_wxSizerItem_GetUserData
, METH_VARARGS
| METH_KEYWORDS
},
1500 { "wxSizerItem_SetBorder", (PyCFunction
) _wrap_wxSizerItem_SetBorder
, METH_VARARGS
| METH_KEYWORDS
},
1501 { "wxSizerItem_SetFlag", (PyCFunction
) _wrap_wxSizerItem_SetFlag
, METH_VARARGS
| METH_KEYWORDS
},
1502 { "wxSizerItem_SetOption", (PyCFunction
) _wrap_wxSizerItem_SetOption
, METH_VARARGS
| METH_KEYWORDS
},
1503 { "wxSizerItem_SetInitSize", (PyCFunction
) _wrap_wxSizerItem_SetInitSize
, METH_VARARGS
| METH_KEYWORDS
},
1504 { "wxSizerItem_GetBorder", (PyCFunction
) _wrap_wxSizerItem_GetBorder
, METH_VARARGS
| METH_KEYWORDS
},
1505 { "wxSizerItem_GetFlag", (PyCFunction
) _wrap_wxSizerItem_GetFlag
, METH_VARARGS
| METH_KEYWORDS
},
1506 { "wxSizerItem_GetOption", (PyCFunction
) _wrap_wxSizerItem_GetOption
, METH_VARARGS
| METH_KEYWORDS
},
1507 { "wxSizerItem_GetSizer", (PyCFunction
) _wrap_wxSizerItem_GetSizer
, METH_VARARGS
| METH_KEYWORDS
},
1508 { "wxSizerItem_GetWindow", (PyCFunction
) _wrap_wxSizerItem_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
1509 { "wxSizerItem_IsSpacer", (PyCFunction
) _wrap_wxSizerItem_IsSpacer
, METH_VARARGS
| METH_KEYWORDS
},
1510 { "wxSizerItem_IsSizer", (PyCFunction
) _wrap_wxSizerItem_IsSizer
, METH_VARARGS
| METH_KEYWORDS
},
1511 { "wxSizerItem_IsWindow", (PyCFunction
) _wrap_wxSizerItem_IsWindow
, METH_VARARGS
| METH_KEYWORDS
},
1512 { "wxSizerItem_SetDimension", (PyCFunction
) _wrap_wxSizerItem_SetDimension
, METH_VARARGS
| METH_KEYWORDS
},
1513 { "wxSizerItem_CalcMin", (PyCFunction
) _wrap_wxSizerItem_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
1514 { "wxSizerItem_GetSize", (PyCFunction
) _wrap_wxSizerItem_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
1521 * This table is used by the pointer type-checker
1523 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
1524 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
1525 { "_wxEvent","_class_wxEvent",0},
1526 { "_class_wxActivateEvent","_wxActivateEvent",0},
1527 { "_signed_long","_long",0},
1528 { "_wxMenuEvent","_class_wxMenuEvent",0},
1529 { "_wxPyBitmapDataObject","_class_wxPyBitmapDataObject",0},
1530 { "_wxBitmapDataObject","_class_wxBitmapDataObject",0},
1531 { "_class_wxPyCommandEvent","_wxPyCommandEvent",0},
1532 { "_wxPrintQuality","_wxCoord",0},
1533 { "_wxPrintQuality","_int",0},
1534 { "_wxPrintQuality","_signed_int",0},
1535 { "_wxPrintQuality","_unsigned_int",0},
1536 { "_wxPrintQuality","_wxWindowID",0},
1537 { "_wxPrintQuality","_uint",0},
1538 { "_wxPrintQuality","_EBool",0},
1539 { "_wxPrintQuality","_size_t",0},
1540 { "_class_wxCustomDataObject","_wxCustomDataObject",0},
1541 { "_class_wxRegionIterator","_wxRegionIterator",0},
1542 { "_class_wxPyTextDropTarget","_wxPyTextDropTarget",0},
1543 { "_class_wxMenuBar","_wxMenuBar",0},
1544 { "_class_wxStaticBoxSizer","_wxStaticBoxSizer",0},
1545 { "_class_wxEvtHandler","_wxEvtHandler",0},
1546 { "_wxPaintEvent","_class_wxPaintEvent",0},
1547 { "_wxPySizer","_class_wxPySizer",0},
1548 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
1549 { "_wxCursor","_class_wxCursor",0},
1550 { "_wxNotifyEvent","_class_wxNotifyEvent",0},
1551 { "_wxMask","_class_wxMask",0},
1552 { "_wxPen","_class_wxPen",0},
1553 { "_wxUpdateUIEvent","_class_wxUpdateUIEvent",0},
1554 { "_byte","_unsigned_char",0},
1555 { "_wxDataObject","_class_wxDataObject",0},
1556 { "_wxStaticBox","_class_wxStaticBox",0},
1557 { "_wxPyDataObjectSimple","_class_wxPyDataObjectSimple",0},
1558 { "_wxPyDropSource","_class_wxPyDropSource",0},
1559 { "_wxChoice","_class_wxChoice",0},
1560 { "_wxSlider","_class_wxSlider",0},
1561 { "_long","_unsigned_long",0},
1562 { "_long","_signed_long",0},
1563 { "_wxImageList","_class_wxImageList",0},
1564 { "_wxDataObjectSimple","_class_wxDataObjectSimple",0},
1565 { "_wxDropFilesEvent","_class_wxDropFilesEvent",0},
1566 { "_wxBitmapButton","_class_wxBitmapButton",0},
1567 { "_class_wxSizer","_class_wxStaticBoxSizer",SwigwxStaticBoxSizerTowxSizer
},
1568 { "_class_wxSizer","_wxStaticBoxSizer",SwigwxStaticBoxSizerTowxSizer
},
1569 { "_class_wxSizer","_class_wxBoxSizer",SwigwxBoxSizerTowxSizer
},
1570 { "_class_wxSizer","_wxBoxSizer",SwigwxBoxSizerTowxSizer
},
1571 { "_class_wxSizer","_class_wxPySizer",SwigwxPySizerTowxSizer
},
1572 { "_class_wxSizer","_wxPySizer",SwigwxPySizerTowxSizer
},
1573 { "_class_wxSizer","_wxSizer",0},
1574 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
1575 { "_class_wxClipboard","_wxClipboard",0},
1576 { "_class_wxGauge","_wxGauge",0},
1577 { "_wxDC","_class_wxDC",0},
1578 { "_wxSizerItem","_class_wxSizerItem",0},
1579 { "_class_wxBitmapDataObject","_wxBitmapDataObject",0},
1580 { "_wxSpinEvent","_class_wxSpinEvent",0},
1581 { "_size_t","_wxCoord",0},
1582 { "_size_t","_wxPrintQuality",0},
1583 { "_size_t","_unsigned_int",0},
1584 { "_size_t","_int",0},
1585 { "_size_t","_wxWindowID",0},
1586 { "_size_t","_uint",0},
1587 { "_class_wxRealPoint","_wxRealPoint",0},
1588 { "_wxNavigationKeyEvent","_class_wxNavigationKeyEvent",0},
1589 { "_wxWindowCreateEvent","_class_wxWindowCreateEvent",0},
1590 { "_class_wxMenuItem","_wxMenuItem",0},
1591 { "_class_wxPaintEvent","_wxPaintEvent",0},
1592 { "_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0},
1593 { "_class_wxPySizer","_wxPySizer",0},
1594 { "_class_wxPostScriptDC","_wxPostScriptDC",0},
1595 { "_wxPanel","_class_wxPanel",0},
1596 { "_wxInitDialogEvent","_class_wxInitDialogEvent",0},
1597 { "_wxCheckBox","_class_wxCheckBox",0},
1598 { "_wxPyEvent","_class_wxPyEvent",0},
1599 { "_wxTextCtrl","_class_wxTextCtrl",0},
1600 { "_class_wxMask","_wxMask",0},
1601 { "_wxTextDataObject","_class_wxTextDataObject",0},
1602 { "_class_wxKeyEvent","_wxKeyEvent",0},
1603 { "_wxColour","_class_wxColour",0},
1604 { "_class_wxDialog","_wxDialog",0},
1605 { "_class_wxFileDataObject","_wxFileDataObject",0},
1606 { "_wxIdleEvent","_class_wxIdleEvent",0},
1607 { "_class_wxUpdateUIEvent","_wxUpdateUIEvent",0},
1608 { "_class_wxDataObject","_wxDataObject",0},
1609 { "_wxStaticLine","_class_wxStaticLine",0},
1610 { "_wxBrush","_class_wxBrush",0},
1611 { "_wxDataFormat","_class_wxDataFormat",0},
1612 { "_class_wxDataObjectSimple","_wxDataObjectSimple",0},
1613 { "_wxShowEvent","_class_wxShowEvent",0},
1614 { "_uint","_wxCoord",0},
1615 { "_uint","_wxPrintQuality",0},
1616 { "_uint","_size_t",0},
1617 { "_uint","_unsigned_int",0},
1618 { "_uint","_int",0},
1619 { "_uint","_wxWindowID",0},
1620 { "_wxPyValidator","_class_wxPyValidator",0},
1621 { "_class_wxEvent","_wxEvent",0},
1622 { "_wxCheckListBox","_class_wxCheckListBox",0},
1623 { "_wxRect","_class_wxRect",0},
1624 { "_wxCommandEvent","_class_wxCommandEvent",0},
1625 { "_wxSizeEvent","_class_wxSizeEvent",0},
1626 { "_wxPoint","_class_wxPoint",0},
1627 { "_class_wxButton","_wxButton",0},
1628 { "_wxRadioBox","_class_wxRadioBox",0},
1629 { "_wxBoxSizer","_class_wxStaticBoxSizer",SwigwxStaticBoxSizerTowxBoxSizer
},
1630 { "_wxBoxSizer","_wxStaticBoxSizer",SwigwxStaticBoxSizerTowxBoxSizer
},
1631 { "_wxBoxSizer","_class_wxBoxSizer",0},
1632 { "_wxBitmap","_class_wxBitmap",0},
1633 { "_char","_wxDash",0},
1634 { "_wxPyTimer","_class_wxPyTimer",0},
1635 { "_wxWindowDC","_class_wxWindowDC",0},
1636 { "_wxScrollBar","_class_wxScrollBar",0},
1637 { "_wxSpinButton","_class_wxSpinButton",0},
1638 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
1639 { "_class_wxNotifyEvent","_wxNotifyEvent",0},
1640 { "_class_wxValidator","_wxValidator",0},
1641 { "_class_wxPyEvent","_wxPyEvent",0},
1642 { "_class_wxIconizeEvent","_wxIconizeEvent",0},
1643 { "_class_wxStaticBitmap","_wxStaticBitmap",0},
1644 { "_wxDropTarget","_class_wxDropTarget",0},
1645 { "_class_wxStaticLine","_wxStaticLine",0},
1646 { "_wxScrollEvent","_class_wxScrollEvent",0},
1647 { "_EBool","_wxCoord",0},
1648 { "_EBool","_wxPrintQuality",0},
1649 { "_EBool","_signed_int",0},
1650 { "_EBool","_int",0},
1651 { "_EBool","_wxWindowID",0},
1652 { "_class_wxRegion","_wxRegion",0},
1653 { "_class_wxDataFormat","_wxDataFormat",0},
1654 { "_class_wxDropFilesEvent","_wxDropFilesEvent",0},
1655 { "_wxWindowDestroyEvent","_class_wxWindowDestroyEvent",0},
1656 { "_wxStaticText","_class_wxStaticText",0},
1657 { "_wxFont","_class_wxFont",0},
1658 { "_class_wxPyDropTarget","_wxPyDropTarget",0},
1659 { "_wxCloseEvent","_class_wxCloseEvent",0},
1660 { "_unsigned_long","_long",0},
1661 { "_class_wxRect","_wxRect",0},
1662 { "_class_wxDC","_wxDC",0},
1663 { "_wxScrollWinEvent","_class_wxScrollWinEvent",0},
1664 { "_wxQueryNewPaletteEvent","_class_wxQueryNewPaletteEvent",0},
1665 { "_class_wxWindowCreateEvent","_wxWindowCreateEvent",0},
1666 { "_class_wxPyTimer","_wxPyTimer",0},
1667 { "_wxFocusEvent","_class_wxFocusEvent",0},
1668 { "_wxMaximizeEvent","_class_wxMaximizeEvent",0},
1669 { "_class_wxSpinButton","_wxSpinButton",0},
1670 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
1671 { "_class_wxPanel","_wxPanel",0},
1672 { "_class_wxCheckBox","_wxCheckBox",0},
1673 { "_wxComboBox","_class_wxComboBox",0},
1674 { "_wxRadioButton","_class_wxRadioButton",0},
1675 { "_signed_int","_wxCoord",0},
1676 { "_signed_int","_wxPrintQuality",0},
1677 { "_signed_int","_EBool",0},
1678 { "_signed_int","_wxWindowID",0},
1679 { "_signed_int","_int",0},
1680 { "_class_wxTextCtrl","_wxTextCtrl",0},
1681 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
1682 { "_class_wxTextDataObject","_wxTextDataObject",0},
1683 { "_wxMenu","_class_wxMenu",0},
1684 { "_class_wxMoveEvent","_wxMoveEvent",0},
1685 { "_wxListBox","_class_wxListBox",0},
1686 { "_wxScreenDC","_class_wxScreenDC",0},
1687 { "_WXTYPE","_short",0},
1688 { "_WXTYPE","_signed_short",0},
1689 { "_WXTYPE","_unsigned_short",0},
1690 { "_class_wxDropTarget","_wxDropTarget",0},
1691 { "_class_wxBrush","_wxBrush",0},
1692 { "_unsigned_short","_WXTYPE",0},
1693 { "_unsigned_short","_short",0},
1694 { "_class_wxWindow","_wxWindow",0},
1695 { "_class_wxStaticText","_wxStaticText",0},
1696 { "_class_wxFont","_wxFont",0},
1697 { "_wxClipboard","_class_wxClipboard",0},
1698 { "_class_wxPyValidator","_wxPyValidator",0},
1699 { "_class_wxCloseEvent","_wxCloseEvent",0},
1700 { "_wxBusyInfo","_class_wxBusyInfo",0},
1701 { "_class_wxMenuEvent","_wxMenuEvent",0},
1702 { "_wxPaletteChangedEvent","_class_wxPaletteChangedEvent",0},
1703 { "_class_wxPyBitmapDataObject","_wxPyBitmapDataObject",0},
1704 { "_wxClientDC","_class_wxClientDC",0},
1705 { "_wxMouseEvent","_class_wxMouseEvent",0},
1706 { "_class_wxPoint","_wxPoint",0},
1707 { "_wxRealPoint","_class_wxRealPoint",0},
1708 { "_class_wxRadioBox","_wxRadioBox",0},
1709 { "_class_wxBoxSizer","_class_wxStaticBoxSizer",SwigwxStaticBoxSizerTowxBoxSizer
},
1710 { "_class_wxBoxSizer","_wxStaticBoxSizer",SwigwxStaticBoxSizerTowxBoxSizer
},
1711 { "_class_wxBoxSizer","_wxBoxSizer",0},
1712 { "_signed_short","_WXTYPE",0},
1713 { "_signed_short","_short",0},
1714 { "_wxMemoryDC","_class_wxMemoryDC",0},
1715 { "_wxPyTextDataObject","_class_wxPyTextDataObject",0},
1716 { "_wxPaintDC","_class_wxPaintDC",0},
1717 { "_class_wxWindowDC","_wxWindowDC",0},
1718 { "_class_wxFocusEvent","_wxFocusEvent",0},
1719 { "_class_wxMaximizeEvent","_wxMaximizeEvent",0},
1720 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
1721 { "_class_wxCursor","_wxCursor",0},
1722 { "_wxPostScriptDC","_class_wxPostScriptDC",0},
1723 { "_wxPyFileDropTarget","_class_wxPyFileDropTarget",0},
1724 { "_wxScrolledWindow","_class_wxScrolledWindow",0},
1725 { "_unsigned_char","_byte",0},
1726 { "_class_wxMenu","_wxMenu",0},
1727 { "_wxControl","_class_wxControl",0},
1728 { "_class_wxListBox","_wxListBox",0},
1729 { "_unsigned_int","_wxCoord",0},
1730 { "_unsigned_int","_wxPrintQuality",0},
1731 { "_unsigned_int","_size_t",0},
1732 { "_unsigned_int","_uint",0},
1733 { "_unsigned_int","_wxWindowID",0},
1734 { "_unsigned_int","_int",0},
1735 { "_wxIcon","_class_wxIcon",0},
1736 { "_wxDialog","_class_wxDialog",0},
1737 { "_class_wxPen","_wxPen",0},
1738 { "_short","_WXTYPE",0},
1739 { "_short","_unsigned_short",0},
1740 { "_short","_signed_short",0},
1741 { "_class_wxStaticBox","_wxStaticBox",0},
1742 { "_class_wxPyDataObjectSimple","_wxPyDataObjectSimple",0},
1743 { "_class_wxPyDropSource","_wxPyDropSource",0},
1744 { "_class_wxScrollEvent","_wxScrollEvent",0},
1745 { "_wxJoystickEvent","_class_wxJoystickEvent",0},
1746 { "_class_wxChoice","_wxChoice",0},
1747 { "_class_wxSlider","_wxSlider",0},
1748 { "_class_wxImageList","_wxImageList",0},
1749 { "_class_wxBitmapButton","_wxBitmapButton",0},
1750 { "_class_wxPaletteChangedEvent","_wxPaletteChangedEvent",0},
1751 { "_wxWindowID","_wxCoord",0},
1752 { "_wxWindowID","_wxPrintQuality",0},
1753 { "_wxWindowID","_size_t",0},
1754 { "_wxWindowID","_EBool",0},
1755 { "_wxWindowID","_uint",0},
1756 { "_wxWindowID","_int",0},
1757 { "_wxWindowID","_signed_int",0},
1758 { "_wxWindowID","_unsigned_int",0},
1759 { "_class_wxScrollWinEvent","_wxScrollWinEvent",0},
1760 { "_class_wxSizerItem","_wxSizerItem",0},
1761 { "_int","_wxCoord",0},
1762 { "_int","_wxPrintQuality",0},
1763 { "_int","_size_t",0},
1764 { "_int","_EBool",0},
1765 { "_int","_uint",0},
1766 { "_int","_wxWindowID",0},
1767 { "_int","_unsigned_int",0},
1768 { "_int","_signed_int",0},
1769 { "_class_wxMouseEvent","_wxMouseEvent",0},
1770 { "_wxPyCommandEvent","_class_wxPyCommandEvent",0},
1771 { "_class_wxSpinEvent","_wxSpinEvent",0},
1772 { "_class_wxQueryNewPaletteEvent","_wxQueryNewPaletteEvent",0},
1773 { "_class_wxNavigationKeyEvent","_wxNavigationKeyEvent",0},
1774 { "_wxButton","_class_wxButton",0},
1775 { "_wxSize","_class_wxSize",0},
1776 { "_wxRegionIterator","_class_wxRegionIterator",0},
1777 { "_class_wxPyTextDataObject","_wxPyTextDataObject",0},
1778 { "_wxStaticBoxSizer","_class_wxStaticBoxSizer",0},
1779 { "_class_wxPaintDC","_wxPaintDC",0},
1780 { "_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0},
1781 { "_class_wxPyFileDropTarget","_wxPyFileDropTarget",0},
1782 { "_class_wxInitDialogEvent","_wxInitDialogEvent",0},
1783 { "_class_wxComboBox","_wxComboBox",0},
1784 { "_class_wxRadioButton","_wxRadioButton",0},
1785 { "_wxValidator","_class_wxValidator",0},
1786 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
1787 { "_wxIconizeEvent","_class_wxIconizeEvent",0},
1788 { "_class_wxControl","_wxControl",0},
1789 { "_wxStaticBitmap","_class_wxStaticBitmap",0},
1790 { "_class_wxIcon","_wxIcon",0},
1791 { "_class_wxColour","_wxColour",0},
1792 { "_class_wxScreenDC","_wxScreenDC",0},
1793 { "_wxPalette","_class_wxPalette",0},
1794 { "_class_wxIdleEvent","_wxIdleEvent",0},
1795 { "_wxCoord","_int",0},
1796 { "_wxCoord","_signed_int",0},
1797 { "_wxCoord","_unsigned_int",0},
1798 { "_wxCoord","_wxWindowID",0},
1799 { "_wxCoord","_uint",0},
1800 { "_wxCoord","_EBool",0},
1801 { "_wxCoord","_size_t",0},
1802 { "_wxCoord","_wxPrintQuality",0},
1803 { "_wxEraseEvent","_class_wxEraseEvent",0},
1804 { "_wxDataObjectComposite","_class_wxDataObjectComposite",0},
1805 { "_class_wxJoystickEvent","_wxJoystickEvent",0},
1806 { "_wxRegion","_class_wxRegion",0},
1807 { "_wxSizer","_class_wxStaticBoxSizer",SwigwxStaticBoxSizerTowxSizer
},
1808 { "_wxSizer","_wxStaticBoxSizer",SwigwxStaticBoxSizerTowxSizer
},
1809 { "_wxSizer","_class_wxBoxSizer",SwigwxBoxSizerTowxSizer
},
1810 { "_wxSizer","_wxBoxSizer",SwigwxBoxSizerTowxSizer
},
1811 { "_wxSizer","_class_wxPySizer",SwigwxPySizerTowxSizer
},
1812 { "_wxSizer","_wxPySizer",SwigwxPySizerTowxSizer
},
1813 { "_wxSizer","_class_wxSizer",0},
1814 { "_class_wxShowEvent","_wxShowEvent",0},
1815 { "_wxPyDropTarget","_class_wxPyDropTarget",0},
1816 { "_wxActivateEvent","_class_wxActivateEvent",0},
1817 { "_wxGauge","_class_wxGauge",0},
1818 { "_class_wxCheckListBox","_wxCheckListBox",0},
1819 { "_class_wxBusyInfo","_wxBusyInfo",0},
1820 { "_class_wxCommandEvent","_wxCommandEvent",0},
1821 { "_class_wxClientDC","_wxClientDC",0},
1822 { "_class_wxSizeEvent","_wxSizeEvent",0},
1823 { "_wxCustomDataObject","_class_wxCustomDataObject",0},
1824 { "_class_wxSize","_wxSize",0},
1825 { "_class_wxBitmap","_wxBitmap",0},
1826 { "_class_wxMemoryDC","_wxMemoryDC",0},
1827 { "_wxPyTextDropTarget","_class_wxPyTextDropTarget",0},
1828 { "_wxMenuBar","_class_wxMenuBar",0},
1829 { "_wxEvtHandler","_class_wxEvtHandler",0},
1830 { "_wxMenuItem","_class_wxMenuItem",0},
1831 { "_class_wxScrollBar","_wxScrollBar",0},
1832 { "_wxDash","_char",0},
1833 { "_class_wxScrolledWindow","_wxScrolledWindow",0},
1834 { "_wxKeyEvent","_class_wxKeyEvent",0},
1835 { "_wxMoveEvent","_class_wxMoveEvent",0},
1836 { "_class_wxPalette","_wxPalette",0},
1837 { "_wxFileDataObject","_class_wxFileDataObject",0},
1838 { "_class_wxEraseEvent","_wxEraseEvent",0},
1839 { "_class_wxDataObjectComposite","_wxDataObjectComposite",0},
1840 { "_wxWindow","_class_wxWindow",0},
1841 { "_class_wxWindowDestroyEvent","_wxWindowDestroyEvent",0},
1844 static PyObject
*SWIG_globals
;
1848 SWIGEXPORT(void) initsizersc() {
1850 SWIG_globals
= SWIG_newvarlink();
1851 m
= Py_InitModule("sizersc", sizerscMethods
);
1852 d
= PyModule_GetDict(m
);
1855 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
1856 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);