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 wxPyUserData
: public wxObject
{
109 wxPyUserData(PyObject
* obj
) { m_obj
= obj
; Py_INCREF(m_obj
); }
111 bool doSave
= wxPyRestoreThread();
113 wxPySaveThread(doSave
);
118 class wxPySizer
: public wxSizer
{
119 DECLARE_DYNAMIC_CLASS(wxPySizer
);
121 wxPySizer() : wxSizer() {};
123 DEC_PYCALLBACK___pure(RecalcSizes
);
124 DEC_PYCALLBACK_wxSize__pure(CalcMin
);
129 IMP_PYCALLBACK___pure(wxPySizer
, wxSizer
, RecalcSizes
);
130 IMP_PYCALLBACK_wxSize__pure(wxPySizer
, wxSizer
, CalcMin
);
132 IMPLEMENT_DYNAMIC_CLASS(wxPySizer
, wxSizer
);
136 #define wxSizerItem_GetSize(_swigobj) (_swigobj->GetSize())
137 static PyObject
*_wrap_wxSizerItem_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
138 PyObject
* _resultobj
;
141 PyObject
* _argo0
= 0;
142 char *_kwnames
[] = { "self", NULL
};
146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSizerItem_GetSize",_kwnames
,&_argo0
))
149 if (_argo0
== Py_None
) { _arg0
= NULL
; }
150 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizerItem_p")) {
151 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizerItem_GetSize. Expected _wxSizerItem_p.");
156 wxPy_BEGIN_ALLOW_THREADS
;
157 _result
= new wxSize (wxSizerItem_GetSize(_arg0
));
159 wxPy_END_ALLOW_THREADS
;
160 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
161 _resultobj
= Py_BuildValue("s",_ptemp
);
165 #define wxSizerItem_CalcMin(_swigobj) (_swigobj->CalcMin())
166 static PyObject
*_wrap_wxSizerItem_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
167 PyObject
* _resultobj
;
170 PyObject
* _argo0
= 0;
171 char *_kwnames
[] = { "self", NULL
};
175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSizerItem_CalcMin",_kwnames
,&_argo0
))
178 if (_argo0
== Py_None
) { _arg0
= NULL
; }
179 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizerItem_p")) {
180 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizerItem_CalcMin. Expected _wxSizerItem_p.");
185 wxPy_BEGIN_ALLOW_THREADS
;
186 _result
= new wxSize (wxSizerItem_CalcMin(_arg0
));
188 wxPy_END_ALLOW_THREADS
;
189 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
190 _resultobj
= Py_BuildValue("s",_ptemp
);
194 #define wxSizerItem_SetDimension(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDimension(_swigarg0,_swigarg1))
195 static PyObject
*_wrap_wxSizerItem_SetDimension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
196 PyObject
* _resultobj
;
200 PyObject
* _argo0
= 0;
202 PyObject
* _obj1
= 0;
204 PyObject
* _obj2
= 0;
205 char *_kwnames
[] = { "self","pos","size", NULL
};
208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxSizerItem_SetDimension",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
211 if (_argo0
== Py_None
) { _arg0
= NULL
; }
212 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizerItem_p")) {
213 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizerItem_SetDimension. Expected _wxSizerItem_p.");
219 if (! wxPoint_helper(_obj1
, &_arg1
))
224 if (! wxSize_helper(_obj2
, &_arg2
))
228 wxPy_BEGIN_ALLOW_THREADS
;
229 wxSizerItem_SetDimension(_arg0
,*_arg1
,*_arg2
);
231 wxPy_END_ALLOW_THREADS
;
232 } Py_INCREF(Py_None
);
233 _resultobj
= Py_None
;
237 #define wxSizerItem_IsWindow(_swigobj) (_swigobj->IsWindow())
238 static PyObject
*_wrap_wxSizerItem_IsWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
239 PyObject
* _resultobj
;
242 PyObject
* _argo0
= 0;
243 char *_kwnames
[] = { "self", NULL
};
246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSizerItem_IsWindow",_kwnames
,&_argo0
))
249 if (_argo0
== Py_None
) { _arg0
= NULL
; }
250 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizerItem_p")) {
251 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizerItem_IsWindow. Expected _wxSizerItem_p.");
256 wxPy_BEGIN_ALLOW_THREADS
;
257 _result
= (bool )wxSizerItem_IsWindow(_arg0
);
259 wxPy_END_ALLOW_THREADS
;
260 } _resultobj
= Py_BuildValue("i",_result
);
264 #define wxSizerItem_IsSizer(_swigobj) (_swigobj->IsSizer())
265 static PyObject
*_wrap_wxSizerItem_IsSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
266 PyObject
* _resultobj
;
269 PyObject
* _argo0
= 0;
270 char *_kwnames
[] = { "self", NULL
};
273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSizerItem_IsSizer",_kwnames
,&_argo0
))
276 if (_argo0
== Py_None
) { _arg0
= NULL
; }
277 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizerItem_p")) {
278 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizerItem_IsSizer. Expected _wxSizerItem_p.");
283 wxPy_BEGIN_ALLOW_THREADS
;
284 _result
= (bool )wxSizerItem_IsSizer(_arg0
);
286 wxPy_END_ALLOW_THREADS
;
287 } _resultobj
= Py_BuildValue("i",_result
);
291 #define wxSizerItem_IsSpacer(_swigobj) (_swigobj->IsSpacer())
292 static PyObject
*_wrap_wxSizerItem_IsSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
293 PyObject
* _resultobj
;
296 PyObject
* _argo0
= 0;
297 char *_kwnames
[] = { "self", NULL
};
300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSizerItem_IsSpacer",_kwnames
,&_argo0
))
303 if (_argo0
== Py_None
) { _arg0
= NULL
; }
304 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizerItem_p")) {
305 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizerItem_IsSpacer. Expected _wxSizerItem_p.");
310 wxPy_BEGIN_ALLOW_THREADS
;
311 _result
= (bool )wxSizerItem_IsSpacer(_arg0
);
313 wxPy_END_ALLOW_THREADS
;
314 } _resultobj
= Py_BuildValue("i",_result
);
318 #define wxSizerItem_GetWindow(_swigobj) (_swigobj->GetWindow())
319 static PyObject
*_wrap_wxSizerItem_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
320 PyObject
* _resultobj
;
323 PyObject
* _argo0
= 0;
324 char *_kwnames
[] = { "self", NULL
};
328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSizerItem_GetWindow",_kwnames
,&_argo0
))
331 if (_argo0
== Py_None
) { _arg0
= NULL
; }
332 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizerItem_p")) {
333 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizerItem_GetWindow. Expected _wxSizerItem_p.");
338 wxPy_BEGIN_ALLOW_THREADS
;
339 _result
= (wxWindow
*)wxSizerItem_GetWindow(_arg0
);
341 wxPy_END_ALLOW_THREADS
;
343 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
344 _resultobj
= Py_BuildValue("s",_ptemp
);
347 _resultobj
= Py_None
;
352 #define wxSizerItem_GetSizer(_swigobj) (_swigobj->GetSizer())
353 static PyObject
*_wrap_wxSizerItem_GetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
354 PyObject
* _resultobj
;
357 PyObject
* _argo0
= 0;
358 char *_kwnames
[] = { "self", NULL
};
362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSizerItem_GetSizer",_kwnames
,&_argo0
))
365 if (_argo0
== Py_None
) { _arg0
= NULL
; }
366 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizerItem_p")) {
367 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizerItem_GetSizer. Expected _wxSizerItem_p.");
372 wxPy_BEGIN_ALLOW_THREADS
;
373 _result
= (wxSizer
*)wxSizerItem_GetSizer(_arg0
);
375 wxPy_END_ALLOW_THREADS
;
377 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSizer_p");
378 _resultobj
= Py_BuildValue("s",_ptemp
);
381 _resultobj
= Py_None
;
386 #define wxSizerItem_GetOption(_swigobj) (_swigobj->GetOption())
387 static PyObject
*_wrap_wxSizerItem_GetOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
388 PyObject
* _resultobj
;
391 PyObject
* _argo0
= 0;
392 char *_kwnames
[] = { "self", NULL
};
395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSizerItem_GetOption",_kwnames
,&_argo0
))
398 if (_argo0
== Py_None
) { _arg0
= NULL
; }
399 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizerItem_p")) {
400 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizerItem_GetOption. Expected _wxSizerItem_p.");
405 wxPy_BEGIN_ALLOW_THREADS
;
406 _result
= (int )wxSizerItem_GetOption(_arg0
);
408 wxPy_END_ALLOW_THREADS
;
409 } _resultobj
= Py_BuildValue("i",_result
);
413 #define wxSizerItem_GetFlag(_swigobj) (_swigobj->GetFlag())
414 static PyObject
*_wrap_wxSizerItem_GetFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
415 PyObject
* _resultobj
;
418 PyObject
* _argo0
= 0;
419 char *_kwnames
[] = { "self", NULL
};
422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSizerItem_GetFlag",_kwnames
,&_argo0
))
425 if (_argo0
== Py_None
) { _arg0
= NULL
; }
426 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizerItem_p")) {
427 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizerItem_GetFlag. Expected _wxSizerItem_p.");
432 wxPy_BEGIN_ALLOW_THREADS
;
433 _result
= (int )wxSizerItem_GetFlag(_arg0
);
435 wxPy_END_ALLOW_THREADS
;
436 } _resultobj
= Py_BuildValue("i",_result
);
440 #define wxSizerItem_GetBorder(_swigobj) (_swigobj->GetBorder())
441 static PyObject
*_wrap_wxSizerItem_GetBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
442 PyObject
* _resultobj
;
445 PyObject
* _argo0
= 0;
446 char *_kwnames
[] = { "self", NULL
};
449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSizerItem_GetBorder",_kwnames
,&_argo0
))
452 if (_argo0
== Py_None
) { _arg0
= NULL
; }
453 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizerItem_p")) {
454 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizerItem_GetBorder. Expected _wxSizerItem_p.");
459 wxPy_BEGIN_ALLOW_THREADS
;
460 _result
= (int )wxSizerItem_GetBorder(_arg0
);
462 wxPy_END_ALLOW_THREADS
;
463 } _resultobj
= Py_BuildValue("i",_result
);
467 static PyObject
* wxSizerItem_GetUserData(wxSizerItem
*self
) {
468 wxPyUserData
* data
= (wxPyUserData
*)self
->GetUserData();
470 Py_INCREF(data
->m_obj
);
477 static PyObject
*_wrap_wxSizerItem_GetUserData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
478 PyObject
* _resultobj
;
481 PyObject
* _argo0
= 0;
482 char *_kwnames
[] = { "self", NULL
};
485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSizerItem_GetUserData",_kwnames
,&_argo0
))
488 if (_argo0
== Py_None
) { _arg0
= NULL
; }
489 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizerItem_p")) {
490 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizerItem_GetUserData. Expected _wxSizerItem_p.");
495 wxPy_BEGIN_ALLOW_THREADS
;
496 _result
= (PyObject
*)wxSizerItem_GetUserData(_arg0
);
498 wxPy_END_ALLOW_THREADS
;
500 _resultobj
= _result
;
505 static void wxSizer_Destroy(wxSizer
*self
) { delete self
; }
506 static PyObject
*_wrap_wxSizer_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
507 PyObject
* _resultobj
;
509 PyObject
* _argo0
= 0;
510 char *_kwnames
[] = { "self", NULL
};
513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSizer_Destroy",_kwnames
,&_argo0
))
516 if (_argo0
== Py_None
) { _arg0
= NULL
; }
517 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
518 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_Destroy. Expected _wxSizer_p.");
523 wxPy_BEGIN_ALLOW_THREADS
;
524 wxSizer_Destroy(_arg0
);
526 wxPy_END_ALLOW_THREADS
;
527 } Py_INCREF(Py_None
);
528 _resultobj
= Py_None
;
532 static void wxSizer_AddWindow(wxSizer
*self
,wxWindow
* window
,int option
,int flag
,int border
,PyObject
* userData
) {
533 wxPyUserData
* data
= NULL
;
534 if (userData
) data
= new wxPyUserData(userData
);
535 self
->Add(window
, option
, flag
, border
, data
);
537 static PyObject
*_wrap_wxSizer_AddWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
538 PyObject
* _resultobj
;
541 int _arg2
= (int ) 0;
542 int _arg3
= (int ) 0;
543 int _arg4
= (int ) 0;
544 PyObject
* _arg5
= (PyObject
*) NULL
;
545 PyObject
* _argo0
= 0;
546 PyObject
* _argo1
= 0;
547 PyObject
* _obj5
= 0;
548 char *_kwnames
[] = { "self","window","option","flag","border","userData", NULL
};
551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iiiO:wxSizer_AddWindow",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_obj5
))
554 if (_argo0
== Py_None
) { _arg0
= NULL
; }
555 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
556 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_AddWindow. Expected _wxSizer_p.");
561 if (_argo1
== Py_None
) { _arg1
= NULL
; }
562 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
563 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSizer_AddWindow. Expected _wxWindow_p.");
572 wxPy_BEGIN_ALLOW_THREADS
;
573 wxSizer_AddWindow(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
575 wxPy_END_ALLOW_THREADS
;
576 } Py_INCREF(Py_None
);
577 _resultobj
= Py_None
;
581 static void wxSizer_AddSizer(wxSizer
*self
,wxSizer
* sizer
,int option
,int flag
,int border
,PyObject
* userData
) {
582 wxPyUserData
* data
= NULL
;
583 if (userData
) data
= new wxPyUserData(userData
);
584 self
->Add(sizer
, option
, flag
, border
, data
);
586 static PyObject
*_wrap_wxSizer_AddSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
587 PyObject
* _resultobj
;
590 int _arg2
= (int ) 0;
591 int _arg3
= (int ) 0;
592 int _arg4
= (int ) 0;
593 PyObject
* _arg5
= (PyObject
*) NULL
;
594 PyObject
* _argo0
= 0;
595 PyObject
* _argo1
= 0;
596 PyObject
* _obj5
= 0;
597 char *_kwnames
[] = { "self","sizer","option","flag","border","userData", NULL
};
600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iiiO:wxSizer_AddSizer",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_obj5
))
603 if (_argo0
== Py_None
) { _arg0
= NULL
; }
604 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
605 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_AddSizer. Expected _wxSizer_p.");
610 if (_argo1
== Py_None
) { _arg1
= NULL
; }
611 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxSizer_p")) {
612 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSizer_AddSizer. Expected _wxSizer_p.");
621 wxPy_BEGIN_ALLOW_THREADS
;
622 wxSizer_AddSizer(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
624 wxPy_END_ALLOW_THREADS
;
625 } Py_INCREF(Py_None
);
626 _resultobj
= Py_None
;
630 static void wxSizer_AddSpacer(wxSizer
*self
,int width
,int height
,int option
,int flag
,int border
,PyObject
* userData
) {
631 wxPyUserData
* data
= NULL
;
632 if (userData
) data
= new wxPyUserData(userData
);
633 self
->Add(width
, height
, option
, flag
, border
, data
);
635 static PyObject
*_wrap_wxSizer_AddSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
636 PyObject
* _resultobj
;
640 int _arg3
= (int ) 0;
641 int _arg4
= (int ) 0;
642 int _arg5
= (int ) 0;
643 PyObject
* _arg6
= (PyObject
*) NULL
;
644 PyObject
* _argo0
= 0;
645 PyObject
* _obj6
= 0;
646 char *_kwnames
[] = { "self","width","height","option","flag","border","userData", NULL
};
649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|iiiO:wxSizer_AddSpacer",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_obj6
))
652 if (_argo0
== Py_None
) { _arg0
= NULL
; }
653 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
654 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_AddSpacer. Expected _wxSizer_p.");
663 wxPy_BEGIN_ALLOW_THREADS
;
664 wxSizer_AddSpacer(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
666 wxPy_END_ALLOW_THREADS
;
667 } Py_INCREF(Py_None
);
668 _resultobj
= Py_None
;
672 static void wxSizer_PrependWindow(wxSizer
*self
,wxWindow
* window
,int option
,int flag
,int border
,PyObject
* userData
) {
673 wxPyUserData
* data
= NULL
;
674 if (userData
) data
= new wxPyUserData(userData
);
675 self
->Prepend(window
, option
, flag
, border
, data
);
677 static PyObject
*_wrap_wxSizer_PrependWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
678 PyObject
* _resultobj
;
681 int _arg2
= (int ) 0;
682 int _arg3
= (int ) 0;
683 int _arg4
= (int ) 0;
684 PyObject
* _arg5
= (PyObject
*) NULL
;
685 PyObject
* _argo0
= 0;
686 PyObject
* _argo1
= 0;
687 PyObject
* _obj5
= 0;
688 char *_kwnames
[] = { "self","window","option","flag","border","userData", NULL
};
691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iiiO:wxSizer_PrependWindow",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_obj5
))
694 if (_argo0
== Py_None
) { _arg0
= NULL
; }
695 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
696 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_PrependWindow. Expected _wxSizer_p.");
701 if (_argo1
== Py_None
) { _arg1
= NULL
; }
702 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
703 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSizer_PrependWindow. Expected _wxWindow_p.");
712 wxPy_BEGIN_ALLOW_THREADS
;
713 wxSizer_PrependWindow(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
715 wxPy_END_ALLOW_THREADS
;
716 } Py_INCREF(Py_None
);
717 _resultobj
= Py_None
;
721 static void wxSizer_PrependSizer(wxSizer
*self
,wxSizer
* sizer
,int option
,int flag
,int border
,PyObject
* userData
) {
722 wxPyUserData
* data
= NULL
;
723 if (userData
) data
= new wxPyUserData(userData
);
724 self
->Prepend(sizer
, option
, flag
, border
, data
);
726 static PyObject
*_wrap_wxSizer_PrependSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
727 PyObject
* _resultobj
;
730 int _arg2
= (int ) 0;
731 int _arg3
= (int ) 0;
732 int _arg4
= (int ) 0;
733 PyObject
* _arg5
= (PyObject
*) NULL
;
734 PyObject
* _argo0
= 0;
735 PyObject
* _argo1
= 0;
736 PyObject
* _obj5
= 0;
737 char *_kwnames
[] = { "self","sizer","option","flag","border","userData", NULL
};
740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iiiO:wxSizer_PrependSizer",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_obj5
))
743 if (_argo0
== Py_None
) { _arg0
= NULL
; }
744 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
745 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_PrependSizer. Expected _wxSizer_p.");
750 if (_argo1
== Py_None
) { _arg1
= NULL
; }
751 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxSizer_p")) {
752 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSizer_PrependSizer. Expected _wxSizer_p.");
761 wxPy_BEGIN_ALLOW_THREADS
;
762 wxSizer_PrependSizer(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
764 wxPy_END_ALLOW_THREADS
;
765 } Py_INCREF(Py_None
);
766 _resultobj
= Py_None
;
770 static void wxSizer_PrependSpacer(wxSizer
*self
,int width
,int height
,int option
,int flag
,int border
,PyObject
* userData
) {
771 wxPyUserData
* data
= NULL
;
772 if (userData
) data
= new wxPyUserData(userData
);
773 self
->Prepend(width
, height
, option
, flag
, border
, data
);
775 static PyObject
*_wrap_wxSizer_PrependSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
776 PyObject
* _resultobj
;
780 int _arg3
= (int ) 0;
781 int _arg4
= (int ) 0;
782 int _arg5
= (int ) 0;
783 PyObject
* _arg6
= (PyObject
*) NULL
;
784 PyObject
* _argo0
= 0;
785 PyObject
* _obj6
= 0;
786 char *_kwnames
[] = { "self","width","height","option","flag","border","userData", NULL
};
789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|iiiO:wxSizer_PrependSpacer",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_obj6
))
792 if (_argo0
== Py_None
) { _arg0
= NULL
; }
793 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
794 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_PrependSpacer. Expected _wxSizer_p.");
803 wxPy_BEGIN_ALLOW_THREADS
;
804 wxSizer_PrependSpacer(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
806 wxPy_END_ALLOW_THREADS
;
807 } Py_INCREF(Py_None
);
808 _resultobj
= Py_None
;
812 #define wxSizer_RemoveWindow(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
813 static PyObject
*_wrap_wxSizer_RemoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
814 PyObject
* _resultobj
;
818 PyObject
* _argo0
= 0;
819 PyObject
* _argo1
= 0;
820 char *_kwnames
[] = { "self","window", NULL
};
823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxSizer_RemoveWindow",_kwnames
,&_argo0
,&_argo1
))
826 if (_argo0
== Py_None
) { _arg0
= NULL
; }
827 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
828 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_RemoveWindow. Expected _wxSizer_p.");
833 if (_argo1
== Py_None
) { _arg1
= NULL
; }
834 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
835 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSizer_RemoveWindow. Expected _wxWindow_p.");
840 wxPy_BEGIN_ALLOW_THREADS
;
841 _result
= (bool )wxSizer_RemoveWindow(_arg0
,_arg1
);
843 wxPy_END_ALLOW_THREADS
;
844 } _resultobj
= Py_BuildValue("i",_result
);
848 #define wxSizer_RemoveSizer(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
849 static PyObject
*_wrap_wxSizer_RemoveSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
850 PyObject
* _resultobj
;
854 PyObject
* _argo0
= 0;
855 PyObject
* _argo1
= 0;
856 char *_kwnames
[] = { "self","sizer", NULL
};
859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxSizer_RemoveSizer",_kwnames
,&_argo0
,&_argo1
))
862 if (_argo0
== Py_None
) { _arg0
= NULL
; }
863 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
864 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_RemoveSizer. Expected _wxSizer_p.");
869 if (_argo1
== Py_None
) { _arg1
= NULL
; }
870 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxSizer_p")) {
871 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSizer_RemoveSizer. Expected _wxSizer_p.");
876 wxPy_BEGIN_ALLOW_THREADS
;
877 _result
= (bool )wxSizer_RemoveSizer(_arg0
,_arg1
);
879 wxPy_END_ALLOW_THREADS
;
880 } _resultobj
= Py_BuildValue("i",_result
);
884 #define wxSizer_RemovePos(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
885 static PyObject
*_wrap_wxSizer_RemovePos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
886 PyObject
* _resultobj
;
890 PyObject
* _argo0
= 0;
891 char *_kwnames
[] = { "self","pos", NULL
};
894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSizer_RemovePos",_kwnames
,&_argo0
,&_arg1
))
897 if (_argo0
== Py_None
) { _arg0
= NULL
; }
898 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
899 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_RemovePos. Expected _wxSizer_p.");
904 wxPy_BEGIN_ALLOW_THREADS
;
905 _result
= (bool )wxSizer_RemovePos(_arg0
,_arg1
);
907 wxPy_END_ALLOW_THREADS
;
908 } _resultobj
= Py_BuildValue("i",_result
);
912 #define wxSizer_SetDimension(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetDimension(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
913 static PyObject
*_wrap_wxSizer_SetDimension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
914 PyObject
* _resultobj
;
920 PyObject
* _argo0
= 0;
921 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii:wxSizer_SetDimension",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
927 if (_argo0
== Py_None
) { _arg0
= NULL
; }
928 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
929 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_SetDimension. Expected _wxSizer_p.");
934 wxPy_BEGIN_ALLOW_THREADS
;
935 wxSizer_SetDimension(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
937 wxPy_END_ALLOW_THREADS
;
938 } Py_INCREF(Py_None
);
939 _resultobj
= Py_None
;
943 #define wxSizer_GetSize(_swigobj) (_swigobj->GetSize())
944 static PyObject
*_wrap_wxSizer_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
945 PyObject
* _resultobj
;
948 PyObject
* _argo0
= 0;
949 char *_kwnames
[] = { "self", NULL
};
953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSizer_GetSize",_kwnames
,&_argo0
))
956 if (_argo0
== Py_None
) { _arg0
= NULL
; }
957 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
958 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_GetSize. Expected _wxSizer_p.");
963 wxPy_BEGIN_ALLOW_THREADS
;
964 _result
= new wxSize (wxSizer_GetSize(_arg0
));
966 wxPy_END_ALLOW_THREADS
;
967 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
968 _resultobj
= Py_BuildValue("s",_ptemp
);
972 #define wxSizer_GetPosition(_swigobj) (_swigobj->GetPosition())
973 static PyObject
*_wrap_wxSizer_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
974 PyObject
* _resultobj
;
977 PyObject
* _argo0
= 0;
978 char *_kwnames
[] = { "self", NULL
};
982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSizer_GetPosition",_kwnames
,&_argo0
))
985 if (_argo0
== Py_None
) { _arg0
= NULL
; }
986 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
987 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_GetPosition. Expected _wxSizer_p.");
992 wxPy_BEGIN_ALLOW_THREADS
;
993 _result
= new wxPoint (wxSizer_GetPosition(_arg0
));
995 wxPy_END_ALLOW_THREADS
;
996 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
997 _resultobj
= Py_BuildValue("s",_ptemp
);
1001 #define wxSizer_GetMinSize(_swigobj) (_swigobj->GetMinSize())
1002 static PyObject
*_wrap_wxSizer_GetMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1003 PyObject
* _resultobj
;
1006 PyObject
* _argo0
= 0;
1007 char *_kwnames
[] = { "self", NULL
};
1011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSizer_GetMinSize",_kwnames
,&_argo0
))
1014 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1015 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
1016 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_GetMinSize. Expected _wxSizer_p.");
1021 wxPy_BEGIN_ALLOW_THREADS
;
1022 _result
= new wxSize (wxSizer_GetMinSize(_arg0
));
1024 wxPy_END_ALLOW_THREADS
;
1025 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
1026 _resultobj
= Py_BuildValue("s",_ptemp
);
1030 #define wxSizer_Layout(_swigobj) (_swigobj->Layout())
1031 static PyObject
*_wrap_wxSizer_Layout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1032 PyObject
* _resultobj
;
1034 PyObject
* _argo0
= 0;
1035 char *_kwnames
[] = { "self", NULL
};
1038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSizer_Layout",_kwnames
,&_argo0
))
1041 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1042 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
1043 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_Layout. Expected _wxSizer_p.");
1048 wxPy_BEGIN_ALLOW_THREADS
;
1049 wxSizer_Layout(_arg0
);
1051 wxPy_END_ALLOW_THREADS
;
1052 } Py_INCREF(Py_None
);
1053 _resultobj
= Py_None
;
1057 #define wxSizer_Fit(_swigobj,_swigarg0) (_swigobj->Fit(_swigarg0))
1058 static PyObject
*_wrap_wxSizer_Fit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1059 PyObject
* _resultobj
;
1062 PyObject
* _argo0
= 0;
1063 PyObject
* _argo1
= 0;
1064 char *_kwnames
[] = { "self","window", NULL
};
1067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxSizer_Fit",_kwnames
,&_argo0
,&_argo1
))
1070 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1071 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
1072 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_Fit. Expected _wxSizer_p.");
1077 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1078 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1079 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSizer_Fit. Expected _wxWindow_p.");
1084 wxPy_BEGIN_ALLOW_THREADS
;
1085 wxSizer_Fit(_arg0
,_arg1
);
1087 wxPy_END_ALLOW_THREADS
;
1088 } Py_INCREF(Py_None
);
1089 _resultobj
= Py_None
;
1093 #define wxSizer_SetSizeHints(_swigobj,_swigarg0) (_swigobj->SetSizeHints(_swigarg0))
1094 static PyObject
*_wrap_wxSizer_SetSizeHints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1095 PyObject
* _resultobj
;
1098 PyObject
* _argo0
= 0;
1099 PyObject
* _argo1
= 0;
1100 char *_kwnames
[] = { "self","window", NULL
};
1103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxSizer_SetSizeHints",_kwnames
,&_argo0
,&_argo1
))
1106 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1107 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
1108 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_SetSizeHints. Expected _wxSizer_p.");
1113 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1114 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1115 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSizer_SetSizeHints. Expected _wxWindow_p.");
1120 wxPy_BEGIN_ALLOW_THREADS
;
1121 wxSizer_SetSizeHints(_arg0
,_arg1
);
1123 wxPy_END_ALLOW_THREADS
;
1124 } Py_INCREF(Py_None
);
1125 _resultobj
= Py_None
;
1129 static PyObject
* wxSizer_GetChildren(wxSizer
*self
) {
1130 wxList
& list
= self
->GetChildren();
1131 return wxPy_ConvertList(&list
, "wxSizerItem");
1133 static PyObject
*_wrap_wxSizer_GetChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1134 PyObject
* _resultobj
;
1137 PyObject
* _argo0
= 0;
1138 char *_kwnames
[] = { "self", NULL
};
1141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSizer_GetChildren",_kwnames
,&_argo0
))
1144 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1145 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
1146 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_GetChildren. Expected _wxSizer_p.");
1151 wxPy_BEGIN_ALLOW_THREADS
;
1152 _result
= (PyObject
*)wxSizer_GetChildren(_arg0
);
1154 wxPy_END_ALLOW_THREADS
;
1156 _resultobj
= _result
;
1161 static void *SwigwxPySizerTowxSizer(void *ptr
) {
1164 src
= (wxPySizer
*) ptr
;
1165 dest
= (wxSizer
*) src
;
1166 return (void *) dest
;
1169 #define new_wxPySizer() (new wxPySizer())
1170 static PyObject
*_wrap_new_wxPySizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1171 PyObject
* _resultobj
;
1172 wxPySizer
* _result
;
1173 char *_kwnames
[] = { NULL
};
1177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPySizer",_kwnames
))
1180 wxPy_BEGIN_ALLOW_THREADS
;
1181 _result
= (wxPySizer
*)new_wxPySizer();
1183 wxPy_END_ALLOW_THREADS
;
1185 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPySizer_p");
1186 _resultobj
= Py_BuildValue("s",_ptemp
);
1189 _resultobj
= Py_None
;
1194 #define wxPySizer__setSelf(_swigobj,_swigarg0) (_swigobj->_setSelf(_swigarg0))
1195 static PyObject
*_wrap_wxPySizer__setSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1196 PyObject
* _resultobj
;
1199 PyObject
* _argo0
= 0;
1200 PyObject
* _obj1
= 0;
1201 char *_kwnames
[] = { "self","self", NULL
};
1204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPySizer__setSelf",_kwnames
,&_argo0
,&_obj1
))
1207 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1208 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPySizer_p")) {
1209 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPySizer__setSelf. Expected _wxPySizer_p.");
1217 wxPy_BEGIN_ALLOW_THREADS
;
1218 wxPySizer__setSelf(_arg0
,_arg1
);
1220 wxPy_END_ALLOW_THREADS
;
1221 } Py_INCREF(Py_None
);
1222 _resultobj
= Py_None
;
1226 static void *SwigwxBoxSizerTowxSizer(void *ptr
) {
1229 src
= (wxBoxSizer
*) ptr
;
1230 dest
= (wxSizer
*) src
;
1231 return (void *) dest
;
1234 #define new_wxBoxSizer(_swigarg0) (new wxBoxSizer(_swigarg0))
1235 static PyObject
*_wrap_new_wxBoxSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1236 PyObject
* _resultobj
;
1237 wxBoxSizer
* _result
;
1238 int _arg0
= (int ) wxHORIZONTAL
;
1239 char *_kwnames
[] = { "orient", NULL
};
1243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxBoxSizer",_kwnames
,&_arg0
))
1246 wxPy_BEGIN_ALLOW_THREADS
;
1247 _result
= (wxBoxSizer
*)new_wxBoxSizer(_arg0
);
1249 wxPy_END_ALLOW_THREADS
;
1251 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBoxSizer_p");
1252 _resultobj
= Py_BuildValue("s",_ptemp
);
1255 _resultobj
= Py_None
;
1260 #define wxBoxSizer_GetOrientation(_swigobj) (_swigobj->GetOrientation())
1261 static PyObject
*_wrap_wxBoxSizer_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1262 PyObject
* _resultobj
;
1265 PyObject
* _argo0
= 0;
1266 char *_kwnames
[] = { "self", NULL
};
1269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBoxSizer_GetOrientation",_kwnames
,&_argo0
))
1272 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1273 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBoxSizer_p")) {
1274 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBoxSizer_GetOrientation. Expected _wxBoxSizer_p.");
1279 wxPy_BEGIN_ALLOW_THREADS
;
1280 _result
= (int )wxBoxSizer_GetOrientation(_arg0
);
1282 wxPy_END_ALLOW_THREADS
;
1283 } _resultobj
= Py_BuildValue("i",_result
);
1287 static void *SwigwxStaticBoxSizerTowxBoxSizer(void *ptr
) {
1288 wxStaticBoxSizer
*src
;
1290 src
= (wxStaticBoxSizer
*) ptr
;
1291 dest
= (wxBoxSizer
*) src
;
1292 return (void *) dest
;
1295 static void *SwigwxStaticBoxSizerTowxSizer(void *ptr
) {
1296 wxStaticBoxSizer
*src
;
1298 src
= (wxStaticBoxSizer
*) ptr
;
1299 dest
= (wxSizer
*) src
;
1300 return (void *) dest
;
1303 #define new_wxStaticBoxSizer(_swigarg0,_swigarg1) (new wxStaticBoxSizer(_swigarg0,_swigarg1))
1304 static PyObject
*_wrap_new_wxStaticBoxSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1305 PyObject
* _resultobj
;
1306 wxStaticBoxSizer
* _result
;
1307 wxStaticBox
* _arg0
;
1308 int _arg1
= (int ) wxHORIZONTAL
;
1309 PyObject
* _argo0
= 0;
1310 char *_kwnames
[] = { "box","orient", NULL
};
1314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:new_wxStaticBoxSizer",_kwnames
,&_argo0
,&_arg1
))
1317 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1318 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticBox_p")) {
1319 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxStaticBoxSizer. Expected _wxStaticBox_p.");
1324 wxPy_BEGIN_ALLOW_THREADS
;
1325 _result
= (wxStaticBoxSizer
*)new_wxStaticBoxSizer(_arg0
,_arg1
);
1327 wxPy_END_ALLOW_THREADS
;
1329 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticBoxSizer_p");
1330 _resultobj
= Py_BuildValue("s",_ptemp
);
1333 _resultobj
= Py_None
;
1338 #define wxStaticBoxSizer_GetStaticBox(_swigobj) (_swigobj->GetStaticBox())
1339 static PyObject
*_wrap_wxStaticBoxSizer_GetStaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1340 PyObject
* _resultobj
;
1341 wxStaticBox
* _result
;
1342 wxStaticBoxSizer
* _arg0
;
1343 PyObject
* _argo0
= 0;
1344 char *_kwnames
[] = { "self", NULL
};
1348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStaticBoxSizer_GetStaticBox",_kwnames
,&_argo0
))
1351 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1352 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticBoxSizer_p")) {
1353 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticBoxSizer_GetStaticBox. Expected _wxStaticBoxSizer_p.");
1358 wxPy_BEGIN_ALLOW_THREADS
;
1359 _result
= (wxStaticBox
*)wxStaticBoxSizer_GetStaticBox(_arg0
);
1361 wxPy_END_ALLOW_THREADS
;
1363 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticBox_p");
1364 _resultobj
= Py_BuildValue("s",_ptemp
);
1367 _resultobj
= Py_None
;
1372 static PyMethodDef sizerscMethods
[] = {
1373 { "wxStaticBoxSizer_GetStaticBox", (PyCFunction
) _wrap_wxStaticBoxSizer_GetStaticBox
, METH_VARARGS
| METH_KEYWORDS
},
1374 { "new_wxStaticBoxSizer", (PyCFunction
) _wrap_new_wxStaticBoxSizer
, METH_VARARGS
| METH_KEYWORDS
},
1375 { "wxBoxSizer_GetOrientation", (PyCFunction
) _wrap_wxBoxSizer_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
1376 { "new_wxBoxSizer", (PyCFunction
) _wrap_new_wxBoxSizer
, METH_VARARGS
| METH_KEYWORDS
},
1377 { "wxPySizer__setSelf", (PyCFunction
) _wrap_wxPySizer__setSelf
, METH_VARARGS
| METH_KEYWORDS
},
1378 { "new_wxPySizer", (PyCFunction
) _wrap_new_wxPySizer
, METH_VARARGS
| METH_KEYWORDS
},
1379 { "wxSizer_GetChildren", (PyCFunction
) _wrap_wxSizer_GetChildren
, METH_VARARGS
| METH_KEYWORDS
},
1380 { "wxSizer_SetSizeHints", (PyCFunction
) _wrap_wxSizer_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
},
1381 { "wxSizer_Fit", (PyCFunction
) _wrap_wxSizer_Fit
, METH_VARARGS
| METH_KEYWORDS
},
1382 { "wxSizer_Layout", (PyCFunction
) _wrap_wxSizer_Layout
, METH_VARARGS
| METH_KEYWORDS
},
1383 { "wxSizer_GetMinSize", (PyCFunction
) _wrap_wxSizer_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
1384 { "wxSizer_GetPosition", (PyCFunction
) _wrap_wxSizer_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
1385 { "wxSizer_GetSize", (PyCFunction
) _wrap_wxSizer_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
1386 { "wxSizer_SetDimension", (PyCFunction
) _wrap_wxSizer_SetDimension
, METH_VARARGS
| METH_KEYWORDS
},
1387 { "wxSizer_RemovePos", (PyCFunction
) _wrap_wxSizer_RemovePos
, METH_VARARGS
| METH_KEYWORDS
},
1388 { "wxSizer_RemoveSizer", (PyCFunction
) _wrap_wxSizer_RemoveSizer
, METH_VARARGS
| METH_KEYWORDS
},
1389 { "wxSizer_RemoveWindow", (PyCFunction
) _wrap_wxSizer_RemoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
1390 { "wxSizer_PrependSpacer", (PyCFunction
) _wrap_wxSizer_PrependSpacer
, METH_VARARGS
| METH_KEYWORDS
},
1391 { "wxSizer_PrependSizer", (PyCFunction
) _wrap_wxSizer_PrependSizer
, METH_VARARGS
| METH_KEYWORDS
},
1392 { "wxSizer_PrependWindow", (PyCFunction
) _wrap_wxSizer_PrependWindow
, METH_VARARGS
| METH_KEYWORDS
},
1393 { "wxSizer_AddSpacer", (PyCFunction
) _wrap_wxSizer_AddSpacer
, METH_VARARGS
| METH_KEYWORDS
},
1394 { "wxSizer_AddSizer", (PyCFunction
) _wrap_wxSizer_AddSizer
, METH_VARARGS
| METH_KEYWORDS
},
1395 { "wxSizer_AddWindow", (PyCFunction
) _wrap_wxSizer_AddWindow
, METH_VARARGS
| METH_KEYWORDS
},
1396 { "wxSizer_Destroy", (PyCFunction
) _wrap_wxSizer_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
1397 { "wxSizerItem_GetUserData", (PyCFunction
) _wrap_wxSizerItem_GetUserData
, METH_VARARGS
| METH_KEYWORDS
},
1398 { "wxSizerItem_GetBorder", (PyCFunction
) _wrap_wxSizerItem_GetBorder
, METH_VARARGS
| METH_KEYWORDS
},
1399 { "wxSizerItem_GetFlag", (PyCFunction
) _wrap_wxSizerItem_GetFlag
, METH_VARARGS
| METH_KEYWORDS
},
1400 { "wxSizerItem_GetOption", (PyCFunction
) _wrap_wxSizerItem_GetOption
, METH_VARARGS
| METH_KEYWORDS
},
1401 { "wxSizerItem_GetSizer", (PyCFunction
) _wrap_wxSizerItem_GetSizer
, METH_VARARGS
| METH_KEYWORDS
},
1402 { "wxSizerItem_GetWindow", (PyCFunction
) _wrap_wxSizerItem_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
1403 { "wxSizerItem_IsSpacer", (PyCFunction
) _wrap_wxSizerItem_IsSpacer
, METH_VARARGS
| METH_KEYWORDS
},
1404 { "wxSizerItem_IsSizer", (PyCFunction
) _wrap_wxSizerItem_IsSizer
, METH_VARARGS
| METH_KEYWORDS
},
1405 { "wxSizerItem_IsWindow", (PyCFunction
) _wrap_wxSizerItem_IsWindow
, METH_VARARGS
| METH_KEYWORDS
},
1406 { "wxSizerItem_SetDimension", (PyCFunction
) _wrap_wxSizerItem_SetDimension
, METH_VARARGS
| METH_KEYWORDS
},
1407 { "wxSizerItem_CalcMin", (PyCFunction
) _wrap_wxSizerItem_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
1408 { "wxSizerItem_GetSize", (PyCFunction
) _wrap_wxSizerItem_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
1415 * This table is used by the pointer type-checker
1417 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
1418 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
1419 { "_wxEvent","_class_wxEvent",0},
1420 { "_class_wxActivateEvent","_wxActivateEvent",0},
1421 { "_signed_long","_long",0},
1422 { "_wxMenuEvent","_class_wxMenuEvent",0},
1423 { "_class_wxPyCommandEvent","_wxPyCommandEvent",0},
1424 { "_wxPrintQuality","_int",0},
1425 { "_wxPrintQuality","_signed_int",0},
1426 { "_wxPrintQuality","_unsigned_int",0},
1427 { "_wxPrintQuality","_wxWindowID",0},
1428 { "_wxPrintQuality","_uint",0},
1429 { "_wxPrintQuality","_EBool",0},
1430 { "_wxPrintQuality","_size_t",0},
1431 { "_class_wxRegionIterator","_wxRegionIterator",0},
1432 { "_class_wxMenuBar","_wxMenuBar",0},
1433 { "_class_wxStaticBoxSizer","_wxStaticBoxSizer",0},
1434 { "_class_wxEvtHandler","_wxEvtHandler",0},
1435 { "_wxPaintEvent","_class_wxPaintEvent",0},
1436 { "_wxPySizer","_class_wxPySizer",0},
1437 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
1438 { "_wxCursor","_class_wxCursor",0},
1439 { "_wxNotifyEvent","_class_wxNotifyEvent",0},
1440 { "_wxMask","_class_wxMask",0},
1441 { "_wxPen","_class_wxPen",0},
1442 { "_wxUpdateUIEvent","_class_wxUpdateUIEvent",0},
1443 { "_byte","_unsigned_char",0},
1444 { "_wxStaticBox","_class_wxStaticBox",0},
1445 { "_wxChoice","_class_wxChoice",0},
1446 { "_wxSlider","_class_wxSlider",0},
1447 { "_long","_wxDash",0},
1448 { "_long","_unsigned_long",0},
1449 { "_long","_signed_long",0},
1450 { "_wxImageList","_class_wxImageList",0},
1451 { "_wxDropFilesEvent","_class_wxDropFilesEvent",0},
1452 { "_wxBitmapButton","_class_wxBitmapButton",0},
1453 { "_class_wxSizer","_class_wxStaticBoxSizer",SwigwxStaticBoxSizerTowxSizer
},
1454 { "_class_wxSizer","_wxStaticBoxSizer",SwigwxStaticBoxSizerTowxSizer
},
1455 { "_class_wxSizer","_class_wxBoxSizer",SwigwxBoxSizerTowxSizer
},
1456 { "_class_wxSizer","_wxBoxSizer",SwigwxBoxSizerTowxSizer
},
1457 { "_class_wxSizer","_class_wxPySizer",SwigwxPySizerTowxSizer
},
1458 { "_class_wxSizer","_wxPySizer",SwigwxPySizerTowxSizer
},
1459 { "_class_wxSizer","_wxSizer",0},
1460 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
1461 { "_class_wxGauge","_wxGauge",0},
1462 { "_wxDC","_class_wxDC",0},
1463 { "_wxSizerItem","_class_wxSizerItem",0},
1464 { "_wxSpinEvent","_class_wxSpinEvent",0},
1465 { "_size_t","_wxPrintQuality",0},
1466 { "_size_t","_unsigned_int",0},
1467 { "_size_t","_int",0},
1468 { "_size_t","_wxWindowID",0},
1469 { "_size_t","_uint",0},
1470 { "_class_wxRealPoint","_wxRealPoint",0},
1471 { "_class_wxMenuItem","_wxMenuItem",0},
1472 { "_class_wxPaintEvent","_wxPaintEvent",0},
1473 { "_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0},
1474 { "_class_wxPySizer","_wxPySizer",0},
1475 { "_class_wxPostScriptDC","_wxPostScriptDC",0},
1476 { "_wxPanel","_class_wxPanel",0},
1477 { "_wxInitDialogEvent","_class_wxInitDialogEvent",0},
1478 { "_wxCheckBox","_class_wxCheckBox",0},
1479 { "_wxPyEvent","_class_wxPyEvent",0},
1480 { "_wxTextCtrl","_class_wxTextCtrl",0},
1481 { "_class_wxMask","_wxMask",0},
1482 { "_class_wxKeyEvent","_wxKeyEvent",0},
1483 { "_wxColour","_class_wxColour",0},
1484 { "_class_wxDialog","_wxDialog",0},
1485 { "_wxIdleEvent","_class_wxIdleEvent",0},
1486 { "_class_wxUpdateUIEvent","_wxUpdateUIEvent",0},
1487 { "_wxStaticLine","_class_wxStaticLine",0},
1488 { "_wxBrush","_class_wxBrush",0},
1489 { "_wxShowEvent","_class_wxShowEvent",0},
1490 { "_uint","_wxPrintQuality",0},
1491 { "_uint","_size_t",0},
1492 { "_uint","_unsigned_int",0},
1493 { "_uint","_int",0},
1494 { "_uint","_wxWindowID",0},
1495 { "_wxPyValidator","_class_wxPyValidator",0},
1496 { "_class_wxEvent","_wxEvent",0},
1497 { "_wxCheckListBox","_class_wxCheckListBox",0},
1498 { "_wxRect","_class_wxRect",0},
1499 { "_wxCommandEvent","_class_wxCommandEvent",0},
1500 { "_wxSizeEvent","_class_wxSizeEvent",0},
1501 { "_wxPoint","_class_wxPoint",0},
1502 { "_class_wxButton","_wxButton",0},
1503 { "_wxRadioBox","_class_wxRadioBox",0},
1504 { "_wxBoxSizer","_class_wxStaticBoxSizer",SwigwxStaticBoxSizerTowxBoxSizer
},
1505 { "_wxBoxSizer","_wxStaticBoxSizer",SwigwxStaticBoxSizerTowxBoxSizer
},
1506 { "_wxBoxSizer","_class_wxBoxSizer",0},
1507 { "_wxBitmap","_class_wxBitmap",0},
1508 { "_wxPyTimer","_class_wxPyTimer",0},
1509 { "_wxWindowDC","_class_wxWindowDC",0},
1510 { "_wxScrollBar","_class_wxScrollBar",0},
1511 { "_wxSpinButton","_class_wxSpinButton",0},
1512 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
1513 { "_class_wxNotifyEvent","_wxNotifyEvent",0},
1514 { "_class_wxValidator","_wxValidator",0},
1515 { "_class_wxPyEvent","_wxPyEvent",0},
1516 { "_class_wxIconizeEvent","_wxIconizeEvent",0},
1517 { "_class_wxStaticBitmap","_wxStaticBitmap",0},
1518 { "_class_wxStaticLine","_wxStaticLine",0},
1519 { "_wxScrollEvent","_class_wxScrollEvent",0},
1520 { "_EBool","_wxPrintQuality",0},
1521 { "_EBool","_signed_int",0},
1522 { "_EBool","_int",0},
1523 { "_EBool","_wxWindowID",0},
1524 { "_class_wxRegion","_wxRegion",0},
1525 { "_class_wxDropFilesEvent","_wxDropFilesEvent",0},
1526 { "_wxStaticText","_class_wxStaticText",0},
1527 { "_wxFont","_class_wxFont",0},
1528 { "_wxCloseEvent","_class_wxCloseEvent",0},
1529 { "_unsigned_long","_wxDash",0},
1530 { "_unsigned_long","_long",0},
1531 { "_class_wxRect","_wxRect",0},
1532 { "_class_wxDC","_wxDC",0},
1533 { "_wxScrollWinEvent","_class_wxScrollWinEvent",0},
1534 { "_class_wxPyTimer","_wxPyTimer",0},
1535 { "_wxFocusEvent","_class_wxFocusEvent",0},
1536 { "_wxMaximizeEvent","_class_wxMaximizeEvent",0},
1537 { "_class_wxSpinButton","_wxSpinButton",0},
1538 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
1539 { "_class_wxPanel","_wxPanel",0},
1540 { "_class_wxCheckBox","_wxCheckBox",0},
1541 { "_wxComboBox","_class_wxComboBox",0},
1542 { "_wxRadioButton","_class_wxRadioButton",0},
1543 { "_signed_int","_wxPrintQuality",0},
1544 { "_signed_int","_EBool",0},
1545 { "_signed_int","_wxWindowID",0},
1546 { "_signed_int","_int",0},
1547 { "_class_wxTextCtrl","_wxTextCtrl",0},
1548 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
1549 { "_wxMenu","_class_wxMenu",0},
1550 { "_class_wxMoveEvent","_wxMoveEvent",0},
1551 { "_wxListBox","_class_wxListBox",0},
1552 { "_wxScreenDC","_class_wxScreenDC",0},
1553 { "_WXTYPE","_short",0},
1554 { "_WXTYPE","_signed_short",0},
1555 { "_WXTYPE","_unsigned_short",0},
1556 { "_class_wxBrush","_wxBrush",0},
1557 { "_unsigned_short","_WXTYPE",0},
1558 { "_unsigned_short","_short",0},
1559 { "_class_wxWindow","_wxWindow",0},
1560 { "_class_wxStaticText","_wxStaticText",0},
1561 { "_class_wxFont","_wxFont",0},
1562 { "_class_wxPyValidator","_wxPyValidator",0},
1563 { "_class_wxCloseEvent","_wxCloseEvent",0},
1564 { "_class_wxMenuEvent","_wxMenuEvent",0},
1565 { "_wxClientDC","_class_wxClientDC",0},
1566 { "_wxMouseEvent","_class_wxMouseEvent",0},
1567 { "_class_wxPoint","_wxPoint",0},
1568 { "_wxRealPoint","_class_wxRealPoint",0},
1569 { "_class_wxRadioBox","_wxRadioBox",0},
1570 { "_class_wxBoxSizer","_class_wxStaticBoxSizer",SwigwxStaticBoxSizerTowxBoxSizer
},
1571 { "_class_wxBoxSizer","_wxStaticBoxSizer",SwigwxStaticBoxSizerTowxBoxSizer
},
1572 { "_class_wxBoxSizer","_wxBoxSizer",0},
1573 { "_signed_short","_WXTYPE",0},
1574 { "_signed_short","_short",0},
1575 { "_wxMemoryDC","_class_wxMemoryDC",0},
1576 { "_wxPaintDC","_class_wxPaintDC",0},
1577 { "_class_wxWindowDC","_wxWindowDC",0},
1578 { "_class_wxFocusEvent","_wxFocusEvent",0},
1579 { "_class_wxMaximizeEvent","_wxMaximizeEvent",0},
1580 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
1581 { "_class_wxCursor","_wxCursor",0},
1582 { "_wxPostScriptDC","_class_wxPostScriptDC",0},
1583 { "_wxScrolledWindow","_class_wxScrolledWindow",0},
1584 { "_unsigned_char","_byte",0},
1585 { "_class_wxMenu","_wxMenu",0},
1586 { "_wxControl","_class_wxControl",0},
1587 { "_class_wxListBox","_wxListBox",0},
1588 { "_unsigned_int","_wxPrintQuality",0},
1589 { "_unsigned_int","_size_t",0},
1590 { "_unsigned_int","_uint",0},
1591 { "_unsigned_int","_wxWindowID",0},
1592 { "_unsigned_int","_int",0},
1593 { "_wxIcon","_class_wxIcon",0},
1594 { "_wxDialog","_class_wxDialog",0},
1595 { "_class_wxPen","_wxPen",0},
1596 { "_short","_WXTYPE",0},
1597 { "_short","_unsigned_short",0},
1598 { "_short","_signed_short",0},
1599 { "_class_wxStaticBox","_wxStaticBox",0},
1600 { "_class_wxScrollEvent","_wxScrollEvent",0},
1601 { "_wxJoystickEvent","_class_wxJoystickEvent",0},
1602 { "_class_wxChoice","_wxChoice",0},
1603 { "_class_wxSlider","_wxSlider",0},
1604 { "_class_wxImageList","_wxImageList",0},
1605 { "_class_wxBitmapButton","_wxBitmapButton",0},
1606 { "_wxWindowID","_wxPrintQuality",0},
1607 { "_wxWindowID","_size_t",0},
1608 { "_wxWindowID","_EBool",0},
1609 { "_wxWindowID","_uint",0},
1610 { "_wxWindowID","_int",0},
1611 { "_wxWindowID","_signed_int",0},
1612 { "_wxWindowID","_unsigned_int",0},
1613 { "_class_wxScrollWinEvent","_wxScrollWinEvent",0},
1614 { "_class_wxSizerItem","_wxSizerItem",0},
1615 { "_int","_wxPrintQuality",0},
1616 { "_int","_size_t",0},
1617 { "_int","_EBool",0},
1618 { "_int","_uint",0},
1619 { "_int","_wxWindowID",0},
1620 { "_int","_unsigned_int",0},
1621 { "_int","_signed_int",0},
1622 { "_class_wxMouseEvent","_wxMouseEvent",0},
1623 { "_wxPyCommandEvent","_class_wxPyCommandEvent",0},
1624 { "_class_wxSpinEvent","_wxSpinEvent",0},
1625 { "_wxButton","_class_wxButton",0},
1626 { "_wxSize","_class_wxSize",0},
1627 { "_wxRegionIterator","_class_wxRegionIterator",0},
1628 { "_wxStaticBoxSizer","_class_wxStaticBoxSizer",0},
1629 { "_class_wxPaintDC","_wxPaintDC",0},
1630 { "_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0},
1631 { "_class_wxInitDialogEvent","_wxInitDialogEvent",0},
1632 { "_class_wxComboBox","_wxComboBox",0},
1633 { "_class_wxRadioButton","_wxRadioButton",0},
1634 { "_wxValidator","_class_wxValidator",0},
1635 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
1636 { "_wxIconizeEvent","_class_wxIconizeEvent",0},
1637 { "_class_wxControl","_wxControl",0},
1638 { "_wxStaticBitmap","_class_wxStaticBitmap",0},
1639 { "_class_wxIcon","_wxIcon",0},
1640 { "_class_wxColour","_wxColour",0},
1641 { "_class_wxScreenDC","_wxScreenDC",0},
1642 { "_wxPalette","_class_wxPalette",0},
1643 { "_class_wxIdleEvent","_wxIdleEvent",0},
1644 { "_wxEraseEvent","_class_wxEraseEvent",0},
1645 { "_class_wxJoystickEvent","_wxJoystickEvent",0},
1646 { "_wxRegion","_class_wxRegion",0},
1647 { "_wxSizer","_class_wxStaticBoxSizer",SwigwxStaticBoxSizerTowxSizer
},
1648 { "_wxSizer","_wxStaticBoxSizer",SwigwxStaticBoxSizerTowxSizer
},
1649 { "_wxSizer","_class_wxBoxSizer",SwigwxBoxSizerTowxSizer
},
1650 { "_wxSizer","_wxBoxSizer",SwigwxBoxSizerTowxSizer
},
1651 { "_wxSizer","_class_wxPySizer",SwigwxPySizerTowxSizer
},
1652 { "_wxSizer","_wxPySizer",SwigwxPySizerTowxSizer
},
1653 { "_wxSizer","_class_wxSizer",0},
1654 { "_class_wxShowEvent","_wxShowEvent",0},
1655 { "_wxActivateEvent","_class_wxActivateEvent",0},
1656 { "_wxGauge","_class_wxGauge",0},
1657 { "_class_wxCheckListBox","_wxCheckListBox",0},
1658 { "_class_wxCommandEvent","_wxCommandEvent",0},
1659 { "_class_wxClientDC","_wxClientDC",0},
1660 { "_class_wxSizeEvent","_wxSizeEvent",0},
1661 { "_class_wxSize","_wxSize",0},
1662 { "_class_wxBitmap","_wxBitmap",0},
1663 { "_class_wxMemoryDC","_wxMemoryDC",0},
1664 { "_wxMenuBar","_class_wxMenuBar",0},
1665 { "_wxEvtHandler","_class_wxEvtHandler",0},
1666 { "_wxMenuItem","_class_wxMenuItem",0},
1667 { "_class_wxScrollBar","_wxScrollBar",0},
1668 { "_wxDash","_unsigned_long",0},
1669 { "_wxDash","_long",0},
1670 { "_class_wxScrolledWindow","_wxScrolledWindow",0},
1671 { "_wxKeyEvent","_class_wxKeyEvent",0},
1672 { "_wxMoveEvent","_class_wxMoveEvent",0},
1673 { "_class_wxPalette","_wxPalette",0},
1674 { "_class_wxEraseEvent","_wxEraseEvent",0},
1675 { "_wxWindow","_class_wxWindow",0},
1678 static PyObject
*SWIG_globals
;
1682 SWIGEXPORT(void) initsizersc() {
1684 SWIG_globals
= SWIG_newvarlink();
1685 m
= Py_InitModule("sizersc", sizerscMethods
);
1686 d
= PyModule_GetDict(m
);
1689 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
1690 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);