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 required";
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__setOORInfo(wxSizer
*self
,PyObject
* _self
) {
841 self
->SetClientObject(new wxPyClientData(_self
));
843 static PyObject
*_wrap_wxSizer__setOORInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
844 PyObject
* _resultobj
;
847 PyObject
* _argo0
= 0;
848 PyObject
* _obj1
= 0;
849 char *_kwnames
[] = { "self","_self", NULL
};
852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxSizer__setOORInfo",_kwnames
,&_argo0
,&_obj1
))
855 if (_argo0
== Py_None
) { _arg0
= NULL
; }
856 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
857 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer__setOORInfo. Expected _wxSizer_p.");
865 wxPy_BEGIN_ALLOW_THREADS
;
866 wxSizer__setOORInfo(_arg0
,_arg1
);
868 wxPy_END_ALLOW_THREADS
;
869 if (PyErr_Occurred()) return NULL
;
870 } Py_INCREF(Py_None
);
871 _resultobj
= Py_None
;
875 static void wxSizer_Destroy(wxSizer
*self
) { delete self
; }
876 static PyObject
*_wrap_wxSizer_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
877 PyObject
* _resultobj
;
879 PyObject
* _argo0
= 0;
880 char *_kwnames
[] = { "self", NULL
};
883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSizer_Destroy",_kwnames
,&_argo0
))
886 if (_argo0
== Py_None
) { _arg0
= NULL
; }
887 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
888 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_Destroy. Expected _wxSizer_p.");
893 wxPy_BEGIN_ALLOW_THREADS
;
894 wxSizer_Destroy(_arg0
);
896 wxPy_END_ALLOW_THREADS
;
897 if (PyErr_Occurred()) return NULL
;
898 } Py_INCREF(Py_None
);
899 _resultobj
= Py_None
;
903 static void wxSizer_AddWindow(wxSizer
*self
,wxWindow
* window
,int option
,int flag
,int border
,PyObject
* userData
) {
904 wxPyUserData
* data
= NULL
;
905 if (userData
) data
= new wxPyUserData(userData
);
906 self
->Add(window
, option
, flag
, border
, data
);
908 static PyObject
*_wrap_wxSizer_AddWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
909 PyObject
* _resultobj
;
912 int _arg2
= (int ) 0;
913 int _arg3
= (int ) 0;
914 int _arg4
= (int ) 0;
915 PyObject
* _arg5
= (PyObject
*) NULL
;
916 PyObject
* _argo0
= 0;
917 PyObject
* _argo1
= 0;
918 PyObject
* _obj5
= 0;
919 char *_kwnames
[] = { "self","window","option","flag","border","userData", NULL
};
922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iiiO:wxSizer_AddWindow",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_obj5
))
925 if (_argo0
== Py_None
) { _arg0
= NULL
; }
926 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
927 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_AddWindow. Expected _wxSizer_p.");
932 if (_argo1
== Py_None
) { _arg1
= NULL
; }
933 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
934 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSizer_AddWindow. Expected _wxWindow_p.");
943 wxPy_BEGIN_ALLOW_THREADS
;
944 wxSizer_AddWindow(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
946 wxPy_END_ALLOW_THREADS
;
947 if (PyErr_Occurred()) return NULL
;
948 } Py_INCREF(Py_None
);
949 _resultobj
= Py_None
;
953 static void wxSizer_AddSizer(wxSizer
*self
,wxSizer
* sizer
,int option
,int flag
,int border
,PyObject
* userData
) {
954 wxPyUserData
* data
= NULL
;
955 if (userData
) data
= new wxPyUserData(userData
);
956 self
->Add(sizer
, option
, flag
, border
, data
);
958 static PyObject
*_wrap_wxSizer_AddSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
959 PyObject
* _resultobj
;
962 int _arg2
= (int ) 0;
963 int _arg3
= (int ) 0;
964 int _arg4
= (int ) 0;
965 PyObject
* _arg5
= (PyObject
*) NULL
;
966 PyObject
* _argo0
= 0;
967 PyObject
* _argo1
= 0;
968 PyObject
* _obj5
= 0;
969 char *_kwnames
[] = { "self","sizer","option","flag","border","userData", NULL
};
972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iiiO:wxSizer_AddSizer",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_obj5
))
975 if (_argo0
== Py_None
) { _arg0
= NULL
; }
976 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
977 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_AddSizer. Expected _wxSizer_p.");
982 if (_argo1
== Py_None
) { _arg1
= NULL
; }
983 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxSizer_p")) {
984 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSizer_AddSizer. Expected _wxSizer_p.");
993 wxPy_BEGIN_ALLOW_THREADS
;
994 wxSizer_AddSizer(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
996 wxPy_END_ALLOW_THREADS
;
997 if (PyErr_Occurred()) return NULL
;
998 } Py_INCREF(Py_None
);
999 _resultobj
= Py_None
;
1003 static void wxSizer_AddSpacer(wxSizer
*self
,int width
,int height
,int option
,int flag
,int border
,PyObject
* userData
) {
1004 wxPyUserData
* data
= NULL
;
1005 if (userData
) data
= new wxPyUserData(userData
);
1006 self
->Add(width
, height
, option
, flag
, border
, data
);
1008 static PyObject
*_wrap_wxSizer_AddSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1009 PyObject
* _resultobj
;
1013 int _arg3
= (int ) 0;
1014 int _arg4
= (int ) 0;
1015 int _arg5
= (int ) 0;
1016 PyObject
* _arg6
= (PyObject
*) NULL
;
1017 PyObject
* _argo0
= 0;
1018 PyObject
* _obj6
= 0;
1019 char *_kwnames
[] = { "self","width","height","option","flag","border","userData", NULL
};
1022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|iiiO:wxSizer_AddSpacer",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_obj6
))
1025 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1026 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
1027 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_AddSpacer. Expected _wxSizer_p.");
1036 wxPy_BEGIN_ALLOW_THREADS
;
1037 wxSizer_AddSpacer(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
1039 wxPy_END_ALLOW_THREADS
;
1040 if (PyErr_Occurred()) return NULL
;
1041 } Py_INCREF(Py_None
);
1042 _resultobj
= Py_None
;
1046 static void wxSizer_InsertWindow(wxSizer
*self
,int before
,wxWindow
* window
,int option
,int flag
,int border
,PyObject
* userData
) {
1047 wxPyUserData
* data
= NULL
;
1048 if (userData
) data
= new wxPyUserData(userData
);
1049 self
->Insert(before
, window
, option
, flag
, border
, data
);
1051 static PyObject
*_wrap_wxSizer_InsertWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1052 PyObject
* _resultobj
;
1056 int _arg3
= (int ) 0;
1057 int _arg4
= (int ) 0;
1058 int _arg5
= (int ) 0;
1059 PyObject
* _arg6
= (PyObject
*) NULL
;
1060 PyObject
* _argo0
= 0;
1061 PyObject
* _argo2
= 0;
1062 PyObject
* _obj6
= 0;
1063 char *_kwnames
[] = { "self","before","window","option","flag","border","userData", NULL
};
1066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|iiiO:wxSizer_InsertWindow",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_arg3
,&_arg4
,&_arg5
,&_obj6
))
1069 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1070 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
1071 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_InsertWindow. Expected _wxSizer_p.");
1076 if (_argo2
== Py_None
) { _arg2
= NULL
; }
1077 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
1078 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxSizer_InsertWindow. Expected _wxWindow_p.");
1087 wxPy_BEGIN_ALLOW_THREADS
;
1088 wxSizer_InsertWindow(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
1090 wxPy_END_ALLOW_THREADS
;
1091 if (PyErr_Occurred()) return NULL
;
1092 } Py_INCREF(Py_None
);
1093 _resultobj
= Py_None
;
1097 static void wxSizer_InsertSizer(wxSizer
*self
,int before
,wxSizer
* sizer
,int option
,int flag
,int border
,PyObject
* userData
) {
1098 wxPyUserData
* data
= NULL
;
1099 if (userData
) data
= new wxPyUserData(userData
);
1100 self
->Insert(before
, sizer
, option
, flag
, border
, data
);
1102 static PyObject
*_wrap_wxSizer_InsertSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1103 PyObject
* _resultobj
;
1107 int _arg3
= (int ) 0;
1108 int _arg4
= (int ) 0;
1109 int _arg5
= (int ) 0;
1110 PyObject
* _arg6
= (PyObject
*) NULL
;
1111 PyObject
* _argo0
= 0;
1112 PyObject
* _argo2
= 0;
1113 PyObject
* _obj6
= 0;
1114 char *_kwnames
[] = { "self","before","sizer","option","flag","border","userData", NULL
};
1117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|iiiO:wxSizer_InsertSizer",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_arg3
,&_arg4
,&_arg5
,&_obj6
))
1120 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1121 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
1122 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_InsertSizer. Expected _wxSizer_p.");
1127 if (_argo2
== Py_None
) { _arg2
= NULL
; }
1128 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxSizer_p")) {
1129 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxSizer_InsertSizer. Expected _wxSizer_p.");
1138 wxPy_BEGIN_ALLOW_THREADS
;
1139 wxSizer_InsertSizer(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
1141 wxPy_END_ALLOW_THREADS
;
1142 if (PyErr_Occurred()) return NULL
;
1143 } Py_INCREF(Py_None
);
1144 _resultobj
= Py_None
;
1148 static void wxSizer_InsertSpacer(wxSizer
*self
,int before
,int width
,int height
,int option
,int flag
,int border
,PyObject
* userData
) {
1149 wxPyUserData
* data
= NULL
;
1150 if (userData
) data
= new wxPyUserData(userData
);
1151 self
->Insert(before
, width
, height
, option
, flag
, border
, data
);
1153 static PyObject
*_wrap_wxSizer_InsertSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1154 PyObject
* _resultobj
;
1159 int _arg4
= (int ) 0;
1160 int _arg5
= (int ) 0;
1161 int _arg6
= (int ) 0;
1162 PyObject
* _arg7
= (PyObject
*) NULL
;
1163 PyObject
* _argo0
= 0;
1164 PyObject
* _obj7
= 0;
1165 char *_kwnames
[] = { "self","before","width","height","option","flag","border","userData", NULL
};
1168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiii|iiiO:wxSizer_InsertSpacer",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
,&_obj7
))
1171 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1172 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
1173 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_InsertSpacer. Expected _wxSizer_p.");
1182 wxPy_BEGIN_ALLOW_THREADS
;
1183 wxSizer_InsertSpacer(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
);
1185 wxPy_END_ALLOW_THREADS
;
1186 if (PyErr_Occurred()) return NULL
;
1187 } Py_INCREF(Py_None
);
1188 _resultobj
= Py_None
;
1192 static void wxSizer_PrependWindow(wxSizer
*self
,wxWindow
* window
,int option
,int flag
,int border
,PyObject
* userData
) {
1193 wxPyUserData
* data
= NULL
;
1194 if (userData
) data
= new wxPyUserData(userData
);
1195 self
->Prepend(window
, option
, flag
, border
, data
);
1197 static PyObject
*_wrap_wxSizer_PrependWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1198 PyObject
* _resultobj
;
1201 int _arg2
= (int ) 0;
1202 int _arg3
= (int ) 0;
1203 int _arg4
= (int ) 0;
1204 PyObject
* _arg5
= (PyObject
*) NULL
;
1205 PyObject
* _argo0
= 0;
1206 PyObject
* _argo1
= 0;
1207 PyObject
* _obj5
= 0;
1208 char *_kwnames
[] = { "self","window","option","flag","border","userData", NULL
};
1211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iiiO:wxSizer_PrependWindow",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_obj5
))
1214 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1215 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
1216 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_PrependWindow. Expected _wxSizer_p.");
1221 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1222 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1223 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSizer_PrependWindow. Expected _wxWindow_p.");
1232 wxPy_BEGIN_ALLOW_THREADS
;
1233 wxSizer_PrependWindow(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
1235 wxPy_END_ALLOW_THREADS
;
1236 if (PyErr_Occurred()) return NULL
;
1237 } Py_INCREF(Py_None
);
1238 _resultobj
= Py_None
;
1242 static void wxSizer_PrependSizer(wxSizer
*self
,wxSizer
* sizer
,int option
,int flag
,int border
,PyObject
* userData
) {
1243 wxPyUserData
* data
= NULL
;
1244 if (userData
) data
= new wxPyUserData(userData
);
1245 self
->Prepend(sizer
, option
, flag
, border
, data
);
1247 static PyObject
*_wrap_wxSizer_PrependSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1248 PyObject
* _resultobj
;
1251 int _arg2
= (int ) 0;
1252 int _arg3
= (int ) 0;
1253 int _arg4
= (int ) 0;
1254 PyObject
* _arg5
= (PyObject
*) NULL
;
1255 PyObject
* _argo0
= 0;
1256 PyObject
* _argo1
= 0;
1257 PyObject
* _obj5
= 0;
1258 char *_kwnames
[] = { "self","sizer","option","flag","border","userData", NULL
};
1261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iiiO:wxSizer_PrependSizer",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_obj5
))
1264 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1265 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
1266 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_PrependSizer. Expected _wxSizer_p.");
1271 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1272 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxSizer_p")) {
1273 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSizer_PrependSizer. Expected _wxSizer_p.");
1282 wxPy_BEGIN_ALLOW_THREADS
;
1283 wxSizer_PrependSizer(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
1285 wxPy_END_ALLOW_THREADS
;
1286 if (PyErr_Occurred()) return NULL
;
1287 } Py_INCREF(Py_None
);
1288 _resultobj
= Py_None
;
1292 static void wxSizer_PrependSpacer(wxSizer
*self
,int width
,int height
,int option
,int flag
,int border
,PyObject
* userData
) {
1293 wxPyUserData
* data
= NULL
;
1294 if (userData
) data
= new wxPyUserData(userData
);
1295 self
->Prepend(width
, height
, option
, flag
, border
, data
);
1297 static PyObject
*_wrap_wxSizer_PrependSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1298 PyObject
* _resultobj
;
1302 int _arg3
= (int ) 0;
1303 int _arg4
= (int ) 0;
1304 int _arg5
= (int ) 0;
1305 PyObject
* _arg6
= (PyObject
*) NULL
;
1306 PyObject
* _argo0
= 0;
1307 PyObject
* _obj6
= 0;
1308 char *_kwnames
[] = { "self","width","height","option","flag","border","userData", NULL
};
1311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|iiiO:wxSizer_PrependSpacer",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_obj6
))
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_PrependSpacer. Expected _wxSizer_p.");
1325 wxPy_BEGIN_ALLOW_THREADS
;
1326 wxSizer_PrependSpacer(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
1328 wxPy_END_ALLOW_THREADS
;
1329 if (PyErr_Occurred()) return NULL
;
1330 } Py_INCREF(Py_None
);
1331 _resultobj
= Py_None
;
1335 #define wxSizer_RemoveWindow(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
1336 static PyObject
*_wrap_wxSizer_RemoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1337 PyObject
* _resultobj
;
1341 PyObject
* _argo0
= 0;
1342 PyObject
* _argo1
= 0;
1343 char *_kwnames
[] = { "self","window", NULL
};
1346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxSizer_RemoveWindow",_kwnames
,&_argo0
,&_argo1
))
1349 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1350 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
1351 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_RemoveWindow. Expected _wxSizer_p.");
1356 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1357 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1358 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSizer_RemoveWindow. Expected _wxWindow_p.");
1363 wxPy_BEGIN_ALLOW_THREADS
;
1364 _result
= (bool )wxSizer_RemoveWindow(_arg0
,_arg1
);
1366 wxPy_END_ALLOW_THREADS
;
1367 if (PyErr_Occurred()) return NULL
;
1368 } _resultobj
= Py_BuildValue("i",_result
);
1372 #define wxSizer_RemoveSizer(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
1373 static PyObject
*_wrap_wxSizer_RemoveSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1374 PyObject
* _resultobj
;
1378 PyObject
* _argo0
= 0;
1379 PyObject
* _argo1
= 0;
1380 char *_kwnames
[] = { "self","sizer", NULL
};
1383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxSizer_RemoveSizer",_kwnames
,&_argo0
,&_argo1
))
1386 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1387 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
1388 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_RemoveSizer. Expected _wxSizer_p.");
1393 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1394 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxSizer_p")) {
1395 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSizer_RemoveSizer. Expected _wxSizer_p.");
1400 wxPy_BEGIN_ALLOW_THREADS
;
1401 _result
= (bool )wxSizer_RemoveSizer(_arg0
,_arg1
);
1403 wxPy_END_ALLOW_THREADS
;
1404 if (PyErr_Occurred()) return NULL
;
1405 } _resultobj
= Py_BuildValue("i",_result
);
1409 #define wxSizer_RemovePos(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
1410 static PyObject
*_wrap_wxSizer_RemovePos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1411 PyObject
* _resultobj
;
1415 PyObject
* _argo0
= 0;
1416 char *_kwnames
[] = { "self","pos", NULL
};
1419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSizer_RemovePos",_kwnames
,&_argo0
,&_arg1
))
1422 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1423 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
1424 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_RemovePos. Expected _wxSizer_p.");
1429 wxPy_BEGIN_ALLOW_THREADS
;
1430 _result
= (bool )wxSizer_RemovePos(_arg0
,_arg1
);
1432 wxPy_END_ALLOW_THREADS
;
1433 if (PyErr_Occurred()) return NULL
;
1434 } _resultobj
= Py_BuildValue("i",_result
);
1438 #define wxSizer_SetDimension(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetDimension(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1439 static PyObject
*_wrap_wxSizer_SetDimension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1440 PyObject
* _resultobj
;
1446 PyObject
* _argo0
= 0;
1447 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
1450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii:wxSizer_SetDimension",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
1453 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1454 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
1455 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_SetDimension. Expected _wxSizer_p.");
1460 wxPy_BEGIN_ALLOW_THREADS
;
1461 wxSizer_SetDimension(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
1463 wxPy_END_ALLOW_THREADS
;
1464 if (PyErr_Occurred()) return NULL
;
1465 } Py_INCREF(Py_None
);
1466 _resultobj
= Py_None
;
1470 #define wxSizer_SetMinSize(_swigobj,_swigarg0) (_swigobj->SetMinSize(_swigarg0))
1471 static PyObject
*_wrap_wxSizer_SetMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1472 PyObject
* _resultobj
;
1475 PyObject
* _argo0
= 0;
1477 PyObject
* _obj1
= 0;
1478 char *_kwnames
[] = { "self","size", NULL
};
1481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxSizer_SetMinSize",_kwnames
,&_argo0
,&_obj1
))
1484 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1485 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
1486 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_SetMinSize. Expected _wxSizer_p.");
1492 if (! wxSize_helper(_obj1
, &_arg1
))
1496 wxPy_BEGIN_ALLOW_THREADS
;
1497 wxSizer_SetMinSize(_arg0
,*_arg1
);
1499 wxPy_END_ALLOW_THREADS
;
1500 if (PyErr_Occurred()) return NULL
;
1501 } Py_INCREF(Py_None
);
1502 _resultobj
= Py_None
;
1506 #define wxSizer_SetItemMinSizeWindow(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemMinSize(_swigarg0,_swigarg1,_swigarg2))
1507 static PyObject
*_wrap_wxSizer_SetItemMinSizeWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1508 PyObject
* _resultobj
;
1513 PyObject
* _argo0
= 0;
1514 PyObject
* _argo1
= 0;
1515 char *_kwnames
[] = { "self","window","width","height", NULL
};
1518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxSizer_SetItemMinSizeWindow",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
1521 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1522 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
1523 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_SetItemMinSizeWindow. Expected _wxSizer_p.");
1528 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1529 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1530 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSizer_SetItemMinSizeWindow. Expected _wxWindow_p.");
1535 wxPy_BEGIN_ALLOW_THREADS
;
1536 wxSizer_SetItemMinSizeWindow(_arg0
,_arg1
,_arg2
,_arg3
);
1538 wxPy_END_ALLOW_THREADS
;
1539 if (PyErr_Occurred()) return NULL
;
1540 } Py_INCREF(Py_None
);
1541 _resultobj
= Py_None
;
1545 #define wxSizer_SetItemMinSizeSizer(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemMinSize(_swigarg0,_swigarg1,_swigarg2))
1546 static PyObject
*_wrap_wxSizer_SetItemMinSizeSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1547 PyObject
* _resultobj
;
1552 PyObject
* _argo0
= 0;
1553 PyObject
* _argo1
= 0;
1554 char *_kwnames
[] = { "self","sizer","width","height", NULL
};
1557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxSizer_SetItemMinSizeSizer",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
1560 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1561 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
1562 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_SetItemMinSizeSizer. Expected _wxSizer_p.");
1567 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1568 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxSizer_p")) {
1569 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSizer_SetItemMinSizeSizer. Expected _wxSizer_p.");
1574 wxPy_BEGIN_ALLOW_THREADS
;
1575 wxSizer_SetItemMinSizeSizer(_arg0
,_arg1
,_arg2
,_arg3
);
1577 wxPy_END_ALLOW_THREADS
;
1578 if (PyErr_Occurred()) return NULL
;
1579 } Py_INCREF(Py_None
);
1580 _resultobj
= Py_None
;
1584 #define wxSizer_SetItemMinSizePos(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemMinSize(_swigarg0,_swigarg1,_swigarg2))
1585 static PyObject
*_wrap_wxSizer_SetItemMinSizePos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1586 PyObject
* _resultobj
;
1591 PyObject
* _argo0
= 0;
1592 char *_kwnames
[] = { "self","pos","width","height", NULL
};
1595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiii:wxSizer_SetItemMinSizePos",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
1598 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1599 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
1600 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_SetItemMinSizePos. Expected _wxSizer_p.");
1605 wxPy_BEGIN_ALLOW_THREADS
;
1606 wxSizer_SetItemMinSizePos(_arg0
,_arg1
,_arg2
,_arg3
);
1608 wxPy_END_ALLOW_THREADS
;
1609 if (PyErr_Occurred()) return NULL
;
1610 } Py_INCREF(Py_None
);
1611 _resultobj
= Py_None
;
1615 #define wxSizer_GetSize(_swigobj) (_swigobj->GetSize())
1616 static PyObject
*_wrap_wxSizer_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1617 PyObject
* _resultobj
;
1620 PyObject
* _argo0
= 0;
1621 char *_kwnames
[] = { "self", NULL
};
1625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSizer_GetSize",_kwnames
,&_argo0
))
1628 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1629 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
1630 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_GetSize. Expected _wxSizer_p.");
1635 wxPy_BEGIN_ALLOW_THREADS
;
1636 _result
= new wxSize (wxSizer_GetSize(_arg0
));
1638 wxPy_END_ALLOW_THREADS
;
1639 if (PyErr_Occurred()) return NULL
;
1640 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
1641 _resultobj
= Py_BuildValue("s",_ptemp
);
1645 #define wxSizer_GetPosition(_swigobj) (_swigobj->GetPosition())
1646 static PyObject
*_wrap_wxSizer_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1647 PyObject
* _resultobj
;
1650 PyObject
* _argo0
= 0;
1651 char *_kwnames
[] = { "self", NULL
};
1655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSizer_GetPosition",_kwnames
,&_argo0
))
1658 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1659 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
1660 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_GetPosition. Expected _wxSizer_p.");
1665 wxPy_BEGIN_ALLOW_THREADS
;
1666 _result
= new wxPoint (wxSizer_GetPosition(_arg0
));
1668 wxPy_END_ALLOW_THREADS
;
1669 if (PyErr_Occurred()) return NULL
;
1670 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
1671 _resultobj
= Py_BuildValue("s",_ptemp
);
1675 #define wxSizer_GetMinSize(_swigobj) (_swigobj->GetMinSize())
1676 static PyObject
*_wrap_wxSizer_GetMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1677 PyObject
* _resultobj
;
1680 PyObject
* _argo0
= 0;
1681 char *_kwnames
[] = { "self", NULL
};
1685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSizer_GetMinSize",_kwnames
,&_argo0
))
1688 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1689 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
1690 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_GetMinSize. Expected _wxSizer_p.");
1695 wxPy_BEGIN_ALLOW_THREADS
;
1696 _result
= new wxSize (wxSizer_GetMinSize(_arg0
));
1698 wxPy_END_ALLOW_THREADS
;
1699 if (PyErr_Occurred()) return NULL
;
1700 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
1701 _resultobj
= Py_BuildValue("s",_ptemp
);
1705 #define wxSizer_Layout(_swigobj) (_swigobj->Layout())
1706 static PyObject
*_wrap_wxSizer_Layout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1707 PyObject
* _resultobj
;
1709 PyObject
* _argo0
= 0;
1710 char *_kwnames
[] = { "self", NULL
};
1713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSizer_Layout",_kwnames
,&_argo0
))
1716 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1717 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
1718 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_Layout. Expected _wxSizer_p.");
1723 wxPy_BEGIN_ALLOW_THREADS
;
1724 wxSizer_Layout(_arg0
);
1726 wxPy_END_ALLOW_THREADS
;
1727 if (PyErr_Occurred()) return NULL
;
1728 } Py_INCREF(Py_None
);
1729 _resultobj
= Py_None
;
1733 #define wxSizer_Fit(_swigobj,_swigarg0) (_swigobj->Fit(_swigarg0))
1734 static PyObject
*_wrap_wxSizer_Fit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1735 PyObject
* _resultobj
;
1738 PyObject
* _argo0
= 0;
1739 PyObject
* _argo1
= 0;
1740 char *_kwnames
[] = { "self","window", NULL
};
1743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxSizer_Fit",_kwnames
,&_argo0
,&_argo1
))
1746 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1747 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
1748 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_Fit. Expected _wxSizer_p.");
1753 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1754 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1755 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSizer_Fit. Expected _wxWindow_p.");
1760 wxPy_BEGIN_ALLOW_THREADS
;
1761 wxSizer_Fit(_arg0
,_arg1
);
1763 wxPy_END_ALLOW_THREADS
;
1764 if (PyErr_Occurred()) return NULL
;
1765 } Py_INCREF(Py_None
);
1766 _resultobj
= Py_None
;
1770 #define wxSizer_SetSizeHints(_swigobj,_swigarg0) (_swigobj->SetSizeHints(_swigarg0))
1771 static PyObject
*_wrap_wxSizer_SetSizeHints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1772 PyObject
* _resultobj
;
1775 PyObject
* _argo0
= 0;
1776 PyObject
* _argo1
= 0;
1777 char *_kwnames
[] = { "self","window", NULL
};
1780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxSizer_SetSizeHints",_kwnames
,&_argo0
,&_argo1
))
1783 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1784 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
1785 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_SetSizeHints. Expected _wxSizer_p.");
1790 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1791 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1792 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSizer_SetSizeHints. Expected _wxWindow_p.");
1797 wxPy_BEGIN_ALLOW_THREADS
;
1798 wxSizer_SetSizeHints(_arg0
,_arg1
);
1800 wxPy_END_ALLOW_THREADS
;
1801 if (PyErr_Occurred()) return NULL
;
1802 } Py_INCREF(Py_None
);
1803 _resultobj
= Py_None
;
1807 static PyObject
* wxSizer_GetChildren(wxSizer
*self
) {
1808 wxList
& list
= self
->GetChildren();
1809 return wxPy_ConvertList(&list
, "wxSizerItem");
1811 static PyObject
*_wrap_wxSizer_GetChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1812 PyObject
* _resultobj
;
1815 PyObject
* _argo0
= 0;
1816 char *_kwnames
[] = { "self", NULL
};
1819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSizer_GetChildren",_kwnames
,&_argo0
))
1822 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1823 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
1824 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_GetChildren. Expected _wxSizer_p.");
1829 wxPy_BEGIN_ALLOW_THREADS
;
1830 _result
= (PyObject
*)wxSizer_GetChildren(_arg0
);
1832 wxPy_END_ALLOW_THREADS
;
1833 if (PyErr_Occurred()) return NULL
;
1835 _resultobj
= _result
;
1840 static void *SwigwxPySizerTowxSizer(void *ptr
) {
1843 src
= (wxPySizer
*) ptr
;
1844 dest
= (wxSizer
*) src
;
1845 return (void *) dest
;
1848 static void *SwigwxPySizerTowxObject(void *ptr
) {
1851 src
= (wxPySizer
*) ptr
;
1852 dest
= (wxObject
*) src
;
1853 return (void *) dest
;
1856 #define new_wxPySizer() (new wxPySizer())
1857 static PyObject
*_wrap_new_wxPySizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1858 PyObject
* _resultobj
;
1859 wxPySizer
* _result
;
1860 char *_kwnames
[] = { NULL
};
1864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPySizer",_kwnames
))
1867 wxPy_BEGIN_ALLOW_THREADS
;
1868 _result
= (wxPySizer
*)new_wxPySizer();
1870 wxPy_END_ALLOW_THREADS
;
1871 if (PyErr_Occurred()) return NULL
;
1873 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPySizer_p");
1874 _resultobj
= Py_BuildValue("s",_ptemp
);
1877 _resultobj
= Py_None
;
1882 #define wxPySizer__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
1883 static PyObject
*_wrap_wxPySizer__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1884 PyObject
* _resultobj
;
1888 PyObject
* _argo0
= 0;
1889 PyObject
* _obj1
= 0;
1890 PyObject
* _obj2
= 0;
1891 char *_kwnames
[] = { "self","self","_class", NULL
};
1894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPySizer__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
1897 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1898 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPySizer_p")) {
1899 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPySizer__setCallbackInfo. Expected _wxPySizer_p.");
1910 wxPy_BEGIN_ALLOW_THREADS
;
1911 wxPySizer__setCallbackInfo(_arg0
,_arg1
,_arg2
);
1913 wxPy_END_ALLOW_THREADS
;
1914 if (PyErr_Occurred()) return NULL
;
1915 } Py_INCREF(Py_None
);
1916 _resultobj
= Py_None
;
1920 static void *SwigwxBoxSizerTowxSizer(void *ptr
) {
1923 src
= (wxBoxSizer
*) ptr
;
1924 dest
= (wxSizer
*) src
;
1925 return (void *) dest
;
1928 static void *SwigwxBoxSizerTowxObject(void *ptr
) {
1931 src
= (wxBoxSizer
*) ptr
;
1932 dest
= (wxObject
*) src
;
1933 return (void *) dest
;
1936 #define new_wxBoxSizer(_swigarg0) (new wxBoxSizer(_swigarg0))
1937 static PyObject
*_wrap_new_wxBoxSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1938 PyObject
* _resultobj
;
1939 wxBoxSizer
* _result
;
1940 int _arg0
= (int ) wxHORIZONTAL
;
1941 char *_kwnames
[] = { "orient", NULL
};
1945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxBoxSizer",_kwnames
,&_arg0
))
1948 wxPy_BEGIN_ALLOW_THREADS
;
1949 _result
= (wxBoxSizer
*)new_wxBoxSizer(_arg0
);
1951 wxPy_END_ALLOW_THREADS
;
1952 if (PyErr_Occurred()) return NULL
;
1954 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBoxSizer_p");
1955 _resultobj
= Py_BuildValue("s",_ptemp
);
1958 _resultobj
= Py_None
;
1963 #define wxBoxSizer_GetOrientation(_swigobj) (_swigobj->GetOrientation())
1964 static PyObject
*_wrap_wxBoxSizer_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1965 PyObject
* _resultobj
;
1968 PyObject
* _argo0
= 0;
1969 char *_kwnames
[] = { "self", NULL
};
1972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBoxSizer_GetOrientation",_kwnames
,&_argo0
))
1975 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1976 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBoxSizer_p")) {
1977 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBoxSizer_GetOrientation. Expected _wxBoxSizer_p.");
1982 wxPy_BEGIN_ALLOW_THREADS
;
1983 _result
= (int )wxBoxSizer_GetOrientation(_arg0
);
1985 wxPy_END_ALLOW_THREADS
;
1986 if (PyErr_Occurred()) return NULL
;
1987 } _resultobj
= Py_BuildValue("i",_result
);
1991 #define wxBoxSizer_RecalcSizes(_swigobj) (_swigobj->RecalcSizes())
1992 static PyObject
*_wrap_wxBoxSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1993 PyObject
* _resultobj
;
1995 PyObject
* _argo0
= 0;
1996 char *_kwnames
[] = { "self", NULL
};
1999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBoxSizer_RecalcSizes",_kwnames
,&_argo0
))
2002 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2003 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBoxSizer_p")) {
2004 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBoxSizer_RecalcSizes. Expected _wxBoxSizer_p.");
2009 wxPy_BEGIN_ALLOW_THREADS
;
2010 wxBoxSizer_RecalcSizes(_arg0
);
2012 wxPy_END_ALLOW_THREADS
;
2013 if (PyErr_Occurred()) return NULL
;
2014 } Py_INCREF(Py_None
);
2015 _resultobj
= Py_None
;
2019 #define wxBoxSizer_CalcMin(_swigobj) (_swigobj->CalcMin())
2020 static PyObject
*_wrap_wxBoxSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2021 PyObject
* _resultobj
;
2024 PyObject
* _argo0
= 0;
2025 char *_kwnames
[] = { "self", NULL
};
2029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBoxSizer_CalcMin",_kwnames
,&_argo0
))
2032 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2033 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBoxSizer_p")) {
2034 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBoxSizer_CalcMin. Expected _wxBoxSizer_p.");
2039 wxPy_BEGIN_ALLOW_THREADS
;
2040 _result
= new wxSize (wxBoxSizer_CalcMin(_arg0
));
2042 wxPy_END_ALLOW_THREADS
;
2043 if (PyErr_Occurred()) return NULL
;
2044 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2045 _resultobj
= Py_BuildValue("s",_ptemp
);
2049 static void *SwigwxStaticBoxSizerTowxBoxSizer(void *ptr
) {
2050 wxStaticBoxSizer
*src
;
2052 src
= (wxStaticBoxSizer
*) ptr
;
2053 dest
= (wxBoxSizer
*) src
;
2054 return (void *) dest
;
2057 static void *SwigwxStaticBoxSizerTowxSizer(void *ptr
) {
2058 wxStaticBoxSizer
*src
;
2060 src
= (wxStaticBoxSizer
*) ptr
;
2061 dest
= (wxSizer
*) src
;
2062 return (void *) dest
;
2065 static void *SwigwxStaticBoxSizerTowxObject(void *ptr
) {
2066 wxStaticBoxSizer
*src
;
2068 src
= (wxStaticBoxSizer
*) ptr
;
2069 dest
= (wxObject
*) src
;
2070 return (void *) dest
;
2073 #define new_wxStaticBoxSizer(_swigarg0,_swigarg1) (new wxStaticBoxSizer(_swigarg0,_swigarg1))
2074 static PyObject
*_wrap_new_wxStaticBoxSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2075 PyObject
* _resultobj
;
2076 wxStaticBoxSizer
* _result
;
2077 wxStaticBox
* _arg0
;
2078 int _arg1
= (int ) wxHORIZONTAL
;
2079 PyObject
* _argo0
= 0;
2080 char *_kwnames
[] = { "box","orient", NULL
};
2084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:new_wxStaticBoxSizer",_kwnames
,&_argo0
,&_arg1
))
2087 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2088 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticBox_p")) {
2089 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxStaticBoxSizer. Expected _wxStaticBox_p.");
2094 wxPy_BEGIN_ALLOW_THREADS
;
2095 _result
= (wxStaticBoxSizer
*)new_wxStaticBoxSizer(_arg0
,_arg1
);
2097 wxPy_END_ALLOW_THREADS
;
2098 if (PyErr_Occurred()) return NULL
;
2100 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticBoxSizer_p");
2101 _resultobj
= Py_BuildValue("s",_ptemp
);
2104 _resultobj
= Py_None
;
2109 #define wxStaticBoxSizer_GetStaticBox(_swigobj) (_swigobj->GetStaticBox())
2110 static PyObject
*_wrap_wxStaticBoxSizer_GetStaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2111 PyObject
* _resultobj
;
2112 wxStaticBox
* _result
;
2113 wxStaticBoxSizer
* _arg0
;
2114 PyObject
* _argo0
= 0;
2115 char *_kwnames
[] = { "self", NULL
};
2118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStaticBoxSizer_GetStaticBox",_kwnames
,&_argo0
))
2121 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2122 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticBoxSizer_p")) {
2123 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticBoxSizer_GetStaticBox. Expected _wxStaticBoxSizer_p.");
2128 wxPy_BEGIN_ALLOW_THREADS
;
2129 _result
= (wxStaticBox
*)wxStaticBoxSizer_GetStaticBox(_arg0
);
2131 wxPy_END_ALLOW_THREADS
;
2132 if (PyErr_Occurred()) return NULL
;
2133 }{ _resultobj
= wxPyMake_wxObject(_result
); }
2137 #define wxStaticBoxSizer_RecalcSizes(_swigobj) (_swigobj->RecalcSizes())
2138 static PyObject
*_wrap_wxStaticBoxSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2139 PyObject
* _resultobj
;
2140 wxStaticBoxSizer
* _arg0
;
2141 PyObject
* _argo0
= 0;
2142 char *_kwnames
[] = { "self", NULL
};
2145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStaticBoxSizer_RecalcSizes",_kwnames
,&_argo0
))
2148 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2149 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticBoxSizer_p")) {
2150 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticBoxSizer_RecalcSizes. Expected _wxStaticBoxSizer_p.");
2155 wxPy_BEGIN_ALLOW_THREADS
;
2156 wxStaticBoxSizer_RecalcSizes(_arg0
);
2158 wxPy_END_ALLOW_THREADS
;
2159 if (PyErr_Occurred()) return NULL
;
2160 } Py_INCREF(Py_None
);
2161 _resultobj
= Py_None
;
2165 #define wxStaticBoxSizer_CalcMin(_swigobj) (_swigobj->CalcMin())
2166 static PyObject
*_wrap_wxStaticBoxSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2167 PyObject
* _resultobj
;
2169 wxStaticBoxSizer
* _arg0
;
2170 PyObject
* _argo0
= 0;
2171 char *_kwnames
[] = { "self", NULL
};
2175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStaticBoxSizer_CalcMin",_kwnames
,&_argo0
))
2178 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2179 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticBoxSizer_p")) {
2180 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticBoxSizer_CalcMin. Expected _wxStaticBoxSizer_p.");
2185 wxPy_BEGIN_ALLOW_THREADS
;
2186 _result
= new wxSize (wxStaticBoxSizer_CalcMin(_arg0
));
2188 wxPy_END_ALLOW_THREADS
;
2189 if (PyErr_Occurred()) return NULL
;
2190 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2191 _resultobj
= Py_BuildValue("s",_ptemp
);
2195 static void *SwigwxNotebookSizerTowxSizer(void *ptr
) {
2196 wxNotebookSizer
*src
;
2198 src
= (wxNotebookSizer
*) ptr
;
2199 dest
= (wxSizer
*) src
;
2200 return (void *) dest
;
2203 static void *SwigwxNotebookSizerTowxObject(void *ptr
) {
2204 wxNotebookSizer
*src
;
2206 src
= (wxNotebookSizer
*) ptr
;
2207 dest
= (wxObject
*) src
;
2208 return (void *) dest
;
2211 #define new_wxNotebookSizer(_swigarg0) (new wxNotebookSizer(_swigarg0))
2212 static PyObject
*_wrap_new_wxNotebookSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2213 PyObject
* _resultobj
;
2214 wxNotebookSizer
* _result
;
2216 PyObject
* _argo0
= 0;
2217 char *_kwnames
[] = { "nb", NULL
};
2221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxNotebookSizer",_kwnames
,&_argo0
))
2224 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2225 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
2226 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxNotebookSizer. Expected _wxNotebook_p.");
2231 wxPy_BEGIN_ALLOW_THREADS
;
2232 _result
= (wxNotebookSizer
*)new_wxNotebookSizer(_arg0
);
2234 wxPy_END_ALLOW_THREADS
;
2235 if (PyErr_Occurred()) return NULL
;
2237 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxNotebookSizer_p");
2238 _resultobj
= Py_BuildValue("s",_ptemp
);
2241 _resultobj
= Py_None
;
2246 #define wxNotebookSizer_RecalcSizes(_swigobj) (_swigobj->RecalcSizes())
2247 static PyObject
*_wrap_wxNotebookSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2248 PyObject
* _resultobj
;
2249 wxNotebookSizer
* _arg0
;
2250 PyObject
* _argo0
= 0;
2251 char *_kwnames
[] = { "self", NULL
};
2254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebookSizer_RecalcSizes",_kwnames
,&_argo0
))
2257 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2258 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebookSizer_p")) {
2259 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebookSizer_RecalcSizes. Expected _wxNotebookSizer_p.");
2264 wxPy_BEGIN_ALLOW_THREADS
;
2265 wxNotebookSizer_RecalcSizes(_arg0
);
2267 wxPy_END_ALLOW_THREADS
;
2268 if (PyErr_Occurred()) return NULL
;
2269 } Py_INCREF(Py_None
);
2270 _resultobj
= Py_None
;
2274 #define wxNotebookSizer_CalcMin(_swigobj) (_swigobj->CalcMin())
2275 static PyObject
*_wrap_wxNotebookSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2276 PyObject
* _resultobj
;
2278 wxNotebookSizer
* _arg0
;
2279 PyObject
* _argo0
= 0;
2280 char *_kwnames
[] = { "self", NULL
};
2284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebookSizer_CalcMin",_kwnames
,&_argo0
))
2287 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2288 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebookSizer_p")) {
2289 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebookSizer_CalcMin. Expected _wxNotebookSizer_p.");
2294 wxPy_BEGIN_ALLOW_THREADS
;
2295 _result
= new wxSize (wxNotebookSizer_CalcMin(_arg0
));
2297 wxPy_END_ALLOW_THREADS
;
2298 if (PyErr_Occurred()) return NULL
;
2299 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2300 _resultobj
= Py_BuildValue("s",_ptemp
);
2304 #define wxNotebookSizer_GetNotebook(_swigobj) (_swigobj->GetNotebook())
2305 static PyObject
*_wrap_wxNotebookSizer_GetNotebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2306 PyObject
* _resultobj
;
2307 wxNotebook
* _result
;
2308 wxNotebookSizer
* _arg0
;
2309 PyObject
* _argo0
= 0;
2310 char *_kwnames
[] = { "self", NULL
};
2313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebookSizer_GetNotebook",_kwnames
,&_argo0
))
2316 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2317 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebookSizer_p")) {
2318 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebookSizer_GetNotebook. Expected _wxNotebookSizer_p.");
2323 wxPy_BEGIN_ALLOW_THREADS
;
2324 _result
= (wxNotebook
*)wxNotebookSizer_GetNotebook(_arg0
);
2326 wxPy_END_ALLOW_THREADS
;
2327 if (PyErr_Occurred()) return NULL
;
2328 }{ _resultobj
= wxPyMake_wxObject(_result
); }
2332 static void *SwigwxGridSizerTowxSizer(void *ptr
) {
2335 src
= (wxGridSizer
*) ptr
;
2336 dest
= (wxSizer
*) src
;
2337 return (void *) dest
;
2340 static void *SwigwxGridSizerTowxObject(void *ptr
) {
2343 src
= (wxGridSizer
*) ptr
;
2344 dest
= (wxObject
*) src
;
2345 return (void *) dest
;
2348 #define new_wxGridSizer(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxGridSizer(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2349 static PyObject
*_wrap_new_wxGridSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2350 PyObject
* _resultobj
;
2351 wxGridSizer
* _result
;
2352 int _arg0
= (int ) 1;
2353 int _arg1
= (int ) 0;
2354 int _arg2
= (int ) 0;
2355 int _arg3
= (int ) 0;
2356 char *_kwnames
[] = { "rows","cols","vgap","hgap", NULL
};
2360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iiii:new_wxGridSizer",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))
2363 wxPy_BEGIN_ALLOW_THREADS
;
2364 _result
= (wxGridSizer
*)new_wxGridSizer(_arg0
,_arg1
,_arg2
,_arg3
);
2366 wxPy_END_ALLOW_THREADS
;
2367 if (PyErr_Occurred()) return NULL
;
2369 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridSizer_p");
2370 _resultobj
= Py_BuildValue("s",_ptemp
);
2373 _resultobj
= Py_None
;
2378 #define wxGridSizer_RecalcSizes(_swigobj) (_swigobj->RecalcSizes())
2379 static PyObject
*_wrap_wxGridSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2380 PyObject
* _resultobj
;
2381 wxGridSizer
* _arg0
;
2382 PyObject
* _argo0
= 0;
2383 char *_kwnames
[] = { "self", NULL
};
2386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridSizer_RecalcSizes",_kwnames
,&_argo0
))
2389 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2390 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridSizer_p")) {
2391 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridSizer_RecalcSizes. Expected _wxGridSizer_p.");
2396 wxPy_BEGIN_ALLOW_THREADS
;
2397 wxGridSizer_RecalcSizes(_arg0
);
2399 wxPy_END_ALLOW_THREADS
;
2400 if (PyErr_Occurred()) return NULL
;
2401 } Py_INCREF(Py_None
);
2402 _resultobj
= Py_None
;
2406 #define wxGridSizer_CalcMin(_swigobj) (_swigobj->CalcMin())
2407 static PyObject
*_wrap_wxGridSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2408 PyObject
* _resultobj
;
2410 wxGridSizer
* _arg0
;
2411 PyObject
* _argo0
= 0;
2412 char *_kwnames
[] = { "self", NULL
};
2416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridSizer_CalcMin",_kwnames
,&_argo0
))
2419 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2420 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridSizer_p")) {
2421 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridSizer_CalcMin. Expected _wxGridSizer_p.");
2426 wxPy_BEGIN_ALLOW_THREADS
;
2427 _result
= new wxSize (wxGridSizer_CalcMin(_arg0
));
2429 wxPy_END_ALLOW_THREADS
;
2430 if (PyErr_Occurred()) return NULL
;
2431 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2432 _resultobj
= Py_BuildValue("s",_ptemp
);
2436 #define wxGridSizer_SetCols(_swigobj,_swigarg0) (_swigobj->SetCols(_swigarg0))
2437 static PyObject
*_wrap_wxGridSizer_SetCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2438 PyObject
* _resultobj
;
2439 wxGridSizer
* _arg0
;
2441 PyObject
* _argo0
= 0;
2442 char *_kwnames
[] = { "self","cols", NULL
};
2445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridSizer_SetCols",_kwnames
,&_argo0
,&_arg1
))
2448 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2449 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridSizer_p")) {
2450 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridSizer_SetCols. Expected _wxGridSizer_p.");
2455 wxPy_BEGIN_ALLOW_THREADS
;
2456 wxGridSizer_SetCols(_arg0
,_arg1
);
2458 wxPy_END_ALLOW_THREADS
;
2459 if (PyErr_Occurred()) return NULL
;
2460 } Py_INCREF(Py_None
);
2461 _resultobj
= Py_None
;
2465 #define wxGridSizer_SetRows(_swigobj,_swigarg0) (_swigobj->SetRows(_swigarg0))
2466 static PyObject
*_wrap_wxGridSizer_SetRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2467 PyObject
* _resultobj
;
2468 wxGridSizer
* _arg0
;
2470 PyObject
* _argo0
= 0;
2471 char *_kwnames
[] = { "self","rows", NULL
};
2474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridSizer_SetRows",_kwnames
,&_argo0
,&_arg1
))
2477 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2478 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridSizer_p")) {
2479 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridSizer_SetRows. Expected _wxGridSizer_p.");
2484 wxPy_BEGIN_ALLOW_THREADS
;
2485 wxGridSizer_SetRows(_arg0
,_arg1
);
2487 wxPy_END_ALLOW_THREADS
;
2488 if (PyErr_Occurred()) return NULL
;
2489 } Py_INCREF(Py_None
);
2490 _resultobj
= Py_None
;
2494 #define wxGridSizer_SetVGap(_swigobj,_swigarg0) (_swigobj->SetVGap(_swigarg0))
2495 static PyObject
*_wrap_wxGridSizer_SetVGap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2496 PyObject
* _resultobj
;
2497 wxGridSizer
* _arg0
;
2499 PyObject
* _argo0
= 0;
2500 char *_kwnames
[] = { "self","gap", NULL
};
2503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridSizer_SetVGap",_kwnames
,&_argo0
,&_arg1
))
2506 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2507 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridSizer_p")) {
2508 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridSizer_SetVGap. Expected _wxGridSizer_p.");
2513 wxPy_BEGIN_ALLOW_THREADS
;
2514 wxGridSizer_SetVGap(_arg0
,_arg1
);
2516 wxPy_END_ALLOW_THREADS
;
2517 if (PyErr_Occurred()) return NULL
;
2518 } Py_INCREF(Py_None
);
2519 _resultobj
= Py_None
;
2523 #define wxGridSizer_SetHGap(_swigobj,_swigarg0) (_swigobj->SetHGap(_swigarg0))
2524 static PyObject
*_wrap_wxGridSizer_SetHGap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2525 PyObject
* _resultobj
;
2526 wxGridSizer
* _arg0
;
2528 PyObject
* _argo0
= 0;
2529 char *_kwnames
[] = { "self","gap", NULL
};
2532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridSizer_SetHGap",_kwnames
,&_argo0
,&_arg1
))
2535 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2536 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridSizer_p")) {
2537 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridSizer_SetHGap. Expected _wxGridSizer_p.");
2542 wxPy_BEGIN_ALLOW_THREADS
;
2543 wxGridSizer_SetHGap(_arg0
,_arg1
);
2545 wxPy_END_ALLOW_THREADS
;
2546 if (PyErr_Occurred()) return NULL
;
2547 } Py_INCREF(Py_None
);
2548 _resultobj
= Py_None
;
2552 #define wxGridSizer_GetCols(_swigobj) (_swigobj->GetCols())
2553 static PyObject
*_wrap_wxGridSizer_GetCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2554 PyObject
* _resultobj
;
2556 wxGridSizer
* _arg0
;
2557 PyObject
* _argo0
= 0;
2558 char *_kwnames
[] = { "self", NULL
};
2561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridSizer_GetCols",_kwnames
,&_argo0
))
2564 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2565 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridSizer_p")) {
2566 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridSizer_GetCols. Expected _wxGridSizer_p.");
2571 wxPy_BEGIN_ALLOW_THREADS
;
2572 _result
= (int )wxGridSizer_GetCols(_arg0
);
2574 wxPy_END_ALLOW_THREADS
;
2575 if (PyErr_Occurred()) return NULL
;
2576 } _resultobj
= Py_BuildValue("i",_result
);
2580 #define wxGridSizer_GetRows(_swigobj) (_swigobj->GetRows())
2581 static PyObject
*_wrap_wxGridSizer_GetRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2582 PyObject
* _resultobj
;
2584 wxGridSizer
* _arg0
;
2585 PyObject
* _argo0
= 0;
2586 char *_kwnames
[] = { "self", NULL
};
2589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridSizer_GetRows",_kwnames
,&_argo0
))
2592 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2593 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridSizer_p")) {
2594 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridSizer_GetRows. Expected _wxGridSizer_p.");
2599 wxPy_BEGIN_ALLOW_THREADS
;
2600 _result
= (int )wxGridSizer_GetRows(_arg0
);
2602 wxPy_END_ALLOW_THREADS
;
2603 if (PyErr_Occurred()) return NULL
;
2604 } _resultobj
= Py_BuildValue("i",_result
);
2608 #define wxGridSizer_GetVGap(_swigobj) (_swigobj->GetVGap())
2609 static PyObject
*_wrap_wxGridSizer_GetVGap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2610 PyObject
* _resultobj
;
2612 wxGridSizer
* _arg0
;
2613 PyObject
* _argo0
= 0;
2614 char *_kwnames
[] = { "self", NULL
};
2617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridSizer_GetVGap",_kwnames
,&_argo0
))
2620 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2621 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridSizer_p")) {
2622 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridSizer_GetVGap. Expected _wxGridSizer_p.");
2627 wxPy_BEGIN_ALLOW_THREADS
;
2628 _result
= (int )wxGridSizer_GetVGap(_arg0
);
2630 wxPy_END_ALLOW_THREADS
;
2631 if (PyErr_Occurred()) return NULL
;
2632 } _resultobj
= Py_BuildValue("i",_result
);
2636 #define wxGridSizer_GetHGap(_swigobj) (_swigobj->GetHGap())
2637 static PyObject
*_wrap_wxGridSizer_GetHGap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2638 PyObject
* _resultobj
;
2640 wxGridSizer
* _arg0
;
2641 PyObject
* _argo0
= 0;
2642 char *_kwnames
[] = { "self", NULL
};
2645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridSizer_GetHGap",_kwnames
,&_argo0
))
2648 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2649 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridSizer_p")) {
2650 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridSizer_GetHGap. Expected _wxGridSizer_p.");
2655 wxPy_BEGIN_ALLOW_THREADS
;
2656 _result
= (int )wxGridSizer_GetHGap(_arg0
);
2658 wxPy_END_ALLOW_THREADS
;
2659 if (PyErr_Occurred()) return NULL
;
2660 } _resultobj
= Py_BuildValue("i",_result
);
2664 static void *SwigwxFlexGridSizerTowxGridSizer(void *ptr
) {
2665 wxFlexGridSizer
*src
;
2667 src
= (wxFlexGridSizer
*) ptr
;
2668 dest
= (wxGridSizer
*) src
;
2669 return (void *) dest
;
2672 static void *SwigwxFlexGridSizerTowxSizer(void *ptr
) {
2673 wxFlexGridSizer
*src
;
2675 src
= (wxFlexGridSizer
*) ptr
;
2676 dest
= (wxSizer
*) src
;
2677 return (void *) dest
;
2680 static void *SwigwxFlexGridSizerTowxObject(void *ptr
) {
2681 wxFlexGridSizer
*src
;
2683 src
= (wxFlexGridSizer
*) ptr
;
2684 dest
= (wxObject
*) src
;
2685 return (void *) dest
;
2688 #define new_wxFlexGridSizer(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxFlexGridSizer(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2689 static PyObject
*_wrap_new_wxFlexGridSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2690 PyObject
* _resultobj
;
2691 wxFlexGridSizer
* _result
;
2692 int _arg0
= (int ) 1;
2693 int _arg1
= (int ) 0;
2694 int _arg2
= (int ) 0;
2695 int _arg3
= (int ) 0;
2696 char *_kwnames
[] = { "rows","cols","vgap","hgap", NULL
};
2700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iiii:new_wxFlexGridSizer",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))
2703 wxPy_BEGIN_ALLOW_THREADS
;
2704 _result
= (wxFlexGridSizer
*)new_wxFlexGridSizer(_arg0
,_arg1
,_arg2
,_arg3
);
2706 wxPy_END_ALLOW_THREADS
;
2707 if (PyErr_Occurred()) return NULL
;
2709 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFlexGridSizer_p");
2710 _resultobj
= Py_BuildValue("s",_ptemp
);
2713 _resultobj
= Py_None
;
2718 #define wxFlexGridSizer_RecalcSizes(_swigobj) (_swigobj->RecalcSizes())
2719 static PyObject
*_wrap_wxFlexGridSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2720 PyObject
* _resultobj
;
2721 wxFlexGridSizer
* _arg0
;
2722 PyObject
* _argo0
= 0;
2723 char *_kwnames
[] = { "self", NULL
};
2726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFlexGridSizer_RecalcSizes",_kwnames
,&_argo0
))
2729 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2730 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFlexGridSizer_p")) {
2731 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFlexGridSizer_RecalcSizes. Expected _wxFlexGridSizer_p.");
2736 wxPy_BEGIN_ALLOW_THREADS
;
2737 wxFlexGridSizer_RecalcSizes(_arg0
);
2739 wxPy_END_ALLOW_THREADS
;
2740 if (PyErr_Occurred()) return NULL
;
2741 } Py_INCREF(Py_None
);
2742 _resultobj
= Py_None
;
2746 #define wxFlexGridSizer_CalcMin(_swigobj) (_swigobj->CalcMin())
2747 static PyObject
*_wrap_wxFlexGridSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2748 PyObject
* _resultobj
;
2750 wxFlexGridSizer
* _arg0
;
2751 PyObject
* _argo0
= 0;
2752 char *_kwnames
[] = { "self", NULL
};
2756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFlexGridSizer_CalcMin",_kwnames
,&_argo0
))
2759 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2760 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFlexGridSizer_p")) {
2761 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFlexGridSizer_CalcMin. Expected _wxFlexGridSizer_p.");
2766 wxPy_BEGIN_ALLOW_THREADS
;
2767 _result
= new wxSize (wxFlexGridSizer_CalcMin(_arg0
));
2769 wxPy_END_ALLOW_THREADS
;
2770 if (PyErr_Occurred()) return NULL
;
2771 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2772 _resultobj
= Py_BuildValue("s",_ptemp
);
2776 #define wxFlexGridSizer_AddGrowableRow(_swigobj,_swigarg0) (_swigobj->AddGrowableRow(_swigarg0))
2777 static PyObject
*_wrap_wxFlexGridSizer_AddGrowableRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2778 PyObject
* _resultobj
;
2779 wxFlexGridSizer
* _arg0
;
2781 PyObject
* _argo0
= 0;
2782 char *_kwnames
[] = { "self","idx", NULL
};
2785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFlexGridSizer_AddGrowableRow",_kwnames
,&_argo0
,&_arg1
))
2788 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2789 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFlexGridSizer_p")) {
2790 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFlexGridSizer_AddGrowableRow. Expected _wxFlexGridSizer_p.");
2795 wxPy_BEGIN_ALLOW_THREADS
;
2796 wxFlexGridSizer_AddGrowableRow(_arg0
,_arg1
);
2798 wxPy_END_ALLOW_THREADS
;
2799 if (PyErr_Occurred()) return NULL
;
2800 } Py_INCREF(Py_None
);
2801 _resultobj
= Py_None
;
2805 #define wxFlexGridSizer_RemoveGrowableRow(_swigobj,_swigarg0) (_swigobj->RemoveGrowableRow(_swigarg0))
2806 static PyObject
*_wrap_wxFlexGridSizer_RemoveGrowableRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2807 PyObject
* _resultobj
;
2808 wxFlexGridSizer
* _arg0
;
2810 PyObject
* _argo0
= 0;
2811 char *_kwnames
[] = { "self","idx", NULL
};
2814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFlexGridSizer_RemoveGrowableRow",_kwnames
,&_argo0
,&_arg1
))
2817 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2818 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFlexGridSizer_p")) {
2819 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFlexGridSizer_RemoveGrowableRow. Expected _wxFlexGridSizer_p.");
2824 wxPy_BEGIN_ALLOW_THREADS
;
2825 wxFlexGridSizer_RemoveGrowableRow(_arg0
,_arg1
);
2827 wxPy_END_ALLOW_THREADS
;
2828 if (PyErr_Occurred()) return NULL
;
2829 } Py_INCREF(Py_None
);
2830 _resultobj
= Py_None
;
2834 #define wxFlexGridSizer_AddGrowableCol(_swigobj,_swigarg0) (_swigobj->AddGrowableCol(_swigarg0))
2835 static PyObject
*_wrap_wxFlexGridSizer_AddGrowableCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2836 PyObject
* _resultobj
;
2837 wxFlexGridSizer
* _arg0
;
2839 PyObject
* _argo0
= 0;
2840 char *_kwnames
[] = { "self","idx", NULL
};
2843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFlexGridSizer_AddGrowableCol",_kwnames
,&_argo0
,&_arg1
))
2846 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2847 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFlexGridSizer_p")) {
2848 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFlexGridSizer_AddGrowableCol. Expected _wxFlexGridSizer_p.");
2853 wxPy_BEGIN_ALLOW_THREADS
;
2854 wxFlexGridSizer_AddGrowableCol(_arg0
,_arg1
);
2856 wxPy_END_ALLOW_THREADS
;
2857 if (PyErr_Occurred()) return NULL
;
2858 } Py_INCREF(Py_None
);
2859 _resultobj
= Py_None
;
2863 #define wxFlexGridSizer_RemoveGrowableCol(_swigobj,_swigarg0) (_swigobj->RemoveGrowableCol(_swigarg0))
2864 static PyObject
*_wrap_wxFlexGridSizer_RemoveGrowableCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2865 PyObject
* _resultobj
;
2866 wxFlexGridSizer
* _arg0
;
2868 PyObject
* _argo0
= 0;
2869 char *_kwnames
[] = { "self","idx", NULL
};
2872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFlexGridSizer_RemoveGrowableCol",_kwnames
,&_argo0
,&_arg1
))
2875 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2876 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFlexGridSizer_p")) {
2877 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFlexGridSizer_RemoveGrowableCol. Expected _wxFlexGridSizer_p.");
2882 wxPy_BEGIN_ALLOW_THREADS
;
2883 wxFlexGridSizer_RemoveGrowableCol(_arg0
,_arg1
);
2885 wxPy_END_ALLOW_THREADS
;
2886 if (PyErr_Occurred()) return NULL
;
2887 } Py_INCREF(Py_None
);
2888 _resultobj
= Py_None
;
2892 static PyMethodDef sizerscMethods
[] = {
2893 { "wxFlexGridSizer_RemoveGrowableCol", (PyCFunction
) _wrap_wxFlexGridSizer_RemoveGrowableCol
, METH_VARARGS
| METH_KEYWORDS
},
2894 { "wxFlexGridSizer_AddGrowableCol", (PyCFunction
) _wrap_wxFlexGridSizer_AddGrowableCol
, METH_VARARGS
| METH_KEYWORDS
},
2895 { "wxFlexGridSizer_RemoveGrowableRow", (PyCFunction
) _wrap_wxFlexGridSizer_RemoveGrowableRow
, METH_VARARGS
| METH_KEYWORDS
},
2896 { "wxFlexGridSizer_AddGrowableRow", (PyCFunction
) _wrap_wxFlexGridSizer_AddGrowableRow
, METH_VARARGS
| METH_KEYWORDS
},
2897 { "wxFlexGridSizer_CalcMin", (PyCFunction
) _wrap_wxFlexGridSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
2898 { "wxFlexGridSizer_RecalcSizes", (PyCFunction
) _wrap_wxFlexGridSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
2899 { "new_wxFlexGridSizer", (PyCFunction
) _wrap_new_wxFlexGridSizer
, METH_VARARGS
| METH_KEYWORDS
},
2900 { "wxGridSizer_GetHGap", (PyCFunction
) _wrap_wxGridSizer_GetHGap
, METH_VARARGS
| METH_KEYWORDS
},
2901 { "wxGridSizer_GetVGap", (PyCFunction
) _wrap_wxGridSizer_GetVGap
, METH_VARARGS
| METH_KEYWORDS
},
2902 { "wxGridSizer_GetRows", (PyCFunction
) _wrap_wxGridSizer_GetRows
, METH_VARARGS
| METH_KEYWORDS
},
2903 { "wxGridSizer_GetCols", (PyCFunction
) _wrap_wxGridSizer_GetCols
, METH_VARARGS
| METH_KEYWORDS
},
2904 { "wxGridSizer_SetHGap", (PyCFunction
) _wrap_wxGridSizer_SetHGap
, METH_VARARGS
| METH_KEYWORDS
},
2905 { "wxGridSizer_SetVGap", (PyCFunction
) _wrap_wxGridSizer_SetVGap
, METH_VARARGS
| METH_KEYWORDS
},
2906 { "wxGridSizer_SetRows", (PyCFunction
) _wrap_wxGridSizer_SetRows
, METH_VARARGS
| METH_KEYWORDS
},
2907 { "wxGridSizer_SetCols", (PyCFunction
) _wrap_wxGridSizer_SetCols
, METH_VARARGS
| METH_KEYWORDS
},
2908 { "wxGridSizer_CalcMin", (PyCFunction
) _wrap_wxGridSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
2909 { "wxGridSizer_RecalcSizes", (PyCFunction
) _wrap_wxGridSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
2910 { "new_wxGridSizer", (PyCFunction
) _wrap_new_wxGridSizer
, METH_VARARGS
| METH_KEYWORDS
},
2911 { "wxNotebookSizer_GetNotebook", (PyCFunction
) _wrap_wxNotebookSizer_GetNotebook
, METH_VARARGS
| METH_KEYWORDS
},
2912 { "wxNotebookSizer_CalcMin", (PyCFunction
) _wrap_wxNotebookSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
2913 { "wxNotebookSizer_RecalcSizes", (PyCFunction
) _wrap_wxNotebookSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
2914 { "new_wxNotebookSizer", (PyCFunction
) _wrap_new_wxNotebookSizer
, METH_VARARGS
| METH_KEYWORDS
},
2915 { "wxStaticBoxSizer_CalcMin", (PyCFunction
) _wrap_wxStaticBoxSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
2916 { "wxStaticBoxSizer_RecalcSizes", (PyCFunction
) _wrap_wxStaticBoxSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
2917 { "wxStaticBoxSizer_GetStaticBox", (PyCFunction
) _wrap_wxStaticBoxSizer_GetStaticBox
, METH_VARARGS
| METH_KEYWORDS
},
2918 { "new_wxStaticBoxSizer", (PyCFunction
) _wrap_new_wxStaticBoxSizer
, METH_VARARGS
| METH_KEYWORDS
},
2919 { "wxBoxSizer_CalcMin", (PyCFunction
) _wrap_wxBoxSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
2920 { "wxBoxSizer_RecalcSizes", (PyCFunction
) _wrap_wxBoxSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
2921 { "wxBoxSizer_GetOrientation", (PyCFunction
) _wrap_wxBoxSizer_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
2922 { "new_wxBoxSizer", (PyCFunction
) _wrap_new_wxBoxSizer
, METH_VARARGS
| METH_KEYWORDS
},
2923 { "wxPySizer__setCallbackInfo", (PyCFunction
) _wrap_wxPySizer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
2924 { "new_wxPySizer", (PyCFunction
) _wrap_new_wxPySizer
, METH_VARARGS
| METH_KEYWORDS
},
2925 { "wxSizer_GetChildren", (PyCFunction
) _wrap_wxSizer_GetChildren
, METH_VARARGS
| METH_KEYWORDS
},
2926 { "wxSizer_SetSizeHints", (PyCFunction
) _wrap_wxSizer_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
},
2927 { "wxSizer_Fit", (PyCFunction
) _wrap_wxSizer_Fit
, METH_VARARGS
| METH_KEYWORDS
},
2928 { "wxSizer_Layout", (PyCFunction
) _wrap_wxSizer_Layout
, METH_VARARGS
| METH_KEYWORDS
},
2929 { "wxSizer_GetMinSize", (PyCFunction
) _wrap_wxSizer_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
2930 { "wxSizer_GetPosition", (PyCFunction
) _wrap_wxSizer_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
2931 { "wxSizer_GetSize", (PyCFunction
) _wrap_wxSizer_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
2932 { "wxSizer_SetItemMinSizePos", (PyCFunction
) _wrap_wxSizer_SetItemMinSizePos
, METH_VARARGS
| METH_KEYWORDS
},
2933 { "wxSizer_SetItemMinSizeSizer", (PyCFunction
) _wrap_wxSizer_SetItemMinSizeSizer
, METH_VARARGS
| METH_KEYWORDS
},
2934 { "wxSizer_SetItemMinSizeWindow", (PyCFunction
) _wrap_wxSizer_SetItemMinSizeWindow
, METH_VARARGS
| METH_KEYWORDS
},
2935 { "wxSizer_SetMinSize", (PyCFunction
) _wrap_wxSizer_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
2936 { "wxSizer_SetDimension", (PyCFunction
) _wrap_wxSizer_SetDimension
, METH_VARARGS
| METH_KEYWORDS
},
2937 { "wxSizer_RemovePos", (PyCFunction
) _wrap_wxSizer_RemovePos
, METH_VARARGS
| METH_KEYWORDS
},
2938 { "wxSizer_RemoveSizer", (PyCFunction
) _wrap_wxSizer_RemoveSizer
, METH_VARARGS
| METH_KEYWORDS
},
2939 { "wxSizer_RemoveWindow", (PyCFunction
) _wrap_wxSizer_RemoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
2940 { "wxSizer_PrependSpacer", (PyCFunction
) _wrap_wxSizer_PrependSpacer
, METH_VARARGS
| METH_KEYWORDS
},
2941 { "wxSizer_PrependSizer", (PyCFunction
) _wrap_wxSizer_PrependSizer
, METH_VARARGS
| METH_KEYWORDS
},
2942 { "wxSizer_PrependWindow", (PyCFunction
) _wrap_wxSizer_PrependWindow
, METH_VARARGS
| METH_KEYWORDS
},
2943 { "wxSizer_InsertSpacer", (PyCFunction
) _wrap_wxSizer_InsertSpacer
, METH_VARARGS
| METH_KEYWORDS
},
2944 { "wxSizer_InsertSizer", (PyCFunction
) _wrap_wxSizer_InsertSizer
, METH_VARARGS
| METH_KEYWORDS
},
2945 { "wxSizer_InsertWindow", (PyCFunction
) _wrap_wxSizer_InsertWindow
, METH_VARARGS
| METH_KEYWORDS
},
2946 { "wxSizer_AddSpacer", (PyCFunction
) _wrap_wxSizer_AddSpacer
, METH_VARARGS
| METH_KEYWORDS
},
2947 { "wxSizer_AddSizer", (PyCFunction
) _wrap_wxSizer_AddSizer
, METH_VARARGS
| METH_KEYWORDS
},
2948 { "wxSizer_AddWindow", (PyCFunction
) _wrap_wxSizer_AddWindow
, METH_VARARGS
| METH_KEYWORDS
},
2949 { "wxSizer_Destroy", (PyCFunction
) _wrap_wxSizer_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
2950 { "wxSizer__setOORInfo", (PyCFunction
) _wrap_wxSizer__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
2951 { "wxSizerItem_GetUserData", (PyCFunction
) _wrap_wxSizerItem_GetUserData
, METH_VARARGS
| METH_KEYWORDS
},
2952 { "wxSizerItem_SetBorder", (PyCFunction
) _wrap_wxSizerItem_SetBorder
, METH_VARARGS
| METH_KEYWORDS
},
2953 { "wxSizerItem_SetFlag", (PyCFunction
) _wrap_wxSizerItem_SetFlag
, METH_VARARGS
| METH_KEYWORDS
},
2954 { "wxSizerItem_SetOption", (PyCFunction
) _wrap_wxSizerItem_SetOption
, METH_VARARGS
| METH_KEYWORDS
},
2955 { "wxSizerItem_SetInitSize", (PyCFunction
) _wrap_wxSizerItem_SetInitSize
, METH_VARARGS
| METH_KEYWORDS
},
2956 { "wxSizerItem_GetBorder", (PyCFunction
) _wrap_wxSizerItem_GetBorder
, METH_VARARGS
| METH_KEYWORDS
},
2957 { "wxSizerItem_GetFlag", (PyCFunction
) _wrap_wxSizerItem_GetFlag
, METH_VARARGS
| METH_KEYWORDS
},
2958 { "wxSizerItem_GetOption", (PyCFunction
) _wrap_wxSizerItem_GetOption
, METH_VARARGS
| METH_KEYWORDS
},
2959 { "wxSizerItem_SetSizer", (PyCFunction
) _wrap_wxSizerItem_SetSizer
, METH_VARARGS
| METH_KEYWORDS
},
2960 { "wxSizerItem_GetSizer", (PyCFunction
) _wrap_wxSizerItem_GetSizer
, METH_VARARGS
| METH_KEYWORDS
},
2961 { "wxSizerItem_SetWindow", (PyCFunction
) _wrap_wxSizerItem_SetWindow
, METH_VARARGS
| METH_KEYWORDS
},
2962 { "wxSizerItem_GetWindow", (PyCFunction
) _wrap_wxSizerItem_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
2963 { "wxSizerItem_IsSpacer", (PyCFunction
) _wrap_wxSizerItem_IsSpacer
, METH_VARARGS
| METH_KEYWORDS
},
2964 { "wxSizerItem_IsSizer", (PyCFunction
) _wrap_wxSizerItem_IsSizer
, METH_VARARGS
| METH_KEYWORDS
},
2965 { "wxSizerItem_IsWindow", (PyCFunction
) _wrap_wxSizerItem_IsWindow
, METH_VARARGS
| METH_KEYWORDS
},
2966 { "wxSizerItem_GetRatio", (PyCFunction
) _wrap_wxSizerItem_GetRatio
, METH_VARARGS
| METH_KEYWORDS
},
2967 { "wxSizerItem_SetRatio", (PyCFunction
) _wrap_wxSizerItem_SetRatio
, METH_VARARGS
| METH_KEYWORDS
},
2968 { "wxSizerItem_SetRatioSize", (PyCFunction
) _wrap_wxSizerItem_SetRatioSize
, METH_VARARGS
| METH_KEYWORDS
},
2969 { "wxSizerItem_SetRatioWH", (PyCFunction
) _wrap_wxSizerItem_SetRatioWH
, METH_VARARGS
| METH_KEYWORDS
},
2970 { "wxSizerItem_SetDimension", (PyCFunction
) _wrap_wxSizerItem_SetDimension
, METH_VARARGS
| METH_KEYWORDS
},
2971 { "wxSizerItem_CalcMin", (PyCFunction
) _wrap_wxSizerItem_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
2972 { "wxSizerItem_GetSize", (PyCFunction
) _wrap_wxSizerItem_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
2973 { "wxSizerItem_GetPosition", (PyCFunction
) _wrap_wxSizerItem_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
2980 * This table is used by the pointer type-checker
2982 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
2983 { "_signed_long","_long",0},
2984 { "_wxPrintQuality","_wxCoord",0},
2985 { "_wxPrintQuality","_int",0},
2986 { "_wxPrintQuality","_signed_int",0},
2987 { "_wxPrintQuality","_unsigned_int",0},
2988 { "_wxPrintQuality","_wxWindowID",0},
2989 { "_wxPrintQuality","_uint",0},
2990 { "_wxPrintQuality","_EBool",0},
2991 { "_wxPrintQuality","_size_t",0},
2992 { "_wxPrintQuality","_time_t",0},
2993 { "_byte","_unsigned_char",0},
2994 { "_long","_unsigned_long",0},
2995 { "_long","_signed_long",0},
2996 { "_wxGridSizer","_wxFlexGridSizer",SwigwxFlexGridSizerTowxGridSizer
},
2997 { "_size_t","_wxCoord",0},
2998 { "_size_t","_wxPrintQuality",0},
2999 { "_size_t","_time_t",0},
3000 { "_size_t","_unsigned_int",0},
3001 { "_size_t","_int",0},
3002 { "_size_t","_wxWindowID",0},
3003 { "_size_t","_uint",0},
3004 { "_uint","_wxCoord",0},
3005 { "_uint","_wxPrintQuality",0},
3006 { "_uint","_time_t",0},
3007 { "_uint","_size_t",0},
3008 { "_uint","_unsigned_int",0},
3009 { "_uint","_int",0},
3010 { "_uint","_wxWindowID",0},
3011 { "_wxChar","_char",0},
3012 { "_wxBoxSizer","_wxStaticBoxSizer",SwigwxStaticBoxSizerTowxBoxSizer
},
3013 { "_char","_wxChar",0},
3014 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
3015 { "_EBool","_wxCoord",0},
3016 { "_EBool","_wxPrintQuality",0},
3017 { "_EBool","_signed_int",0},
3018 { "_EBool","_int",0},
3019 { "_EBool","_wxWindowID",0},
3020 { "_unsigned_long","_long",0},
3021 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
3022 { "_signed_int","_wxCoord",0},
3023 { "_signed_int","_wxPrintQuality",0},
3024 { "_signed_int","_EBool",0},
3025 { "_signed_int","_wxWindowID",0},
3026 { "_signed_int","_int",0},
3027 { "_WXTYPE","_short",0},
3028 { "_WXTYPE","_signed_short",0},
3029 { "_WXTYPE","_unsigned_short",0},
3030 { "_unsigned_short","_WXTYPE",0},
3031 { "_unsigned_short","_short",0},
3032 { "_wxObject","_wxFlexGridSizer",SwigwxFlexGridSizerTowxObject
},
3033 { "_wxObject","_wxGridSizer",SwigwxGridSizerTowxObject
},
3034 { "_wxObject","_wxNotebookSizer",SwigwxNotebookSizerTowxObject
},
3035 { "_wxObject","_wxStaticBoxSizer",SwigwxStaticBoxSizerTowxObject
},
3036 { "_wxObject","_wxBoxSizer",SwigwxBoxSizerTowxObject
},
3037 { "_wxObject","_wxPySizer",SwigwxPySizerTowxObject
},
3038 { "_wxObject","_wxSizer",SwigwxSizerTowxObject
},
3039 { "_wxObject","_wxSizerItem",SwigwxSizerItemTowxObject
},
3040 { "_signed_short","_WXTYPE",0},
3041 { "_signed_short","_short",0},
3042 { "_unsigned_char","_byte",0},
3043 { "_unsigned_int","_wxCoord",0},
3044 { "_unsigned_int","_wxPrintQuality",0},
3045 { "_unsigned_int","_time_t",0},
3046 { "_unsigned_int","_size_t",0},
3047 { "_unsigned_int","_uint",0},
3048 { "_unsigned_int","_wxWindowID",0},
3049 { "_unsigned_int","_int",0},
3050 { "_short","_WXTYPE",0},
3051 { "_short","_unsigned_short",0},
3052 { "_short","_signed_short",0},
3053 { "_wxWindowID","_wxCoord",0},
3054 { "_wxWindowID","_wxPrintQuality",0},
3055 { "_wxWindowID","_time_t",0},
3056 { "_wxWindowID","_size_t",0},
3057 { "_wxWindowID","_EBool",0},
3058 { "_wxWindowID","_uint",0},
3059 { "_wxWindowID","_int",0},
3060 { "_wxWindowID","_signed_int",0},
3061 { "_wxWindowID","_unsigned_int",0},
3062 { "_int","_wxCoord",0},
3063 { "_int","_wxPrintQuality",0},
3064 { "_int","_time_t",0},
3065 { "_int","_size_t",0},
3066 { "_int","_EBool",0},
3067 { "_int","_uint",0},
3068 { "_int","_wxWindowID",0},
3069 { "_int","_unsigned_int",0},
3070 { "_int","_signed_int",0},
3071 { "_time_t","_wxCoord",0},
3072 { "_time_t","_wxPrintQuality",0},
3073 { "_time_t","_unsigned_int",0},
3074 { "_time_t","_int",0},
3075 { "_time_t","_wxWindowID",0},
3076 { "_time_t","_uint",0},
3077 { "_time_t","_size_t",0},
3078 { "_wxCoord","_int",0},
3079 { "_wxCoord","_signed_int",0},
3080 { "_wxCoord","_unsigned_int",0},
3081 { "_wxCoord","_wxWindowID",0},
3082 { "_wxCoord","_uint",0},
3083 { "_wxCoord","_EBool",0},
3084 { "_wxCoord","_size_t",0},
3085 { "_wxCoord","_time_t",0},
3086 { "_wxCoord","_wxPrintQuality",0},
3087 { "_wxSizer","_wxFlexGridSizer",SwigwxFlexGridSizerTowxSizer
},
3088 { "_wxSizer","_wxGridSizer",SwigwxGridSizerTowxSizer
},
3089 { "_wxSizer","_wxNotebookSizer",SwigwxNotebookSizerTowxSizer
},
3090 { "_wxSizer","_wxStaticBoxSizer",SwigwxStaticBoxSizerTowxSizer
},
3091 { "_wxSizer","_wxBoxSizer",SwigwxBoxSizerTowxSizer
},
3092 { "_wxSizer","_wxPySizer",SwigwxPySizerTowxSizer
},
3095 static PyObject
*SWIG_globals
;
3099 SWIGEXPORT(void) initsizersc() {
3101 SWIG_globals
= SWIG_newvarlink();
3102 m
= Py_InitModule("sizersc", sizerscMethods
);
3103 d
= PyModule_GetDict(m
);
3106 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
3107 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);