2 * FILE : src/gtk/sizers.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
32 # define SWIGEXPORT(a) a
36 # define SWIGEXPORT(a) a
45 extern void SWIG_MakePtr(char *, void *, char *);
46 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
47 extern char *SWIG_GetPtr(char *, void **, char *);
48 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
49 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
50 extern PyObject
*SWIG_newvarlink(void);
54 #define SWIG_init initsizersc
56 #define SWIG_name "sizersc"
60 #include <wx/notebook.h>
63 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
69 } else if (target
== Py_None
) {
73 if (!PyTuple_Check(target
)) {
75 target
= PyTuple_New(1);
76 PyTuple_SetItem(target
, 0, o2
);
79 PyTuple_SetItem(o3
, 0, o
);
82 target
= PySequence_Concat(o2
, o3
);
89 #if PYTHON_API_VERSION >= 1009
90 static char* wxStringErrorMsg
= "String or Unicode type required";
92 static char* wxStringErrorMsg
= "string type is required for parameter";
95 class wxPySizer
: public wxSizer
{
96 DECLARE_DYNAMIC_CLASS(wxPySizer
);
98 wxPySizer() : wxSizer() {};
100 DEC_PYCALLBACK___pure(RecalcSizes
);
101 DEC_PYCALLBACK_wxSize__pure(CalcMin
);
106 IMP_PYCALLBACK___pure(wxPySizer
, wxSizer
, RecalcSizes
);
107 IMP_PYCALLBACK_wxSize__pure(wxPySizer
, wxSizer
, CalcMin
);
109 IMPLEMENT_DYNAMIC_CLASS(wxPySizer
, wxSizer
);
113 static void *SwigwxSizerItemTowxObject(void *ptr
) {
116 src
= (wxSizerItem
*) ptr
;
117 dest
= (wxObject
*) src
;
118 return (void *) dest
;
121 #define wxSizerItem_GetPosition(_swigobj) (_swigobj->GetPosition())
122 static PyObject
*_wrap_wxSizerItem_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
123 PyObject
* _resultobj
;
126 PyObject
* _argo0
= 0;
127 char *_kwnames
[] = { "self", NULL
};
131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSizerItem_GetPosition",_kwnames
,&_argo0
))
134 if (_argo0
== Py_None
) { _arg0
= NULL
; }
135 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizerItem_p")) {
136 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizerItem_GetPosition. Expected _wxSizerItem_p.");
141 wxPy_BEGIN_ALLOW_THREADS
;
142 _result
= new wxPoint (wxSizerItem_GetPosition(_arg0
));
144 wxPy_END_ALLOW_THREADS
;
145 if (PyErr_Occurred()) return NULL
;
146 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
147 _resultobj
= Py_BuildValue("s",_ptemp
);
151 #define wxSizerItem_GetSize(_swigobj) (_swigobj->GetSize())
152 static PyObject
*_wrap_wxSizerItem_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
153 PyObject
* _resultobj
;
156 PyObject
* _argo0
= 0;
157 char *_kwnames
[] = { "self", NULL
};
161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSizerItem_GetSize",_kwnames
,&_argo0
))
164 if (_argo0
== Py_None
) { _arg0
= NULL
; }
165 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizerItem_p")) {
166 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizerItem_GetSize. Expected _wxSizerItem_p.");
171 wxPy_BEGIN_ALLOW_THREADS
;
172 _result
= new wxSize (wxSizerItem_GetSize(_arg0
));
174 wxPy_END_ALLOW_THREADS
;
175 if (PyErr_Occurred()) return NULL
;
176 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
177 _resultobj
= Py_BuildValue("s",_ptemp
);
181 #define wxSizerItem_CalcMin(_swigobj) (_swigobj->CalcMin())
182 static PyObject
*_wrap_wxSizerItem_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
183 PyObject
* _resultobj
;
186 PyObject
* _argo0
= 0;
187 char *_kwnames
[] = { "self", NULL
};
191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSizerItem_CalcMin",_kwnames
,&_argo0
))
194 if (_argo0
== Py_None
) { _arg0
= NULL
; }
195 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizerItem_p")) {
196 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizerItem_CalcMin. Expected _wxSizerItem_p.");
201 wxPy_BEGIN_ALLOW_THREADS
;
202 _result
= new wxSize (wxSizerItem_CalcMin(_arg0
));
204 wxPy_END_ALLOW_THREADS
;
205 if (PyErr_Occurred()) return NULL
;
206 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
207 _resultobj
= Py_BuildValue("s",_ptemp
);
211 #define wxSizerItem_SetDimension(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDimension(_swigarg0,_swigarg1))
212 static PyObject
*_wrap_wxSizerItem_SetDimension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
213 PyObject
* _resultobj
;
217 PyObject
* _argo0
= 0;
219 PyObject
* _obj1
= 0;
221 PyObject
* _obj2
= 0;
222 char *_kwnames
[] = { "self","pos","size", NULL
};
225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxSizerItem_SetDimension",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
228 if (_argo0
== Py_None
) { _arg0
= NULL
; }
229 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizerItem_p")) {
230 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizerItem_SetDimension. Expected _wxSizerItem_p.");
236 if (! wxPoint_helper(_obj1
, &_arg1
))
241 if (! wxSize_helper(_obj2
, &_arg2
))
245 wxPy_BEGIN_ALLOW_THREADS
;
246 wxSizerItem_SetDimension(_arg0
,*_arg1
,*_arg2
);
248 wxPy_END_ALLOW_THREADS
;
249 if (PyErr_Occurred()) return NULL
;
250 } Py_INCREF(Py_None
);
251 _resultobj
= Py_None
;
255 #define wxSizerItem_SetRatioWH(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRatio(_swigarg0,_swigarg1))
256 static PyObject
*_wrap_wxSizerItem_SetRatioWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
257 PyObject
* _resultobj
;
261 PyObject
* _argo0
= 0;
262 char *_kwnames
[] = { "self","width","height", NULL
};
265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxSizerItem_SetRatioWH",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
268 if (_argo0
== Py_None
) { _arg0
= NULL
; }
269 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizerItem_p")) {
270 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizerItem_SetRatioWH. Expected _wxSizerItem_p.");
275 wxPy_BEGIN_ALLOW_THREADS
;
276 wxSizerItem_SetRatioWH(_arg0
,_arg1
,_arg2
);
278 wxPy_END_ALLOW_THREADS
;
279 if (PyErr_Occurred()) return NULL
;
280 } Py_INCREF(Py_None
);
281 _resultobj
= Py_None
;
285 #define wxSizerItem_SetRatioSize(_swigobj,_swigarg0) (_swigobj->SetRatio(_swigarg0))
286 static PyObject
*_wrap_wxSizerItem_SetRatioSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
287 PyObject
* _resultobj
;
290 PyObject
* _argo0
= 0;
292 PyObject
* _obj1
= 0;
293 char *_kwnames
[] = { "self","size", NULL
};
296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxSizerItem_SetRatioSize",_kwnames
,&_argo0
,&_obj1
))
299 if (_argo0
== Py_None
) { _arg0
= NULL
; }
300 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizerItem_p")) {
301 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizerItem_SetRatioSize. Expected _wxSizerItem_p.");
307 if (! wxSize_helper(_obj1
, &_arg1
))
311 wxPy_BEGIN_ALLOW_THREADS
;
312 wxSizerItem_SetRatioSize(_arg0
,*_arg1
);
314 wxPy_END_ALLOW_THREADS
;
315 if (PyErr_Occurred()) return NULL
;
316 } Py_INCREF(Py_None
);
317 _resultobj
= Py_None
;
321 #define wxSizerItem_SetRatio(_swigobj,_swigarg0) (_swigobj->SetRatio(_swigarg0))
322 static PyObject
*_wrap_wxSizerItem_SetRatio(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
323 PyObject
* _resultobj
;
326 PyObject
* _argo0
= 0;
327 char *_kwnames
[] = { "self","ratio", NULL
};
330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Of:wxSizerItem_SetRatio",_kwnames
,&_argo0
,&_arg1
))
333 if (_argo0
== Py_None
) { _arg0
= NULL
; }
334 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizerItem_p")) {
335 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizerItem_SetRatio. Expected _wxSizerItem_p.");
340 wxPy_BEGIN_ALLOW_THREADS
;
341 wxSizerItem_SetRatio(_arg0
,_arg1
);
343 wxPy_END_ALLOW_THREADS
;
344 if (PyErr_Occurred()) return NULL
;
345 } Py_INCREF(Py_None
);
346 _resultobj
= Py_None
;
350 #define wxSizerItem_GetRatio(_swigobj) (_swigobj->GetRatio())
351 static PyObject
*_wrap_wxSizerItem_GetRatio(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
352 PyObject
* _resultobj
;
355 PyObject
* _argo0
= 0;
356 char *_kwnames
[] = { "self", NULL
};
359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSizerItem_GetRatio",_kwnames
,&_argo0
))
362 if (_argo0
== Py_None
) { _arg0
= NULL
; }
363 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizerItem_p")) {
364 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizerItem_GetRatio. Expected _wxSizerItem_p.");
369 wxPy_BEGIN_ALLOW_THREADS
;
370 _result
= (float )wxSizerItem_GetRatio(_arg0
);
372 wxPy_END_ALLOW_THREADS
;
373 if (PyErr_Occurred()) return NULL
;
374 } _resultobj
= Py_BuildValue("f",_result
);
378 #define wxSizerItem_IsWindow(_swigobj) (_swigobj->IsWindow())
379 static PyObject
*_wrap_wxSizerItem_IsWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
380 PyObject
* _resultobj
;
383 PyObject
* _argo0
= 0;
384 char *_kwnames
[] = { "self", NULL
};
387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSizerItem_IsWindow",_kwnames
,&_argo0
))
390 if (_argo0
== Py_None
) { _arg0
= NULL
; }
391 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizerItem_p")) {
392 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizerItem_IsWindow. Expected _wxSizerItem_p.");
397 wxPy_BEGIN_ALLOW_THREADS
;
398 _result
= (bool )wxSizerItem_IsWindow(_arg0
);
400 wxPy_END_ALLOW_THREADS
;
401 if (PyErr_Occurred()) return NULL
;
402 } _resultobj
= Py_BuildValue("i",_result
);
406 #define wxSizerItem_IsSizer(_swigobj) (_swigobj->IsSizer())
407 static PyObject
*_wrap_wxSizerItem_IsSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
408 PyObject
* _resultobj
;
411 PyObject
* _argo0
= 0;
412 char *_kwnames
[] = { "self", NULL
};
415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSizerItem_IsSizer",_kwnames
,&_argo0
))
418 if (_argo0
== Py_None
) { _arg0
= NULL
; }
419 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizerItem_p")) {
420 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizerItem_IsSizer. Expected _wxSizerItem_p.");
425 wxPy_BEGIN_ALLOW_THREADS
;
426 _result
= (bool )wxSizerItem_IsSizer(_arg0
);
428 wxPy_END_ALLOW_THREADS
;
429 if (PyErr_Occurred()) return NULL
;
430 } _resultobj
= Py_BuildValue("i",_result
);
434 #define wxSizerItem_IsSpacer(_swigobj) (_swigobj->IsSpacer())
435 static PyObject
*_wrap_wxSizerItem_IsSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
436 PyObject
* _resultobj
;
439 PyObject
* _argo0
= 0;
440 char *_kwnames
[] = { "self", NULL
};
443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSizerItem_IsSpacer",_kwnames
,&_argo0
))
446 if (_argo0
== Py_None
) { _arg0
= NULL
; }
447 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizerItem_p")) {
448 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizerItem_IsSpacer. Expected _wxSizerItem_p.");
453 wxPy_BEGIN_ALLOW_THREADS
;
454 _result
= (bool )wxSizerItem_IsSpacer(_arg0
);
456 wxPy_END_ALLOW_THREADS
;
457 if (PyErr_Occurred()) return NULL
;
458 } _resultobj
= Py_BuildValue("i",_result
);
462 #define wxSizerItem_GetWindow(_swigobj) (_swigobj->GetWindow())
463 static PyObject
*_wrap_wxSizerItem_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
464 PyObject
* _resultobj
;
467 PyObject
* _argo0
= 0;
468 char *_kwnames
[] = { "self", NULL
};
471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSizerItem_GetWindow",_kwnames
,&_argo0
))
474 if (_argo0
== Py_None
) { _arg0
= NULL
; }
475 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizerItem_p")) {
476 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizerItem_GetWindow. Expected _wxSizerItem_p.");
481 wxPy_BEGIN_ALLOW_THREADS
;
482 _result
= (wxWindow
*)wxSizerItem_GetWindow(_arg0
);
484 wxPy_END_ALLOW_THREADS
;
485 if (PyErr_Occurred()) return NULL
;
486 }{ _resultobj
= wxPyMake_wxObject(_result
); }
490 #define wxSizerItem_SetWindow(_swigobj,_swigarg0) (_swigobj->SetWindow(_swigarg0))
491 static PyObject
*_wrap_wxSizerItem_SetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
492 PyObject
* _resultobj
;
495 PyObject
* _argo0
= 0;
496 PyObject
* _argo1
= 0;
497 char *_kwnames
[] = { "self","window", NULL
};
500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxSizerItem_SetWindow",_kwnames
,&_argo0
,&_argo1
))
503 if (_argo0
== Py_None
) { _arg0
= NULL
; }
504 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizerItem_p")) {
505 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizerItem_SetWindow. Expected _wxSizerItem_p.");
510 if (_argo1
== Py_None
) { _arg1
= NULL
; }
511 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
512 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSizerItem_SetWindow. Expected _wxWindow_p.");
517 wxPy_BEGIN_ALLOW_THREADS
;
518 wxSizerItem_SetWindow(_arg0
,_arg1
);
520 wxPy_END_ALLOW_THREADS
;
521 if (PyErr_Occurred()) return NULL
;
522 } Py_INCREF(Py_None
);
523 _resultobj
= Py_None
;
527 #define wxSizerItem_GetSizer(_swigobj) (_swigobj->GetSizer())
528 static PyObject
*_wrap_wxSizerItem_GetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
529 PyObject
* _resultobj
;
532 PyObject
* _argo0
= 0;
533 char *_kwnames
[] = { "self", NULL
};
536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSizerItem_GetSizer",_kwnames
,&_argo0
))
539 if (_argo0
== Py_None
) { _arg0
= NULL
; }
540 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizerItem_p")) {
541 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizerItem_GetSizer. Expected _wxSizerItem_p.");
546 wxPy_BEGIN_ALLOW_THREADS
;
547 _result
= (wxSizer
*)wxSizerItem_GetSizer(_arg0
);
549 wxPy_END_ALLOW_THREADS
;
550 if (PyErr_Occurred()) return NULL
;
551 }{ _resultobj
= wxPyMake_wxObject(_result
); }
555 #define wxSizerItem_SetSizer(_swigobj,_swigarg0) (_swigobj->SetSizer(_swigarg0))
556 static PyObject
*_wrap_wxSizerItem_SetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
557 PyObject
* _resultobj
;
560 PyObject
* _argo0
= 0;
561 PyObject
* _argo1
= 0;
562 char *_kwnames
[] = { "self","sizer", NULL
};
565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxSizerItem_SetSizer",_kwnames
,&_argo0
,&_argo1
))
568 if (_argo0
== Py_None
) { _arg0
= NULL
; }
569 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizerItem_p")) {
570 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizerItem_SetSizer. Expected _wxSizerItem_p.");
575 if (_argo1
== Py_None
) { _arg1
= NULL
; }
576 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxSizer_p")) {
577 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSizerItem_SetSizer. Expected _wxSizer_p.");
582 wxPy_BEGIN_ALLOW_THREADS
;
583 wxSizerItem_SetSizer(_arg0
,_arg1
);
585 wxPy_END_ALLOW_THREADS
;
586 if (PyErr_Occurred()) return NULL
;
587 } Py_INCREF(Py_None
);
588 _resultobj
= Py_None
;
592 #define wxSizerItem_GetOption(_swigobj) (_swigobj->GetOption())
593 static PyObject
*_wrap_wxSizerItem_GetOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
594 PyObject
* _resultobj
;
597 PyObject
* _argo0
= 0;
598 char *_kwnames
[] = { "self", NULL
};
601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSizerItem_GetOption",_kwnames
,&_argo0
))
604 if (_argo0
== Py_None
) { _arg0
= NULL
; }
605 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizerItem_p")) {
606 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizerItem_GetOption. Expected _wxSizerItem_p.");
611 wxPy_BEGIN_ALLOW_THREADS
;
612 _result
= (int )wxSizerItem_GetOption(_arg0
);
614 wxPy_END_ALLOW_THREADS
;
615 if (PyErr_Occurred()) return NULL
;
616 } _resultobj
= Py_BuildValue("i",_result
);
620 #define wxSizerItem_GetFlag(_swigobj) (_swigobj->GetFlag())
621 static PyObject
*_wrap_wxSizerItem_GetFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
622 PyObject
* _resultobj
;
625 PyObject
* _argo0
= 0;
626 char *_kwnames
[] = { "self", NULL
};
629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSizerItem_GetFlag",_kwnames
,&_argo0
))
632 if (_argo0
== Py_None
) { _arg0
= NULL
; }
633 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizerItem_p")) {
634 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizerItem_GetFlag. Expected _wxSizerItem_p.");
639 wxPy_BEGIN_ALLOW_THREADS
;
640 _result
= (int )wxSizerItem_GetFlag(_arg0
);
642 wxPy_END_ALLOW_THREADS
;
643 if (PyErr_Occurred()) return NULL
;
644 } _resultobj
= Py_BuildValue("i",_result
);
648 #define wxSizerItem_GetBorder(_swigobj) (_swigobj->GetBorder())
649 static PyObject
*_wrap_wxSizerItem_GetBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
650 PyObject
* _resultobj
;
653 PyObject
* _argo0
= 0;
654 char *_kwnames
[] = { "self", NULL
};
657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSizerItem_GetBorder",_kwnames
,&_argo0
))
660 if (_argo0
== Py_None
) { _arg0
= NULL
; }
661 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizerItem_p")) {
662 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizerItem_GetBorder. Expected _wxSizerItem_p.");
667 wxPy_BEGIN_ALLOW_THREADS
;
668 _result
= (int )wxSizerItem_GetBorder(_arg0
);
670 wxPy_END_ALLOW_THREADS
;
671 if (PyErr_Occurred()) return NULL
;
672 } _resultobj
= Py_BuildValue("i",_result
);
676 #define wxSizerItem_SetInitSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetInitSize(_swigarg0,_swigarg1))
677 static PyObject
*_wrap_wxSizerItem_SetInitSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
678 PyObject
* _resultobj
;
682 PyObject
* _argo0
= 0;
683 char *_kwnames
[] = { "self","x","y", NULL
};
686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxSizerItem_SetInitSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
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_SetInitSize. Expected _wxSizerItem_p.");
696 wxPy_BEGIN_ALLOW_THREADS
;
697 wxSizerItem_SetInitSize(_arg0
,_arg1
,_arg2
);
699 wxPy_END_ALLOW_THREADS
;
700 if (PyErr_Occurred()) return NULL
;
701 } Py_INCREF(Py_None
);
702 _resultobj
= Py_None
;
706 #define wxSizerItem_SetOption(_swigobj,_swigarg0) (_swigobj->SetOption(_swigarg0))
707 static PyObject
*_wrap_wxSizerItem_SetOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
708 PyObject
* _resultobj
;
711 PyObject
* _argo0
= 0;
712 char *_kwnames
[] = { "self","option", NULL
};
715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSizerItem_SetOption",_kwnames
,&_argo0
,&_arg1
))
718 if (_argo0
== Py_None
) { _arg0
= NULL
; }
719 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizerItem_p")) {
720 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizerItem_SetOption. Expected _wxSizerItem_p.");
725 wxPy_BEGIN_ALLOW_THREADS
;
726 wxSizerItem_SetOption(_arg0
,_arg1
);
728 wxPy_END_ALLOW_THREADS
;
729 if (PyErr_Occurred()) return NULL
;
730 } Py_INCREF(Py_None
);
731 _resultobj
= Py_None
;
735 #define wxSizerItem_SetFlag(_swigobj,_swigarg0) (_swigobj->SetFlag(_swigarg0))
736 static PyObject
*_wrap_wxSizerItem_SetFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
737 PyObject
* _resultobj
;
740 PyObject
* _argo0
= 0;
741 char *_kwnames
[] = { "self","flag", NULL
};
744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSizerItem_SetFlag",_kwnames
,&_argo0
,&_arg1
))
747 if (_argo0
== Py_None
) { _arg0
= NULL
; }
748 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizerItem_p")) {
749 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizerItem_SetFlag. Expected _wxSizerItem_p.");
754 wxPy_BEGIN_ALLOW_THREADS
;
755 wxSizerItem_SetFlag(_arg0
,_arg1
);
757 wxPy_END_ALLOW_THREADS
;
758 if (PyErr_Occurred()) return NULL
;
759 } Py_INCREF(Py_None
);
760 _resultobj
= Py_None
;
764 #define wxSizerItem_SetBorder(_swigobj,_swigarg0) (_swigobj->SetBorder(_swigarg0))
765 static PyObject
*_wrap_wxSizerItem_SetBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
766 PyObject
* _resultobj
;
769 PyObject
* _argo0
= 0;
770 char *_kwnames
[] = { "self","border", NULL
};
773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSizerItem_SetBorder",_kwnames
,&_argo0
,&_arg1
))
776 if (_argo0
== Py_None
) { _arg0
= NULL
; }
777 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizerItem_p")) {
778 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizerItem_SetBorder. Expected _wxSizerItem_p.");
783 wxPy_BEGIN_ALLOW_THREADS
;
784 wxSizerItem_SetBorder(_arg0
,_arg1
);
786 wxPy_END_ALLOW_THREADS
;
787 if (PyErr_Occurred()) return NULL
;
788 } Py_INCREF(Py_None
);
789 _resultobj
= Py_None
;
793 static PyObject
* wxSizerItem_GetUserData(wxSizerItem
*self
) {
794 wxPyUserData
* data
= (wxPyUserData
*)self
->GetUserData();
796 Py_INCREF(data
->m_obj
);
803 static PyObject
*_wrap_wxSizerItem_GetUserData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
804 PyObject
* _resultobj
;
807 PyObject
* _argo0
= 0;
808 char *_kwnames
[] = { "self", NULL
};
811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSizerItem_GetUserData",_kwnames
,&_argo0
))
814 if (_argo0
== Py_None
) { _arg0
= NULL
; }
815 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizerItem_p")) {
816 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizerItem_GetUserData. Expected _wxSizerItem_p.");
821 wxPy_BEGIN_ALLOW_THREADS
;
822 _result
= (PyObject
*)wxSizerItem_GetUserData(_arg0
);
824 wxPy_END_ALLOW_THREADS
;
825 if (PyErr_Occurred()) return NULL
;
827 _resultobj
= _result
;
832 static void *SwigwxSizerTowxObject(void *ptr
) {
835 src
= (wxSizer
*) ptr
;
836 dest
= (wxObject
*) src
;
837 return (void *) dest
;
840 static void wxSizer_Destroy(wxSizer
*self
) { delete self
; }
841 static PyObject
*_wrap_wxSizer_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
842 PyObject
* _resultobj
;
844 PyObject
* _argo0
= 0;
845 char *_kwnames
[] = { "self", NULL
};
848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSizer_Destroy",_kwnames
,&_argo0
))
851 if (_argo0
== Py_None
) { _arg0
= NULL
; }
852 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
853 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_Destroy. Expected _wxSizer_p.");
858 wxPy_BEGIN_ALLOW_THREADS
;
859 wxSizer_Destroy(_arg0
);
861 wxPy_END_ALLOW_THREADS
;
862 if (PyErr_Occurred()) return NULL
;
863 } Py_INCREF(Py_None
);
864 _resultobj
= Py_None
;
868 static void wxSizer_AddWindow(wxSizer
*self
,wxWindow
* window
,int option
,int flag
,int border
,PyObject
* userData
) {
869 wxPyUserData
* data
= NULL
;
870 if (userData
) data
= new wxPyUserData(userData
);
871 self
->Add(window
, option
, flag
, border
, data
);
873 static PyObject
*_wrap_wxSizer_AddWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
874 PyObject
* _resultobj
;
877 int _arg2
= (int ) 0;
878 int _arg3
= (int ) 0;
879 int _arg4
= (int ) 0;
880 PyObject
* _arg5
= (PyObject
*) NULL
;
881 PyObject
* _argo0
= 0;
882 PyObject
* _argo1
= 0;
883 PyObject
* _obj5
= 0;
884 char *_kwnames
[] = { "self","window","option","flag","border","userData", NULL
};
887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iiiO:wxSizer_AddWindow",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_obj5
))
890 if (_argo0
== Py_None
) { _arg0
= NULL
; }
891 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
892 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_AddWindow. Expected _wxSizer_p.");
897 if (_argo1
== Py_None
) { _arg1
= NULL
; }
898 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
899 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSizer_AddWindow. Expected _wxWindow_p.");
908 wxPy_BEGIN_ALLOW_THREADS
;
909 wxSizer_AddWindow(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
911 wxPy_END_ALLOW_THREADS
;
912 if (PyErr_Occurred()) return NULL
;
913 } Py_INCREF(Py_None
);
914 _resultobj
= Py_None
;
918 static void wxSizer_AddSizer(wxSizer
*self
,wxSizer
* sizer
,int option
,int flag
,int border
,PyObject
* userData
) {
919 wxPyUserData
* data
= NULL
;
920 if (userData
) data
= new wxPyUserData(userData
);
921 self
->Add(sizer
, option
, flag
, border
, data
);
923 static PyObject
*_wrap_wxSizer_AddSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
924 PyObject
* _resultobj
;
927 int _arg2
= (int ) 0;
928 int _arg3
= (int ) 0;
929 int _arg4
= (int ) 0;
930 PyObject
* _arg5
= (PyObject
*) NULL
;
931 PyObject
* _argo0
= 0;
932 PyObject
* _argo1
= 0;
933 PyObject
* _obj5
= 0;
934 char *_kwnames
[] = { "self","sizer","option","flag","border","userData", NULL
};
937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iiiO:wxSizer_AddSizer",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_obj5
))
940 if (_argo0
== Py_None
) { _arg0
= NULL
; }
941 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
942 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_AddSizer. Expected _wxSizer_p.");
947 if (_argo1
== Py_None
) { _arg1
= NULL
; }
948 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxSizer_p")) {
949 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSizer_AddSizer. Expected _wxSizer_p.");
958 wxPy_BEGIN_ALLOW_THREADS
;
959 wxSizer_AddSizer(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
961 wxPy_END_ALLOW_THREADS
;
962 if (PyErr_Occurred()) return NULL
;
963 } Py_INCREF(Py_None
);
964 _resultobj
= Py_None
;
968 static void wxSizer_AddSpacer(wxSizer
*self
,int width
,int height
,int option
,int flag
,int border
,PyObject
* userData
) {
969 wxPyUserData
* data
= NULL
;
970 if (userData
) data
= new wxPyUserData(userData
);
971 self
->Add(width
, height
, option
, flag
, border
, data
);
973 static PyObject
*_wrap_wxSizer_AddSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
974 PyObject
* _resultobj
;
978 int _arg3
= (int ) 0;
979 int _arg4
= (int ) 0;
980 int _arg5
= (int ) 0;
981 PyObject
* _arg6
= (PyObject
*) NULL
;
982 PyObject
* _argo0
= 0;
983 PyObject
* _obj6
= 0;
984 char *_kwnames
[] = { "self","width","height","option","flag","border","userData", NULL
};
987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|iiiO:wxSizer_AddSpacer",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_obj6
))
990 if (_argo0
== Py_None
) { _arg0
= NULL
; }
991 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
992 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_AddSpacer. Expected _wxSizer_p.");
1001 wxPy_BEGIN_ALLOW_THREADS
;
1002 wxSizer_AddSpacer(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
1004 wxPy_END_ALLOW_THREADS
;
1005 if (PyErr_Occurred()) return NULL
;
1006 } Py_INCREF(Py_None
);
1007 _resultobj
= Py_None
;
1011 static void wxSizer_InsertWindow(wxSizer
*self
,int before
,wxWindow
* window
,int option
,int flag
,int border
,PyObject
* userData
) {
1012 wxPyUserData
* data
= NULL
;
1013 if (userData
) data
= new wxPyUserData(userData
);
1014 self
->Insert(before
, window
, option
, flag
, border
, data
);
1016 static PyObject
*_wrap_wxSizer_InsertWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1017 PyObject
* _resultobj
;
1021 int _arg3
= (int ) 0;
1022 int _arg4
= (int ) 0;
1023 int _arg5
= (int ) 0;
1024 PyObject
* _arg6
= (PyObject
*) NULL
;
1025 PyObject
* _argo0
= 0;
1026 PyObject
* _argo2
= 0;
1027 PyObject
* _obj6
= 0;
1028 char *_kwnames
[] = { "self","before","window","option","flag","border","userData", NULL
};
1031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|iiiO:wxSizer_InsertWindow",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_arg3
,&_arg4
,&_arg5
,&_obj6
))
1034 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1035 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
1036 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_InsertWindow. Expected _wxSizer_p.");
1041 if (_argo2
== Py_None
) { _arg2
= NULL
; }
1042 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
1043 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxSizer_InsertWindow. Expected _wxWindow_p.");
1052 wxPy_BEGIN_ALLOW_THREADS
;
1053 wxSizer_InsertWindow(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
1055 wxPy_END_ALLOW_THREADS
;
1056 if (PyErr_Occurred()) return NULL
;
1057 } Py_INCREF(Py_None
);
1058 _resultobj
= Py_None
;
1062 static void wxSizer_InsertSizer(wxSizer
*self
,int before
,wxSizer
* sizer
,int option
,int flag
,int border
,PyObject
* userData
) {
1063 wxPyUserData
* data
= NULL
;
1064 if (userData
) data
= new wxPyUserData(userData
);
1065 self
->Insert(before
, sizer
, option
, flag
, border
, data
);
1067 static PyObject
*_wrap_wxSizer_InsertSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1068 PyObject
* _resultobj
;
1072 int _arg3
= (int ) 0;
1073 int _arg4
= (int ) 0;
1074 int _arg5
= (int ) 0;
1075 PyObject
* _arg6
= (PyObject
*) NULL
;
1076 PyObject
* _argo0
= 0;
1077 PyObject
* _argo2
= 0;
1078 PyObject
* _obj6
= 0;
1079 char *_kwnames
[] = { "self","before","sizer","option","flag","border","userData", NULL
};
1082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|iiiO:wxSizer_InsertSizer",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_arg3
,&_arg4
,&_arg5
,&_obj6
))
1085 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1086 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
1087 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_InsertSizer. Expected _wxSizer_p.");
1092 if (_argo2
== Py_None
) { _arg2
= NULL
; }
1093 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxSizer_p")) {
1094 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxSizer_InsertSizer. Expected _wxSizer_p.");
1103 wxPy_BEGIN_ALLOW_THREADS
;
1104 wxSizer_InsertSizer(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
1106 wxPy_END_ALLOW_THREADS
;
1107 if (PyErr_Occurred()) return NULL
;
1108 } Py_INCREF(Py_None
);
1109 _resultobj
= Py_None
;
1113 static void wxSizer_InsertSpacer(wxSizer
*self
,int before
,int width
,int height
,int option
,int flag
,int border
,PyObject
* userData
) {
1114 wxPyUserData
* data
= NULL
;
1115 if (userData
) data
= new wxPyUserData(userData
);
1116 self
->Insert(before
, width
, height
, option
, flag
, border
, data
);
1118 static PyObject
*_wrap_wxSizer_InsertSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1119 PyObject
* _resultobj
;
1124 int _arg4
= (int ) 0;
1125 int _arg5
= (int ) 0;
1126 int _arg6
= (int ) 0;
1127 PyObject
* _arg7
= (PyObject
*) NULL
;
1128 PyObject
* _argo0
= 0;
1129 PyObject
* _obj7
= 0;
1130 char *_kwnames
[] = { "self","before","width","height","option","flag","border","userData", NULL
};
1133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiii|iiiO:wxSizer_InsertSpacer",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
,&_obj7
))
1136 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1137 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
1138 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_InsertSpacer. Expected _wxSizer_p.");
1147 wxPy_BEGIN_ALLOW_THREADS
;
1148 wxSizer_InsertSpacer(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
);
1150 wxPy_END_ALLOW_THREADS
;
1151 if (PyErr_Occurred()) return NULL
;
1152 } Py_INCREF(Py_None
);
1153 _resultobj
= Py_None
;
1157 static void wxSizer_PrependWindow(wxSizer
*self
,wxWindow
* window
,int option
,int flag
,int border
,PyObject
* userData
) {
1158 wxPyUserData
* data
= NULL
;
1159 if (userData
) data
= new wxPyUserData(userData
);
1160 self
->Prepend(window
, option
, flag
, border
, data
);
1162 static PyObject
*_wrap_wxSizer_PrependWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1163 PyObject
* _resultobj
;
1166 int _arg2
= (int ) 0;
1167 int _arg3
= (int ) 0;
1168 int _arg4
= (int ) 0;
1169 PyObject
* _arg5
= (PyObject
*) NULL
;
1170 PyObject
* _argo0
= 0;
1171 PyObject
* _argo1
= 0;
1172 PyObject
* _obj5
= 0;
1173 char *_kwnames
[] = { "self","window","option","flag","border","userData", NULL
};
1176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iiiO:wxSizer_PrependWindow",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_obj5
))
1179 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1180 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
1181 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_PrependWindow. Expected _wxSizer_p.");
1186 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1187 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1188 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSizer_PrependWindow. Expected _wxWindow_p.");
1197 wxPy_BEGIN_ALLOW_THREADS
;
1198 wxSizer_PrependWindow(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
1200 wxPy_END_ALLOW_THREADS
;
1201 if (PyErr_Occurred()) return NULL
;
1202 } Py_INCREF(Py_None
);
1203 _resultobj
= Py_None
;
1207 static void wxSizer_PrependSizer(wxSizer
*self
,wxSizer
* sizer
,int option
,int flag
,int border
,PyObject
* userData
) {
1208 wxPyUserData
* data
= NULL
;
1209 if (userData
) data
= new wxPyUserData(userData
);
1210 self
->Prepend(sizer
, option
, flag
, border
, data
);
1212 static PyObject
*_wrap_wxSizer_PrependSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1213 PyObject
* _resultobj
;
1216 int _arg2
= (int ) 0;
1217 int _arg3
= (int ) 0;
1218 int _arg4
= (int ) 0;
1219 PyObject
* _arg5
= (PyObject
*) NULL
;
1220 PyObject
* _argo0
= 0;
1221 PyObject
* _argo1
= 0;
1222 PyObject
* _obj5
= 0;
1223 char *_kwnames
[] = { "self","sizer","option","flag","border","userData", NULL
};
1226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iiiO:wxSizer_PrependSizer",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_obj5
))
1229 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1230 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
1231 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_PrependSizer. Expected _wxSizer_p.");
1236 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1237 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxSizer_p")) {
1238 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSizer_PrependSizer. Expected _wxSizer_p.");
1247 wxPy_BEGIN_ALLOW_THREADS
;
1248 wxSizer_PrependSizer(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
1250 wxPy_END_ALLOW_THREADS
;
1251 if (PyErr_Occurred()) return NULL
;
1252 } Py_INCREF(Py_None
);
1253 _resultobj
= Py_None
;
1257 static void wxSizer_PrependSpacer(wxSizer
*self
,int width
,int height
,int option
,int flag
,int border
,PyObject
* userData
) {
1258 wxPyUserData
* data
= NULL
;
1259 if (userData
) data
= new wxPyUserData(userData
);
1260 self
->Prepend(width
, height
, option
, flag
, border
, data
);
1262 static PyObject
*_wrap_wxSizer_PrependSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1263 PyObject
* _resultobj
;
1267 int _arg3
= (int ) 0;
1268 int _arg4
= (int ) 0;
1269 int _arg5
= (int ) 0;
1270 PyObject
* _arg6
= (PyObject
*) NULL
;
1271 PyObject
* _argo0
= 0;
1272 PyObject
* _obj6
= 0;
1273 char *_kwnames
[] = { "self","width","height","option","flag","border","userData", NULL
};
1276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|iiiO:wxSizer_PrependSpacer",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_obj6
))
1279 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1280 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
1281 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_PrependSpacer. Expected _wxSizer_p.");
1290 wxPy_BEGIN_ALLOW_THREADS
;
1291 wxSizer_PrependSpacer(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
1293 wxPy_END_ALLOW_THREADS
;
1294 if (PyErr_Occurred()) return NULL
;
1295 } Py_INCREF(Py_None
);
1296 _resultobj
= Py_None
;
1300 #define wxSizer_RemoveWindow(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
1301 static PyObject
*_wrap_wxSizer_RemoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1302 PyObject
* _resultobj
;
1306 PyObject
* _argo0
= 0;
1307 PyObject
* _argo1
= 0;
1308 char *_kwnames
[] = { "self","window", NULL
};
1311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxSizer_RemoveWindow",_kwnames
,&_argo0
,&_argo1
))
1314 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1315 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
1316 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_RemoveWindow. Expected _wxSizer_p.");
1321 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1322 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1323 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSizer_RemoveWindow. Expected _wxWindow_p.");
1328 wxPy_BEGIN_ALLOW_THREADS
;
1329 _result
= (bool )wxSizer_RemoveWindow(_arg0
,_arg1
);
1331 wxPy_END_ALLOW_THREADS
;
1332 if (PyErr_Occurred()) return NULL
;
1333 } _resultobj
= Py_BuildValue("i",_result
);
1337 #define wxSizer_RemoveSizer(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
1338 static PyObject
*_wrap_wxSizer_RemoveSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1339 PyObject
* _resultobj
;
1343 PyObject
* _argo0
= 0;
1344 PyObject
* _argo1
= 0;
1345 char *_kwnames
[] = { "self","sizer", NULL
};
1348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxSizer_RemoveSizer",_kwnames
,&_argo0
,&_argo1
))
1351 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1352 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
1353 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_RemoveSizer. Expected _wxSizer_p.");
1358 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1359 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxSizer_p")) {
1360 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSizer_RemoveSizer. Expected _wxSizer_p.");
1365 wxPy_BEGIN_ALLOW_THREADS
;
1366 _result
= (bool )wxSizer_RemoveSizer(_arg0
,_arg1
);
1368 wxPy_END_ALLOW_THREADS
;
1369 if (PyErr_Occurred()) return NULL
;
1370 } _resultobj
= Py_BuildValue("i",_result
);
1374 #define wxSizer_RemovePos(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
1375 static PyObject
*_wrap_wxSizer_RemovePos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1376 PyObject
* _resultobj
;
1380 PyObject
* _argo0
= 0;
1381 char *_kwnames
[] = { "self","pos", NULL
};
1384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSizer_RemovePos",_kwnames
,&_argo0
,&_arg1
))
1387 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1388 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
1389 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_RemovePos. Expected _wxSizer_p.");
1394 wxPy_BEGIN_ALLOW_THREADS
;
1395 _result
= (bool )wxSizer_RemovePos(_arg0
,_arg1
);
1397 wxPy_END_ALLOW_THREADS
;
1398 if (PyErr_Occurred()) return NULL
;
1399 } _resultobj
= Py_BuildValue("i",_result
);
1403 #define wxSizer_SetDimension(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetDimension(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1404 static PyObject
*_wrap_wxSizer_SetDimension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1405 PyObject
* _resultobj
;
1411 PyObject
* _argo0
= 0;
1412 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
1415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii:wxSizer_SetDimension",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
1418 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1419 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
1420 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_SetDimension. Expected _wxSizer_p.");
1425 wxPy_BEGIN_ALLOW_THREADS
;
1426 wxSizer_SetDimension(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
1428 wxPy_END_ALLOW_THREADS
;
1429 if (PyErr_Occurred()) return NULL
;
1430 } Py_INCREF(Py_None
);
1431 _resultobj
= Py_None
;
1435 #define wxSizer_SetMinSize(_swigobj,_swigarg0) (_swigobj->SetMinSize(_swigarg0))
1436 static PyObject
*_wrap_wxSizer_SetMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1437 PyObject
* _resultobj
;
1440 PyObject
* _argo0
= 0;
1442 PyObject
* _obj1
= 0;
1443 char *_kwnames
[] = { "self","size", NULL
};
1446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxSizer_SetMinSize",_kwnames
,&_argo0
,&_obj1
))
1449 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1450 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
1451 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_SetMinSize. Expected _wxSizer_p.");
1457 if (! wxSize_helper(_obj1
, &_arg1
))
1461 wxPy_BEGIN_ALLOW_THREADS
;
1462 wxSizer_SetMinSize(_arg0
,*_arg1
);
1464 wxPy_END_ALLOW_THREADS
;
1465 if (PyErr_Occurred()) return NULL
;
1466 } Py_INCREF(Py_None
);
1467 _resultobj
= Py_None
;
1471 #define wxSizer_SetItemMinSizeWindow(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemMinSize(_swigarg0,_swigarg1,_swigarg2))
1472 static PyObject
*_wrap_wxSizer_SetItemMinSizeWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1473 PyObject
* _resultobj
;
1478 PyObject
* _argo0
= 0;
1479 PyObject
* _argo1
= 0;
1480 char *_kwnames
[] = { "self","window","width","height", NULL
};
1483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxSizer_SetItemMinSizeWindow",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
1486 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1487 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
1488 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_SetItemMinSizeWindow. Expected _wxSizer_p.");
1493 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1494 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1495 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSizer_SetItemMinSizeWindow. Expected _wxWindow_p.");
1500 wxPy_BEGIN_ALLOW_THREADS
;
1501 wxSizer_SetItemMinSizeWindow(_arg0
,_arg1
,_arg2
,_arg3
);
1503 wxPy_END_ALLOW_THREADS
;
1504 if (PyErr_Occurred()) return NULL
;
1505 } Py_INCREF(Py_None
);
1506 _resultobj
= Py_None
;
1510 #define wxSizer_SetItemMinSizeSizer(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemMinSize(_swigarg0,_swigarg1,_swigarg2))
1511 static PyObject
*_wrap_wxSizer_SetItemMinSizeSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1512 PyObject
* _resultobj
;
1517 PyObject
* _argo0
= 0;
1518 PyObject
* _argo1
= 0;
1519 char *_kwnames
[] = { "self","sizer","width","height", NULL
};
1522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxSizer_SetItemMinSizeSizer",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
1525 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1526 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
1527 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_SetItemMinSizeSizer. Expected _wxSizer_p.");
1532 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1533 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxSizer_p")) {
1534 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSizer_SetItemMinSizeSizer. Expected _wxSizer_p.");
1539 wxPy_BEGIN_ALLOW_THREADS
;
1540 wxSizer_SetItemMinSizeSizer(_arg0
,_arg1
,_arg2
,_arg3
);
1542 wxPy_END_ALLOW_THREADS
;
1543 if (PyErr_Occurred()) return NULL
;
1544 } Py_INCREF(Py_None
);
1545 _resultobj
= Py_None
;
1549 #define wxSizer_SetItemMinSizePos(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemMinSize(_swigarg0,_swigarg1,_swigarg2))
1550 static PyObject
*_wrap_wxSizer_SetItemMinSizePos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1551 PyObject
* _resultobj
;
1556 PyObject
* _argo0
= 0;
1557 char *_kwnames
[] = { "self","pos","width","height", NULL
};
1560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiii:wxSizer_SetItemMinSizePos",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
1563 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1564 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
1565 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_SetItemMinSizePos. Expected _wxSizer_p.");
1570 wxPy_BEGIN_ALLOW_THREADS
;
1571 wxSizer_SetItemMinSizePos(_arg0
,_arg1
,_arg2
,_arg3
);
1573 wxPy_END_ALLOW_THREADS
;
1574 if (PyErr_Occurred()) return NULL
;
1575 } Py_INCREF(Py_None
);
1576 _resultobj
= Py_None
;
1580 #define wxSizer_GetSize(_swigobj) (_swigobj->GetSize())
1581 static PyObject
*_wrap_wxSizer_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1582 PyObject
* _resultobj
;
1585 PyObject
* _argo0
= 0;
1586 char *_kwnames
[] = { "self", NULL
};
1590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSizer_GetSize",_kwnames
,&_argo0
))
1593 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1594 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
1595 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_GetSize. Expected _wxSizer_p.");
1600 wxPy_BEGIN_ALLOW_THREADS
;
1601 _result
= new wxSize (wxSizer_GetSize(_arg0
));
1603 wxPy_END_ALLOW_THREADS
;
1604 if (PyErr_Occurred()) return NULL
;
1605 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
1606 _resultobj
= Py_BuildValue("s",_ptemp
);
1610 #define wxSizer_GetPosition(_swigobj) (_swigobj->GetPosition())
1611 static PyObject
*_wrap_wxSizer_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1612 PyObject
* _resultobj
;
1615 PyObject
* _argo0
= 0;
1616 char *_kwnames
[] = { "self", NULL
};
1620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSizer_GetPosition",_kwnames
,&_argo0
))
1623 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1624 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
1625 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_GetPosition. Expected _wxSizer_p.");
1630 wxPy_BEGIN_ALLOW_THREADS
;
1631 _result
= new wxPoint (wxSizer_GetPosition(_arg0
));
1633 wxPy_END_ALLOW_THREADS
;
1634 if (PyErr_Occurred()) return NULL
;
1635 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
1636 _resultobj
= Py_BuildValue("s",_ptemp
);
1640 #define wxSizer_GetMinSize(_swigobj) (_swigobj->GetMinSize())
1641 static PyObject
*_wrap_wxSizer_GetMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1642 PyObject
* _resultobj
;
1645 PyObject
* _argo0
= 0;
1646 char *_kwnames
[] = { "self", NULL
};
1650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSizer_GetMinSize",_kwnames
,&_argo0
))
1653 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1654 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
1655 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_GetMinSize. Expected _wxSizer_p.");
1660 wxPy_BEGIN_ALLOW_THREADS
;
1661 _result
= new wxSize (wxSizer_GetMinSize(_arg0
));
1663 wxPy_END_ALLOW_THREADS
;
1664 if (PyErr_Occurred()) return NULL
;
1665 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
1666 _resultobj
= Py_BuildValue("s",_ptemp
);
1670 #define wxSizer_Layout(_swigobj) (_swigobj->Layout())
1671 static PyObject
*_wrap_wxSizer_Layout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1672 PyObject
* _resultobj
;
1674 PyObject
* _argo0
= 0;
1675 char *_kwnames
[] = { "self", NULL
};
1678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSizer_Layout",_kwnames
,&_argo0
))
1681 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1682 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
1683 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_Layout. Expected _wxSizer_p.");
1688 wxPy_BEGIN_ALLOW_THREADS
;
1689 wxSizer_Layout(_arg0
);
1691 wxPy_END_ALLOW_THREADS
;
1692 if (PyErr_Occurred()) return NULL
;
1693 } Py_INCREF(Py_None
);
1694 _resultobj
= Py_None
;
1698 #define wxSizer_Fit(_swigobj,_swigarg0) (_swigobj->Fit(_swigarg0))
1699 static PyObject
*_wrap_wxSizer_Fit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1700 PyObject
* _resultobj
;
1703 PyObject
* _argo0
= 0;
1704 PyObject
* _argo1
= 0;
1705 char *_kwnames
[] = { "self","window", NULL
};
1708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxSizer_Fit",_kwnames
,&_argo0
,&_argo1
))
1711 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1712 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
1713 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_Fit. Expected _wxSizer_p.");
1718 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1719 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1720 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSizer_Fit. Expected _wxWindow_p.");
1725 wxPy_BEGIN_ALLOW_THREADS
;
1726 wxSizer_Fit(_arg0
,_arg1
);
1728 wxPy_END_ALLOW_THREADS
;
1729 if (PyErr_Occurred()) return NULL
;
1730 } Py_INCREF(Py_None
);
1731 _resultobj
= Py_None
;
1735 #define wxSizer_SetSizeHints(_swigobj,_swigarg0) (_swigobj->SetSizeHints(_swigarg0))
1736 static PyObject
*_wrap_wxSizer_SetSizeHints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1737 PyObject
* _resultobj
;
1740 PyObject
* _argo0
= 0;
1741 PyObject
* _argo1
= 0;
1742 char *_kwnames
[] = { "self","window", NULL
};
1745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxSizer_SetSizeHints",_kwnames
,&_argo0
,&_argo1
))
1748 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1749 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
1750 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_SetSizeHints. Expected _wxSizer_p.");
1755 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1756 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1757 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSizer_SetSizeHints. Expected _wxWindow_p.");
1762 wxPy_BEGIN_ALLOW_THREADS
;
1763 wxSizer_SetSizeHints(_arg0
,_arg1
);
1765 wxPy_END_ALLOW_THREADS
;
1766 if (PyErr_Occurred()) return NULL
;
1767 } Py_INCREF(Py_None
);
1768 _resultobj
= Py_None
;
1772 static PyObject
* wxSizer_GetChildren(wxSizer
*self
) {
1773 wxList
& list
= self
->GetChildren();
1774 return wxPy_ConvertList(&list
, "wxSizerItem");
1776 static PyObject
*_wrap_wxSizer_GetChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1777 PyObject
* _resultobj
;
1780 PyObject
* _argo0
= 0;
1781 char *_kwnames
[] = { "self", NULL
};
1784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSizer_GetChildren",_kwnames
,&_argo0
))
1787 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1788 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
1789 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_GetChildren. Expected _wxSizer_p.");
1794 wxPy_BEGIN_ALLOW_THREADS
;
1795 _result
= (PyObject
*)wxSizer_GetChildren(_arg0
);
1797 wxPy_END_ALLOW_THREADS
;
1798 if (PyErr_Occurred()) return NULL
;
1800 _resultobj
= _result
;
1805 static void *SwigwxPySizerTowxSizer(void *ptr
) {
1808 src
= (wxPySizer
*) ptr
;
1809 dest
= (wxSizer
*) src
;
1810 return (void *) dest
;
1813 static void *SwigwxPySizerTowxObject(void *ptr
) {
1816 src
= (wxPySizer
*) ptr
;
1817 dest
= (wxObject
*) src
;
1818 return (void *) dest
;
1821 #define new_wxPySizer() (new wxPySizer())
1822 static PyObject
*_wrap_new_wxPySizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1823 PyObject
* _resultobj
;
1824 wxPySizer
* _result
;
1825 char *_kwnames
[] = { NULL
};
1829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPySizer",_kwnames
))
1832 wxPy_BEGIN_ALLOW_THREADS
;
1833 _result
= (wxPySizer
*)new_wxPySizer();
1835 wxPy_END_ALLOW_THREADS
;
1836 if (PyErr_Occurred()) return NULL
;
1838 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPySizer_p");
1839 _resultobj
= Py_BuildValue("s",_ptemp
);
1842 _resultobj
= Py_None
;
1847 #define wxPySizer__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1))
1848 static PyObject
*_wrap_wxPySizer__setSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1849 PyObject
* _resultobj
;
1853 PyObject
* _argo0
= 0;
1854 PyObject
* _obj1
= 0;
1855 PyObject
* _obj2
= 0;
1856 char *_kwnames
[] = { "self","self","_class", NULL
};
1859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPySizer__setSelf",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
1862 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1863 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPySizer_p")) {
1864 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPySizer__setSelf. Expected _wxPySizer_p.");
1875 wxPy_BEGIN_ALLOW_THREADS
;
1876 wxPySizer__setSelf(_arg0
,_arg1
,_arg2
);
1878 wxPy_END_ALLOW_THREADS
;
1879 if (PyErr_Occurred()) return NULL
;
1880 } Py_INCREF(Py_None
);
1881 _resultobj
= Py_None
;
1885 static void *SwigwxBoxSizerTowxSizer(void *ptr
) {
1888 src
= (wxBoxSizer
*) ptr
;
1889 dest
= (wxSizer
*) src
;
1890 return (void *) dest
;
1893 static void *SwigwxBoxSizerTowxObject(void *ptr
) {
1896 src
= (wxBoxSizer
*) ptr
;
1897 dest
= (wxObject
*) src
;
1898 return (void *) dest
;
1901 #define new_wxBoxSizer(_swigarg0) (new wxBoxSizer(_swigarg0))
1902 static PyObject
*_wrap_new_wxBoxSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1903 PyObject
* _resultobj
;
1904 wxBoxSizer
* _result
;
1905 int _arg0
= (int ) wxHORIZONTAL
;
1906 char *_kwnames
[] = { "orient", NULL
};
1910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxBoxSizer",_kwnames
,&_arg0
))
1913 wxPy_BEGIN_ALLOW_THREADS
;
1914 _result
= (wxBoxSizer
*)new_wxBoxSizer(_arg0
);
1916 wxPy_END_ALLOW_THREADS
;
1917 if (PyErr_Occurred()) return NULL
;
1919 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBoxSizer_p");
1920 _resultobj
= Py_BuildValue("s",_ptemp
);
1923 _resultobj
= Py_None
;
1928 #define wxBoxSizer_GetOrientation(_swigobj) (_swigobj->GetOrientation())
1929 static PyObject
*_wrap_wxBoxSizer_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1930 PyObject
* _resultobj
;
1933 PyObject
* _argo0
= 0;
1934 char *_kwnames
[] = { "self", NULL
};
1937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBoxSizer_GetOrientation",_kwnames
,&_argo0
))
1940 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1941 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBoxSizer_p")) {
1942 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBoxSizer_GetOrientation. Expected _wxBoxSizer_p.");
1947 wxPy_BEGIN_ALLOW_THREADS
;
1948 _result
= (int )wxBoxSizer_GetOrientation(_arg0
);
1950 wxPy_END_ALLOW_THREADS
;
1951 if (PyErr_Occurred()) return NULL
;
1952 } _resultobj
= Py_BuildValue("i",_result
);
1956 #define wxBoxSizer_RecalcSizes(_swigobj) (_swigobj->RecalcSizes())
1957 static PyObject
*_wrap_wxBoxSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1958 PyObject
* _resultobj
;
1960 PyObject
* _argo0
= 0;
1961 char *_kwnames
[] = { "self", NULL
};
1964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBoxSizer_RecalcSizes",_kwnames
,&_argo0
))
1967 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1968 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBoxSizer_p")) {
1969 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBoxSizer_RecalcSizes. Expected _wxBoxSizer_p.");
1974 wxPy_BEGIN_ALLOW_THREADS
;
1975 wxBoxSizer_RecalcSizes(_arg0
);
1977 wxPy_END_ALLOW_THREADS
;
1978 if (PyErr_Occurred()) return NULL
;
1979 } Py_INCREF(Py_None
);
1980 _resultobj
= Py_None
;
1984 #define wxBoxSizer_CalcMin(_swigobj) (_swigobj->CalcMin())
1985 static PyObject
*_wrap_wxBoxSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1986 PyObject
* _resultobj
;
1989 PyObject
* _argo0
= 0;
1990 char *_kwnames
[] = { "self", NULL
};
1994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBoxSizer_CalcMin",_kwnames
,&_argo0
))
1997 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1998 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBoxSizer_p")) {
1999 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBoxSizer_CalcMin. Expected _wxBoxSizer_p.");
2004 wxPy_BEGIN_ALLOW_THREADS
;
2005 _result
= new wxSize (wxBoxSizer_CalcMin(_arg0
));
2007 wxPy_END_ALLOW_THREADS
;
2008 if (PyErr_Occurred()) return NULL
;
2009 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2010 _resultobj
= Py_BuildValue("s",_ptemp
);
2014 static void *SwigwxStaticBoxSizerTowxBoxSizer(void *ptr
) {
2015 wxStaticBoxSizer
*src
;
2017 src
= (wxStaticBoxSizer
*) ptr
;
2018 dest
= (wxBoxSizer
*) src
;
2019 return (void *) dest
;
2022 static void *SwigwxStaticBoxSizerTowxSizer(void *ptr
) {
2023 wxStaticBoxSizer
*src
;
2025 src
= (wxStaticBoxSizer
*) ptr
;
2026 dest
= (wxSizer
*) src
;
2027 return (void *) dest
;
2030 static void *SwigwxStaticBoxSizerTowxObject(void *ptr
) {
2031 wxStaticBoxSizer
*src
;
2033 src
= (wxStaticBoxSizer
*) ptr
;
2034 dest
= (wxObject
*) src
;
2035 return (void *) dest
;
2038 #define new_wxStaticBoxSizer(_swigarg0,_swigarg1) (new wxStaticBoxSizer(_swigarg0,_swigarg1))
2039 static PyObject
*_wrap_new_wxStaticBoxSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2040 PyObject
* _resultobj
;
2041 wxStaticBoxSizer
* _result
;
2042 wxStaticBox
* _arg0
;
2043 int _arg1
= (int ) wxHORIZONTAL
;
2044 PyObject
* _argo0
= 0;
2045 char *_kwnames
[] = { "box","orient", NULL
};
2049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:new_wxStaticBoxSizer",_kwnames
,&_argo0
,&_arg1
))
2052 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2053 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticBox_p")) {
2054 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxStaticBoxSizer. Expected _wxStaticBox_p.");
2059 wxPy_BEGIN_ALLOW_THREADS
;
2060 _result
= (wxStaticBoxSizer
*)new_wxStaticBoxSizer(_arg0
,_arg1
);
2062 wxPy_END_ALLOW_THREADS
;
2063 if (PyErr_Occurred()) return NULL
;
2065 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticBoxSizer_p");
2066 _resultobj
= Py_BuildValue("s",_ptemp
);
2069 _resultobj
= Py_None
;
2074 #define wxStaticBoxSizer_GetStaticBox(_swigobj) (_swigobj->GetStaticBox())
2075 static PyObject
*_wrap_wxStaticBoxSizer_GetStaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2076 PyObject
* _resultobj
;
2077 wxStaticBox
* _result
;
2078 wxStaticBoxSizer
* _arg0
;
2079 PyObject
* _argo0
= 0;
2080 char *_kwnames
[] = { "self", NULL
};
2083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStaticBoxSizer_GetStaticBox",_kwnames
,&_argo0
))
2086 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2087 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticBoxSizer_p")) {
2088 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticBoxSizer_GetStaticBox. Expected _wxStaticBoxSizer_p.");
2093 wxPy_BEGIN_ALLOW_THREADS
;
2094 _result
= (wxStaticBox
*)wxStaticBoxSizer_GetStaticBox(_arg0
);
2096 wxPy_END_ALLOW_THREADS
;
2097 if (PyErr_Occurred()) return NULL
;
2098 }{ _resultobj
= wxPyMake_wxObject(_result
); }
2102 #define wxStaticBoxSizer_RecalcSizes(_swigobj) (_swigobj->RecalcSizes())
2103 static PyObject
*_wrap_wxStaticBoxSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2104 PyObject
* _resultobj
;
2105 wxStaticBoxSizer
* _arg0
;
2106 PyObject
* _argo0
= 0;
2107 char *_kwnames
[] = { "self", NULL
};
2110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStaticBoxSizer_RecalcSizes",_kwnames
,&_argo0
))
2113 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2114 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticBoxSizer_p")) {
2115 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticBoxSizer_RecalcSizes. Expected _wxStaticBoxSizer_p.");
2120 wxPy_BEGIN_ALLOW_THREADS
;
2121 wxStaticBoxSizer_RecalcSizes(_arg0
);
2123 wxPy_END_ALLOW_THREADS
;
2124 if (PyErr_Occurred()) return NULL
;
2125 } Py_INCREF(Py_None
);
2126 _resultobj
= Py_None
;
2130 #define wxStaticBoxSizer_CalcMin(_swigobj) (_swigobj->CalcMin())
2131 static PyObject
*_wrap_wxStaticBoxSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2132 PyObject
* _resultobj
;
2134 wxStaticBoxSizer
* _arg0
;
2135 PyObject
* _argo0
= 0;
2136 char *_kwnames
[] = { "self", NULL
};
2140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStaticBoxSizer_CalcMin",_kwnames
,&_argo0
))
2143 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2144 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticBoxSizer_p")) {
2145 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticBoxSizer_CalcMin. Expected _wxStaticBoxSizer_p.");
2150 wxPy_BEGIN_ALLOW_THREADS
;
2151 _result
= new wxSize (wxStaticBoxSizer_CalcMin(_arg0
));
2153 wxPy_END_ALLOW_THREADS
;
2154 if (PyErr_Occurred()) return NULL
;
2155 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2156 _resultobj
= Py_BuildValue("s",_ptemp
);
2160 static void *SwigwxNotebookSizerTowxSizer(void *ptr
) {
2161 wxNotebookSizer
*src
;
2163 src
= (wxNotebookSizer
*) ptr
;
2164 dest
= (wxSizer
*) src
;
2165 return (void *) dest
;
2168 static void *SwigwxNotebookSizerTowxObject(void *ptr
) {
2169 wxNotebookSizer
*src
;
2171 src
= (wxNotebookSizer
*) ptr
;
2172 dest
= (wxObject
*) src
;
2173 return (void *) dest
;
2176 #define new_wxNotebookSizer(_swigarg0) (new wxNotebookSizer(_swigarg0))
2177 static PyObject
*_wrap_new_wxNotebookSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2178 PyObject
* _resultobj
;
2179 wxNotebookSizer
* _result
;
2181 PyObject
* _argo0
= 0;
2182 char *_kwnames
[] = { "nb", NULL
};
2186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxNotebookSizer",_kwnames
,&_argo0
))
2189 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2190 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
2191 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxNotebookSizer. Expected _wxNotebook_p.");
2196 wxPy_BEGIN_ALLOW_THREADS
;
2197 _result
= (wxNotebookSizer
*)new_wxNotebookSizer(_arg0
);
2199 wxPy_END_ALLOW_THREADS
;
2200 if (PyErr_Occurred()) return NULL
;
2202 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxNotebookSizer_p");
2203 _resultobj
= Py_BuildValue("s",_ptemp
);
2206 _resultobj
= Py_None
;
2211 #define wxNotebookSizer_RecalcSizes(_swigobj) (_swigobj->RecalcSizes())
2212 static PyObject
*_wrap_wxNotebookSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2213 PyObject
* _resultobj
;
2214 wxNotebookSizer
* _arg0
;
2215 PyObject
* _argo0
= 0;
2216 char *_kwnames
[] = { "self", NULL
};
2219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebookSizer_RecalcSizes",_kwnames
,&_argo0
))
2222 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2223 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebookSizer_p")) {
2224 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebookSizer_RecalcSizes. Expected _wxNotebookSizer_p.");
2229 wxPy_BEGIN_ALLOW_THREADS
;
2230 wxNotebookSizer_RecalcSizes(_arg0
);
2232 wxPy_END_ALLOW_THREADS
;
2233 if (PyErr_Occurred()) return NULL
;
2234 } Py_INCREF(Py_None
);
2235 _resultobj
= Py_None
;
2239 #define wxNotebookSizer_CalcMin(_swigobj) (_swigobj->CalcMin())
2240 static PyObject
*_wrap_wxNotebookSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2241 PyObject
* _resultobj
;
2243 wxNotebookSizer
* _arg0
;
2244 PyObject
* _argo0
= 0;
2245 char *_kwnames
[] = { "self", NULL
};
2249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebookSizer_CalcMin",_kwnames
,&_argo0
))
2252 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2253 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebookSizer_p")) {
2254 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebookSizer_CalcMin. Expected _wxNotebookSizer_p.");
2259 wxPy_BEGIN_ALLOW_THREADS
;
2260 _result
= new wxSize (wxNotebookSizer_CalcMin(_arg0
));
2262 wxPy_END_ALLOW_THREADS
;
2263 if (PyErr_Occurred()) return NULL
;
2264 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2265 _resultobj
= Py_BuildValue("s",_ptemp
);
2269 #define wxNotebookSizer_GetNotebook(_swigobj) (_swigobj->GetNotebook())
2270 static PyObject
*_wrap_wxNotebookSizer_GetNotebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2271 PyObject
* _resultobj
;
2272 wxNotebook
* _result
;
2273 wxNotebookSizer
* _arg0
;
2274 PyObject
* _argo0
= 0;
2275 char *_kwnames
[] = { "self", NULL
};
2278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebookSizer_GetNotebook",_kwnames
,&_argo0
))
2281 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2282 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebookSizer_p")) {
2283 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebookSizer_GetNotebook. Expected _wxNotebookSizer_p.");
2288 wxPy_BEGIN_ALLOW_THREADS
;
2289 _result
= (wxNotebook
*)wxNotebookSizer_GetNotebook(_arg0
);
2291 wxPy_END_ALLOW_THREADS
;
2292 if (PyErr_Occurred()) return NULL
;
2293 }{ _resultobj
= wxPyMake_wxObject(_result
); }
2297 static void *SwigwxGridSizerTowxSizer(void *ptr
) {
2300 src
= (wxGridSizer
*) ptr
;
2301 dest
= (wxSizer
*) src
;
2302 return (void *) dest
;
2305 static void *SwigwxGridSizerTowxObject(void *ptr
) {
2308 src
= (wxGridSizer
*) ptr
;
2309 dest
= (wxObject
*) src
;
2310 return (void *) dest
;
2313 #define new_wxGridSizer(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxGridSizer(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2314 static PyObject
*_wrap_new_wxGridSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2315 PyObject
* _resultobj
;
2316 wxGridSizer
* _result
;
2317 int _arg0
= (int ) 1;
2318 int _arg1
= (int ) 0;
2319 int _arg2
= (int ) 0;
2320 int _arg3
= (int ) 0;
2321 char *_kwnames
[] = { "rows","cols","vgap","hgap", NULL
};
2325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iiii:new_wxGridSizer",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))
2328 wxPy_BEGIN_ALLOW_THREADS
;
2329 _result
= (wxGridSizer
*)new_wxGridSizer(_arg0
,_arg1
,_arg2
,_arg3
);
2331 wxPy_END_ALLOW_THREADS
;
2332 if (PyErr_Occurred()) return NULL
;
2334 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridSizer_p");
2335 _resultobj
= Py_BuildValue("s",_ptemp
);
2338 _resultobj
= Py_None
;
2343 #define wxGridSizer_RecalcSizes(_swigobj) (_swigobj->RecalcSizes())
2344 static PyObject
*_wrap_wxGridSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2345 PyObject
* _resultobj
;
2346 wxGridSizer
* _arg0
;
2347 PyObject
* _argo0
= 0;
2348 char *_kwnames
[] = { "self", NULL
};
2351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridSizer_RecalcSizes",_kwnames
,&_argo0
))
2354 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2355 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridSizer_p")) {
2356 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridSizer_RecalcSizes. Expected _wxGridSizer_p.");
2361 wxPy_BEGIN_ALLOW_THREADS
;
2362 wxGridSizer_RecalcSizes(_arg0
);
2364 wxPy_END_ALLOW_THREADS
;
2365 if (PyErr_Occurred()) return NULL
;
2366 } Py_INCREF(Py_None
);
2367 _resultobj
= Py_None
;
2371 #define wxGridSizer_CalcMin(_swigobj) (_swigobj->CalcMin())
2372 static PyObject
*_wrap_wxGridSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2373 PyObject
* _resultobj
;
2375 wxGridSizer
* _arg0
;
2376 PyObject
* _argo0
= 0;
2377 char *_kwnames
[] = { "self", NULL
};
2381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridSizer_CalcMin",_kwnames
,&_argo0
))
2384 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2385 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridSizer_p")) {
2386 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridSizer_CalcMin. Expected _wxGridSizer_p.");
2391 wxPy_BEGIN_ALLOW_THREADS
;
2392 _result
= new wxSize (wxGridSizer_CalcMin(_arg0
));
2394 wxPy_END_ALLOW_THREADS
;
2395 if (PyErr_Occurred()) return NULL
;
2396 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2397 _resultobj
= Py_BuildValue("s",_ptemp
);
2401 #define wxGridSizer_SetCols(_swigobj,_swigarg0) (_swigobj->SetCols(_swigarg0))
2402 static PyObject
*_wrap_wxGridSizer_SetCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2403 PyObject
* _resultobj
;
2404 wxGridSizer
* _arg0
;
2406 PyObject
* _argo0
= 0;
2407 char *_kwnames
[] = { "self","cols", NULL
};
2410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridSizer_SetCols",_kwnames
,&_argo0
,&_arg1
))
2413 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2414 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridSizer_p")) {
2415 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridSizer_SetCols. Expected _wxGridSizer_p.");
2420 wxPy_BEGIN_ALLOW_THREADS
;
2421 wxGridSizer_SetCols(_arg0
,_arg1
);
2423 wxPy_END_ALLOW_THREADS
;
2424 if (PyErr_Occurred()) return NULL
;
2425 } Py_INCREF(Py_None
);
2426 _resultobj
= Py_None
;
2430 #define wxGridSizer_SetRows(_swigobj,_swigarg0) (_swigobj->SetRows(_swigarg0))
2431 static PyObject
*_wrap_wxGridSizer_SetRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2432 PyObject
* _resultobj
;
2433 wxGridSizer
* _arg0
;
2435 PyObject
* _argo0
= 0;
2436 char *_kwnames
[] = { "self","rows", NULL
};
2439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridSizer_SetRows",_kwnames
,&_argo0
,&_arg1
))
2442 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2443 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridSizer_p")) {
2444 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridSizer_SetRows. Expected _wxGridSizer_p.");
2449 wxPy_BEGIN_ALLOW_THREADS
;
2450 wxGridSizer_SetRows(_arg0
,_arg1
);
2452 wxPy_END_ALLOW_THREADS
;
2453 if (PyErr_Occurred()) return NULL
;
2454 } Py_INCREF(Py_None
);
2455 _resultobj
= Py_None
;
2459 #define wxGridSizer_SetVGap(_swigobj,_swigarg0) (_swigobj->SetVGap(_swigarg0))
2460 static PyObject
*_wrap_wxGridSizer_SetVGap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2461 PyObject
* _resultobj
;
2462 wxGridSizer
* _arg0
;
2464 PyObject
* _argo0
= 0;
2465 char *_kwnames
[] = { "self","gap", NULL
};
2468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridSizer_SetVGap",_kwnames
,&_argo0
,&_arg1
))
2471 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2472 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridSizer_p")) {
2473 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridSizer_SetVGap. Expected _wxGridSizer_p.");
2478 wxPy_BEGIN_ALLOW_THREADS
;
2479 wxGridSizer_SetVGap(_arg0
,_arg1
);
2481 wxPy_END_ALLOW_THREADS
;
2482 if (PyErr_Occurred()) return NULL
;
2483 } Py_INCREF(Py_None
);
2484 _resultobj
= Py_None
;
2488 #define wxGridSizer_SetHGap(_swigobj,_swigarg0) (_swigobj->SetHGap(_swigarg0))
2489 static PyObject
*_wrap_wxGridSizer_SetHGap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2490 PyObject
* _resultobj
;
2491 wxGridSizer
* _arg0
;
2493 PyObject
* _argo0
= 0;
2494 char *_kwnames
[] = { "self","gap", NULL
};
2497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridSizer_SetHGap",_kwnames
,&_argo0
,&_arg1
))
2500 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2501 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridSizer_p")) {
2502 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridSizer_SetHGap. Expected _wxGridSizer_p.");
2507 wxPy_BEGIN_ALLOW_THREADS
;
2508 wxGridSizer_SetHGap(_arg0
,_arg1
);
2510 wxPy_END_ALLOW_THREADS
;
2511 if (PyErr_Occurred()) return NULL
;
2512 } Py_INCREF(Py_None
);
2513 _resultobj
= Py_None
;
2517 #define wxGridSizer_GetCols(_swigobj) (_swigobj->GetCols())
2518 static PyObject
*_wrap_wxGridSizer_GetCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2519 PyObject
* _resultobj
;
2521 wxGridSizer
* _arg0
;
2522 PyObject
* _argo0
= 0;
2523 char *_kwnames
[] = { "self", NULL
};
2526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridSizer_GetCols",_kwnames
,&_argo0
))
2529 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2530 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridSizer_p")) {
2531 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridSizer_GetCols. Expected _wxGridSizer_p.");
2536 wxPy_BEGIN_ALLOW_THREADS
;
2537 _result
= (int )wxGridSizer_GetCols(_arg0
);
2539 wxPy_END_ALLOW_THREADS
;
2540 if (PyErr_Occurred()) return NULL
;
2541 } _resultobj
= Py_BuildValue("i",_result
);
2545 #define wxGridSizer_GetRows(_swigobj) (_swigobj->GetRows())
2546 static PyObject
*_wrap_wxGridSizer_GetRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2547 PyObject
* _resultobj
;
2549 wxGridSizer
* _arg0
;
2550 PyObject
* _argo0
= 0;
2551 char *_kwnames
[] = { "self", NULL
};
2554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridSizer_GetRows",_kwnames
,&_argo0
))
2557 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2558 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridSizer_p")) {
2559 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridSizer_GetRows. Expected _wxGridSizer_p.");
2564 wxPy_BEGIN_ALLOW_THREADS
;
2565 _result
= (int )wxGridSizer_GetRows(_arg0
);
2567 wxPy_END_ALLOW_THREADS
;
2568 if (PyErr_Occurred()) return NULL
;
2569 } _resultobj
= Py_BuildValue("i",_result
);
2573 #define wxGridSizer_GetVGap(_swigobj) (_swigobj->GetVGap())
2574 static PyObject
*_wrap_wxGridSizer_GetVGap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2575 PyObject
* _resultobj
;
2577 wxGridSizer
* _arg0
;
2578 PyObject
* _argo0
= 0;
2579 char *_kwnames
[] = { "self", NULL
};
2582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridSizer_GetVGap",_kwnames
,&_argo0
))
2585 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2586 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridSizer_p")) {
2587 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridSizer_GetVGap. Expected _wxGridSizer_p.");
2592 wxPy_BEGIN_ALLOW_THREADS
;
2593 _result
= (int )wxGridSizer_GetVGap(_arg0
);
2595 wxPy_END_ALLOW_THREADS
;
2596 if (PyErr_Occurred()) return NULL
;
2597 } _resultobj
= Py_BuildValue("i",_result
);
2601 #define wxGridSizer_GetHGap(_swigobj) (_swigobj->GetHGap())
2602 static PyObject
*_wrap_wxGridSizer_GetHGap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2603 PyObject
* _resultobj
;
2605 wxGridSizer
* _arg0
;
2606 PyObject
* _argo0
= 0;
2607 char *_kwnames
[] = { "self", NULL
};
2610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridSizer_GetHGap",_kwnames
,&_argo0
))
2613 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2614 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridSizer_p")) {
2615 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridSizer_GetHGap. Expected _wxGridSizer_p.");
2620 wxPy_BEGIN_ALLOW_THREADS
;
2621 _result
= (int )wxGridSizer_GetHGap(_arg0
);
2623 wxPy_END_ALLOW_THREADS
;
2624 if (PyErr_Occurred()) return NULL
;
2625 } _resultobj
= Py_BuildValue("i",_result
);
2629 static void *SwigwxFlexGridSizerTowxGridSizer(void *ptr
) {
2630 wxFlexGridSizer
*src
;
2632 src
= (wxFlexGridSizer
*) ptr
;
2633 dest
= (wxGridSizer
*) src
;
2634 return (void *) dest
;
2637 static void *SwigwxFlexGridSizerTowxSizer(void *ptr
) {
2638 wxFlexGridSizer
*src
;
2640 src
= (wxFlexGridSizer
*) ptr
;
2641 dest
= (wxSizer
*) src
;
2642 return (void *) dest
;
2645 static void *SwigwxFlexGridSizerTowxObject(void *ptr
) {
2646 wxFlexGridSizer
*src
;
2648 src
= (wxFlexGridSizer
*) ptr
;
2649 dest
= (wxObject
*) src
;
2650 return (void *) dest
;
2653 #define new_wxFlexGridSizer(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxFlexGridSizer(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2654 static PyObject
*_wrap_new_wxFlexGridSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2655 PyObject
* _resultobj
;
2656 wxFlexGridSizer
* _result
;
2657 int _arg0
= (int ) 1;
2658 int _arg1
= (int ) 0;
2659 int _arg2
= (int ) 0;
2660 int _arg3
= (int ) 0;
2661 char *_kwnames
[] = { "rows","cols","vgap","hgap", NULL
};
2665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iiii:new_wxFlexGridSizer",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))
2668 wxPy_BEGIN_ALLOW_THREADS
;
2669 _result
= (wxFlexGridSizer
*)new_wxFlexGridSizer(_arg0
,_arg1
,_arg2
,_arg3
);
2671 wxPy_END_ALLOW_THREADS
;
2672 if (PyErr_Occurred()) return NULL
;
2674 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFlexGridSizer_p");
2675 _resultobj
= Py_BuildValue("s",_ptemp
);
2678 _resultobj
= Py_None
;
2683 #define wxFlexGridSizer_RecalcSizes(_swigobj) (_swigobj->RecalcSizes())
2684 static PyObject
*_wrap_wxFlexGridSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2685 PyObject
* _resultobj
;
2686 wxFlexGridSizer
* _arg0
;
2687 PyObject
* _argo0
= 0;
2688 char *_kwnames
[] = { "self", NULL
};
2691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFlexGridSizer_RecalcSizes",_kwnames
,&_argo0
))
2694 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2695 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFlexGridSizer_p")) {
2696 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFlexGridSizer_RecalcSizes. Expected _wxFlexGridSizer_p.");
2701 wxPy_BEGIN_ALLOW_THREADS
;
2702 wxFlexGridSizer_RecalcSizes(_arg0
);
2704 wxPy_END_ALLOW_THREADS
;
2705 if (PyErr_Occurred()) return NULL
;
2706 } Py_INCREF(Py_None
);
2707 _resultobj
= Py_None
;
2711 #define wxFlexGridSizer_CalcMin(_swigobj) (_swigobj->CalcMin())
2712 static PyObject
*_wrap_wxFlexGridSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2713 PyObject
* _resultobj
;
2715 wxFlexGridSizer
* _arg0
;
2716 PyObject
* _argo0
= 0;
2717 char *_kwnames
[] = { "self", NULL
};
2721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFlexGridSizer_CalcMin",_kwnames
,&_argo0
))
2724 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2725 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFlexGridSizer_p")) {
2726 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFlexGridSizer_CalcMin. Expected _wxFlexGridSizer_p.");
2731 wxPy_BEGIN_ALLOW_THREADS
;
2732 _result
= new wxSize (wxFlexGridSizer_CalcMin(_arg0
));
2734 wxPy_END_ALLOW_THREADS
;
2735 if (PyErr_Occurred()) return NULL
;
2736 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2737 _resultobj
= Py_BuildValue("s",_ptemp
);
2741 #define wxFlexGridSizer_AddGrowableRow(_swigobj,_swigarg0) (_swigobj->AddGrowableRow(_swigarg0))
2742 static PyObject
*_wrap_wxFlexGridSizer_AddGrowableRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2743 PyObject
* _resultobj
;
2744 wxFlexGridSizer
* _arg0
;
2746 PyObject
* _argo0
= 0;
2747 char *_kwnames
[] = { "self","idx", NULL
};
2750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFlexGridSizer_AddGrowableRow",_kwnames
,&_argo0
,&_arg1
))
2753 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2754 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFlexGridSizer_p")) {
2755 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFlexGridSizer_AddGrowableRow. Expected _wxFlexGridSizer_p.");
2760 wxPy_BEGIN_ALLOW_THREADS
;
2761 wxFlexGridSizer_AddGrowableRow(_arg0
,_arg1
);
2763 wxPy_END_ALLOW_THREADS
;
2764 if (PyErr_Occurred()) return NULL
;
2765 } Py_INCREF(Py_None
);
2766 _resultobj
= Py_None
;
2770 #define wxFlexGridSizer_RemoveGrowableRow(_swigobj,_swigarg0) (_swigobj->RemoveGrowableRow(_swigarg0))
2771 static PyObject
*_wrap_wxFlexGridSizer_RemoveGrowableRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2772 PyObject
* _resultobj
;
2773 wxFlexGridSizer
* _arg0
;
2775 PyObject
* _argo0
= 0;
2776 char *_kwnames
[] = { "self","idx", NULL
};
2779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFlexGridSizer_RemoveGrowableRow",_kwnames
,&_argo0
,&_arg1
))
2782 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2783 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFlexGridSizer_p")) {
2784 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFlexGridSizer_RemoveGrowableRow. Expected _wxFlexGridSizer_p.");
2789 wxPy_BEGIN_ALLOW_THREADS
;
2790 wxFlexGridSizer_RemoveGrowableRow(_arg0
,_arg1
);
2792 wxPy_END_ALLOW_THREADS
;
2793 if (PyErr_Occurred()) return NULL
;
2794 } Py_INCREF(Py_None
);
2795 _resultobj
= Py_None
;
2799 #define wxFlexGridSizer_AddGrowableCol(_swigobj,_swigarg0) (_swigobj->AddGrowableCol(_swigarg0))
2800 static PyObject
*_wrap_wxFlexGridSizer_AddGrowableCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2801 PyObject
* _resultobj
;
2802 wxFlexGridSizer
* _arg0
;
2804 PyObject
* _argo0
= 0;
2805 char *_kwnames
[] = { "self","idx", NULL
};
2808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFlexGridSizer_AddGrowableCol",_kwnames
,&_argo0
,&_arg1
))
2811 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2812 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFlexGridSizer_p")) {
2813 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFlexGridSizer_AddGrowableCol. Expected _wxFlexGridSizer_p.");
2818 wxPy_BEGIN_ALLOW_THREADS
;
2819 wxFlexGridSizer_AddGrowableCol(_arg0
,_arg1
);
2821 wxPy_END_ALLOW_THREADS
;
2822 if (PyErr_Occurred()) return NULL
;
2823 } Py_INCREF(Py_None
);
2824 _resultobj
= Py_None
;
2828 #define wxFlexGridSizer_RemoveGrowableCol(_swigobj,_swigarg0) (_swigobj->RemoveGrowableCol(_swigarg0))
2829 static PyObject
*_wrap_wxFlexGridSizer_RemoveGrowableCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2830 PyObject
* _resultobj
;
2831 wxFlexGridSizer
* _arg0
;
2833 PyObject
* _argo0
= 0;
2834 char *_kwnames
[] = { "self","idx", NULL
};
2837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFlexGridSizer_RemoveGrowableCol",_kwnames
,&_argo0
,&_arg1
))
2840 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2841 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFlexGridSizer_p")) {
2842 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFlexGridSizer_RemoveGrowableCol. Expected _wxFlexGridSizer_p.");
2847 wxPy_BEGIN_ALLOW_THREADS
;
2848 wxFlexGridSizer_RemoveGrowableCol(_arg0
,_arg1
);
2850 wxPy_END_ALLOW_THREADS
;
2851 if (PyErr_Occurred()) return NULL
;
2852 } Py_INCREF(Py_None
);
2853 _resultobj
= Py_None
;
2857 static PyMethodDef sizerscMethods
[] = {
2858 { "wxFlexGridSizer_RemoveGrowableCol", (PyCFunction
) _wrap_wxFlexGridSizer_RemoveGrowableCol
, METH_VARARGS
| METH_KEYWORDS
},
2859 { "wxFlexGridSizer_AddGrowableCol", (PyCFunction
) _wrap_wxFlexGridSizer_AddGrowableCol
, METH_VARARGS
| METH_KEYWORDS
},
2860 { "wxFlexGridSizer_RemoveGrowableRow", (PyCFunction
) _wrap_wxFlexGridSizer_RemoveGrowableRow
, METH_VARARGS
| METH_KEYWORDS
},
2861 { "wxFlexGridSizer_AddGrowableRow", (PyCFunction
) _wrap_wxFlexGridSizer_AddGrowableRow
, METH_VARARGS
| METH_KEYWORDS
},
2862 { "wxFlexGridSizer_CalcMin", (PyCFunction
) _wrap_wxFlexGridSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
2863 { "wxFlexGridSizer_RecalcSizes", (PyCFunction
) _wrap_wxFlexGridSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
2864 { "new_wxFlexGridSizer", (PyCFunction
) _wrap_new_wxFlexGridSizer
, METH_VARARGS
| METH_KEYWORDS
},
2865 { "wxGridSizer_GetHGap", (PyCFunction
) _wrap_wxGridSizer_GetHGap
, METH_VARARGS
| METH_KEYWORDS
},
2866 { "wxGridSizer_GetVGap", (PyCFunction
) _wrap_wxGridSizer_GetVGap
, METH_VARARGS
| METH_KEYWORDS
},
2867 { "wxGridSizer_GetRows", (PyCFunction
) _wrap_wxGridSizer_GetRows
, METH_VARARGS
| METH_KEYWORDS
},
2868 { "wxGridSizer_GetCols", (PyCFunction
) _wrap_wxGridSizer_GetCols
, METH_VARARGS
| METH_KEYWORDS
},
2869 { "wxGridSizer_SetHGap", (PyCFunction
) _wrap_wxGridSizer_SetHGap
, METH_VARARGS
| METH_KEYWORDS
},
2870 { "wxGridSizer_SetVGap", (PyCFunction
) _wrap_wxGridSizer_SetVGap
, METH_VARARGS
| METH_KEYWORDS
},
2871 { "wxGridSizer_SetRows", (PyCFunction
) _wrap_wxGridSizer_SetRows
, METH_VARARGS
| METH_KEYWORDS
},
2872 { "wxGridSizer_SetCols", (PyCFunction
) _wrap_wxGridSizer_SetCols
, METH_VARARGS
| METH_KEYWORDS
},
2873 { "wxGridSizer_CalcMin", (PyCFunction
) _wrap_wxGridSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
2874 { "wxGridSizer_RecalcSizes", (PyCFunction
) _wrap_wxGridSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
2875 { "new_wxGridSizer", (PyCFunction
) _wrap_new_wxGridSizer
, METH_VARARGS
| METH_KEYWORDS
},
2876 { "wxNotebookSizer_GetNotebook", (PyCFunction
) _wrap_wxNotebookSizer_GetNotebook
, METH_VARARGS
| METH_KEYWORDS
},
2877 { "wxNotebookSizer_CalcMin", (PyCFunction
) _wrap_wxNotebookSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
2878 { "wxNotebookSizer_RecalcSizes", (PyCFunction
) _wrap_wxNotebookSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
2879 { "new_wxNotebookSizer", (PyCFunction
) _wrap_new_wxNotebookSizer
, METH_VARARGS
| METH_KEYWORDS
},
2880 { "wxStaticBoxSizer_CalcMin", (PyCFunction
) _wrap_wxStaticBoxSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
2881 { "wxStaticBoxSizer_RecalcSizes", (PyCFunction
) _wrap_wxStaticBoxSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
2882 { "wxStaticBoxSizer_GetStaticBox", (PyCFunction
) _wrap_wxStaticBoxSizer_GetStaticBox
, METH_VARARGS
| METH_KEYWORDS
},
2883 { "new_wxStaticBoxSizer", (PyCFunction
) _wrap_new_wxStaticBoxSizer
, METH_VARARGS
| METH_KEYWORDS
},
2884 { "wxBoxSizer_CalcMin", (PyCFunction
) _wrap_wxBoxSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
2885 { "wxBoxSizer_RecalcSizes", (PyCFunction
) _wrap_wxBoxSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
2886 { "wxBoxSizer_GetOrientation", (PyCFunction
) _wrap_wxBoxSizer_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
2887 { "new_wxBoxSizer", (PyCFunction
) _wrap_new_wxBoxSizer
, METH_VARARGS
| METH_KEYWORDS
},
2888 { "wxPySizer__setSelf", (PyCFunction
) _wrap_wxPySizer__setSelf
, METH_VARARGS
| METH_KEYWORDS
},
2889 { "new_wxPySizer", (PyCFunction
) _wrap_new_wxPySizer
, METH_VARARGS
| METH_KEYWORDS
},
2890 { "wxSizer_GetChildren", (PyCFunction
) _wrap_wxSizer_GetChildren
, METH_VARARGS
| METH_KEYWORDS
},
2891 { "wxSizer_SetSizeHints", (PyCFunction
) _wrap_wxSizer_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
},
2892 { "wxSizer_Fit", (PyCFunction
) _wrap_wxSizer_Fit
, METH_VARARGS
| METH_KEYWORDS
},
2893 { "wxSizer_Layout", (PyCFunction
) _wrap_wxSizer_Layout
, METH_VARARGS
| METH_KEYWORDS
},
2894 { "wxSizer_GetMinSize", (PyCFunction
) _wrap_wxSizer_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
2895 { "wxSizer_GetPosition", (PyCFunction
) _wrap_wxSizer_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
2896 { "wxSizer_GetSize", (PyCFunction
) _wrap_wxSizer_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
2897 { "wxSizer_SetItemMinSizePos", (PyCFunction
) _wrap_wxSizer_SetItemMinSizePos
, METH_VARARGS
| METH_KEYWORDS
},
2898 { "wxSizer_SetItemMinSizeSizer", (PyCFunction
) _wrap_wxSizer_SetItemMinSizeSizer
, METH_VARARGS
| METH_KEYWORDS
},
2899 { "wxSizer_SetItemMinSizeWindow", (PyCFunction
) _wrap_wxSizer_SetItemMinSizeWindow
, METH_VARARGS
| METH_KEYWORDS
},
2900 { "wxSizer_SetMinSize", (PyCFunction
) _wrap_wxSizer_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
2901 { "wxSizer_SetDimension", (PyCFunction
) _wrap_wxSizer_SetDimension
, METH_VARARGS
| METH_KEYWORDS
},
2902 { "wxSizer_RemovePos", (PyCFunction
) _wrap_wxSizer_RemovePos
, METH_VARARGS
| METH_KEYWORDS
},
2903 { "wxSizer_RemoveSizer", (PyCFunction
) _wrap_wxSizer_RemoveSizer
, METH_VARARGS
| METH_KEYWORDS
},
2904 { "wxSizer_RemoveWindow", (PyCFunction
) _wrap_wxSizer_RemoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
2905 { "wxSizer_PrependSpacer", (PyCFunction
) _wrap_wxSizer_PrependSpacer
, METH_VARARGS
| METH_KEYWORDS
},
2906 { "wxSizer_PrependSizer", (PyCFunction
) _wrap_wxSizer_PrependSizer
, METH_VARARGS
| METH_KEYWORDS
},
2907 { "wxSizer_PrependWindow", (PyCFunction
) _wrap_wxSizer_PrependWindow
, METH_VARARGS
| METH_KEYWORDS
},
2908 { "wxSizer_InsertSpacer", (PyCFunction
) _wrap_wxSizer_InsertSpacer
, METH_VARARGS
| METH_KEYWORDS
},
2909 { "wxSizer_InsertSizer", (PyCFunction
) _wrap_wxSizer_InsertSizer
, METH_VARARGS
| METH_KEYWORDS
},
2910 { "wxSizer_InsertWindow", (PyCFunction
) _wrap_wxSizer_InsertWindow
, METH_VARARGS
| METH_KEYWORDS
},
2911 { "wxSizer_AddSpacer", (PyCFunction
) _wrap_wxSizer_AddSpacer
, METH_VARARGS
| METH_KEYWORDS
},
2912 { "wxSizer_AddSizer", (PyCFunction
) _wrap_wxSizer_AddSizer
, METH_VARARGS
| METH_KEYWORDS
},
2913 { "wxSizer_AddWindow", (PyCFunction
) _wrap_wxSizer_AddWindow
, METH_VARARGS
| METH_KEYWORDS
},
2914 { "wxSizer_Destroy", (PyCFunction
) _wrap_wxSizer_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
2915 { "wxSizerItem_GetUserData", (PyCFunction
) _wrap_wxSizerItem_GetUserData
, METH_VARARGS
| METH_KEYWORDS
},
2916 { "wxSizerItem_SetBorder", (PyCFunction
) _wrap_wxSizerItem_SetBorder
, METH_VARARGS
| METH_KEYWORDS
},
2917 { "wxSizerItem_SetFlag", (PyCFunction
) _wrap_wxSizerItem_SetFlag
, METH_VARARGS
| METH_KEYWORDS
},
2918 { "wxSizerItem_SetOption", (PyCFunction
) _wrap_wxSizerItem_SetOption
, METH_VARARGS
| METH_KEYWORDS
},
2919 { "wxSizerItem_SetInitSize", (PyCFunction
) _wrap_wxSizerItem_SetInitSize
, METH_VARARGS
| METH_KEYWORDS
},
2920 { "wxSizerItem_GetBorder", (PyCFunction
) _wrap_wxSizerItem_GetBorder
, METH_VARARGS
| METH_KEYWORDS
},
2921 { "wxSizerItem_GetFlag", (PyCFunction
) _wrap_wxSizerItem_GetFlag
, METH_VARARGS
| METH_KEYWORDS
},
2922 { "wxSizerItem_GetOption", (PyCFunction
) _wrap_wxSizerItem_GetOption
, METH_VARARGS
| METH_KEYWORDS
},
2923 { "wxSizerItem_SetSizer", (PyCFunction
) _wrap_wxSizerItem_SetSizer
, METH_VARARGS
| METH_KEYWORDS
},
2924 { "wxSizerItem_GetSizer", (PyCFunction
) _wrap_wxSizerItem_GetSizer
, METH_VARARGS
| METH_KEYWORDS
},
2925 { "wxSizerItem_SetWindow", (PyCFunction
) _wrap_wxSizerItem_SetWindow
, METH_VARARGS
| METH_KEYWORDS
},
2926 { "wxSizerItem_GetWindow", (PyCFunction
) _wrap_wxSizerItem_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
2927 { "wxSizerItem_IsSpacer", (PyCFunction
) _wrap_wxSizerItem_IsSpacer
, METH_VARARGS
| METH_KEYWORDS
},
2928 { "wxSizerItem_IsSizer", (PyCFunction
) _wrap_wxSizerItem_IsSizer
, METH_VARARGS
| METH_KEYWORDS
},
2929 { "wxSizerItem_IsWindow", (PyCFunction
) _wrap_wxSizerItem_IsWindow
, METH_VARARGS
| METH_KEYWORDS
},
2930 { "wxSizerItem_GetRatio", (PyCFunction
) _wrap_wxSizerItem_GetRatio
, METH_VARARGS
| METH_KEYWORDS
},
2931 { "wxSizerItem_SetRatio", (PyCFunction
) _wrap_wxSizerItem_SetRatio
, METH_VARARGS
| METH_KEYWORDS
},
2932 { "wxSizerItem_SetRatioSize", (PyCFunction
) _wrap_wxSizerItem_SetRatioSize
, METH_VARARGS
| METH_KEYWORDS
},
2933 { "wxSizerItem_SetRatioWH", (PyCFunction
) _wrap_wxSizerItem_SetRatioWH
, METH_VARARGS
| METH_KEYWORDS
},
2934 { "wxSizerItem_SetDimension", (PyCFunction
) _wrap_wxSizerItem_SetDimension
, METH_VARARGS
| METH_KEYWORDS
},
2935 { "wxSizerItem_CalcMin", (PyCFunction
) _wrap_wxSizerItem_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
2936 { "wxSizerItem_GetSize", (PyCFunction
) _wrap_wxSizerItem_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
2937 { "wxSizerItem_GetPosition", (PyCFunction
) _wrap_wxSizerItem_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
2944 * This table is used by the pointer type-checker
2946 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
2947 { "_signed_long","_long",0},
2948 { "_wxPrintQuality","_wxCoord",0},
2949 { "_wxPrintQuality","_int",0},
2950 { "_wxPrintQuality","_signed_int",0},
2951 { "_wxPrintQuality","_unsigned_int",0},
2952 { "_wxPrintQuality","_wxWindowID",0},
2953 { "_wxPrintQuality","_uint",0},
2954 { "_wxPrintQuality","_EBool",0},
2955 { "_wxPrintQuality","_size_t",0},
2956 { "_wxPrintQuality","_time_t",0},
2957 { "_byte","_unsigned_char",0},
2958 { "_long","_unsigned_long",0},
2959 { "_long","_signed_long",0},
2960 { "_class_wxSizer","_class_wxFlexGridSizer",SwigwxFlexGridSizerTowxSizer
},
2961 { "_class_wxSizer","_wxFlexGridSizer",SwigwxFlexGridSizerTowxSizer
},
2962 { "_class_wxSizer","_class_wxGridSizer",SwigwxGridSizerTowxSizer
},
2963 { "_class_wxSizer","_wxGridSizer",SwigwxGridSizerTowxSizer
},
2964 { "_class_wxSizer","_class_wxNotebookSizer",SwigwxNotebookSizerTowxSizer
},
2965 { "_class_wxSizer","_wxNotebookSizer",SwigwxNotebookSizerTowxSizer
},
2966 { "_class_wxSizer","_class_wxStaticBoxSizer",SwigwxStaticBoxSizerTowxSizer
},
2967 { "_class_wxSizer","_wxStaticBoxSizer",SwigwxStaticBoxSizerTowxSizer
},
2968 { "_class_wxSizer","_class_wxBoxSizer",SwigwxBoxSizerTowxSizer
},
2969 { "_class_wxSizer","_wxBoxSizer",SwigwxBoxSizerTowxSizer
},
2970 { "_class_wxSizer","_class_wxPySizer",SwigwxPySizerTowxSizer
},
2971 { "_class_wxSizer","_wxPySizer",SwigwxPySizerTowxSizer
},
2972 { "_wxGridSizer","_class_wxFlexGridSizer",SwigwxFlexGridSizerTowxGridSizer
},
2973 { "_wxGridSizer","_wxFlexGridSizer",SwigwxFlexGridSizerTowxGridSizer
},
2974 { "_class_wxObject","_class_wxFlexGridSizer",SwigwxFlexGridSizerTowxObject
},
2975 { "_class_wxObject","_wxFlexGridSizer",SwigwxFlexGridSizerTowxObject
},
2976 { "_class_wxObject","_class_wxGridSizer",SwigwxGridSizerTowxObject
},
2977 { "_class_wxObject","_wxGridSizer",SwigwxGridSizerTowxObject
},
2978 { "_class_wxObject","_class_wxNotebookSizer",SwigwxNotebookSizerTowxObject
},
2979 { "_class_wxObject","_wxNotebookSizer",SwigwxNotebookSizerTowxObject
},
2980 { "_class_wxObject","_class_wxStaticBoxSizer",SwigwxStaticBoxSizerTowxObject
},
2981 { "_class_wxObject","_wxStaticBoxSizer",SwigwxStaticBoxSizerTowxObject
},
2982 { "_class_wxObject","_class_wxBoxSizer",SwigwxBoxSizerTowxObject
},
2983 { "_class_wxObject","_wxBoxSizer",SwigwxBoxSizerTowxObject
},
2984 { "_class_wxObject","_class_wxPySizer",SwigwxPySizerTowxObject
},
2985 { "_class_wxObject","_wxPySizer",SwigwxPySizerTowxObject
},
2986 { "_class_wxObject","_class_wxSizer",SwigwxSizerTowxObject
},
2987 { "_class_wxObject","_wxSizer",SwigwxSizerTowxObject
},
2988 { "_class_wxObject","_class_wxSizerItem",SwigwxSizerItemTowxObject
},
2989 { "_class_wxObject","_wxSizerItem",SwigwxSizerItemTowxObject
},
2990 { "_size_t","_wxCoord",0},
2991 { "_size_t","_wxPrintQuality",0},
2992 { "_size_t","_time_t",0},
2993 { "_size_t","_unsigned_int",0},
2994 { "_size_t","_int",0},
2995 { "_size_t","_wxWindowID",0},
2996 { "_size_t","_uint",0},
2997 { "_uint","_wxCoord",0},
2998 { "_uint","_wxPrintQuality",0},
2999 { "_uint","_time_t",0},
3000 { "_uint","_size_t",0},
3001 { "_uint","_unsigned_int",0},
3002 { "_uint","_int",0},
3003 { "_uint","_wxWindowID",0},
3004 { "_wxChar","_char",0},
3005 { "_wxBoxSizer","_class_wxStaticBoxSizer",SwigwxStaticBoxSizerTowxBoxSizer
},
3006 { "_wxBoxSizer","_wxStaticBoxSizer",SwigwxStaticBoxSizerTowxBoxSizer
},
3007 { "_char","_wxChar",0},
3008 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
3009 { "_EBool","_wxCoord",0},
3010 { "_EBool","_wxPrintQuality",0},
3011 { "_EBool","_signed_int",0},
3012 { "_EBool","_int",0},
3013 { "_EBool","_wxWindowID",0},
3014 { "_unsigned_long","_long",0},
3015 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
3016 { "_signed_int","_wxCoord",0},
3017 { "_signed_int","_wxPrintQuality",0},
3018 { "_signed_int","_EBool",0},
3019 { "_signed_int","_wxWindowID",0},
3020 { "_signed_int","_int",0},
3021 { "_WXTYPE","_short",0},
3022 { "_WXTYPE","_signed_short",0},
3023 { "_WXTYPE","_unsigned_short",0},
3024 { "_unsigned_short","_WXTYPE",0},
3025 { "_unsigned_short","_short",0},
3026 { "_wxObject","_class_wxFlexGridSizer",SwigwxFlexGridSizerTowxObject
},
3027 { "_wxObject","_wxFlexGridSizer",SwigwxFlexGridSizerTowxObject
},
3028 { "_wxObject","_class_wxGridSizer",SwigwxGridSizerTowxObject
},
3029 { "_wxObject","_wxGridSizer",SwigwxGridSizerTowxObject
},
3030 { "_wxObject","_class_wxNotebookSizer",SwigwxNotebookSizerTowxObject
},
3031 { "_wxObject","_wxNotebookSizer",SwigwxNotebookSizerTowxObject
},
3032 { "_wxObject","_class_wxStaticBoxSizer",SwigwxStaticBoxSizerTowxObject
},
3033 { "_wxObject","_wxStaticBoxSizer",SwigwxStaticBoxSizerTowxObject
},
3034 { "_wxObject","_class_wxBoxSizer",SwigwxBoxSizerTowxObject
},
3035 { "_wxObject","_wxBoxSizer",SwigwxBoxSizerTowxObject
},
3036 { "_wxObject","_class_wxPySizer",SwigwxPySizerTowxObject
},
3037 { "_wxObject","_wxPySizer",SwigwxPySizerTowxObject
},
3038 { "_wxObject","_class_wxSizer",SwigwxSizerTowxObject
},
3039 { "_wxObject","_wxSizer",SwigwxSizerTowxObject
},
3040 { "_wxObject","_class_wxSizerItem",SwigwxSizerItemTowxObject
},
3041 { "_wxObject","_wxSizerItem",SwigwxSizerItemTowxObject
},
3042 { "_class_wxBoxSizer","_class_wxStaticBoxSizer",SwigwxStaticBoxSizerTowxBoxSizer
},
3043 { "_class_wxBoxSizer","_wxStaticBoxSizer",SwigwxStaticBoxSizerTowxBoxSizer
},
3044 { "_signed_short","_WXTYPE",0},
3045 { "_signed_short","_short",0},
3046 { "_unsigned_char","_byte",0},
3047 { "_unsigned_int","_wxCoord",0},
3048 { "_unsigned_int","_wxPrintQuality",0},
3049 { "_unsigned_int","_time_t",0},
3050 { "_unsigned_int","_size_t",0},
3051 { "_unsigned_int","_uint",0},
3052 { "_unsigned_int","_wxWindowID",0},
3053 { "_unsigned_int","_int",0},
3054 { "_short","_WXTYPE",0},
3055 { "_short","_unsigned_short",0},
3056 { "_short","_signed_short",0},
3057 { "_class_wxGridSizer","_class_wxFlexGridSizer",SwigwxFlexGridSizerTowxGridSizer
},
3058 { "_class_wxGridSizer","_wxFlexGridSizer",SwigwxFlexGridSizerTowxGridSizer
},
3059 { "_wxWindowID","_wxCoord",0},
3060 { "_wxWindowID","_wxPrintQuality",0},
3061 { "_wxWindowID","_time_t",0},
3062 { "_wxWindowID","_size_t",0},
3063 { "_wxWindowID","_EBool",0},
3064 { "_wxWindowID","_uint",0},
3065 { "_wxWindowID","_int",0},
3066 { "_wxWindowID","_signed_int",0},
3067 { "_wxWindowID","_unsigned_int",0},
3068 { "_int","_wxCoord",0},
3069 { "_int","_wxPrintQuality",0},
3070 { "_int","_time_t",0},
3071 { "_int","_size_t",0},
3072 { "_int","_EBool",0},
3073 { "_int","_uint",0},
3074 { "_int","_wxWindowID",0},
3075 { "_int","_unsigned_int",0},
3076 { "_int","_signed_int",0},
3077 { "_time_t","_wxCoord",0},
3078 { "_time_t","_wxPrintQuality",0},
3079 { "_time_t","_unsigned_int",0},
3080 { "_time_t","_int",0},
3081 { "_time_t","_wxWindowID",0},
3082 { "_time_t","_uint",0},
3083 { "_time_t","_size_t",0},
3084 { "_wxCoord","_int",0},
3085 { "_wxCoord","_signed_int",0},
3086 { "_wxCoord","_unsigned_int",0},
3087 { "_wxCoord","_wxWindowID",0},
3088 { "_wxCoord","_uint",0},
3089 { "_wxCoord","_EBool",0},
3090 { "_wxCoord","_size_t",0},
3091 { "_wxCoord","_time_t",0},
3092 { "_wxCoord","_wxPrintQuality",0},
3093 { "_wxSizer","_class_wxFlexGridSizer",SwigwxFlexGridSizerTowxSizer
},
3094 { "_wxSizer","_wxFlexGridSizer",SwigwxFlexGridSizerTowxSizer
},
3095 { "_wxSizer","_class_wxGridSizer",SwigwxGridSizerTowxSizer
},
3096 { "_wxSizer","_wxGridSizer",SwigwxGridSizerTowxSizer
},
3097 { "_wxSizer","_class_wxNotebookSizer",SwigwxNotebookSizerTowxSizer
},
3098 { "_wxSizer","_wxNotebookSizer",SwigwxNotebookSizerTowxSizer
},
3099 { "_wxSizer","_class_wxStaticBoxSizer",SwigwxStaticBoxSizerTowxSizer
},
3100 { "_wxSizer","_wxStaticBoxSizer",SwigwxStaticBoxSizerTowxSizer
},
3101 { "_wxSizer","_class_wxBoxSizer",SwigwxBoxSizerTowxSizer
},
3102 { "_wxSizer","_wxBoxSizer",SwigwxBoxSizerTowxSizer
},
3103 { "_wxSizer","_class_wxPySizer",SwigwxPySizerTowxSizer
},
3104 { "_wxSizer","_wxPySizer",SwigwxPySizerTowxSizer
},
3107 static PyObject
*SWIG_globals
;
3111 SWIGEXPORT(void) initsizersc() {
3113 SWIG_globals
= SWIG_newvarlink();
3114 m
= Py_InitModule("sizersc", sizerscMethods
);
3115 d
= PyModule_GetDict(m
);
3118 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
3119 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);