2 * FILE : src/msw/sizers.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
32 # define SWIGEXPORT(a) a
36 # define SWIGEXPORT(a) a
45 extern void SWIG_MakePtr(char *, void *, char *);
46 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
47 extern char *SWIG_GetPtr(char *, void **, char *);
48 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
49 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
50 extern PyObject
*SWIG_newvarlink(void);
54 #define SWIG_init initsizersc
56 #define SWIG_name "sizersc"
60 #include <wx/notebook.h>
62 static PyObject
* l_output_helper(PyObject
* target
, PyObject
* o
) {
66 } else if (target
== Py_None
) {
70 if (!PyList_Check(target
)) {
72 target
= PyList_New(0);
73 PyList_Append(target
, o2
);
76 PyList_Append(target
,o
);
82 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
88 } else if (target
== Py_None
) {
92 if (!PyTuple_Check(target
)) {
94 target
= PyTuple_New(1);
95 PyTuple_SetItem(target
, 0, o2
);
98 PyTuple_SetItem(o3
, 0, o
);
101 target
= PySequence_Concat(o2
, o3
);
108 #if PYTHON_API_VERSION >= 1009
109 static char* wxStringErrorMsg
= "String or Unicode type required";
111 static char* wxStringErrorMsg
= "string type is required for parameter";
114 class wxPySizer
: public wxSizer
{
115 DECLARE_DYNAMIC_CLASS(wxPySizer
);
117 wxPySizer() : wxSizer() {};
119 DEC_PYCALLBACK___pure(RecalcSizes
);
120 DEC_PYCALLBACK_wxSize__pure(CalcMin
);
125 IMP_PYCALLBACK___pure(wxPySizer
, wxSizer
, RecalcSizes
);
126 IMP_PYCALLBACK_wxSize__pure(wxPySizer
, wxSizer
, CalcMin
);
128 IMPLEMENT_DYNAMIC_CLASS(wxPySizer
, wxSizer
);
132 static void *SwigwxSizerItemTowxObject(void *ptr
) {
135 src
= (wxSizerItem
*) ptr
;
136 dest
= (wxObject
*) src
;
137 return (void *) dest
;
140 #define wxSizerItem_GetSize(_swigobj) (_swigobj->GetSize())
141 static PyObject
*_wrap_wxSizerItem_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
142 PyObject
* _resultobj
;
145 PyObject
* _argo0
= 0;
146 char *_kwnames
[] = { "self", NULL
};
150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSizerItem_GetSize",_kwnames
,&_argo0
))
153 if (_argo0
== Py_None
) { _arg0
= NULL
; }
154 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizerItem_p")) {
155 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizerItem_GetSize. Expected _wxSizerItem_p.");
160 wxPy_BEGIN_ALLOW_THREADS
;
161 _result
= new wxSize (wxSizerItem_GetSize(_arg0
));
163 wxPy_END_ALLOW_THREADS
;
164 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
165 _resultobj
= Py_BuildValue("s",_ptemp
);
169 #define wxSizerItem_CalcMin(_swigobj) (_swigobj->CalcMin())
170 static PyObject
*_wrap_wxSizerItem_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
171 PyObject
* _resultobj
;
174 PyObject
* _argo0
= 0;
175 char *_kwnames
[] = { "self", NULL
};
179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSizerItem_CalcMin",_kwnames
,&_argo0
))
182 if (_argo0
== Py_None
) { _arg0
= NULL
; }
183 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizerItem_p")) {
184 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizerItem_CalcMin. Expected _wxSizerItem_p.");
189 wxPy_BEGIN_ALLOW_THREADS
;
190 _result
= new wxSize (wxSizerItem_CalcMin(_arg0
));
192 wxPy_END_ALLOW_THREADS
;
193 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
194 _resultobj
= Py_BuildValue("s",_ptemp
);
198 #define wxSizerItem_SetDimension(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDimension(_swigarg0,_swigarg1))
199 static PyObject
*_wrap_wxSizerItem_SetDimension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
200 PyObject
* _resultobj
;
204 PyObject
* _argo0
= 0;
206 PyObject
* _obj1
= 0;
208 PyObject
* _obj2
= 0;
209 char *_kwnames
[] = { "self","pos","size", NULL
};
212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxSizerItem_SetDimension",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
215 if (_argo0
== Py_None
) { _arg0
= NULL
; }
216 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizerItem_p")) {
217 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizerItem_SetDimension. Expected _wxSizerItem_p.");
223 if (! wxPoint_helper(_obj1
, &_arg1
))
228 if (! wxSize_helper(_obj2
, &_arg2
))
232 wxPy_BEGIN_ALLOW_THREADS
;
233 wxSizerItem_SetDimension(_arg0
,*_arg1
,*_arg2
);
235 wxPy_END_ALLOW_THREADS
;
236 } Py_INCREF(Py_None
);
237 _resultobj
= Py_None
;
241 #define wxSizerItem_SetRatioWH(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRatio(_swigarg0,_swigarg1))
242 static PyObject
*_wrap_wxSizerItem_SetRatioWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
243 PyObject
* _resultobj
;
247 PyObject
* _argo0
= 0;
248 char *_kwnames
[] = { "self","width","height", NULL
};
251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxSizerItem_SetRatioWH",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
254 if (_argo0
== Py_None
) { _arg0
= NULL
; }
255 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizerItem_p")) {
256 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizerItem_SetRatioWH. Expected _wxSizerItem_p.");
261 wxPy_BEGIN_ALLOW_THREADS
;
262 wxSizerItem_SetRatioWH(_arg0
,_arg1
,_arg2
);
264 wxPy_END_ALLOW_THREADS
;
265 } Py_INCREF(Py_None
);
266 _resultobj
= Py_None
;
270 #define wxSizerItem_SetRatioSize(_swigobj,_swigarg0) (_swigobj->SetRatio(_swigarg0))
271 static PyObject
*_wrap_wxSizerItem_SetRatioSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
272 PyObject
* _resultobj
;
275 PyObject
* _argo0
= 0;
277 PyObject
* _obj1
= 0;
278 char *_kwnames
[] = { "self","size", NULL
};
281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxSizerItem_SetRatioSize",_kwnames
,&_argo0
,&_obj1
))
284 if (_argo0
== Py_None
) { _arg0
= NULL
; }
285 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizerItem_p")) {
286 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizerItem_SetRatioSize. Expected _wxSizerItem_p.");
292 if (! wxSize_helper(_obj1
, &_arg1
))
296 wxPy_BEGIN_ALLOW_THREADS
;
297 wxSizerItem_SetRatioSize(_arg0
,*_arg1
);
299 wxPy_END_ALLOW_THREADS
;
300 } Py_INCREF(Py_None
);
301 _resultobj
= Py_None
;
305 #define wxSizerItem_SetRatio(_swigobj,_swigarg0) (_swigobj->SetRatio(_swigarg0))
306 static PyObject
*_wrap_wxSizerItem_SetRatio(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
307 PyObject
* _resultobj
;
310 PyObject
* _argo0
= 0;
311 char *_kwnames
[] = { "self","ratio", NULL
};
314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Of:wxSizerItem_SetRatio",_kwnames
,&_argo0
,&_arg1
))
317 if (_argo0
== Py_None
) { _arg0
= NULL
; }
318 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizerItem_p")) {
319 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizerItem_SetRatio. Expected _wxSizerItem_p.");
324 wxPy_BEGIN_ALLOW_THREADS
;
325 wxSizerItem_SetRatio(_arg0
,_arg1
);
327 wxPy_END_ALLOW_THREADS
;
328 } Py_INCREF(Py_None
);
329 _resultobj
= Py_None
;
333 #define wxSizerItem_GetRatio(_swigobj) (_swigobj->GetRatio())
334 static PyObject
*_wrap_wxSizerItem_GetRatio(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
335 PyObject
* _resultobj
;
338 PyObject
* _argo0
= 0;
339 char *_kwnames
[] = { "self", NULL
};
342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSizerItem_GetRatio",_kwnames
,&_argo0
))
345 if (_argo0
== Py_None
) { _arg0
= NULL
; }
346 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizerItem_p")) {
347 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizerItem_GetRatio. Expected _wxSizerItem_p.");
352 wxPy_BEGIN_ALLOW_THREADS
;
353 _result
= (float )wxSizerItem_GetRatio(_arg0
);
355 wxPy_END_ALLOW_THREADS
;
356 } _resultobj
= Py_BuildValue("f",_result
);
360 #define wxSizerItem_IsWindow(_swigobj) (_swigobj->IsWindow())
361 static PyObject
*_wrap_wxSizerItem_IsWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
362 PyObject
* _resultobj
;
365 PyObject
* _argo0
= 0;
366 char *_kwnames
[] = { "self", NULL
};
369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSizerItem_IsWindow",_kwnames
,&_argo0
))
372 if (_argo0
== Py_None
) { _arg0
= NULL
; }
373 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizerItem_p")) {
374 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizerItem_IsWindow. Expected _wxSizerItem_p.");
379 wxPy_BEGIN_ALLOW_THREADS
;
380 _result
= (bool )wxSizerItem_IsWindow(_arg0
);
382 wxPy_END_ALLOW_THREADS
;
383 } _resultobj
= Py_BuildValue("i",_result
);
387 #define wxSizerItem_IsSizer(_swigobj) (_swigobj->IsSizer())
388 static PyObject
*_wrap_wxSizerItem_IsSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
389 PyObject
* _resultobj
;
392 PyObject
* _argo0
= 0;
393 char *_kwnames
[] = { "self", NULL
};
396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSizerItem_IsSizer",_kwnames
,&_argo0
))
399 if (_argo0
== Py_None
) { _arg0
= NULL
; }
400 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizerItem_p")) {
401 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizerItem_IsSizer. Expected _wxSizerItem_p.");
406 wxPy_BEGIN_ALLOW_THREADS
;
407 _result
= (bool )wxSizerItem_IsSizer(_arg0
);
409 wxPy_END_ALLOW_THREADS
;
410 } _resultobj
= Py_BuildValue("i",_result
);
414 #define wxSizerItem_IsSpacer(_swigobj) (_swigobj->IsSpacer())
415 static PyObject
*_wrap_wxSizerItem_IsSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
416 PyObject
* _resultobj
;
419 PyObject
* _argo0
= 0;
420 char *_kwnames
[] = { "self", NULL
};
423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSizerItem_IsSpacer",_kwnames
,&_argo0
))
426 if (_argo0
== Py_None
) { _arg0
= NULL
; }
427 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizerItem_p")) {
428 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizerItem_IsSpacer. Expected _wxSizerItem_p.");
433 wxPy_BEGIN_ALLOW_THREADS
;
434 _result
= (bool )wxSizerItem_IsSpacer(_arg0
);
436 wxPy_END_ALLOW_THREADS
;
437 } _resultobj
= Py_BuildValue("i",_result
);
441 #define wxSizerItem_GetWindow(_swigobj) (_swigobj->GetWindow())
442 static PyObject
*_wrap_wxSizerItem_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
443 PyObject
* _resultobj
;
446 PyObject
* _argo0
= 0;
447 char *_kwnames
[] = { "self", NULL
};
450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSizerItem_GetWindow",_kwnames
,&_argo0
))
453 if (_argo0
== Py_None
) { _arg0
= NULL
; }
454 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizerItem_p")) {
455 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizerItem_GetWindow. Expected _wxSizerItem_p.");
460 wxPy_BEGIN_ALLOW_THREADS
;
461 _result
= (wxWindow
*)wxSizerItem_GetWindow(_arg0
);
463 wxPy_END_ALLOW_THREADS
;
464 }{ _resultobj
= wxPyMake_wxObject(_result
); }
468 #define wxSizerItem_SetWindow(_swigobj,_swigarg0) (_swigobj->SetWindow(_swigarg0))
469 static PyObject
*_wrap_wxSizerItem_SetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
470 PyObject
* _resultobj
;
473 PyObject
* _argo0
= 0;
474 PyObject
* _argo1
= 0;
475 char *_kwnames
[] = { "self","window", NULL
};
478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxSizerItem_SetWindow",_kwnames
,&_argo0
,&_argo1
))
481 if (_argo0
== Py_None
) { _arg0
= NULL
; }
482 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizerItem_p")) {
483 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizerItem_SetWindow. Expected _wxSizerItem_p.");
488 if (_argo1
== Py_None
) { _arg1
= NULL
; }
489 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
490 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSizerItem_SetWindow. Expected _wxWindow_p.");
495 wxPy_BEGIN_ALLOW_THREADS
;
496 wxSizerItem_SetWindow(_arg0
,_arg1
);
498 wxPy_END_ALLOW_THREADS
;
499 } Py_INCREF(Py_None
);
500 _resultobj
= Py_None
;
504 #define wxSizerItem_GetSizer(_swigobj) (_swigobj->GetSizer())
505 static PyObject
*_wrap_wxSizerItem_GetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
506 PyObject
* _resultobj
;
509 PyObject
* _argo0
= 0;
510 char *_kwnames
[] = { "self", NULL
};
513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSizerItem_GetSizer",_kwnames
,&_argo0
))
516 if (_argo0
== Py_None
) { _arg0
= NULL
; }
517 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizerItem_p")) {
518 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizerItem_GetSizer. Expected _wxSizerItem_p.");
523 wxPy_BEGIN_ALLOW_THREADS
;
524 _result
= (wxSizer
*)wxSizerItem_GetSizer(_arg0
);
526 wxPy_END_ALLOW_THREADS
;
527 }{ _resultobj
= wxPyMake_wxObject(_result
); }
531 #define wxSizerItem_SetSizer(_swigobj,_swigarg0) (_swigobj->SetSizer(_swigarg0))
532 static PyObject
*_wrap_wxSizerItem_SetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
533 PyObject
* _resultobj
;
536 PyObject
* _argo0
= 0;
537 PyObject
* _argo1
= 0;
538 char *_kwnames
[] = { "self","sizer", NULL
};
541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxSizerItem_SetSizer",_kwnames
,&_argo0
,&_argo1
))
544 if (_argo0
== Py_None
) { _arg0
= NULL
; }
545 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizerItem_p")) {
546 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizerItem_SetSizer. Expected _wxSizerItem_p.");
551 if (_argo1
== Py_None
) { _arg1
= NULL
; }
552 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxSizer_p")) {
553 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSizerItem_SetSizer. Expected _wxSizer_p.");
558 wxPy_BEGIN_ALLOW_THREADS
;
559 wxSizerItem_SetSizer(_arg0
,_arg1
);
561 wxPy_END_ALLOW_THREADS
;
562 } Py_INCREF(Py_None
);
563 _resultobj
= Py_None
;
567 #define wxSizerItem_GetOption(_swigobj) (_swigobj->GetOption())
568 static PyObject
*_wrap_wxSizerItem_GetOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
569 PyObject
* _resultobj
;
572 PyObject
* _argo0
= 0;
573 char *_kwnames
[] = { "self", NULL
};
576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSizerItem_GetOption",_kwnames
,&_argo0
))
579 if (_argo0
== Py_None
) { _arg0
= NULL
; }
580 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizerItem_p")) {
581 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizerItem_GetOption. Expected _wxSizerItem_p.");
586 wxPy_BEGIN_ALLOW_THREADS
;
587 _result
= (int )wxSizerItem_GetOption(_arg0
);
589 wxPy_END_ALLOW_THREADS
;
590 } _resultobj
= Py_BuildValue("i",_result
);
594 #define wxSizerItem_GetFlag(_swigobj) (_swigobj->GetFlag())
595 static PyObject
*_wrap_wxSizerItem_GetFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
596 PyObject
* _resultobj
;
599 PyObject
* _argo0
= 0;
600 char *_kwnames
[] = { "self", NULL
};
603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSizerItem_GetFlag",_kwnames
,&_argo0
))
606 if (_argo0
== Py_None
) { _arg0
= NULL
; }
607 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizerItem_p")) {
608 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizerItem_GetFlag. Expected _wxSizerItem_p.");
613 wxPy_BEGIN_ALLOW_THREADS
;
614 _result
= (int )wxSizerItem_GetFlag(_arg0
);
616 wxPy_END_ALLOW_THREADS
;
617 } _resultobj
= Py_BuildValue("i",_result
);
621 #define wxSizerItem_GetBorder(_swigobj) (_swigobj->GetBorder())
622 static PyObject
*_wrap_wxSizerItem_GetBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
623 PyObject
* _resultobj
;
626 PyObject
* _argo0
= 0;
627 char *_kwnames
[] = { "self", NULL
};
630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSizerItem_GetBorder",_kwnames
,&_argo0
))
633 if (_argo0
== Py_None
) { _arg0
= NULL
; }
634 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizerItem_p")) {
635 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizerItem_GetBorder. Expected _wxSizerItem_p.");
640 wxPy_BEGIN_ALLOW_THREADS
;
641 _result
= (int )wxSizerItem_GetBorder(_arg0
);
643 wxPy_END_ALLOW_THREADS
;
644 } _resultobj
= Py_BuildValue("i",_result
);
648 #define wxSizerItem_SetInitSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetInitSize(_swigarg0,_swigarg1))
649 static PyObject
*_wrap_wxSizerItem_SetInitSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
650 PyObject
* _resultobj
;
654 PyObject
* _argo0
= 0;
655 char *_kwnames
[] = { "self","x","y", NULL
};
658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxSizerItem_SetInitSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
661 if (_argo0
== Py_None
) { _arg0
= NULL
; }
662 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizerItem_p")) {
663 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizerItem_SetInitSize. Expected _wxSizerItem_p.");
668 wxPy_BEGIN_ALLOW_THREADS
;
669 wxSizerItem_SetInitSize(_arg0
,_arg1
,_arg2
);
671 wxPy_END_ALLOW_THREADS
;
672 } Py_INCREF(Py_None
);
673 _resultobj
= Py_None
;
677 #define wxSizerItem_SetOption(_swigobj,_swigarg0) (_swigobj->SetOption(_swigarg0))
678 static PyObject
*_wrap_wxSizerItem_SetOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
679 PyObject
* _resultobj
;
682 PyObject
* _argo0
= 0;
683 char *_kwnames
[] = { "self","option", NULL
};
686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSizerItem_SetOption",_kwnames
,&_argo0
,&_arg1
))
689 if (_argo0
== Py_None
) { _arg0
= NULL
; }
690 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizerItem_p")) {
691 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizerItem_SetOption. Expected _wxSizerItem_p.");
696 wxPy_BEGIN_ALLOW_THREADS
;
697 wxSizerItem_SetOption(_arg0
,_arg1
);
699 wxPy_END_ALLOW_THREADS
;
700 } Py_INCREF(Py_None
);
701 _resultobj
= Py_None
;
705 #define wxSizerItem_SetFlag(_swigobj,_swigarg0) (_swigobj->SetFlag(_swigarg0))
706 static PyObject
*_wrap_wxSizerItem_SetFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
707 PyObject
* _resultobj
;
710 PyObject
* _argo0
= 0;
711 char *_kwnames
[] = { "self","flag", NULL
};
714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSizerItem_SetFlag",_kwnames
,&_argo0
,&_arg1
))
717 if (_argo0
== Py_None
) { _arg0
= NULL
; }
718 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizerItem_p")) {
719 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizerItem_SetFlag. Expected _wxSizerItem_p.");
724 wxPy_BEGIN_ALLOW_THREADS
;
725 wxSizerItem_SetFlag(_arg0
,_arg1
);
727 wxPy_END_ALLOW_THREADS
;
728 } Py_INCREF(Py_None
);
729 _resultobj
= Py_None
;
733 #define wxSizerItem_SetBorder(_swigobj,_swigarg0) (_swigobj->SetBorder(_swigarg0))
734 static PyObject
*_wrap_wxSizerItem_SetBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
735 PyObject
* _resultobj
;
738 PyObject
* _argo0
= 0;
739 char *_kwnames
[] = { "self","border", NULL
};
742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSizerItem_SetBorder",_kwnames
,&_argo0
,&_arg1
))
745 if (_argo0
== Py_None
) { _arg0
= NULL
; }
746 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizerItem_p")) {
747 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizerItem_SetBorder. Expected _wxSizerItem_p.");
752 wxPy_BEGIN_ALLOW_THREADS
;
753 wxSizerItem_SetBorder(_arg0
,_arg1
);
755 wxPy_END_ALLOW_THREADS
;
756 } Py_INCREF(Py_None
);
757 _resultobj
= Py_None
;
761 static PyObject
* wxSizerItem_GetUserData(wxSizerItem
*self
) {
762 wxPyUserData
* data
= (wxPyUserData
*)self
->GetUserData();
764 Py_INCREF(data
->m_obj
);
771 static PyObject
*_wrap_wxSizerItem_GetUserData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
772 PyObject
* _resultobj
;
775 PyObject
* _argo0
= 0;
776 char *_kwnames
[] = { "self", NULL
};
779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSizerItem_GetUserData",_kwnames
,&_argo0
))
782 if (_argo0
== Py_None
) { _arg0
= NULL
; }
783 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizerItem_p")) {
784 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizerItem_GetUserData. Expected _wxSizerItem_p.");
789 wxPy_BEGIN_ALLOW_THREADS
;
790 _result
= (PyObject
*)wxSizerItem_GetUserData(_arg0
);
792 wxPy_END_ALLOW_THREADS
;
794 _resultobj
= _result
;
799 static void *SwigwxSizerTowxObject(void *ptr
) {
802 src
= (wxSizer
*) ptr
;
803 dest
= (wxObject
*) src
;
804 return (void *) dest
;
807 static void wxSizer_Destroy(wxSizer
*self
) { delete self
; }
808 static PyObject
*_wrap_wxSizer_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
809 PyObject
* _resultobj
;
811 PyObject
* _argo0
= 0;
812 char *_kwnames
[] = { "self", NULL
};
815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSizer_Destroy",_kwnames
,&_argo0
))
818 if (_argo0
== Py_None
) { _arg0
= NULL
; }
819 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
820 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_Destroy. Expected _wxSizer_p.");
825 wxPy_BEGIN_ALLOW_THREADS
;
826 wxSizer_Destroy(_arg0
);
828 wxPy_END_ALLOW_THREADS
;
829 } Py_INCREF(Py_None
);
830 _resultobj
= Py_None
;
834 static void wxSizer_AddWindow(wxSizer
*self
,wxWindow
* window
,int option
,int flag
,int border
,PyObject
* userData
) {
835 wxPyUserData
* data
= NULL
;
836 if (userData
) data
= new wxPyUserData(userData
);
837 self
->Add(window
, option
, flag
, border
, data
);
839 static PyObject
*_wrap_wxSizer_AddWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
840 PyObject
* _resultobj
;
843 int _arg2
= (int ) 0;
844 int _arg3
= (int ) 0;
845 int _arg4
= (int ) 0;
846 PyObject
* _arg5
= (PyObject
*) NULL
;
847 PyObject
* _argo0
= 0;
848 PyObject
* _argo1
= 0;
849 PyObject
* _obj5
= 0;
850 char *_kwnames
[] = { "self","window","option","flag","border","userData", NULL
};
853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iiiO:wxSizer_AddWindow",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_obj5
))
856 if (_argo0
== Py_None
) { _arg0
= NULL
; }
857 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
858 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_AddWindow. Expected _wxSizer_p.");
863 if (_argo1
== Py_None
) { _arg1
= NULL
; }
864 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
865 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSizer_AddWindow. Expected _wxWindow_p.");
874 wxPy_BEGIN_ALLOW_THREADS
;
875 wxSizer_AddWindow(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
877 wxPy_END_ALLOW_THREADS
;
878 } Py_INCREF(Py_None
);
879 _resultobj
= Py_None
;
883 static void wxSizer_AddSizer(wxSizer
*self
,wxSizer
* sizer
,int option
,int flag
,int border
,PyObject
* userData
) {
884 wxPyUserData
* data
= NULL
;
885 if (userData
) data
= new wxPyUserData(userData
);
886 self
->Add(sizer
, option
, flag
, border
, data
);
888 static PyObject
*_wrap_wxSizer_AddSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
889 PyObject
* _resultobj
;
892 int _arg2
= (int ) 0;
893 int _arg3
= (int ) 0;
894 int _arg4
= (int ) 0;
895 PyObject
* _arg5
= (PyObject
*) NULL
;
896 PyObject
* _argo0
= 0;
897 PyObject
* _argo1
= 0;
898 PyObject
* _obj5
= 0;
899 char *_kwnames
[] = { "self","sizer","option","flag","border","userData", NULL
};
902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iiiO:wxSizer_AddSizer",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_obj5
))
905 if (_argo0
== Py_None
) { _arg0
= NULL
; }
906 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
907 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_AddSizer. Expected _wxSizer_p.");
912 if (_argo1
== Py_None
) { _arg1
= NULL
; }
913 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxSizer_p")) {
914 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSizer_AddSizer. Expected _wxSizer_p.");
923 wxPy_BEGIN_ALLOW_THREADS
;
924 wxSizer_AddSizer(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
926 wxPy_END_ALLOW_THREADS
;
927 } Py_INCREF(Py_None
);
928 _resultobj
= Py_None
;
932 static void wxSizer_AddSpacer(wxSizer
*self
,int width
,int height
,int option
,int flag
,int border
,PyObject
* userData
) {
933 wxPyUserData
* data
= NULL
;
934 if (userData
) data
= new wxPyUserData(userData
);
935 self
->Add(width
, height
, option
, flag
, border
, data
);
937 static PyObject
*_wrap_wxSizer_AddSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
938 PyObject
* _resultobj
;
942 int _arg3
= (int ) 0;
943 int _arg4
= (int ) 0;
944 int _arg5
= (int ) 0;
945 PyObject
* _arg6
= (PyObject
*) NULL
;
946 PyObject
* _argo0
= 0;
947 PyObject
* _obj6
= 0;
948 char *_kwnames
[] = { "self","width","height","option","flag","border","userData", NULL
};
951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|iiiO:wxSizer_AddSpacer",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_obj6
))
954 if (_argo0
== Py_None
) { _arg0
= NULL
; }
955 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
956 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_AddSpacer. Expected _wxSizer_p.");
965 wxPy_BEGIN_ALLOW_THREADS
;
966 wxSizer_AddSpacer(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
968 wxPy_END_ALLOW_THREADS
;
969 } Py_INCREF(Py_None
);
970 _resultobj
= Py_None
;
974 static void wxSizer_InsertWindow(wxSizer
*self
,int before
,wxWindow
* window
,int option
,int flag
,int border
,PyObject
* userData
) {
975 wxPyUserData
* data
= NULL
;
976 if (userData
) data
= new wxPyUserData(userData
);
977 self
->Insert(before
, window
, option
, flag
, border
, data
);
979 static PyObject
*_wrap_wxSizer_InsertWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
980 PyObject
* _resultobj
;
984 int _arg3
= (int ) 0;
985 int _arg4
= (int ) 0;
986 int _arg5
= (int ) 0;
987 PyObject
* _arg6
= (PyObject
*) NULL
;
988 PyObject
* _argo0
= 0;
989 PyObject
* _argo2
= 0;
990 PyObject
* _obj6
= 0;
991 char *_kwnames
[] = { "self","before","window","option","flag","border","userData", NULL
};
994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|iiiO:wxSizer_InsertWindow",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_arg3
,&_arg4
,&_arg5
,&_obj6
))
997 if (_argo0
== Py_None
) { _arg0
= NULL
; }
998 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
999 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_InsertWindow. Expected _wxSizer_p.");
1004 if (_argo2
== Py_None
) { _arg2
= NULL
; }
1005 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
1006 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxSizer_InsertWindow. Expected _wxWindow_p.");
1015 wxPy_BEGIN_ALLOW_THREADS
;
1016 wxSizer_InsertWindow(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
1018 wxPy_END_ALLOW_THREADS
;
1019 } Py_INCREF(Py_None
);
1020 _resultobj
= Py_None
;
1024 static void wxSizer_InsertSizer(wxSizer
*self
,int before
,wxSizer
* sizer
,int option
,int flag
,int border
,PyObject
* userData
) {
1025 wxPyUserData
* data
= NULL
;
1026 if (userData
) data
= new wxPyUserData(userData
);
1027 self
->Insert(before
, sizer
, option
, flag
, border
, data
);
1029 static PyObject
*_wrap_wxSizer_InsertSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1030 PyObject
* _resultobj
;
1034 int _arg3
= (int ) 0;
1035 int _arg4
= (int ) 0;
1036 int _arg5
= (int ) 0;
1037 PyObject
* _arg6
= (PyObject
*) NULL
;
1038 PyObject
* _argo0
= 0;
1039 PyObject
* _argo2
= 0;
1040 PyObject
* _obj6
= 0;
1041 char *_kwnames
[] = { "self","before","sizer","option","flag","border","userData", NULL
};
1044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|iiiO:wxSizer_InsertSizer",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_arg3
,&_arg4
,&_arg5
,&_obj6
))
1047 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1048 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
1049 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_InsertSizer. Expected _wxSizer_p.");
1054 if (_argo2
== Py_None
) { _arg2
= NULL
; }
1055 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxSizer_p")) {
1056 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxSizer_InsertSizer. Expected _wxSizer_p.");
1065 wxPy_BEGIN_ALLOW_THREADS
;
1066 wxSizer_InsertSizer(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
1068 wxPy_END_ALLOW_THREADS
;
1069 } Py_INCREF(Py_None
);
1070 _resultobj
= Py_None
;
1074 static void wxSizer_InsertSpacer(wxSizer
*self
,int before
,int width
,int height
,int option
,int flag
,int border
,PyObject
* userData
) {
1075 wxPyUserData
* data
= NULL
;
1076 if (userData
) data
= new wxPyUserData(userData
);
1077 self
->Insert(before
, width
, height
, option
, flag
, border
, data
);
1079 static PyObject
*_wrap_wxSizer_InsertSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1080 PyObject
* _resultobj
;
1085 int _arg4
= (int ) 0;
1086 int _arg5
= (int ) 0;
1087 int _arg6
= (int ) 0;
1088 PyObject
* _arg7
= (PyObject
*) NULL
;
1089 PyObject
* _argo0
= 0;
1090 PyObject
* _obj7
= 0;
1091 char *_kwnames
[] = { "self","before","width","height","option","flag","border","userData", NULL
};
1094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiii|iiiO:wxSizer_InsertSpacer",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
,&_obj7
))
1097 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1098 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
1099 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_InsertSpacer. Expected _wxSizer_p.");
1108 wxPy_BEGIN_ALLOW_THREADS
;
1109 wxSizer_InsertSpacer(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
);
1111 wxPy_END_ALLOW_THREADS
;
1112 } Py_INCREF(Py_None
);
1113 _resultobj
= Py_None
;
1117 static void wxSizer_PrependWindow(wxSizer
*self
,wxWindow
* window
,int option
,int flag
,int border
,PyObject
* userData
) {
1118 wxPyUserData
* data
= NULL
;
1119 if (userData
) data
= new wxPyUserData(userData
);
1120 self
->Prepend(window
, option
, flag
, border
, data
);
1122 static PyObject
*_wrap_wxSizer_PrependWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1123 PyObject
* _resultobj
;
1126 int _arg2
= (int ) 0;
1127 int _arg3
= (int ) 0;
1128 int _arg4
= (int ) 0;
1129 PyObject
* _arg5
= (PyObject
*) NULL
;
1130 PyObject
* _argo0
= 0;
1131 PyObject
* _argo1
= 0;
1132 PyObject
* _obj5
= 0;
1133 char *_kwnames
[] = { "self","window","option","flag","border","userData", NULL
};
1136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iiiO:wxSizer_PrependWindow",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_obj5
))
1139 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1140 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
1141 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_PrependWindow. Expected _wxSizer_p.");
1146 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1147 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1148 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSizer_PrependWindow. Expected _wxWindow_p.");
1157 wxPy_BEGIN_ALLOW_THREADS
;
1158 wxSizer_PrependWindow(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
1160 wxPy_END_ALLOW_THREADS
;
1161 } Py_INCREF(Py_None
);
1162 _resultobj
= Py_None
;
1166 static void wxSizer_PrependSizer(wxSizer
*self
,wxSizer
* sizer
,int option
,int flag
,int border
,PyObject
* userData
) {
1167 wxPyUserData
* data
= NULL
;
1168 if (userData
) data
= new wxPyUserData(userData
);
1169 self
->Prepend(sizer
, option
, flag
, border
, data
);
1171 static PyObject
*_wrap_wxSizer_PrependSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1172 PyObject
* _resultobj
;
1175 int _arg2
= (int ) 0;
1176 int _arg3
= (int ) 0;
1177 int _arg4
= (int ) 0;
1178 PyObject
* _arg5
= (PyObject
*) NULL
;
1179 PyObject
* _argo0
= 0;
1180 PyObject
* _argo1
= 0;
1181 PyObject
* _obj5
= 0;
1182 char *_kwnames
[] = { "self","sizer","option","flag","border","userData", NULL
};
1185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iiiO:wxSizer_PrependSizer",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_obj5
))
1188 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1189 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
1190 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_PrependSizer. Expected _wxSizer_p.");
1195 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1196 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxSizer_p")) {
1197 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSizer_PrependSizer. Expected _wxSizer_p.");
1206 wxPy_BEGIN_ALLOW_THREADS
;
1207 wxSizer_PrependSizer(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
1209 wxPy_END_ALLOW_THREADS
;
1210 } Py_INCREF(Py_None
);
1211 _resultobj
= Py_None
;
1215 static void wxSizer_PrependSpacer(wxSizer
*self
,int width
,int height
,int option
,int flag
,int border
,PyObject
* userData
) {
1216 wxPyUserData
* data
= NULL
;
1217 if (userData
) data
= new wxPyUserData(userData
);
1218 self
->Prepend(width
, height
, option
, flag
, border
, data
);
1220 static PyObject
*_wrap_wxSizer_PrependSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1221 PyObject
* _resultobj
;
1225 int _arg3
= (int ) 0;
1226 int _arg4
= (int ) 0;
1227 int _arg5
= (int ) 0;
1228 PyObject
* _arg6
= (PyObject
*) NULL
;
1229 PyObject
* _argo0
= 0;
1230 PyObject
* _obj6
= 0;
1231 char *_kwnames
[] = { "self","width","height","option","flag","border","userData", NULL
};
1234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|iiiO:wxSizer_PrependSpacer",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_obj6
))
1237 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1238 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
1239 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_PrependSpacer. Expected _wxSizer_p.");
1248 wxPy_BEGIN_ALLOW_THREADS
;
1249 wxSizer_PrependSpacer(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
1251 wxPy_END_ALLOW_THREADS
;
1252 } Py_INCREF(Py_None
);
1253 _resultobj
= Py_None
;
1257 #define wxSizer_RemoveWindow(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
1258 static PyObject
*_wrap_wxSizer_RemoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1259 PyObject
* _resultobj
;
1263 PyObject
* _argo0
= 0;
1264 PyObject
* _argo1
= 0;
1265 char *_kwnames
[] = { "self","window", NULL
};
1268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxSizer_RemoveWindow",_kwnames
,&_argo0
,&_argo1
))
1271 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1272 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
1273 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_RemoveWindow. Expected _wxSizer_p.");
1278 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1279 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1280 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSizer_RemoveWindow. Expected _wxWindow_p.");
1285 wxPy_BEGIN_ALLOW_THREADS
;
1286 _result
= (bool )wxSizer_RemoveWindow(_arg0
,_arg1
);
1288 wxPy_END_ALLOW_THREADS
;
1289 } _resultobj
= Py_BuildValue("i",_result
);
1293 #define wxSizer_RemoveSizer(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
1294 static PyObject
*_wrap_wxSizer_RemoveSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1295 PyObject
* _resultobj
;
1299 PyObject
* _argo0
= 0;
1300 PyObject
* _argo1
= 0;
1301 char *_kwnames
[] = { "self","sizer", NULL
};
1304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxSizer_RemoveSizer",_kwnames
,&_argo0
,&_argo1
))
1307 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1308 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
1309 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_RemoveSizer. Expected _wxSizer_p.");
1314 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1315 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxSizer_p")) {
1316 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSizer_RemoveSizer. Expected _wxSizer_p.");
1321 wxPy_BEGIN_ALLOW_THREADS
;
1322 _result
= (bool )wxSizer_RemoveSizer(_arg0
,_arg1
);
1324 wxPy_END_ALLOW_THREADS
;
1325 } _resultobj
= Py_BuildValue("i",_result
);
1329 #define wxSizer_RemovePos(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
1330 static PyObject
*_wrap_wxSizer_RemovePos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1331 PyObject
* _resultobj
;
1335 PyObject
* _argo0
= 0;
1336 char *_kwnames
[] = { "self","pos", NULL
};
1339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSizer_RemovePos",_kwnames
,&_argo0
,&_arg1
))
1342 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1343 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
1344 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_RemovePos. Expected _wxSizer_p.");
1349 wxPy_BEGIN_ALLOW_THREADS
;
1350 _result
= (bool )wxSizer_RemovePos(_arg0
,_arg1
);
1352 wxPy_END_ALLOW_THREADS
;
1353 } _resultobj
= Py_BuildValue("i",_result
);
1357 #define wxSizer_SetDimension(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetDimension(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1358 static PyObject
*_wrap_wxSizer_SetDimension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1359 PyObject
* _resultobj
;
1365 PyObject
* _argo0
= 0;
1366 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
1369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii:wxSizer_SetDimension",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
1372 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1373 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
1374 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_SetDimension. Expected _wxSizer_p.");
1379 wxPy_BEGIN_ALLOW_THREADS
;
1380 wxSizer_SetDimension(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
1382 wxPy_END_ALLOW_THREADS
;
1383 } Py_INCREF(Py_None
);
1384 _resultobj
= Py_None
;
1388 #define wxSizer_SetMinSize(_swigobj,_swigarg0) (_swigobj->SetMinSize(_swigarg0))
1389 static PyObject
*_wrap_wxSizer_SetMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1390 PyObject
* _resultobj
;
1393 PyObject
* _argo0
= 0;
1395 PyObject
* _obj1
= 0;
1396 char *_kwnames
[] = { "self","size", NULL
};
1399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxSizer_SetMinSize",_kwnames
,&_argo0
,&_obj1
))
1402 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1403 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
1404 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_SetMinSize. Expected _wxSizer_p.");
1410 if (! wxSize_helper(_obj1
, &_arg1
))
1414 wxPy_BEGIN_ALLOW_THREADS
;
1415 wxSizer_SetMinSize(_arg0
,*_arg1
);
1417 wxPy_END_ALLOW_THREADS
;
1418 } Py_INCREF(Py_None
);
1419 _resultobj
= Py_None
;
1423 #define wxSizer_SetItemMinSizeWindow(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemMinSize(_swigarg0,_swigarg1,_swigarg2))
1424 static PyObject
*_wrap_wxSizer_SetItemMinSizeWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1425 PyObject
* _resultobj
;
1430 PyObject
* _argo0
= 0;
1431 PyObject
* _argo1
= 0;
1432 char *_kwnames
[] = { "self","window","width","height", NULL
};
1435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxSizer_SetItemMinSizeWindow",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
1438 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1439 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
1440 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_SetItemMinSizeWindow. Expected _wxSizer_p.");
1445 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1446 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1447 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSizer_SetItemMinSizeWindow. Expected _wxWindow_p.");
1452 wxPy_BEGIN_ALLOW_THREADS
;
1453 wxSizer_SetItemMinSizeWindow(_arg0
,_arg1
,_arg2
,_arg3
);
1455 wxPy_END_ALLOW_THREADS
;
1456 } Py_INCREF(Py_None
);
1457 _resultobj
= Py_None
;
1461 #define wxSizer_SetItemMinSizeSizer(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemMinSize(_swigarg0,_swigarg1,_swigarg2))
1462 static PyObject
*_wrap_wxSizer_SetItemMinSizeSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1463 PyObject
* _resultobj
;
1468 PyObject
* _argo0
= 0;
1469 PyObject
* _argo1
= 0;
1470 char *_kwnames
[] = { "self","sizer","width","height", NULL
};
1473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxSizer_SetItemMinSizeSizer",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
1476 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1477 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
1478 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_SetItemMinSizeSizer. Expected _wxSizer_p.");
1483 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1484 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxSizer_p")) {
1485 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSizer_SetItemMinSizeSizer. Expected _wxSizer_p.");
1490 wxPy_BEGIN_ALLOW_THREADS
;
1491 wxSizer_SetItemMinSizeSizer(_arg0
,_arg1
,_arg2
,_arg3
);
1493 wxPy_END_ALLOW_THREADS
;
1494 } Py_INCREF(Py_None
);
1495 _resultobj
= Py_None
;
1499 #define wxSizer_SetItemMinSizePos(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemMinSize(_swigarg0,_swigarg1,_swigarg2))
1500 static PyObject
*_wrap_wxSizer_SetItemMinSizePos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1501 PyObject
* _resultobj
;
1506 PyObject
* _argo0
= 0;
1507 char *_kwnames
[] = { "self","pos","width","height", NULL
};
1510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiii:wxSizer_SetItemMinSizePos",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
1513 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1514 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
1515 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_SetItemMinSizePos. Expected _wxSizer_p.");
1520 wxPy_BEGIN_ALLOW_THREADS
;
1521 wxSizer_SetItemMinSizePos(_arg0
,_arg1
,_arg2
,_arg3
);
1523 wxPy_END_ALLOW_THREADS
;
1524 } Py_INCREF(Py_None
);
1525 _resultobj
= Py_None
;
1529 #define wxSizer_GetSize(_swigobj) (_swigobj->GetSize())
1530 static PyObject
*_wrap_wxSizer_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1531 PyObject
* _resultobj
;
1534 PyObject
* _argo0
= 0;
1535 char *_kwnames
[] = { "self", NULL
};
1539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSizer_GetSize",_kwnames
,&_argo0
))
1542 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1543 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
1544 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_GetSize. Expected _wxSizer_p.");
1549 wxPy_BEGIN_ALLOW_THREADS
;
1550 _result
= new wxSize (wxSizer_GetSize(_arg0
));
1552 wxPy_END_ALLOW_THREADS
;
1553 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
1554 _resultobj
= Py_BuildValue("s",_ptemp
);
1558 #define wxSizer_GetPosition(_swigobj) (_swigobj->GetPosition())
1559 static PyObject
*_wrap_wxSizer_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1560 PyObject
* _resultobj
;
1563 PyObject
* _argo0
= 0;
1564 char *_kwnames
[] = { "self", NULL
};
1568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSizer_GetPosition",_kwnames
,&_argo0
))
1571 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1572 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
1573 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_GetPosition. Expected _wxSizer_p.");
1578 wxPy_BEGIN_ALLOW_THREADS
;
1579 _result
= new wxPoint (wxSizer_GetPosition(_arg0
));
1581 wxPy_END_ALLOW_THREADS
;
1582 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
1583 _resultobj
= Py_BuildValue("s",_ptemp
);
1587 #define wxSizer_GetMinSize(_swigobj) (_swigobj->GetMinSize())
1588 static PyObject
*_wrap_wxSizer_GetMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1589 PyObject
* _resultobj
;
1592 PyObject
* _argo0
= 0;
1593 char *_kwnames
[] = { "self", NULL
};
1597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSizer_GetMinSize",_kwnames
,&_argo0
))
1600 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1601 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
1602 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_GetMinSize. Expected _wxSizer_p.");
1607 wxPy_BEGIN_ALLOW_THREADS
;
1608 _result
= new wxSize (wxSizer_GetMinSize(_arg0
));
1610 wxPy_END_ALLOW_THREADS
;
1611 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
1612 _resultobj
= Py_BuildValue("s",_ptemp
);
1616 #define wxSizer_Layout(_swigobj) (_swigobj->Layout())
1617 static PyObject
*_wrap_wxSizer_Layout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1618 PyObject
* _resultobj
;
1620 PyObject
* _argo0
= 0;
1621 char *_kwnames
[] = { "self", NULL
};
1624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSizer_Layout",_kwnames
,&_argo0
))
1627 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1628 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
1629 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_Layout. Expected _wxSizer_p.");
1634 wxPy_BEGIN_ALLOW_THREADS
;
1635 wxSizer_Layout(_arg0
);
1637 wxPy_END_ALLOW_THREADS
;
1638 } Py_INCREF(Py_None
);
1639 _resultobj
= Py_None
;
1643 #define wxSizer_Fit(_swigobj,_swigarg0) (_swigobj->Fit(_swigarg0))
1644 static PyObject
*_wrap_wxSizer_Fit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1645 PyObject
* _resultobj
;
1648 PyObject
* _argo0
= 0;
1649 PyObject
* _argo1
= 0;
1650 char *_kwnames
[] = { "self","window", NULL
};
1653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxSizer_Fit",_kwnames
,&_argo0
,&_argo1
))
1656 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1657 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
1658 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_Fit. Expected _wxSizer_p.");
1663 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1664 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1665 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSizer_Fit. Expected _wxWindow_p.");
1670 wxPy_BEGIN_ALLOW_THREADS
;
1671 wxSizer_Fit(_arg0
,_arg1
);
1673 wxPy_END_ALLOW_THREADS
;
1674 } Py_INCREF(Py_None
);
1675 _resultobj
= Py_None
;
1679 #define wxSizer_SetSizeHints(_swigobj,_swigarg0) (_swigobj->SetSizeHints(_swigarg0))
1680 static PyObject
*_wrap_wxSizer_SetSizeHints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1681 PyObject
* _resultobj
;
1684 PyObject
* _argo0
= 0;
1685 PyObject
* _argo1
= 0;
1686 char *_kwnames
[] = { "self","window", NULL
};
1689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxSizer_SetSizeHints",_kwnames
,&_argo0
,&_argo1
))
1692 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1693 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
1694 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_SetSizeHints. Expected _wxSizer_p.");
1699 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1700 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1701 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSizer_SetSizeHints. Expected _wxWindow_p.");
1706 wxPy_BEGIN_ALLOW_THREADS
;
1707 wxSizer_SetSizeHints(_arg0
,_arg1
);
1709 wxPy_END_ALLOW_THREADS
;
1710 } Py_INCREF(Py_None
);
1711 _resultobj
= Py_None
;
1715 static PyObject
* wxSizer_GetChildren(wxSizer
*self
) {
1716 wxList
& list
= self
->GetChildren();
1717 return wxPy_ConvertList(&list
, "wxSizerItem");
1719 static PyObject
*_wrap_wxSizer_GetChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1720 PyObject
* _resultobj
;
1723 PyObject
* _argo0
= 0;
1724 char *_kwnames
[] = { "self", NULL
};
1727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSizer_GetChildren",_kwnames
,&_argo0
))
1730 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1731 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
1732 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_GetChildren. Expected _wxSizer_p.");
1737 wxPy_BEGIN_ALLOW_THREADS
;
1738 _result
= (PyObject
*)wxSizer_GetChildren(_arg0
);
1740 wxPy_END_ALLOW_THREADS
;
1742 _resultobj
= _result
;
1747 static void *SwigwxPySizerTowxSizer(void *ptr
) {
1750 src
= (wxPySizer
*) ptr
;
1751 dest
= (wxSizer
*) src
;
1752 return (void *) dest
;
1755 static void *SwigwxPySizerTowxObject(void *ptr
) {
1758 src
= (wxPySizer
*) ptr
;
1759 dest
= (wxObject
*) src
;
1760 return (void *) dest
;
1763 #define new_wxPySizer() (new wxPySizer())
1764 static PyObject
*_wrap_new_wxPySizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1765 PyObject
* _resultobj
;
1766 wxPySizer
* _result
;
1767 char *_kwnames
[] = { NULL
};
1771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPySizer",_kwnames
))
1774 wxPy_BEGIN_ALLOW_THREADS
;
1775 _result
= (wxPySizer
*)new_wxPySizer();
1777 wxPy_END_ALLOW_THREADS
;
1779 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPySizer_p");
1780 _resultobj
= Py_BuildValue("s",_ptemp
);
1783 _resultobj
= Py_None
;
1788 #define wxPySizer__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1))
1789 static PyObject
*_wrap_wxPySizer__setSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1790 PyObject
* _resultobj
;
1794 PyObject
* _argo0
= 0;
1795 PyObject
* _obj1
= 0;
1796 PyObject
* _obj2
= 0;
1797 char *_kwnames
[] = { "self","self","_class", NULL
};
1800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPySizer__setSelf",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
1803 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1804 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPySizer_p")) {
1805 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPySizer__setSelf. Expected _wxPySizer_p.");
1816 wxPy_BEGIN_ALLOW_THREADS
;
1817 wxPySizer__setSelf(_arg0
,_arg1
,_arg2
);
1819 wxPy_END_ALLOW_THREADS
;
1820 } Py_INCREF(Py_None
);
1821 _resultobj
= Py_None
;
1825 static void *SwigwxBoxSizerTowxSizer(void *ptr
) {
1828 src
= (wxBoxSizer
*) ptr
;
1829 dest
= (wxSizer
*) src
;
1830 return (void *) dest
;
1833 static void *SwigwxBoxSizerTowxObject(void *ptr
) {
1836 src
= (wxBoxSizer
*) ptr
;
1837 dest
= (wxObject
*) src
;
1838 return (void *) dest
;
1841 #define new_wxBoxSizer(_swigarg0) (new wxBoxSizer(_swigarg0))
1842 static PyObject
*_wrap_new_wxBoxSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1843 PyObject
* _resultobj
;
1844 wxBoxSizer
* _result
;
1845 int _arg0
= (int ) wxHORIZONTAL
;
1846 char *_kwnames
[] = { "orient", NULL
};
1850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxBoxSizer",_kwnames
,&_arg0
))
1853 wxPy_BEGIN_ALLOW_THREADS
;
1854 _result
= (wxBoxSizer
*)new_wxBoxSizer(_arg0
);
1856 wxPy_END_ALLOW_THREADS
;
1858 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBoxSizer_p");
1859 _resultobj
= Py_BuildValue("s",_ptemp
);
1862 _resultobj
= Py_None
;
1867 #define wxBoxSizer_GetOrientation(_swigobj) (_swigobj->GetOrientation())
1868 static PyObject
*_wrap_wxBoxSizer_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1869 PyObject
* _resultobj
;
1872 PyObject
* _argo0
= 0;
1873 char *_kwnames
[] = { "self", NULL
};
1876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBoxSizer_GetOrientation",_kwnames
,&_argo0
))
1879 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1880 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBoxSizer_p")) {
1881 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBoxSizer_GetOrientation. Expected _wxBoxSizer_p.");
1886 wxPy_BEGIN_ALLOW_THREADS
;
1887 _result
= (int )wxBoxSizer_GetOrientation(_arg0
);
1889 wxPy_END_ALLOW_THREADS
;
1890 } _resultobj
= Py_BuildValue("i",_result
);
1894 #define wxBoxSizer_RecalcSizes(_swigobj) (_swigobj->RecalcSizes())
1895 static PyObject
*_wrap_wxBoxSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1896 PyObject
* _resultobj
;
1898 PyObject
* _argo0
= 0;
1899 char *_kwnames
[] = { "self", NULL
};
1902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBoxSizer_RecalcSizes",_kwnames
,&_argo0
))
1905 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1906 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBoxSizer_p")) {
1907 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBoxSizer_RecalcSizes. Expected _wxBoxSizer_p.");
1912 wxPy_BEGIN_ALLOW_THREADS
;
1913 wxBoxSizer_RecalcSizes(_arg0
);
1915 wxPy_END_ALLOW_THREADS
;
1916 } Py_INCREF(Py_None
);
1917 _resultobj
= Py_None
;
1921 #define wxBoxSizer_CalcMin(_swigobj) (_swigobj->CalcMin())
1922 static PyObject
*_wrap_wxBoxSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1923 PyObject
* _resultobj
;
1926 PyObject
* _argo0
= 0;
1927 char *_kwnames
[] = { "self", NULL
};
1931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBoxSizer_CalcMin",_kwnames
,&_argo0
))
1934 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1935 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBoxSizer_p")) {
1936 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBoxSizer_CalcMin. Expected _wxBoxSizer_p.");
1941 wxPy_BEGIN_ALLOW_THREADS
;
1942 _result
= new wxSize (wxBoxSizer_CalcMin(_arg0
));
1944 wxPy_END_ALLOW_THREADS
;
1945 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
1946 _resultobj
= Py_BuildValue("s",_ptemp
);
1950 static void *SwigwxStaticBoxSizerTowxBoxSizer(void *ptr
) {
1951 wxStaticBoxSizer
*src
;
1953 src
= (wxStaticBoxSizer
*) ptr
;
1954 dest
= (wxBoxSizer
*) src
;
1955 return (void *) dest
;
1958 static void *SwigwxStaticBoxSizerTowxSizer(void *ptr
) {
1959 wxStaticBoxSizer
*src
;
1961 src
= (wxStaticBoxSizer
*) ptr
;
1962 dest
= (wxSizer
*) src
;
1963 return (void *) dest
;
1966 static void *SwigwxStaticBoxSizerTowxObject(void *ptr
) {
1967 wxStaticBoxSizer
*src
;
1969 src
= (wxStaticBoxSizer
*) ptr
;
1970 dest
= (wxObject
*) src
;
1971 return (void *) dest
;
1974 #define new_wxStaticBoxSizer(_swigarg0,_swigarg1) (new wxStaticBoxSizer(_swigarg0,_swigarg1))
1975 static PyObject
*_wrap_new_wxStaticBoxSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1976 PyObject
* _resultobj
;
1977 wxStaticBoxSizer
* _result
;
1978 wxStaticBox
* _arg0
;
1979 int _arg1
= (int ) wxHORIZONTAL
;
1980 PyObject
* _argo0
= 0;
1981 char *_kwnames
[] = { "box","orient", NULL
};
1985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:new_wxStaticBoxSizer",_kwnames
,&_argo0
,&_arg1
))
1988 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1989 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticBox_p")) {
1990 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxStaticBoxSizer. Expected _wxStaticBox_p.");
1995 wxPy_BEGIN_ALLOW_THREADS
;
1996 _result
= (wxStaticBoxSizer
*)new_wxStaticBoxSizer(_arg0
,_arg1
);
1998 wxPy_END_ALLOW_THREADS
;
2000 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticBoxSizer_p");
2001 _resultobj
= Py_BuildValue("s",_ptemp
);
2004 _resultobj
= Py_None
;
2009 #define wxStaticBoxSizer_GetStaticBox(_swigobj) (_swigobj->GetStaticBox())
2010 static PyObject
*_wrap_wxStaticBoxSizer_GetStaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2011 PyObject
* _resultobj
;
2012 wxStaticBox
* _result
;
2013 wxStaticBoxSizer
* _arg0
;
2014 PyObject
* _argo0
= 0;
2015 char *_kwnames
[] = { "self", NULL
};
2018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStaticBoxSizer_GetStaticBox",_kwnames
,&_argo0
))
2021 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2022 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticBoxSizer_p")) {
2023 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticBoxSizer_GetStaticBox. Expected _wxStaticBoxSizer_p.");
2028 wxPy_BEGIN_ALLOW_THREADS
;
2029 _result
= (wxStaticBox
*)wxStaticBoxSizer_GetStaticBox(_arg0
);
2031 wxPy_END_ALLOW_THREADS
;
2032 }{ _resultobj
= wxPyMake_wxObject(_result
); }
2036 #define wxStaticBoxSizer_RecalcSizes(_swigobj) (_swigobj->RecalcSizes())
2037 static PyObject
*_wrap_wxStaticBoxSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2038 PyObject
* _resultobj
;
2039 wxStaticBoxSizer
* _arg0
;
2040 PyObject
* _argo0
= 0;
2041 char *_kwnames
[] = { "self", NULL
};
2044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStaticBoxSizer_RecalcSizes",_kwnames
,&_argo0
))
2047 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2048 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticBoxSizer_p")) {
2049 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticBoxSizer_RecalcSizes. Expected _wxStaticBoxSizer_p.");
2054 wxPy_BEGIN_ALLOW_THREADS
;
2055 wxStaticBoxSizer_RecalcSizes(_arg0
);
2057 wxPy_END_ALLOW_THREADS
;
2058 } Py_INCREF(Py_None
);
2059 _resultobj
= Py_None
;
2063 #define wxStaticBoxSizer_CalcMin(_swigobj) (_swigobj->CalcMin())
2064 static PyObject
*_wrap_wxStaticBoxSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2065 PyObject
* _resultobj
;
2067 wxStaticBoxSizer
* _arg0
;
2068 PyObject
* _argo0
= 0;
2069 char *_kwnames
[] = { "self", NULL
};
2073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStaticBoxSizer_CalcMin",_kwnames
,&_argo0
))
2076 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2077 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticBoxSizer_p")) {
2078 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticBoxSizer_CalcMin. Expected _wxStaticBoxSizer_p.");
2083 wxPy_BEGIN_ALLOW_THREADS
;
2084 _result
= new wxSize (wxStaticBoxSizer_CalcMin(_arg0
));
2086 wxPy_END_ALLOW_THREADS
;
2087 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2088 _resultobj
= Py_BuildValue("s",_ptemp
);
2092 static void *SwigwxNotebookSizerTowxSizer(void *ptr
) {
2093 wxNotebookSizer
*src
;
2095 src
= (wxNotebookSizer
*) ptr
;
2096 dest
= (wxSizer
*) src
;
2097 return (void *) dest
;
2100 static void *SwigwxNotebookSizerTowxObject(void *ptr
) {
2101 wxNotebookSizer
*src
;
2103 src
= (wxNotebookSizer
*) ptr
;
2104 dest
= (wxObject
*) src
;
2105 return (void *) dest
;
2108 #define new_wxNotebookSizer(_swigarg0) (new wxNotebookSizer(_swigarg0))
2109 static PyObject
*_wrap_new_wxNotebookSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2110 PyObject
* _resultobj
;
2111 wxNotebookSizer
* _result
;
2113 PyObject
* _argo0
= 0;
2114 char *_kwnames
[] = { "nb", NULL
};
2118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxNotebookSizer",_kwnames
,&_argo0
))
2121 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2122 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
2123 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxNotebookSizer. Expected _wxNotebook_p.");
2128 wxPy_BEGIN_ALLOW_THREADS
;
2129 _result
= (wxNotebookSizer
*)new_wxNotebookSizer(_arg0
);
2131 wxPy_END_ALLOW_THREADS
;
2133 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxNotebookSizer_p");
2134 _resultobj
= Py_BuildValue("s",_ptemp
);
2137 _resultobj
= Py_None
;
2142 #define wxNotebookSizer_RecalcSizes(_swigobj) (_swigobj->RecalcSizes())
2143 static PyObject
*_wrap_wxNotebookSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2144 PyObject
* _resultobj
;
2145 wxNotebookSizer
* _arg0
;
2146 PyObject
* _argo0
= 0;
2147 char *_kwnames
[] = { "self", NULL
};
2150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebookSizer_RecalcSizes",_kwnames
,&_argo0
))
2153 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2154 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebookSizer_p")) {
2155 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebookSizer_RecalcSizes. Expected _wxNotebookSizer_p.");
2160 wxPy_BEGIN_ALLOW_THREADS
;
2161 wxNotebookSizer_RecalcSizes(_arg0
);
2163 wxPy_END_ALLOW_THREADS
;
2164 } Py_INCREF(Py_None
);
2165 _resultobj
= Py_None
;
2169 #define wxNotebookSizer_CalcMin(_swigobj) (_swigobj->CalcMin())
2170 static PyObject
*_wrap_wxNotebookSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2171 PyObject
* _resultobj
;
2173 wxNotebookSizer
* _arg0
;
2174 PyObject
* _argo0
= 0;
2175 char *_kwnames
[] = { "self", NULL
};
2179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebookSizer_CalcMin",_kwnames
,&_argo0
))
2182 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2183 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebookSizer_p")) {
2184 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebookSizer_CalcMin. Expected _wxNotebookSizer_p.");
2189 wxPy_BEGIN_ALLOW_THREADS
;
2190 _result
= new wxSize (wxNotebookSizer_CalcMin(_arg0
));
2192 wxPy_END_ALLOW_THREADS
;
2193 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2194 _resultobj
= Py_BuildValue("s",_ptemp
);
2198 #define wxNotebookSizer_GetNotebook(_swigobj) (_swigobj->GetNotebook())
2199 static PyObject
*_wrap_wxNotebookSizer_GetNotebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2200 PyObject
* _resultobj
;
2201 wxNotebook
* _result
;
2202 wxNotebookSizer
* _arg0
;
2203 PyObject
* _argo0
= 0;
2204 char *_kwnames
[] = { "self", NULL
};
2207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebookSizer_GetNotebook",_kwnames
,&_argo0
))
2210 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2211 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebookSizer_p")) {
2212 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebookSizer_GetNotebook. Expected _wxNotebookSizer_p.");
2217 wxPy_BEGIN_ALLOW_THREADS
;
2218 _result
= (wxNotebook
*)wxNotebookSizer_GetNotebook(_arg0
);
2220 wxPy_END_ALLOW_THREADS
;
2221 }{ _resultobj
= wxPyMake_wxObject(_result
); }
2225 static void *SwigwxGridSizerTowxSizer(void *ptr
) {
2228 src
= (wxGridSizer
*) ptr
;
2229 dest
= (wxSizer
*) src
;
2230 return (void *) dest
;
2233 static void *SwigwxGridSizerTowxObject(void *ptr
) {
2236 src
= (wxGridSizer
*) ptr
;
2237 dest
= (wxObject
*) src
;
2238 return (void *) dest
;
2241 #define new_wxGridSizer(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxGridSizer(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2242 static PyObject
*_wrap_new_wxGridSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2243 PyObject
* _resultobj
;
2244 wxGridSizer
* _result
;
2245 int _arg0
= (int ) 1;
2246 int _arg1
= (int ) 0;
2247 int _arg2
= (int ) 0;
2248 int _arg3
= (int ) 0;
2249 char *_kwnames
[] = { "rows","cols","vgap","hgap", NULL
};
2253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iiii:new_wxGridSizer",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))
2256 wxPy_BEGIN_ALLOW_THREADS
;
2257 _result
= (wxGridSizer
*)new_wxGridSizer(_arg0
,_arg1
,_arg2
,_arg3
);
2259 wxPy_END_ALLOW_THREADS
;
2261 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridSizer_p");
2262 _resultobj
= Py_BuildValue("s",_ptemp
);
2265 _resultobj
= Py_None
;
2270 #define wxGridSizer_RecalcSizes(_swigobj) (_swigobj->RecalcSizes())
2271 static PyObject
*_wrap_wxGridSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2272 PyObject
* _resultobj
;
2273 wxGridSizer
* _arg0
;
2274 PyObject
* _argo0
= 0;
2275 char *_kwnames
[] = { "self", NULL
};
2278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridSizer_RecalcSizes",_kwnames
,&_argo0
))
2281 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2282 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridSizer_p")) {
2283 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridSizer_RecalcSizes. Expected _wxGridSizer_p.");
2288 wxPy_BEGIN_ALLOW_THREADS
;
2289 wxGridSizer_RecalcSizes(_arg0
);
2291 wxPy_END_ALLOW_THREADS
;
2292 } Py_INCREF(Py_None
);
2293 _resultobj
= Py_None
;
2297 #define wxGridSizer_CalcMin(_swigobj) (_swigobj->CalcMin())
2298 static PyObject
*_wrap_wxGridSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2299 PyObject
* _resultobj
;
2301 wxGridSizer
* _arg0
;
2302 PyObject
* _argo0
= 0;
2303 char *_kwnames
[] = { "self", NULL
};
2307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridSizer_CalcMin",_kwnames
,&_argo0
))
2310 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2311 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridSizer_p")) {
2312 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridSizer_CalcMin. Expected _wxGridSizer_p.");
2317 wxPy_BEGIN_ALLOW_THREADS
;
2318 _result
= new wxSize (wxGridSizer_CalcMin(_arg0
));
2320 wxPy_END_ALLOW_THREADS
;
2321 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2322 _resultobj
= Py_BuildValue("s",_ptemp
);
2326 #define wxGridSizer_SetCols(_swigobj,_swigarg0) (_swigobj->SetCols(_swigarg0))
2327 static PyObject
*_wrap_wxGridSizer_SetCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2328 PyObject
* _resultobj
;
2329 wxGridSizer
* _arg0
;
2331 PyObject
* _argo0
= 0;
2332 char *_kwnames
[] = { "self","cols", NULL
};
2335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridSizer_SetCols",_kwnames
,&_argo0
,&_arg1
))
2338 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2339 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridSizer_p")) {
2340 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridSizer_SetCols. Expected _wxGridSizer_p.");
2345 wxPy_BEGIN_ALLOW_THREADS
;
2346 wxGridSizer_SetCols(_arg0
,_arg1
);
2348 wxPy_END_ALLOW_THREADS
;
2349 } Py_INCREF(Py_None
);
2350 _resultobj
= Py_None
;
2354 #define wxGridSizer_SetRows(_swigobj,_swigarg0) (_swigobj->SetRows(_swigarg0))
2355 static PyObject
*_wrap_wxGridSizer_SetRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2356 PyObject
* _resultobj
;
2357 wxGridSizer
* _arg0
;
2359 PyObject
* _argo0
= 0;
2360 char *_kwnames
[] = { "self","rows", NULL
};
2363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridSizer_SetRows",_kwnames
,&_argo0
,&_arg1
))
2366 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2367 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridSizer_p")) {
2368 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridSizer_SetRows. Expected _wxGridSizer_p.");
2373 wxPy_BEGIN_ALLOW_THREADS
;
2374 wxGridSizer_SetRows(_arg0
,_arg1
);
2376 wxPy_END_ALLOW_THREADS
;
2377 } Py_INCREF(Py_None
);
2378 _resultobj
= Py_None
;
2382 #define wxGridSizer_SetVGap(_swigobj,_swigarg0) (_swigobj->SetVGap(_swigarg0))
2383 static PyObject
*_wrap_wxGridSizer_SetVGap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2384 PyObject
* _resultobj
;
2385 wxGridSizer
* _arg0
;
2387 PyObject
* _argo0
= 0;
2388 char *_kwnames
[] = { "self","gap", NULL
};
2391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridSizer_SetVGap",_kwnames
,&_argo0
,&_arg1
))
2394 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2395 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridSizer_p")) {
2396 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridSizer_SetVGap. Expected _wxGridSizer_p.");
2401 wxPy_BEGIN_ALLOW_THREADS
;
2402 wxGridSizer_SetVGap(_arg0
,_arg1
);
2404 wxPy_END_ALLOW_THREADS
;
2405 } Py_INCREF(Py_None
);
2406 _resultobj
= Py_None
;
2410 #define wxGridSizer_SetHGap(_swigobj,_swigarg0) (_swigobj->SetHGap(_swigarg0))
2411 static PyObject
*_wrap_wxGridSizer_SetHGap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2412 PyObject
* _resultobj
;
2413 wxGridSizer
* _arg0
;
2415 PyObject
* _argo0
= 0;
2416 char *_kwnames
[] = { "self","gap", NULL
};
2419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridSizer_SetHGap",_kwnames
,&_argo0
,&_arg1
))
2422 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2423 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridSizer_p")) {
2424 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridSizer_SetHGap. Expected _wxGridSizer_p.");
2429 wxPy_BEGIN_ALLOW_THREADS
;
2430 wxGridSizer_SetHGap(_arg0
,_arg1
);
2432 wxPy_END_ALLOW_THREADS
;
2433 } Py_INCREF(Py_None
);
2434 _resultobj
= Py_None
;
2438 #define wxGridSizer_GetCols(_swigobj) (_swigobj->GetCols())
2439 static PyObject
*_wrap_wxGridSizer_GetCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2440 PyObject
* _resultobj
;
2442 wxGridSizer
* _arg0
;
2443 PyObject
* _argo0
= 0;
2444 char *_kwnames
[] = { "self", NULL
};
2447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridSizer_GetCols",_kwnames
,&_argo0
))
2450 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2451 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridSizer_p")) {
2452 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridSizer_GetCols. Expected _wxGridSizer_p.");
2457 wxPy_BEGIN_ALLOW_THREADS
;
2458 _result
= (int )wxGridSizer_GetCols(_arg0
);
2460 wxPy_END_ALLOW_THREADS
;
2461 } _resultobj
= Py_BuildValue("i",_result
);
2465 #define wxGridSizer_GetRows(_swigobj) (_swigobj->GetRows())
2466 static PyObject
*_wrap_wxGridSizer_GetRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2467 PyObject
* _resultobj
;
2469 wxGridSizer
* _arg0
;
2470 PyObject
* _argo0
= 0;
2471 char *_kwnames
[] = { "self", NULL
};
2474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridSizer_GetRows",_kwnames
,&_argo0
))
2477 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2478 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridSizer_p")) {
2479 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridSizer_GetRows. Expected _wxGridSizer_p.");
2484 wxPy_BEGIN_ALLOW_THREADS
;
2485 _result
= (int )wxGridSizer_GetRows(_arg0
);
2487 wxPy_END_ALLOW_THREADS
;
2488 } _resultobj
= Py_BuildValue("i",_result
);
2492 #define wxGridSizer_GetVGap(_swigobj) (_swigobj->GetVGap())
2493 static PyObject
*_wrap_wxGridSizer_GetVGap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2494 PyObject
* _resultobj
;
2496 wxGridSizer
* _arg0
;
2497 PyObject
* _argo0
= 0;
2498 char *_kwnames
[] = { "self", NULL
};
2501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridSizer_GetVGap",_kwnames
,&_argo0
))
2504 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2505 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridSizer_p")) {
2506 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridSizer_GetVGap. Expected _wxGridSizer_p.");
2511 wxPy_BEGIN_ALLOW_THREADS
;
2512 _result
= (int )wxGridSizer_GetVGap(_arg0
);
2514 wxPy_END_ALLOW_THREADS
;
2515 } _resultobj
= Py_BuildValue("i",_result
);
2519 #define wxGridSizer_GetHGap(_swigobj) (_swigobj->GetHGap())
2520 static PyObject
*_wrap_wxGridSizer_GetHGap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2521 PyObject
* _resultobj
;
2523 wxGridSizer
* _arg0
;
2524 PyObject
* _argo0
= 0;
2525 char *_kwnames
[] = { "self", NULL
};
2528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridSizer_GetHGap",_kwnames
,&_argo0
))
2531 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2532 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridSizer_p")) {
2533 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridSizer_GetHGap. Expected _wxGridSizer_p.");
2538 wxPy_BEGIN_ALLOW_THREADS
;
2539 _result
= (int )wxGridSizer_GetHGap(_arg0
);
2541 wxPy_END_ALLOW_THREADS
;
2542 } _resultobj
= Py_BuildValue("i",_result
);
2546 static void *SwigwxFlexGridSizerTowxGridSizer(void *ptr
) {
2547 wxFlexGridSizer
*src
;
2549 src
= (wxFlexGridSizer
*) ptr
;
2550 dest
= (wxGridSizer
*) src
;
2551 return (void *) dest
;
2554 static void *SwigwxFlexGridSizerTowxSizer(void *ptr
) {
2555 wxFlexGridSizer
*src
;
2557 src
= (wxFlexGridSizer
*) ptr
;
2558 dest
= (wxSizer
*) src
;
2559 return (void *) dest
;
2562 static void *SwigwxFlexGridSizerTowxObject(void *ptr
) {
2563 wxFlexGridSizer
*src
;
2565 src
= (wxFlexGridSizer
*) ptr
;
2566 dest
= (wxObject
*) src
;
2567 return (void *) dest
;
2570 #define new_wxFlexGridSizer(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxFlexGridSizer(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2571 static PyObject
*_wrap_new_wxFlexGridSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2572 PyObject
* _resultobj
;
2573 wxFlexGridSizer
* _result
;
2574 int _arg0
= (int ) 1;
2575 int _arg1
= (int ) 0;
2576 int _arg2
= (int ) 0;
2577 int _arg3
= (int ) 0;
2578 char *_kwnames
[] = { "rows","cols","vgap","hgap", NULL
};
2582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iiii:new_wxFlexGridSizer",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))
2585 wxPy_BEGIN_ALLOW_THREADS
;
2586 _result
= (wxFlexGridSizer
*)new_wxFlexGridSizer(_arg0
,_arg1
,_arg2
,_arg3
);
2588 wxPy_END_ALLOW_THREADS
;
2590 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFlexGridSizer_p");
2591 _resultobj
= Py_BuildValue("s",_ptemp
);
2594 _resultobj
= Py_None
;
2599 #define wxFlexGridSizer_RecalcSizes(_swigobj) (_swigobj->RecalcSizes())
2600 static PyObject
*_wrap_wxFlexGridSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2601 PyObject
* _resultobj
;
2602 wxFlexGridSizer
* _arg0
;
2603 PyObject
* _argo0
= 0;
2604 char *_kwnames
[] = { "self", NULL
};
2607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFlexGridSizer_RecalcSizes",_kwnames
,&_argo0
))
2610 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2611 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFlexGridSizer_p")) {
2612 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFlexGridSizer_RecalcSizes. Expected _wxFlexGridSizer_p.");
2617 wxPy_BEGIN_ALLOW_THREADS
;
2618 wxFlexGridSizer_RecalcSizes(_arg0
);
2620 wxPy_END_ALLOW_THREADS
;
2621 } Py_INCREF(Py_None
);
2622 _resultobj
= Py_None
;
2626 #define wxFlexGridSizer_CalcMin(_swigobj) (_swigobj->CalcMin())
2627 static PyObject
*_wrap_wxFlexGridSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2628 PyObject
* _resultobj
;
2630 wxFlexGridSizer
* _arg0
;
2631 PyObject
* _argo0
= 0;
2632 char *_kwnames
[] = { "self", NULL
};
2636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFlexGridSizer_CalcMin",_kwnames
,&_argo0
))
2639 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2640 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFlexGridSizer_p")) {
2641 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFlexGridSizer_CalcMin. Expected _wxFlexGridSizer_p.");
2646 wxPy_BEGIN_ALLOW_THREADS
;
2647 _result
= new wxSize (wxFlexGridSizer_CalcMin(_arg0
));
2649 wxPy_END_ALLOW_THREADS
;
2650 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2651 _resultobj
= Py_BuildValue("s",_ptemp
);
2655 #define wxFlexGridSizer_AddGrowableRow(_swigobj,_swigarg0) (_swigobj->AddGrowableRow(_swigarg0))
2656 static PyObject
*_wrap_wxFlexGridSizer_AddGrowableRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2657 PyObject
* _resultobj
;
2658 wxFlexGridSizer
* _arg0
;
2660 PyObject
* _argo0
= 0;
2661 char *_kwnames
[] = { "self","idx", NULL
};
2664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFlexGridSizer_AddGrowableRow",_kwnames
,&_argo0
,&_arg1
))
2667 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2668 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFlexGridSizer_p")) {
2669 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFlexGridSizer_AddGrowableRow. Expected _wxFlexGridSizer_p.");
2674 wxPy_BEGIN_ALLOW_THREADS
;
2675 wxFlexGridSizer_AddGrowableRow(_arg0
,_arg1
);
2677 wxPy_END_ALLOW_THREADS
;
2678 } Py_INCREF(Py_None
);
2679 _resultobj
= Py_None
;
2683 #define wxFlexGridSizer_RemoveGrowableRow(_swigobj,_swigarg0) (_swigobj->RemoveGrowableRow(_swigarg0))
2684 static PyObject
*_wrap_wxFlexGridSizer_RemoveGrowableRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2685 PyObject
* _resultobj
;
2686 wxFlexGridSizer
* _arg0
;
2688 PyObject
* _argo0
= 0;
2689 char *_kwnames
[] = { "self","idx", NULL
};
2692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFlexGridSizer_RemoveGrowableRow",_kwnames
,&_argo0
,&_arg1
))
2695 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2696 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFlexGridSizer_p")) {
2697 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFlexGridSizer_RemoveGrowableRow. Expected _wxFlexGridSizer_p.");
2702 wxPy_BEGIN_ALLOW_THREADS
;
2703 wxFlexGridSizer_RemoveGrowableRow(_arg0
,_arg1
);
2705 wxPy_END_ALLOW_THREADS
;
2706 } Py_INCREF(Py_None
);
2707 _resultobj
= Py_None
;
2711 #define wxFlexGridSizer_AddGrowableCol(_swigobj,_swigarg0) (_swigobj->AddGrowableCol(_swigarg0))
2712 static PyObject
*_wrap_wxFlexGridSizer_AddGrowableCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2713 PyObject
* _resultobj
;
2714 wxFlexGridSizer
* _arg0
;
2716 PyObject
* _argo0
= 0;
2717 char *_kwnames
[] = { "self","idx", NULL
};
2720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFlexGridSizer_AddGrowableCol",_kwnames
,&_argo0
,&_arg1
))
2723 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2724 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFlexGridSizer_p")) {
2725 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFlexGridSizer_AddGrowableCol. Expected _wxFlexGridSizer_p.");
2730 wxPy_BEGIN_ALLOW_THREADS
;
2731 wxFlexGridSizer_AddGrowableCol(_arg0
,_arg1
);
2733 wxPy_END_ALLOW_THREADS
;
2734 } Py_INCREF(Py_None
);
2735 _resultobj
= Py_None
;
2739 #define wxFlexGridSizer_RemoveGrowableCol(_swigobj,_swigarg0) (_swigobj->RemoveGrowableCol(_swigarg0))
2740 static PyObject
*_wrap_wxFlexGridSizer_RemoveGrowableCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2741 PyObject
* _resultobj
;
2742 wxFlexGridSizer
* _arg0
;
2744 PyObject
* _argo0
= 0;
2745 char *_kwnames
[] = { "self","idx", NULL
};
2748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFlexGridSizer_RemoveGrowableCol",_kwnames
,&_argo0
,&_arg1
))
2751 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2752 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFlexGridSizer_p")) {
2753 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFlexGridSizer_RemoveGrowableCol. Expected _wxFlexGridSizer_p.");
2758 wxPy_BEGIN_ALLOW_THREADS
;
2759 wxFlexGridSizer_RemoveGrowableCol(_arg0
,_arg1
);
2761 wxPy_END_ALLOW_THREADS
;
2762 } Py_INCREF(Py_None
);
2763 _resultobj
= Py_None
;
2767 static PyMethodDef sizerscMethods
[] = {
2768 { "wxFlexGridSizer_RemoveGrowableCol", (PyCFunction
) _wrap_wxFlexGridSizer_RemoveGrowableCol
, METH_VARARGS
| METH_KEYWORDS
},
2769 { "wxFlexGridSizer_AddGrowableCol", (PyCFunction
) _wrap_wxFlexGridSizer_AddGrowableCol
, METH_VARARGS
| METH_KEYWORDS
},
2770 { "wxFlexGridSizer_RemoveGrowableRow", (PyCFunction
) _wrap_wxFlexGridSizer_RemoveGrowableRow
, METH_VARARGS
| METH_KEYWORDS
},
2771 { "wxFlexGridSizer_AddGrowableRow", (PyCFunction
) _wrap_wxFlexGridSizer_AddGrowableRow
, METH_VARARGS
| METH_KEYWORDS
},
2772 { "wxFlexGridSizer_CalcMin", (PyCFunction
) _wrap_wxFlexGridSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
2773 { "wxFlexGridSizer_RecalcSizes", (PyCFunction
) _wrap_wxFlexGridSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
2774 { "new_wxFlexGridSizer", (PyCFunction
) _wrap_new_wxFlexGridSizer
, METH_VARARGS
| METH_KEYWORDS
},
2775 { "wxGridSizer_GetHGap", (PyCFunction
) _wrap_wxGridSizer_GetHGap
, METH_VARARGS
| METH_KEYWORDS
},
2776 { "wxGridSizer_GetVGap", (PyCFunction
) _wrap_wxGridSizer_GetVGap
, METH_VARARGS
| METH_KEYWORDS
},
2777 { "wxGridSizer_GetRows", (PyCFunction
) _wrap_wxGridSizer_GetRows
, METH_VARARGS
| METH_KEYWORDS
},
2778 { "wxGridSizer_GetCols", (PyCFunction
) _wrap_wxGridSizer_GetCols
, METH_VARARGS
| METH_KEYWORDS
},
2779 { "wxGridSizer_SetHGap", (PyCFunction
) _wrap_wxGridSizer_SetHGap
, METH_VARARGS
| METH_KEYWORDS
},
2780 { "wxGridSizer_SetVGap", (PyCFunction
) _wrap_wxGridSizer_SetVGap
, METH_VARARGS
| METH_KEYWORDS
},
2781 { "wxGridSizer_SetRows", (PyCFunction
) _wrap_wxGridSizer_SetRows
, METH_VARARGS
| METH_KEYWORDS
},
2782 { "wxGridSizer_SetCols", (PyCFunction
) _wrap_wxGridSizer_SetCols
, METH_VARARGS
| METH_KEYWORDS
},
2783 { "wxGridSizer_CalcMin", (PyCFunction
) _wrap_wxGridSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
2784 { "wxGridSizer_RecalcSizes", (PyCFunction
) _wrap_wxGridSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
2785 { "new_wxGridSizer", (PyCFunction
) _wrap_new_wxGridSizer
, METH_VARARGS
| METH_KEYWORDS
},
2786 { "wxNotebookSizer_GetNotebook", (PyCFunction
) _wrap_wxNotebookSizer_GetNotebook
, METH_VARARGS
| METH_KEYWORDS
},
2787 { "wxNotebookSizer_CalcMin", (PyCFunction
) _wrap_wxNotebookSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
2788 { "wxNotebookSizer_RecalcSizes", (PyCFunction
) _wrap_wxNotebookSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
2789 { "new_wxNotebookSizer", (PyCFunction
) _wrap_new_wxNotebookSizer
, METH_VARARGS
| METH_KEYWORDS
},
2790 { "wxStaticBoxSizer_CalcMin", (PyCFunction
) _wrap_wxStaticBoxSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
2791 { "wxStaticBoxSizer_RecalcSizes", (PyCFunction
) _wrap_wxStaticBoxSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
2792 { "wxStaticBoxSizer_GetStaticBox", (PyCFunction
) _wrap_wxStaticBoxSizer_GetStaticBox
, METH_VARARGS
| METH_KEYWORDS
},
2793 { "new_wxStaticBoxSizer", (PyCFunction
) _wrap_new_wxStaticBoxSizer
, METH_VARARGS
| METH_KEYWORDS
},
2794 { "wxBoxSizer_CalcMin", (PyCFunction
) _wrap_wxBoxSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
2795 { "wxBoxSizer_RecalcSizes", (PyCFunction
) _wrap_wxBoxSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
2796 { "wxBoxSizer_GetOrientation", (PyCFunction
) _wrap_wxBoxSizer_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
2797 { "new_wxBoxSizer", (PyCFunction
) _wrap_new_wxBoxSizer
, METH_VARARGS
| METH_KEYWORDS
},
2798 { "wxPySizer__setSelf", (PyCFunction
) _wrap_wxPySizer__setSelf
, METH_VARARGS
| METH_KEYWORDS
},
2799 { "new_wxPySizer", (PyCFunction
) _wrap_new_wxPySizer
, METH_VARARGS
| METH_KEYWORDS
},
2800 { "wxSizer_GetChildren", (PyCFunction
) _wrap_wxSizer_GetChildren
, METH_VARARGS
| METH_KEYWORDS
},
2801 { "wxSizer_SetSizeHints", (PyCFunction
) _wrap_wxSizer_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
},
2802 { "wxSizer_Fit", (PyCFunction
) _wrap_wxSizer_Fit
, METH_VARARGS
| METH_KEYWORDS
},
2803 { "wxSizer_Layout", (PyCFunction
) _wrap_wxSizer_Layout
, METH_VARARGS
| METH_KEYWORDS
},
2804 { "wxSizer_GetMinSize", (PyCFunction
) _wrap_wxSizer_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
2805 { "wxSizer_GetPosition", (PyCFunction
) _wrap_wxSizer_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
2806 { "wxSizer_GetSize", (PyCFunction
) _wrap_wxSizer_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
2807 { "wxSizer_SetItemMinSizePos", (PyCFunction
) _wrap_wxSizer_SetItemMinSizePos
, METH_VARARGS
| METH_KEYWORDS
},
2808 { "wxSizer_SetItemMinSizeSizer", (PyCFunction
) _wrap_wxSizer_SetItemMinSizeSizer
, METH_VARARGS
| METH_KEYWORDS
},
2809 { "wxSizer_SetItemMinSizeWindow", (PyCFunction
) _wrap_wxSizer_SetItemMinSizeWindow
, METH_VARARGS
| METH_KEYWORDS
},
2810 { "wxSizer_SetMinSize", (PyCFunction
) _wrap_wxSizer_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
2811 { "wxSizer_SetDimension", (PyCFunction
) _wrap_wxSizer_SetDimension
, METH_VARARGS
| METH_KEYWORDS
},
2812 { "wxSizer_RemovePos", (PyCFunction
) _wrap_wxSizer_RemovePos
, METH_VARARGS
| METH_KEYWORDS
},
2813 { "wxSizer_RemoveSizer", (PyCFunction
) _wrap_wxSizer_RemoveSizer
, METH_VARARGS
| METH_KEYWORDS
},
2814 { "wxSizer_RemoveWindow", (PyCFunction
) _wrap_wxSizer_RemoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
2815 { "wxSizer_PrependSpacer", (PyCFunction
) _wrap_wxSizer_PrependSpacer
, METH_VARARGS
| METH_KEYWORDS
},
2816 { "wxSizer_PrependSizer", (PyCFunction
) _wrap_wxSizer_PrependSizer
, METH_VARARGS
| METH_KEYWORDS
},
2817 { "wxSizer_PrependWindow", (PyCFunction
) _wrap_wxSizer_PrependWindow
, METH_VARARGS
| METH_KEYWORDS
},
2818 { "wxSizer_InsertSpacer", (PyCFunction
) _wrap_wxSizer_InsertSpacer
, METH_VARARGS
| METH_KEYWORDS
},
2819 { "wxSizer_InsertSizer", (PyCFunction
) _wrap_wxSizer_InsertSizer
, METH_VARARGS
| METH_KEYWORDS
},
2820 { "wxSizer_InsertWindow", (PyCFunction
) _wrap_wxSizer_InsertWindow
, METH_VARARGS
| METH_KEYWORDS
},
2821 { "wxSizer_AddSpacer", (PyCFunction
) _wrap_wxSizer_AddSpacer
, METH_VARARGS
| METH_KEYWORDS
},
2822 { "wxSizer_AddSizer", (PyCFunction
) _wrap_wxSizer_AddSizer
, METH_VARARGS
| METH_KEYWORDS
},
2823 { "wxSizer_AddWindow", (PyCFunction
) _wrap_wxSizer_AddWindow
, METH_VARARGS
| METH_KEYWORDS
},
2824 { "wxSizer_Destroy", (PyCFunction
) _wrap_wxSizer_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
2825 { "wxSizerItem_GetUserData", (PyCFunction
) _wrap_wxSizerItem_GetUserData
, METH_VARARGS
| METH_KEYWORDS
},
2826 { "wxSizerItem_SetBorder", (PyCFunction
) _wrap_wxSizerItem_SetBorder
, METH_VARARGS
| METH_KEYWORDS
},
2827 { "wxSizerItem_SetFlag", (PyCFunction
) _wrap_wxSizerItem_SetFlag
, METH_VARARGS
| METH_KEYWORDS
},
2828 { "wxSizerItem_SetOption", (PyCFunction
) _wrap_wxSizerItem_SetOption
, METH_VARARGS
| METH_KEYWORDS
},
2829 { "wxSizerItem_SetInitSize", (PyCFunction
) _wrap_wxSizerItem_SetInitSize
, METH_VARARGS
| METH_KEYWORDS
},
2830 { "wxSizerItem_GetBorder", (PyCFunction
) _wrap_wxSizerItem_GetBorder
, METH_VARARGS
| METH_KEYWORDS
},
2831 { "wxSizerItem_GetFlag", (PyCFunction
) _wrap_wxSizerItem_GetFlag
, METH_VARARGS
| METH_KEYWORDS
},
2832 { "wxSizerItem_GetOption", (PyCFunction
) _wrap_wxSizerItem_GetOption
, METH_VARARGS
| METH_KEYWORDS
},
2833 { "wxSizerItem_SetSizer", (PyCFunction
) _wrap_wxSizerItem_SetSizer
, METH_VARARGS
| METH_KEYWORDS
},
2834 { "wxSizerItem_GetSizer", (PyCFunction
) _wrap_wxSizerItem_GetSizer
, METH_VARARGS
| METH_KEYWORDS
},
2835 { "wxSizerItem_SetWindow", (PyCFunction
) _wrap_wxSizerItem_SetWindow
, METH_VARARGS
| METH_KEYWORDS
},
2836 { "wxSizerItem_GetWindow", (PyCFunction
) _wrap_wxSizerItem_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
2837 { "wxSizerItem_IsSpacer", (PyCFunction
) _wrap_wxSizerItem_IsSpacer
, METH_VARARGS
| METH_KEYWORDS
},
2838 { "wxSizerItem_IsSizer", (PyCFunction
) _wrap_wxSizerItem_IsSizer
, METH_VARARGS
| METH_KEYWORDS
},
2839 { "wxSizerItem_IsWindow", (PyCFunction
) _wrap_wxSizerItem_IsWindow
, METH_VARARGS
| METH_KEYWORDS
},
2840 { "wxSizerItem_GetRatio", (PyCFunction
) _wrap_wxSizerItem_GetRatio
, METH_VARARGS
| METH_KEYWORDS
},
2841 { "wxSizerItem_SetRatio", (PyCFunction
) _wrap_wxSizerItem_SetRatio
, METH_VARARGS
| METH_KEYWORDS
},
2842 { "wxSizerItem_SetRatioSize", (PyCFunction
) _wrap_wxSizerItem_SetRatioSize
, METH_VARARGS
| METH_KEYWORDS
},
2843 { "wxSizerItem_SetRatioWH", (PyCFunction
) _wrap_wxSizerItem_SetRatioWH
, METH_VARARGS
| METH_KEYWORDS
},
2844 { "wxSizerItem_SetDimension", (PyCFunction
) _wrap_wxSizerItem_SetDimension
, METH_VARARGS
| METH_KEYWORDS
},
2845 { "wxSizerItem_CalcMin", (PyCFunction
) _wrap_wxSizerItem_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
2846 { "wxSizerItem_GetSize", (PyCFunction
) _wrap_wxSizerItem_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
2853 * This table is used by the pointer type-checker
2855 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
2856 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
2857 { "_wxEvent","_class_wxEvent",0},
2858 { "_class_wxActivateEvent","_wxActivateEvent",0},
2859 { "_signed_long","_long",0},
2860 { "_wxMenuEvent","_class_wxMenuEvent",0},
2861 { "_wxPyBitmapDataObject","_class_wxPyBitmapDataObject",0},
2862 { "_wxBitmapDataObject","_class_wxBitmapDataObject",0},
2863 { "_class_wxPyCommandEvent","_wxPyCommandEvent",0},
2864 { "_wxFlexGridSizer","_class_wxFlexGridSizer",0},
2865 { "_wxPrintQuality","_wxCoord",0},
2866 { "_wxPrintQuality","_int",0},
2867 { "_wxPrintQuality","_signed_int",0},
2868 { "_wxPrintQuality","_unsigned_int",0},
2869 { "_wxPrintQuality","_wxWindowID",0},
2870 { "_wxPrintQuality","_uint",0},
2871 { "_wxPrintQuality","_EBool",0},
2872 { "_wxPrintQuality","_size_t",0},
2873 { "_wxPrintQuality","_time_t",0},
2874 { "_class_wxCustomDataObject","_wxCustomDataObject",0},
2875 { "_wxSpinCtrl","_class_wxSpinCtrl",0},
2876 { "_class_wxRegionIterator","_wxRegionIterator",0},
2877 { "_class_wxPyTextDropTarget","_wxPyTextDropTarget",0},
2878 { "_class_wxMenuBar","_wxMenuBar",0},
2879 { "_class_wxStaticBoxSizer","_wxStaticBoxSizer",0},
2880 { "_class_wxEvtHandler","_wxEvtHandler",0},
2881 { "_wxPaintEvent","_class_wxPaintEvent",0},
2882 { "_wxPySizer","_class_wxPySizer",0},
2883 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
2884 { "_wxCursor","_class_wxCursor",0},
2885 { "_wxNotifyEvent","_class_wxNotifyEvent",0},
2886 { "_wxMask","_class_wxMask",0},
2887 { "_wxPen","_class_wxPen",0},
2888 { "_wxUpdateUIEvent","_class_wxUpdateUIEvent",0},
2889 { "_class_wxNotebookSizer","_wxNotebookSizer",0},
2890 { "_byte","_unsigned_char",0},
2891 { "_wxDataObject","_class_wxDataObject",0},
2892 { "_wxStaticBox","_class_wxStaticBox",0},
2893 { "_wxColourDatabase","_class_wxColourDatabase",0},
2894 { "_wxPyDataObjectSimple","_class_wxPyDataObjectSimple",0},
2895 { "_wxPyDropSource","_class_wxPyDropSource",0},
2896 { "_wxChoice","_class_wxChoice",0},
2897 { "_wxSlider","_class_wxSlider",0},
2898 { "_long","_unsigned_long",0},
2899 { "_long","_signed_long",0},
2900 { "_wxImageList","_class_wxImageList",0},
2901 { "_wxDataObjectSimple","_class_wxDataObjectSimple",0},
2902 { "_wxDropFilesEvent","_class_wxDropFilesEvent",0},
2903 { "_wxBitmapButton","_class_wxBitmapButton",0},
2904 { "_class_wxSizer","_class_wxFlexGridSizer",SwigwxFlexGridSizerTowxSizer
},
2905 { "_class_wxSizer","_wxFlexGridSizer",SwigwxFlexGridSizerTowxSizer
},
2906 { "_class_wxSizer","_class_wxGridSizer",SwigwxGridSizerTowxSizer
},
2907 { "_class_wxSizer","_wxGridSizer",SwigwxGridSizerTowxSizer
},
2908 { "_class_wxSizer","_class_wxNotebookSizer",SwigwxNotebookSizerTowxSizer
},
2909 { "_class_wxSizer","_wxNotebookSizer",SwigwxNotebookSizerTowxSizer
},
2910 { "_class_wxSizer","_class_wxStaticBoxSizer",SwigwxStaticBoxSizerTowxSizer
},
2911 { "_class_wxSizer","_wxStaticBoxSizer",SwigwxStaticBoxSizerTowxSizer
},
2912 { "_class_wxSizer","_class_wxBoxSizer",SwigwxBoxSizerTowxSizer
},
2913 { "_class_wxSizer","_wxBoxSizer",SwigwxBoxSizerTowxSizer
},
2914 { "_class_wxSizer","_class_wxPySizer",SwigwxPySizerTowxSizer
},
2915 { "_class_wxSizer","_wxPySizer",SwigwxPySizerTowxSizer
},
2916 { "_class_wxSizer","_wxSizer",0},
2917 { "_wxGridSizer","_class_wxFlexGridSizer",SwigwxFlexGridSizerTowxGridSizer
},
2918 { "_wxGridSizer","_wxFlexGridSizer",SwigwxFlexGridSizerTowxGridSizer
},
2919 { "_wxGridSizer","_class_wxGridSizer",0},
2920 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
2921 { "_class_wxClipboard","_wxClipboard",0},
2922 { "_class_wxGauge","_wxGauge",0},
2923 { "_wxGDIObject","_class_wxGDIObject",0},
2924 { "_wxDC","_class_wxDC",0},
2925 { "_wxSizerItem","_class_wxSizerItem",0},
2926 { "_class_wxBitmapDataObject","_wxBitmapDataObject",0},
2927 { "_class_wxFlexGridSizer","_wxFlexGridSizer",0},
2928 { "_class_wxObject","_class_wxFlexGridSizer",SwigwxFlexGridSizerTowxObject
},
2929 { "_class_wxObject","_wxFlexGridSizer",SwigwxFlexGridSizerTowxObject
},
2930 { "_class_wxObject","_class_wxGridSizer",SwigwxGridSizerTowxObject
},
2931 { "_class_wxObject","_wxGridSizer",SwigwxGridSizerTowxObject
},
2932 { "_class_wxObject","_class_wxNotebookSizer",SwigwxNotebookSizerTowxObject
},
2933 { "_class_wxObject","_wxNotebookSizer",SwigwxNotebookSizerTowxObject
},
2934 { "_class_wxObject","_class_wxStaticBoxSizer",SwigwxStaticBoxSizerTowxObject
},
2935 { "_class_wxObject","_wxStaticBoxSizer",SwigwxStaticBoxSizerTowxObject
},
2936 { "_class_wxObject","_class_wxBoxSizer",SwigwxBoxSizerTowxObject
},
2937 { "_class_wxObject","_wxBoxSizer",SwigwxBoxSizerTowxObject
},
2938 { "_class_wxObject","_class_wxPySizer",SwigwxPySizerTowxObject
},
2939 { "_class_wxObject","_wxPySizer",SwigwxPySizerTowxObject
},
2940 { "_class_wxObject","_class_wxSizer",SwigwxSizerTowxObject
},
2941 { "_class_wxObject","_wxSizer",SwigwxSizerTowxObject
},
2942 { "_class_wxObject","_class_wxSizerItem",SwigwxSizerItemTowxObject
},
2943 { "_class_wxObject","_wxSizerItem",SwigwxSizerItemTowxObject
},
2944 { "_class_wxObject","_wxObject",0},
2945 { "_wxSpinEvent","_class_wxSpinEvent",0},
2946 { "_size_t","_wxCoord",0},
2947 { "_size_t","_wxPrintQuality",0},
2948 { "_size_t","_time_t",0},
2949 { "_size_t","_unsigned_int",0},
2950 { "_size_t","_int",0},
2951 { "_size_t","_wxWindowID",0},
2952 { "_size_t","_uint",0},
2953 { "_class_wxRealPoint","_wxRealPoint",0},
2954 { "_wxNavigationKeyEvent","_class_wxNavigationKeyEvent",0},
2955 { "_wxWindowCreateEvent","_class_wxWindowCreateEvent",0},
2956 { "_class_wxMenuItem","_wxMenuItem",0},
2957 { "_class_wxPaintEvent","_wxPaintEvent",0},
2958 { "_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0},
2959 { "_class_wxPySizer","_wxPySizer",0},
2960 { "_wxPanel","_class_wxPanel",0},
2961 { "_wxInitDialogEvent","_class_wxInitDialogEvent",0},
2962 { "_wxCheckBox","_class_wxCheckBox",0},
2963 { "_wxPyEvent","_class_wxPyEvent",0},
2964 { "_wxTextCtrl","_class_wxTextCtrl",0},
2965 { "_class_wxMask","_wxMask",0},
2966 { "_wxTextDataObject","_class_wxTextDataObject",0},
2967 { "_class_wxKeyEvent","_wxKeyEvent",0},
2968 { "_wxColour","_class_wxColour",0},
2969 { "_class_wxDialog","_wxDialog",0},
2970 { "_class_wxFileDataObject","_wxFileDataObject",0},
2971 { "_wxIdleEvent","_class_wxIdleEvent",0},
2972 { "_class_wxUpdateUIEvent","_wxUpdateUIEvent",0},
2973 { "_class_wxDataObject","_wxDataObject",0},
2974 { "_wxStaticLine","_class_wxStaticLine",0},
2975 { "_wxBrush","_class_wxBrush",0},
2976 { "_wxToggleButton","_class_wxToggleButton",0},
2977 { "_wxDataFormat","_class_wxDataFormat",0},
2978 { "_class_wxDataObjectSimple","_wxDataObjectSimple",0},
2979 { "_wxShowEvent","_class_wxShowEvent",0},
2980 { "_uint","_wxCoord",0},
2981 { "_uint","_wxPrintQuality",0},
2982 { "_uint","_time_t",0},
2983 { "_uint","_size_t",0},
2984 { "_uint","_unsigned_int",0},
2985 { "_uint","_int",0},
2986 { "_uint","_wxWindowID",0},
2987 { "_wxChar","_char",0},
2988 { "_wxPyValidator","_class_wxPyValidator",0},
2989 { "_class_wxEvent","_wxEvent",0},
2990 { "_wxCheckListBox","_class_wxCheckListBox",0},
2991 { "_wxRect","_class_wxRect",0},
2992 { "_wxCommandEvent","_class_wxCommandEvent",0},
2993 { "_wxSizeEvent","_class_wxSizeEvent",0},
2994 { "_wxPoint","_class_wxPoint",0},
2995 { "_class_wxButton","_wxButton",0},
2996 { "_wxRadioBox","_class_wxRadioBox",0},
2997 { "_class_wxSpinCtrl","_wxSpinCtrl",0},
2998 { "_wxBoxSizer","_class_wxStaticBoxSizer",SwigwxStaticBoxSizerTowxBoxSizer
},
2999 { "_wxBoxSizer","_wxStaticBoxSizer",SwigwxStaticBoxSizerTowxBoxSizer
},
3000 { "_wxBoxSizer","_class_wxBoxSizer",0},
3001 { "_char","_wxChar",0},
3002 { "_wxBitmap","_class_wxBitmap",0},
3003 { "_wxPenList","_class_wxPenList",0},
3004 { "_wxWindowDC","_class_wxWindowDC",0},
3005 { "_wxTimerEvent","_class_wxTimerEvent",0},
3006 { "_wxScrollBar","_class_wxScrollBar",0},
3007 { "_wxSpinButton","_class_wxSpinButton",0},
3008 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
3009 { "_class_wxNotifyEvent","_wxNotifyEvent",0},
3010 { "_class_wxValidator","_wxValidator",0},
3011 { "_class_wxPyEvent","_wxPyEvent",0},
3012 { "_class_wxIconizeEvent","_wxIconizeEvent",0},
3013 { "_class_wxStaticBitmap","_wxStaticBitmap",0},
3014 { "_wxDropTarget","_class_wxDropTarget",0},
3015 { "_class_wxStaticLine","_wxStaticLine",0},
3016 { "_class_wxColourDatabase","_wxColourDatabase",0},
3017 { "_wxScrollEvent","_class_wxScrollEvent",0},
3018 { "_EBool","_wxCoord",0},
3019 { "_EBool","_wxPrintQuality",0},
3020 { "_EBool","_signed_int",0},
3021 { "_EBool","_int",0},
3022 { "_EBool","_wxWindowID",0},
3023 { "_class_wxRegion","_wxRegion",0},
3024 { "_class_wxDataFormat","_wxDataFormat",0},
3025 { "_class_wxDropFilesEvent","_wxDropFilesEvent",0},
3026 { "_wxWindowDestroyEvent","_class_wxWindowDestroyEvent",0},
3027 { "_wxStaticText","_class_wxStaticText",0},
3028 { "_wxFont","_class_wxFont",0},
3029 { "_class_wxPyDropTarget","_wxPyDropTarget",0},
3030 { "_wxCloseEvent","_class_wxCloseEvent",0},
3031 { "_unsigned_long","_long",0},
3032 { "_class_wxRect","_wxRect",0},
3033 { "_class_wxDC","_wxDC",0},
3034 { "_wxScrollWinEvent","_class_wxScrollWinEvent",0},
3035 { "_class_wxBrushList","_wxBrushList",0},
3036 { "_wxQueryNewPaletteEvent","_class_wxQueryNewPaletteEvent",0},
3037 { "_class_wxPenList","_wxPenList",0},
3038 { "_class_wxWindowCreateEvent","_wxWindowCreateEvent",0},
3039 { "_wxFocusEvent","_class_wxFocusEvent",0},
3040 { "_wxMaximizeEvent","_class_wxMaximizeEvent",0},
3041 { "_class_wxTimerEvent","_wxTimerEvent",0},
3042 { "_class_wxSpinButton","_wxSpinButton",0},
3043 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
3044 { "_class_wxPanel","_wxPanel",0},
3045 { "_class_wxCheckBox","_wxCheckBox",0},
3046 { "_wxComboBox","_class_wxComboBox",0},
3047 { "_wxRadioButton","_class_wxRadioButton",0},
3048 { "_signed_int","_wxCoord",0},
3049 { "_signed_int","_wxPrintQuality",0},
3050 { "_signed_int","_EBool",0},
3051 { "_signed_int","_wxWindowID",0},
3052 { "_signed_int","_int",0},
3053 { "_class_wxTextCtrl","_wxTextCtrl",0},
3054 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
3055 { "_wxMetaFileDC","_class_wxMetaFileDC",0},
3056 { "_class_wxTextDataObject","_wxTextDataObject",0},
3057 { "_wxMenu","_class_wxMenu",0},
3058 { "_class_wxMoveEvent","_wxMoveEvent",0},
3059 { "_wxListBox","_class_wxListBox",0},
3060 { "_wxScreenDC","_class_wxScreenDC",0},
3061 { "_WXTYPE","_short",0},
3062 { "_WXTYPE","_signed_short",0},
3063 { "_WXTYPE","_unsigned_short",0},
3064 { "_class_wxDropTarget","_wxDropTarget",0},
3065 { "_class_wxBrush","_wxBrush",0},
3066 { "_unsigned_short","_WXTYPE",0},
3067 { "_unsigned_short","_short",0},
3068 { "_class_wxWindow","_wxWindow",0},
3069 { "_class_wxStaticText","_wxStaticText",0},
3070 { "_class_wxFont","_wxFont",0},
3071 { "_wxClipboard","_class_wxClipboard",0},
3072 { "_class_wxPyValidator","_wxPyValidator",0},
3073 { "_class_wxCloseEvent","_wxCloseEvent",0},
3074 { "_wxBusyInfo","_class_wxBusyInfo",0},
3075 { "_wxFontList","_class_wxFontList",0},
3076 { "_class_wxMenuEvent","_wxMenuEvent",0},
3077 { "_wxPaletteChangedEvent","_class_wxPaletteChangedEvent",0},
3078 { "_class_wxPyBitmapDataObject","_wxPyBitmapDataObject",0},
3079 { "_wxClientDC","_class_wxClientDC",0},
3080 { "_wxMouseEvent","_class_wxMouseEvent",0},
3081 { "_wxObject","_class_wxFlexGridSizer",SwigwxFlexGridSizerTowxObject
},
3082 { "_wxObject","_wxFlexGridSizer",SwigwxFlexGridSizerTowxObject
},
3083 { "_wxObject","_class_wxGridSizer",SwigwxGridSizerTowxObject
},
3084 { "_wxObject","_wxGridSizer",SwigwxGridSizerTowxObject
},
3085 { "_wxObject","_class_wxNotebookSizer",SwigwxNotebookSizerTowxObject
},
3086 { "_wxObject","_wxNotebookSizer",SwigwxNotebookSizerTowxObject
},
3087 { "_wxObject","_class_wxStaticBoxSizer",SwigwxStaticBoxSizerTowxObject
},
3088 { "_wxObject","_wxStaticBoxSizer",SwigwxStaticBoxSizerTowxObject
},
3089 { "_wxObject","_class_wxBoxSizer",SwigwxBoxSizerTowxObject
},
3090 { "_wxObject","_wxBoxSizer",SwigwxBoxSizerTowxObject
},
3091 { "_wxObject","_class_wxPySizer",SwigwxPySizerTowxObject
},
3092 { "_wxObject","_wxPySizer",SwigwxPySizerTowxObject
},
3093 { "_wxObject","_class_wxSizer",SwigwxSizerTowxObject
},
3094 { "_wxObject","_wxSizer",SwigwxSizerTowxObject
},
3095 { "_wxObject","_class_wxSizerItem",SwigwxSizerItemTowxObject
},
3096 { "_wxObject","_wxSizerItem",SwigwxSizerItemTowxObject
},
3097 { "_wxObject","_class_wxObject",0},
3098 { "_class_wxPoint","_wxPoint",0},
3099 { "_wxRealPoint","_class_wxRealPoint",0},
3100 { "_class_wxRadioBox","_wxRadioBox",0},
3101 { "_class_wxBoxSizer","_class_wxStaticBoxSizer",SwigwxStaticBoxSizerTowxBoxSizer
},
3102 { "_class_wxBoxSizer","_wxStaticBoxSizer",SwigwxStaticBoxSizerTowxBoxSizer
},
3103 { "_class_wxBoxSizer","_wxBoxSizer",0},
3104 { "_signed_short","_WXTYPE",0},
3105 { "_signed_short","_short",0},
3106 { "_wxMemoryDC","_class_wxMemoryDC",0},
3107 { "_wxPyTextDataObject","_class_wxPyTextDataObject",0},
3108 { "_wxPaintDC","_class_wxPaintDC",0},
3109 { "_class_wxWindowDC","_wxWindowDC",0},
3110 { "_class_wxFocusEvent","_wxFocusEvent",0},
3111 { "_class_wxMaximizeEvent","_wxMaximizeEvent",0},
3112 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
3113 { "_class_wxCursor","_wxCursor",0},
3114 { "_wxPyFileDropTarget","_class_wxPyFileDropTarget",0},
3115 { "_wxScrolledWindow","_class_wxScrolledWindow",0},
3116 { "_unsigned_char","_byte",0},
3117 { "_class_wxMetaFileDC","_wxMetaFileDC",0},
3118 { "_class_wxMenu","_wxMenu",0},
3119 { "_wxControl","_class_wxControl",0},
3120 { "_class_wxListBox","_wxListBox",0},
3121 { "_unsigned_int","_wxCoord",0},
3122 { "_unsigned_int","_wxPrintQuality",0},
3123 { "_unsigned_int","_time_t",0},
3124 { "_unsigned_int","_size_t",0},
3125 { "_unsigned_int","_uint",0},
3126 { "_unsigned_int","_wxWindowID",0},
3127 { "_unsigned_int","_int",0},
3128 { "_wxIcon","_class_wxIcon",0},
3129 { "_wxDialog","_class_wxDialog",0},
3130 { "_class_wxPen","_wxPen",0},
3131 { "_short","_WXTYPE",0},
3132 { "_short","_unsigned_short",0},
3133 { "_short","_signed_short",0},
3134 { "_class_wxStaticBox","_wxStaticBox",0},
3135 { "_class_wxPyDataObjectSimple","_wxPyDataObjectSimple",0},
3136 { "_class_wxPyDropSource","_wxPyDropSource",0},
3137 { "_class_wxScrollEvent","_wxScrollEvent",0},
3138 { "_wxJoystickEvent","_class_wxJoystickEvent",0},
3139 { "_class_wxChoice","_wxChoice",0},
3140 { "_class_wxSlider","_wxSlider",0},
3141 { "_class_wxImageList","_wxImageList",0},
3142 { "_class_wxBitmapButton","_wxBitmapButton",0},
3143 { "_class_wxGridSizer","_class_wxFlexGridSizer",SwigwxFlexGridSizerTowxGridSizer
},
3144 { "_class_wxGridSizer","_wxFlexGridSizer",SwigwxFlexGridSizerTowxGridSizer
},
3145 { "_class_wxGridSizer","_wxGridSizer",0},
3146 { "_class_wxPaletteChangedEvent","_wxPaletteChangedEvent",0},
3147 { "_wxWindowID","_wxCoord",0},
3148 { "_wxWindowID","_wxPrintQuality",0},
3149 { "_wxWindowID","_time_t",0},
3150 { "_wxWindowID","_size_t",0},
3151 { "_wxWindowID","_EBool",0},
3152 { "_wxWindowID","_uint",0},
3153 { "_wxWindowID","_int",0},
3154 { "_wxWindowID","_signed_int",0},
3155 { "_wxWindowID","_unsigned_int",0},
3156 { "_class_wxGDIObject","_wxGDIObject",0},
3157 { "_class_wxScrollWinEvent","_wxScrollWinEvent",0},
3158 { "_class_wxSizerItem","_wxSizerItem",0},
3159 { "_int","_wxCoord",0},
3160 { "_int","_wxPrintQuality",0},
3161 { "_int","_time_t",0},
3162 { "_int","_size_t",0},
3163 { "_int","_EBool",0},
3164 { "_int","_uint",0},
3165 { "_int","_wxWindowID",0},
3166 { "_int","_unsigned_int",0},
3167 { "_int","_signed_int",0},
3168 { "_class_wxMouseEvent","_wxMouseEvent",0},
3169 { "_wxPyCommandEvent","_class_wxPyCommandEvent",0},
3170 { "_class_wxSpinEvent","_wxSpinEvent",0},
3171 { "_class_wxQueryNewPaletteEvent","_wxQueryNewPaletteEvent",0},
3172 { "_time_t","_wxCoord",0},
3173 { "_time_t","_wxPrintQuality",0},
3174 { "_time_t","_unsigned_int",0},
3175 { "_time_t","_int",0},
3176 { "_time_t","_wxWindowID",0},
3177 { "_time_t","_uint",0},
3178 { "_time_t","_size_t",0},
3179 { "_class_wxNavigationKeyEvent","_wxNavigationKeyEvent",0},
3180 { "_wxButton","_class_wxButton",0},
3181 { "_wxSize","_class_wxSize",0},
3182 { "_wxRegionIterator","_class_wxRegionIterator",0},
3183 { "_class_wxPyTextDataObject","_wxPyTextDataObject",0},
3184 { "_wxStaticBoxSizer","_class_wxStaticBoxSizer",0},
3185 { "_class_wxPaintDC","_wxPaintDC",0},
3186 { "_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0},
3187 { "_class_wxPyFileDropTarget","_wxPyFileDropTarget",0},
3188 { "_class_wxInitDialogEvent","_wxInitDialogEvent",0},
3189 { "_class_wxComboBox","_wxComboBox",0},
3190 { "_class_wxRadioButton","_wxRadioButton",0},
3191 { "_wxValidator","_class_wxValidator",0},
3192 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
3193 { "_wxIconizeEvent","_class_wxIconizeEvent",0},
3194 { "_class_wxControl","_wxControl",0},
3195 { "_wxStaticBitmap","_class_wxStaticBitmap",0},
3196 { "_class_wxIcon","_wxIcon",0},
3197 { "_class_wxColour","_wxColour",0},
3198 { "_class_wxScreenDC","_wxScreenDC",0},
3199 { "_wxPalette","_class_wxPalette",0},
3200 { "_class_wxIdleEvent","_wxIdleEvent",0},
3201 { "_wxCoord","_int",0},
3202 { "_wxCoord","_signed_int",0},
3203 { "_wxCoord","_unsigned_int",0},
3204 { "_wxCoord","_wxWindowID",0},
3205 { "_wxCoord","_uint",0},
3206 { "_wxCoord","_EBool",0},
3207 { "_wxCoord","_size_t",0},
3208 { "_wxCoord","_time_t",0},
3209 { "_wxCoord","_wxPrintQuality",0},
3210 { "_wxEraseEvent","_class_wxEraseEvent",0},
3211 { "_wxDataObjectComposite","_class_wxDataObjectComposite",0},
3212 { "_class_wxJoystickEvent","_wxJoystickEvent",0},
3213 { "_class_wxToggleButton","_wxToggleButton",0},
3214 { "_wxRegion","_class_wxRegion",0},
3215 { "_wxSizer","_class_wxFlexGridSizer",SwigwxFlexGridSizerTowxSizer
},
3216 { "_wxSizer","_wxFlexGridSizer",SwigwxFlexGridSizerTowxSizer
},
3217 { "_wxSizer","_class_wxGridSizer",SwigwxGridSizerTowxSizer
},
3218 { "_wxSizer","_wxGridSizer",SwigwxGridSizerTowxSizer
},
3219 { "_wxSizer","_class_wxNotebookSizer",SwigwxNotebookSizerTowxSizer
},
3220 { "_wxSizer","_wxNotebookSizer",SwigwxNotebookSizerTowxSizer
},
3221 { "_wxSizer","_class_wxStaticBoxSizer",SwigwxStaticBoxSizerTowxSizer
},
3222 { "_wxSizer","_wxStaticBoxSizer",SwigwxStaticBoxSizerTowxSizer
},
3223 { "_wxSizer","_class_wxBoxSizer",SwigwxBoxSizerTowxSizer
},
3224 { "_wxSizer","_wxBoxSizer",SwigwxBoxSizerTowxSizer
},
3225 { "_wxSizer","_class_wxPySizer",SwigwxPySizerTowxSizer
},
3226 { "_wxSizer","_wxPySizer",SwigwxPySizerTowxSizer
},
3227 { "_wxSizer","_class_wxSizer",0},
3228 { "_class_wxShowEvent","_wxShowEvent",0},
3229 { "_wxPyDropTarget","_class_wxPyDropTarget",0},
3230 { "_wxActivateEvent","_class_wxActivateEvent",0},
3231 { "_wxGauge","_class_wxGauge",0},
3232 { "_class_wxCheckListBox","_wxCheckListBox",0},
3233 { "_class_wxBusyInfo","_wxBusyInfo",0},
3234 { "_class_wxFontList","_wxFontList",0},
3235 { "_class_wxCommandEvent","_wxCommandEvent",0},
3236 { "_class_wxClientDC","_wxClientDC",0},
3237 { "_class_wxSizeEvent","_wxSizeEvent",0},
3238 { "_wxBrushList","_class_wxBrushList",0},
3239 { "_wxCustomDataObject","_class_wxCustomDataObject",0},
3240 { "_class_wxSize","_wxSize",0},
3241 { "_class_wxBitmap","_wxBitmap",0},
3242 { "_class_wxMemoryDC","_wxMemoryDC",0},
3243 { "_wxPyTextDropTarget","_class_wxPyTextDropTarget",0},
3244 { "_wxMenuBar","_class_wxMenuBar",0},
3245 { "_wxEvtHandler","_class_wxEvtHandler",0},
3246 { "_wxMenuItem","_class_wxMenuItem",0},
3247 { "_class_wxScrollBar","_wxScrollBar",0},
3248 { "_class_wxScrolledWindow","_wxScrolledWindow",0},
3249 { "_wxKeyEvent","_class_wxKeyEvent",0},
3250 { "_wxMoveEvent","_class_wxMoveEvent",0},
3251 { "_class_wxPalette","_wxPalette",0},
3252 { "_wxFileDataObject","_class_wxFileDataObject",0},
3253 { "_wxNotebookSizer","_class_wxNotebookSizer",0},
3254 { "_class_wxEraseEvent","_wxEraseEvent",0},
3255 { "_class_wxDataObjectComposite","_wxDataObjectComposite",0},
3256 { "_wxWindow","_class_wxWindow",0},
3257 { "_class_wxWindowDestroyEvent","_wxWindowDestroyEvent",0},
3260 static PyObject
*SWIG_globals
;
3264 SWIGEXPORT(void) initsizersc() {
3266 SWIG_globals
= SWIG_newvarlink();
3267 m
= Py_InitModule("sizersc", sizerscMethods
);
3268 d
= PyModule_GetDict(m
);
3271 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
3272 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);