]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/msw/sizers.cpp
Merged wxPython 2.2.2 over to the main branch
[wxWidgets.git] / wxPython / src / msw / sizers.cpp
1 /*
2 * FILE : src/msw/sizers.cpp
3 *
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 810)
7 *
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.
12 *
13 * Do not make changes to this file--changes will be lost!
14 *
15 */
16
17
18 #define SWIGCODE
19 /* Implementation : PYTHON */
20
21 #define SWIGPYTHON
22 #include <string.h>
23 #include <stdlib.h>
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
28 # else
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
31 # else
32 # define SWIGEXPORT(a) a
33 # endif
34 # endif
35 #else
36 # define SWIGEXPORT(a) a
37 #endif
38
39 #include "Python.h"
40
41 #ifdef __cplusplus
42 extern "C" {
43 #endif
44 extern void SWIG_MakePtr(char *, void *, char *);
45 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
46 extern char *SWIG_GetPtr(char *, void **, char *);
47 extern char *SWIG_GetPtrObj(PyObject *, void **, char *);
48 extern void SWIG_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
49 extern PyObject *SWIG_newvarlink(void);
50 #ifdef __cplusplus
51 }
52 #endif
53 #define SWIG_init initsizersc
54
55 #define SWIG_name "sizersc"
56
57 #include "helpers.h"
58
59 static PyObject* l_output_helper(PyObject* target, PyObject* o) {
60 PyObject* o2;
61 if (!target) {
62 target = o;
63 } else if (target == Py_None) {
64 Py_DECREF(Py_None);
65 target = o;
66 } else {
67 if (!PyList_Check(target)) {
68 o2 = target;
69 target = PyList_New(0);
70 PyList_Append(target, o2);
71 Py_XDECREF(o2);
72 }
73 PyList_Append(target,o);
74 Py_XDECREF(o);
75 }
76 return target;
77 }
78
79 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
80 PyObject* o2;
81 PyObject* o3;
82
83 if (!target) {
84 target = o;
85 } else if (target == Py_None) {
86 Py_DECREF(Py_None);
87 target = o;
88 } else {
89 if (!PyTuple_Check(target)) {
90 o2 = target;
91 target = PyTuple_New(1);
92 PyTuple_SetItem(target, 0, o2);
93 }
94 o3 = PyTuple_New(1);
95 PyTuple_SetItem(o3, 0, o);
96
97 o2 = target;
98 target = PySequence_Concat(o2, o3);
99 Py_DECREF(o2);
100 Py_DECREF(o3);
101 }
102 return target;
103 }
104
105 static char* wxStringErrorMsg = "string type is required for parameter";
106
107 class wxPySizer : public wxSizer {
108 DECLARE_DYNAMIC_CLASS(wxPySizer);
109 public:
110 wxPySizer() : wxSizer() {};
111
112 DEC_PYCALLBACK___pure(RecalcSizes);
113 DEC_PYCALLBACK_wxSize__pure(CalcMin);
114 PYPRIVATE;
115 };
116
117
118 IMP_PYCALLBACK___pure(wxPySizer, wxSizer, RecalcSizes);
119 IMP_PYCALLBACK_wxSize__pure(wxPySizer, wxSizer, CalcMin);
120
121 IMPLEMENT_DYNAMIC_CLASS(wxPySizer, wxSizer);
122 #ifdef __cplusplus
123 extern "C" {
124 #endif
125 #define wxSizerItem_GetSize(_swigobj) (_swigobj->GetSize())
126 static PyObject *_wrap_wxSizerItem_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
127 PyObject * _resultobj;
128 wxSize * _result;
129 wxSizerItem * _arg0;
130 PyObject * _argo0 = 0;
131 char *_kwnames[] = { "self", NULL };
132 char _ptemp[128];
133
134 self = self;
135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSizerItem_GetSize",_kwnames,&_argo0))
136 return NULL;
137 if (_argo0) {
138 if (_argo0 == Py_None) { _arg0 = NULL; }
139 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizerItem_p")) {
140 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizerItem_GetSize. Expected _wxSizerItem_p.");
141 return NULL;
142 }
143 }
144 {
145 wxPy_BEGIN_ALLOW_THREADS;
146 _result = new wxSize (wxSizerItem_GetSize(_arg0));
147
148 wxPy_END_ALLOW_THREADS;
149 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
150 _resultobj = Py_BuildValue("s",_ptemp);
151 return _resultobj;
152 }
153
154 #define wxSizerItem_CalcMin(_swigobj) (_swigobj->CalcMin())
155 static PyObject *_wrap_wxSizerItem_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
156 PyObject * _resultobj;
157 wxSize * _result;
158 wxSizerItem * _arg0;
159 PyObject * _argo0 = 0;
160 char *_kwnames[] = { "self", NULL };
161 char _ptemp[128];
162
163 self = self;
164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSizerItem_CalcMin",_kwnames,&_argo0))
165 return NULL;
166 if (_argo0) {
167 if (_argo0 == Py_None) { _arg0 = NULL; }
168 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizerItem_p")) {
169 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizerItem_CalcMin. Expected _wxSizerItem_p.");
170 return NULL;
171 }
172 }
173 {
174 wxPy_BEGIN_ALLOW_THREADS;
175 _result = new wxSize (wxSizerItem_CalcMin(_arg0));
176
177 wxPy_END_ALLOW_THREADS;
178 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
179 _resultobj = Py_BuildValue("s",_ptemp);
180 return _resultobj;
181 }
182
183 #define wxSizerItem_SetDimension(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDimension(_swigarg0,_swigarg1))
184 static PyObject *_wrap_wxSizerItem_SetDimension(PyObject *self, PyObject *args, PyObject *kwargs) {
185 PyObject * _resultobj;
186 wxSizerItem * _arg0;
187 wxPoint * _arg1;
188 wxSize * _arg2;
189 PyObject * _argo0 = 0;
190 wxPoint temp;
191 PyObject * _obj1 = 0;
192 wxSize temp0;
193 PyObject * _obj2 = 0;
194 char *_kwnames[] = { "self","pos","size", NULL };
195
196 self = self;
197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxSizerItem_SetDimension",_kwnames,&_argo0,&_obj1,&_obj2))
198 return NULL;
199 if (_argo0) {
200 if (_argo0 == Py_None) { _arg0 = NULL; }
201 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizerItem_p")) {
202 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizerItem_SetDimension. Expected _wxSizerItem_p.");
203 return NULL;
204 }
205 }
206 {
207 _arg1 = &temp;
208 if (! wxPoint_helper(_obj1, &_arg1))
209 return NULL;
210 }
211 {
212 _arg2 = &temp0;
213 if (! wxSize_helper(_obj2, &_arg2))
214 return NULL;
215 }
216 {
217 wxPy_BEGIN_ALLOW_THREADS;
218 wxSizerItem_SetDimension(_arg0,*_arg1,*_arg2);
219
220 wxPy_END_ALLOW_THREADS;
221 } Py_INCREF(Py_None);
222 _resultobj = Py_None;
223 return _resultobj;
224 }
225
226 #define wxSizerItem_SetRatioWH(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRatio(_swigarg0,_swigarg1))
227 static PyObject *_wrap_wxSizerItem_SetRatioWH(PyObject *self, PyObject *args, PyObject *kwargs) {
228 PyObject * _resultobj;
229 wxSizerItem * _arg0;
230 int _arg1;
231 int _arg2;
232 PyObject * _argo0 = 0;
233 char *_kwnames[] = { "self","width","height", NULL };
234
235 self = self;
236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxSizerItem_SetRatioWH",_kwnames,&_argo0,&_arg1,&_arg2))
237 return NULL;
238 if (_argo0) {
239 if (_argo0 == Py_None) { _arg0 = NULL; }
240 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizerItem_p")) {
241 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizerItem_SetRatioWH. Expected _wxSizerItem_p.");
242 return NULL;
243 }
244 }
245 {
246 wxPy_BEGIN_ALLOW_THREADS;
247 wxSizerItem_SetRatioWH(_arg0,_arg1,_arg2);
248
249 wxPy_END_ALLOW_THREADS;
250 } Py_INCREF(Py_None);
251 _resultobj = Py_None;
252 return _resultobj;
253 }
254
255 #define wxSizerItem_SetRatioSize(_swigobj,_swigarg0) (_swigobj->SetRatio(_swigarg0))
256 static PyObject *_wrap_wxSizerItem_SetRatioSize(PyObject *self, PyObject *args, PyObject *kwargs) {
257 PyObject * _resultobj;
258 wxSizerItem * _arg0;
259 wxSize * _arg1;
260 PyObject * _argo0 = 0;
261 wxSize temp;
262 PyObject * _obj1 = 0;
263 char *_kwnames[] = { "self","size", NULL };
264
265 self = self;
266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxSizerItem_SetRatioSize",_kwnames,&_argo0,&_obj1))
267 return NULL;
268 if (_argo0) {
269 if (_argo0 == Py_None) { _arg0 = NULL; }
270 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizerItem_p")) {
271 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizerItem_SetRatioSize. Expected _wxSizerItem_p.");
272 return NULL;
273 }
274 }
275 {
276 _arg1 = &temp;
277 if (! wxSize_helper(_obj1, &_arg1))
278 return NULL;
279 }
280 {
281 wxPy_BEGIN_ALLOW_THREADS;
282 wxSizerItem_SetRatioSize(_arg0,*_arg1);
283
284 wxPy_END_ALLOW_THREADS;
285 } Py_INCREF(Py_None);
286 _resultobj = Py_None;
287 return _resultobj;
288 }
289
290 #define wxSizerItem_SetRatio(_swigobj,_swigarg0) (_swigobj->SetRatio(_swigarg0))
291 static PyObject *_wrap_wxSizerItem_SetRatio(PyObject *self, PyObject *args, PyObject *kwargs) {
292 PyObject * _resultobj;
293 wxSizerItem * _arg0;
294 float _arg1;
295 PyObject * _argo0 = 0;
296 char *_kwnames[] = { "self","ratio", NULL };
297
298 self = self;
299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Of:wxSizerItem_SetRatio",_kwnames,&_argo0,&_arg1))
300 return NULL;
301 if (_argo0) {
302 if (_argo0 == Py_None) { _arg0 = NULL; }
303 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizerItem_p")) {
304 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizerItem_SetRatio. Expected _wxSizerItem_p.");
305 return NULL;
306 }
307 }
308 {
309 wxPy_BEGIN_ALLOW_THREADS;
310 wxSizerItem_SetRatio(_arg0,_arg1);
311
312 wxPy_END_ALLOW_THREADS;
313 } Py_INCREF(Py_None);
314 _resultobj = Py_None;
315 return _resultobj;
316 }
317
318 #define wxSizerItem_GetRatio(_swigobj) (_swigobj->GetRatio())
319 static PyObject *_wrap_wxSizerItem_GetRatio(PyObject *self, PyObject *args, PyObject *kwargs) {
320 PyObject * _resultobj;
321 float _result;
322 wxSizerItem * _arg0;
323 PyObject * _argo0 = 0;
324 char *_kwnames[] = { "self", NULL };
325
326 self = self;
327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSizerItem_GetRatio",_kwnames,&_argo0))
328 return NULL;
329 if (_argo0) {
330 if (_argo0 == Py_None) { _arg0 = NULL; }
331 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizerItem_p")) {
332 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizerItem_GetRatio. Expected _wxSizerItem_p.");
333 return NULL;
334 }
335 }
336 {
337 wxPy_BEGIN_ALLOW_THREADS;
338 _result = (float )wxSizerItem_GetRatio(_arg0);
339
340 wxPy_END_ALLOW_THREADS;
341 } _resultobj = Py_BuildValue("f",_result);
342 return _resultobj;
343 }
344
345 #define wxSizerItem_IsWindow(_swigobj) (_swigobj->IsWindow())
346 static PyObject *_wrap_wxSizerItem_IsWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
347 PyObject * _resultobj;
348 bool _result;
349 wxSizerItem * _arg0;
350 PyObject * _argo0 = 0;
351 char *_kwnames[] = { "self", NULL };
352
353 self = self;
354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSizerItem_IsWindow",_kwnames,&_argo0))
355 return NULL;
356 if (_argo0) {
357 if (_argo0 == Py_None) { _arg0 = NULL; }
358 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizerItem_p")) {
359 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizerItem_IsWindow. Expected _wxSizerItem_p.");
360 return NULL;
361 }
362 }
363 {
364 wxPy_BEGIN_ALLOW_THREADS;
365 _result = (bool )wxSizerItem_IsWindow(_arg0);
366
367 wxPy_END_ALLOW_THREADS;
368 } _resultobj = Py_BuildValue("i",_result);
369 return _resultobj;
370 }
371
372 #define wxSizerItem_IsSizer(_swigobj) (_swigobj->IsSizer())
373 static PyObject *_wrap_wxSizerItem_IsSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
374 PyObject * _resultobj;
375 bool _result;
376 wxSizerItem * _arg0;
377 PyObject * _argo0 = 0;
378 char *_kwnames[] = { "self", NULL };
379
380 self = self;
381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSizerItem_IsSizer",_kwnames,&_argo0))
382 return NULL;
383 if (_argo0) {
384 if (_argo0 == Py_None) { _arg0 = NULL; }
385 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizerItem_p")) {
386 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizerItem_IsSizer. Expected _wxSizerItem_p.");
387 return NULL;
388 }
389 }
390 {
391 wxPy_BEGIN_ALLOW_THREADS;
392 _result = (bool )wxSizerItem_IsSizer(_arg0);
393
394 wxPy_END_ALLOW_THREADS;
395 } _resultobj = Py_BuildValue("i",_result);
396 return _resultobj;
397 }
398
399 #define wxSizerItem_IsSpacer(_swigobj) (_swigobj->IsSpacer())
400 static PyObject *_wrap_wxSizerItem_IsSpacer(PyObject *self, PyObject *args, PyObject *kwargs) {
401 PyObject * _resultobj;
402 bool _result;
403 wxSizerItem * _arg0;
404 PyObject * _argo0 = 0;
405 char *_kwnames[] = { "self", NULL };
406
407 self = self;
408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSizerItem_IsSpacer",_kwnames,&_argo0))
409 return NULL;
410 if (_argo0) {
411 if (_argo0 == Py_None) { _arg0 = NULL; }
412 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizerItem_p")) {
413 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizerItem_IsSpacer. Expected _wxSizerItem_p.");
414 return NULL;
415 }
416 }
417 {
418 wxPy_BEGIN_ALLOW_THREADS;
419 _result = (bool )wxSizerItem_IsSpacer(_arg0);
420
421 wxPy_END_ALLOW_THREADS;
422 } _resultobj = Py_BuildValue("i",_result);
423 return _resultobj;
424 }
425
426 #define wxSizerItem_GetWindow(_swigobj) (_swigobj->GetWindow())
427 static PyObject *_wrap_wxSizerItem_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
428 PyObject * _resultobj;
429 wxWindow * _result;
430 wxSizerItem * _arg0;
431 PyObject * _argo0 = 0;
432 char *_kwnames[] = { "self", NULL };
433 char _ptemp[128];
434
435 self = self;
436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSizerItem_GetWindow",_kwnames,&_argo0))
437 return NULL;
438 if (_argo0) {
439 if (_argo0 == Py_None) { _arg0 = NULL; }
440 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizerItem_p")) {
441 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizerItem_GetWindow. Expected _wxSizerItem_p.");
442 return NULL;
443 }
444 }
445 {
446 wxPy_BEGIN_ALLOW_THREADS;
447 _result = (wxWindow *)wxSizerItem_GetWindow(_arg0);
448
449 wxPy_END_ALLOW_THREADS;
450 } if (_result) {
451 SWIG_MakePtr(_ptemp, (char *) _result,"_wxWindow_p");
452 _resultobj = Py_BuildValue("s",_ptemp);
453 } else {
454 Py_INCREF(Py_None);
455 _resultobj = Py_None;
456 }
457 return _resultobj;
458 }
459
460 #define wxSizerItem_SetWindow(_swigobj,_swigarg0) (_swigobj->SetWindow(_swigarg0))
461 static PyObject *_wrap_wxSizerItem_SetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
462 PyObject * _resultobj;
463 wxSizerItem * _arg0;
464 wxWindow * _arg1;
465 PyObject * _argo0 = 0;
466 PyObject * _argo1 = 0;
467 char *_kwnames[] = { "self","window", NULL };
468
469 self = self;
470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxSizerItem_SetWindow",_kwnames,&_argo0,&_argo1))
471 return NULL;
472 if (_argo0) {
473 if (_argo0 == Py_None) { _arg0 = NULL; }
474 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizerItem_p")) {
475 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizerItem_SetWindow. Expected _wxSizerItem_p.");
476 return NULL;
477 }
478 }
479 if (_argo1) {
480 if (_argo1 == Py_None) { _arg1 = NULL; }
481 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
482 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxSizerItem_SetWindow. Expected _wxWindow_p.");
483 return NULL;
484 }
485 }
486 {
487 wxPy_BEGIN_ALLOW_THREADS;
488 wxSizerItem_SetWindow(_arg0,_arg1);
489
490 wxPy_END_ALLOW_THREADS;
491 } Py_INCREF(Py_None);
492 _resultobj = Py_None;
493 return _resultobj;
494 }
495
496 #define wxSizerItem_GetSizer(_swigobj) (_swigobj->GetSizer())
497 static PyObject *_wrap_wxSizerItem_GetSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
498 PyObject * _resultobj;
499 wxSizer * _result;
500 wxSizerItem * _arg0;
501 PyObject * _argo0 = 0;
502 char *_kwnames[] = { "self", NULL };
503 char _ptemp[128];
504
505 self = self;
506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSizerItem_GetSizer",_kwnames,&_argo0))
507 return NULL;
508 if (_argo0) {
509 if (_argo0 == Py_None) { _arg0 = NULL; }
510 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizerItem_p")) {
511 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizerItem_GetSizer. Expected _wxSizerItem_p.");
512 return NULL;
513 }
514 }
515 {
516 wxPy_BEGIN_ALLOW_THREADS;
517 _result = (wxSizer *)wxSizerItem_GetSizer(_arg0);
518
519 wxPy_END_ALLOW_THREADS;
520 } if (_result) {
521 SWIG_MakePtr(_ptemp, (char *) _result,"_wxSizer_p");
522 _resultobj = Py_BuildValue("s",_ptemp);
523 } else {
524 Py_INCREF(Py_None);
525 _resultobj = Py_None;
526 }
527 return _resultobj;
528 }
529
530 #define wxSizerItem_SetSizer(_swigobj,_swigarg0) (_swigobj->SetSizer(_swigarg0))
531 static PyObject *_wrap_wxSizerItem_SetSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
532 PyObject * _resultobj;
533 wxSizerItem * _arg0;
534 wxSizer * _arg1;
535 PyObject * _argo0 = 0;
536 PyObject * _argo1 = 0;
537 char *_kwnames[] = { "self","sizer", NULL };
538
539 self = self;
540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxSizerItem_SetSizer",_kwnames,&_argo0,&_argo1))
541 return NULL;
542 if (_argo0) {
543 if (_argo0 == Py_None) { _arg0 = NULL; }
544 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizerItem_p")) {
545 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizerItem_SetSizer. Expected _wxSizerItem_p.");
546 return NULL;
547 }
548 }
549 if (_argo1) {
550 if (_argo1 == Py_None) { _arg1 = NULL; }
551 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxSizer_p")) {
552 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxSizerItem_SetSizer. Expected _wxSizer_p.");
553 return NULL;
554 }
555 }
556 {
557 wxPy_BEGIN_ALLOW_THREADS;
558 wxSizerItem_SetSizer(_arg0,_arg1);
559
560 wxPy_END_ALLOW_THREADS;
561 } Py_INCREF(Py_None);
562 _resultobj = Py_None;
563 return _resultobj;
564 }
565
566 #define wxSizerItem_GetOption(_swigobj) (_swigobj->GetOption())
567 static PyObject *_wrap_wxSizerItem_GetOption(PyObject *self, PyObject *args, PyObject *kwargs) {
568 PyObject * _resultobj;
569 int _result;
570 wxSizerItem * _arg0;
571 PyObject * _argo0 = 0;
572 char *_kwnames[] = { "self", NULL };
573
574 self = self;
575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSizerItem_GetOption",_kwnames,&_argo0))
576 return NULL;
577 if (_argo0) {
578 if (_argo0 == Py_None) { _arg0 = NULL; }
579 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizerItem_p")) {
580 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizerItem_GetOption. Expected _wxSizerItem_p.");
581 return NULL;
582 }
583 }
584 {
585 wxPy_BEGIN_ALLOW_THREADS;
586 _result = (int )wxSizerItem_GetOption(_arg0);
587
588 wxPy_END_ALLOW_THREADS;
589 } _resultobj = Py_BuildValue("i",_result);
590 return _resultobj;
591 }
592
593 #define wxSizerItem_GetFlag(_swigobj) (_swigobj->GetFlag())
594 static PyObject *_wrap_wxSizerItem_GetFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
595 PyObject * _resultobj;
596 int _result;
597 wxSizerItem * _arg0;
598 PyObject * _argo0 = 0;
599 char *_kwnames[] = { "self", NULL };
600
601 self = self;
602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSizerItem_GetFlag",_kwnames,&_argo0))
603 return NULL;
604 if (_argo0) {
605 if (_argo0 == Py_None) { _arg0 = NULL; }
606 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizerItem_p")) {
607 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizerItem_GetFlag. Expected _wxSizerItem_p.");
608 return NULL;
609 }
610 }
611 {
612 wxPy_BEGIN_ALLOW_THREADS;
613 _result = (int )wxSizerItem_GetFlag(_arg0);
614
615 wxPy_END_ALLOW_THREADS;
616 } _resultobj = Py_BuildValue("i",_result);
617 return _resultobj;
618 }
619
620 #define wxSizerItem_GetBorder(_swigobj) (_swigobj->GetBorder())
621 static PyObject *_wrap_wxSizerItem_GetBorder(PyObject *self, PyObject *args, PyObject *kwargs) {
622 PyObject * _resultobj;
623 int _result;
624 wxSizerItem * _arg0;
625 PyObject * _argo0 = 0;
626 char *_kwnames[] = { "self", NULL };
627
628 self = self;
629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSizerItem_GetBorder",_kwnames,&_argo0))
630 return NULL;
631 if (_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_GetBorder. Expected _wxSizerItem_p.");
635 return NULL;
636 }
637 }
638 {
639 wxPy_BEGIN_ALLOW_THREADS;
640 _result = (int )wxSizerItem_GetBorder(_arg0);
641
642 wxPy_END_ALLOW_THREADS;
643 } _resultobj = Py_BuildValue("i",_result);
644 return _resultobj;
645 }
646
647 #define wxSizerItem_SetInitSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetInitSize(_swigarg0,_swigarg1))
648 static PyObject *_wrap_wxSizerItem_SetInitSize(PyObject *self, PyObject *args, PyObject *kwargs) {
649 PyObject * _resultobj;
650 wxSizerItem * _arg0;
651 int _arg1;
652 int _arg2;
653 PyObject * _argo0 = 0;
654 char *_kwnames[] = { "self","x","y", NULL };
655
656 self = self;
657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxSizerItem_SetInitSize",_kwnames,&_argo0,&_arg1,&_arg2))
658 return NULL;
659 if (_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_SetInitSize. Expected _wxSizerItem_p.");
663 return NULL;
664 }
665 }
666 {
667 wxPy_BEGIN_ALLOW_THREADS;
668 wxSizerItem_SetInitSize(_arg0,_arg1,_arg2);
669
670 wxPy_END_ALLOW_THREADS;
671 } Py_INCREF(Py_None);
672 _resultobj = Py_None;
673 return _resultobj;
674 }
675
676 #define wxSizerItem_SetOption(_swigobj,_swigarg0) (_swigobj->SetOption(_swigarg0))
677 static PyObject *_wrap_wxSizerItem_SetOption(PyObject *self, PyObject *args, PyObject *kwargs) {
678 PyObject * _resultobj;
679 wxSizerItem * _arg0;
680 int _arg1;
681 PyObject * _argo0 = 0;
682 char *_kwnames[] = { "self","option", NULL };
683
684 self = self;
685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSizerItem_SetOption",_kwnames,&_argo0,&_arg1))
686 return NULL;
687 if (_argo0) {
688 if (_argo0 == Py_None) { _arg0 = NULL; }
689 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizerItem_p")) {
690 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizerItem_SetOption. Expected _wxSizerItem_p.");
691 return NULL;
692 }
693 }
694 {
695 wxPy_BEGIN_ALLOW_THREADS;
696 wxSizerItem_SetOption(_arg0,_arg1);
697
698 wxPy_END_ALLOW_THREADS;
699 } Py_INCREF(Py_None);
700 _resultobj = Py_None;
701 return _resultobj;
702 }
703
704 #define wxSizerItem_SetFlag(_swigobj,_swigarg0) (_swigobj->SetFlag(_swigarg0))
705 static PyObject *_wrap_wxSizerItem_SetFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
706 PyObject * _resultobj;
707 wxSizerItem * _arg0;
708 int _arg1;
709 PyObject * _argo0 = 0;
710 char *_kwnames[] = { "self","flag", NULL };
711
712 self = self;
713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSizerItem_SetFlag",_kwnames,&_argo0,&_arg1))
714 return NULL;
715 if (_argo0) {
716 if (_argo0 == Py_None) { _arg0 = NULL; }
717 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizerItem_p")) {
718 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizerItem_SetFlag. Expected _wxSizerItem_p.");
719 return NULL;
720 }
721 }
722 {
723 wxPy_BEGIN_ALLOW_THREADS;
724 wxSizerItem_SetFlag(_arg0,_arg1);
725
726 wxPy_END_ALLOW_THREADS;
727 } Py_INCREF(Py_None);
728 _resultobj = Py_None;
729 return _resultobj;
730 }
731
732 #define wxSizerItem_SetBorder(_swigobj,_swigarg0) (_swigobj->SetBorder(_swigarg0))
733 static PyObject *_wrap_wxSizerItem_SetBorder(PyObject *self, PyObject *args, PyObject *kwargs) {
734 PyObject * _resultobj;
735 wxSizerItem * _arg0;
736 int _arg1;
737 PyObject * _argo0 = 0;
738 char *_kwnames[] = { "self","border", NULL };
739
740 self = self;
741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSizerItem_SetBorder",_kwnames,&_argo0,&_arg1))
742 return NULL;
743 if (_argo0) {
744 if (_argo0 == Py_None) { _arg0 = NULL; }
745 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizerItem_p")) {
746 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizerItem_SetBorder. Expected _wxSizerItem_p.");
747 return NULL;
748 }
749 }
750 {
751 wxPy_BEGIN_ALLOW_THREADS;
752 wxSizerItem_SetBorder(_arg0,_arg1);
753
754 wxPy_END_ALLOW_THREADS;
755 } Py_INCREF(Py_None);
756 _resultobj = Py_None;
757 return _resultobj;
758 }
759
760 static PyObject * wxSizerItem_GetUserData(wxSizerItem *self) {
761 wxPyUserData* data = (wxPyUserData*)self->GetUserData();
762 if (data) {
763 Py_INCREF(data->m_obj);
764 return data->m_obj;
765 } else {
766 Py_INCREF(Py_None);
767 return Py_None;
768 }
769 }
770 static PyObject *_wrap_wxSizerItem_GetUserData(PyObject *self, PyObject *args, PyObject *kwargs) {
771 PyObject * _resultobj;
772 PyObject * _result;
773 wxSizerItem * _arg0;
774 PyObject * _argo0 = 0;
775 char *_kwnames[] = { "self", NULL };
776
777 self = self;
778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSizerItem_GetUserData",_kwnames,&_argo0))
779 return NULL;
780 if (_argo0) {
781 if (_argo0 == Py_None) { _arg0 = NULL; }
782 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizerItem_p")) {
783 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizerItem_GetUserData. Expected _wxSizerItem_p.");
784 return NULL;
785 }
786 }
787 {
788 wxPy_BEGIN_ALLOW_THREADS;
789 _result = (PyObject *)wxSizerItem_GetUserData(_arg0);
790
791 wxPy_END_ALLOW_THREADS;
792 }{
793 _resultobj = _result;
794 }
795 return _resultobj;
796 }
797
798 static void wxSizer_Destroy(wxSizer *self) { delete self; }
799 static PyObject *_wrap_wxSizer_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
800 PyObject * _resultobj;
801 wxSizer * _arg0;
802 PyObject * _argo0 = 0;
803 char *_kwnames[] = { "self", NULL };
804
805 self = self;
806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSizer_Destroy",_kwnames,&_argo0))
807 return NULL;
808 if (_argo0) {
809 if (_argo0 == Py_None) { _arg0 = NULL; }
810 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizer_p")) {
811 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizer_Destroy. Expected _wxSizer_p.");
812 return NULL;
813 }
814 }
815 {
816 wxPy_BEGIN_ALLOW_THREADS;
817 wxSizer_Destroy(_arg0);
818
819 wxPy_END_ALLOW_THREADS;
820 } Py_INCREF(Py_None);
821 _resultobj = Py_None;
822 return _resultobj;
823 }
824
825 static void wxSizer_AddWindow(wxSizer *self,wxWindow * window,int option,int flag,int border,PyObject * userData) {
826 wxPyUserData* data = NULL;
827 if (userData) data = new wxPyUserData(userData);
828 self->Add(window, option, flag, border, data);
829 }
830 static PyObject *_wrap_wxSizer_AddWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
831 PyObject * _resultobj;
832 wxSizer * _arg0;
833 wxWindow * _arg1;
834 int _arg2 = (int ) 0;
835 int _arg3 = (int ) 0;
836 int _arg4 = (int ) 0;
837 PyObject * _arg5 = (PyObject *) NULL;
838 PyObject * _argo0 = 0;
839 PyObject * _argo1 = 0;
840 PyObject * _obj5 = 0;
841 char *_kwnames[] = { "self","window","option","flag","border","userData", NULL };
842
843 self = self;
844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|iiiO:wxSizer_AddWindow",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_obj5))
845 return NULL;
846 if (_argo0) {
847 if (_argo0 == Py_None) { _arg0 = NULL; }
848 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizer_p")) {
849 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizer_AddWindow. Expected _wxSizer_p.");
850 return NULL;
851 }
852 }
853 if (_argo1) {
854 if (_argo1 == Py_None) { _arg1 = NULL; }
855 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
856 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxSizer_AddWindow. Expected _wxWindow_p.");
857 return NULL;
858 }
859 }
860 if (_obj5)
861 {
862 _arg5 = _obj5;
863 }
864 {
865 wxPy_BEGIN_ALLOW_THREADS;
866 wxSizer_AddWindow(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
867
868 wxPy_END_ALLOW_THREADS;
869 } Py_INCREF(Py_None);
870 _resultobj = Py_None;
871 return _resultobj;
872 }
873
874 static void wxSizer_AddSizer(wxSizer *self,wxSizer * sizer,int option,int flag,int border,PyObject * userData) {
875 wxPyUserData* data = NULL;
876 if (userData) data = new wxPyUserData(userData);
877 self->Add(sizer, option, flag, border, data);
878 }
879 static PyObject *_wrap_wxSizer_AddSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
880 PyObject * _resultobj;
881 wxSizer * _arg0;
882 wxSizer * _arg1;
883 int _arg2 = (int ) 0;
884 int _arg3 = (int ) 0;
885 int _arg4 = (int ) 0;
886 PyObject * _arg5 = (PyObject *) NULL;
887 PyObject * _argo0 = 0;
888 PyObject * _argo1 = 0;
889 PyObject * _obj5 = 0;
890 char *_kwnames[] = { "self","sizer","option","flag","border","userData", NULL };
891
892 self = self;
893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|iiiO:wxSizer_AddSizer",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_obj5))
894 return NULL;
895 if (_argo0) {
896 if (_argo0 == Py_None) { _arg0 = NULL; }
897 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizer_p")) {
898 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizer_AddSizer. Expected _wxSizer_p.");
899 return NULL;
900 }
901 }
902 if (_argo1) {
903 if (_argo1 == Py_None) { _arg1 = NULL; }
904 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxSizer_p")) {
905 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxSizer_AddSizer. Expected _wxSizer_p.");
906 return NULL;
907 }
908 }
909 if (_obj5)
910 {
911 _arg5 = _obj5;
912 }
913 {
914 wxPy_BEGIN_ALLOW_THREADS;
915 wxSizer_AddSizer(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
916
917 wxPy_END_ALLOW_THREADS;
918 } Py_INCREF(Py_None);
919 _resultobj = Py_None;
920 return _resultobj;
921 }
922
923 static void wxSizer_AddSpacer(wxSizer *self,int width,int height,int option,int flag,int border,PyObject * userData) {
924 wxPyUserData* data = NULL;
925 if (userData) data = new wxPyUserData(userData);
926 self->Add(width, height, option, flag, border, data);
927 }
928 static PyObject *_wrap_wxSizer_AddSpacer(PyObject *self, PyObject *args, PyObject *kwargs) {
929 PyObject * _resultobj;
930 wxSizer * _arg0;
931 int _arg1;
932 int _arg2;
933 int _arg3 = (int ) 0;
934 int _arg4 = (int ) 0;
935 int _arg5 = (int ) 0;
936 PyObject * _arg6 = (PyObject *) NULL;
937 PyObject * _argo0 = 0;
938 PyObject * _obj6 = 0;
939 char *_kwnames[] = { "self","width","height","option","flag","border","userData", NULL };
940
941 self = self;
942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii|iiiO:wxSizer_AddSpacer",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4,&_arg5,&_obj6))
943 return NULL;
944 if (_argo0) {
945 if (_argo0 == Py_None) { _arg0 = NULL; }
946 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizer_p")) {
947 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizer_AddSpacer. Expected _wxSizer_p.");
948 return NULL;
949 }
950 }
951 if (_obj6)
952 {
953 _arg6 = _obj6;
954 }
955 {
956 wxPy_BEGIN_ALLOW_THREADS;
957 wxSizer_AddSpacer(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
958
959 wxPy_END_ALLOW_THREADS;
960 } Py_INCREF(Py_None);
961 _resultobj = Py_None;
962 return _resultobj;
963 }
964
965 static void wxSizer_InsertWindow(wxSizer *self,int before,wxWindow * window,int option,int flag,int border,PyObject * userData) {
966 wxPyUserData* data = NULL;
967 if (userData) data = new wxPyUserData(userData);
968 self->Insert(before, window, option, flag, border, data);
969 }
970 static PyObject *_wrap_wxSizer_InsertWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
971 PyObject * _resultobj;
972 wxSizer * _arg0;
973 int _arg1;
974 wxWindow * _arg2;
975 int _arg3 = (int ) 0;
976 int _arg4 = (int ) 0;
977 int _arg5 = (int ) 0;
978 PyObject * _arg6 = (PyObject *) NULL;
979 PyObject * _argo0 = 0;
980 PyObject * _argo2 = 0;
981 PyObject * _obj6 = 0;
982 char *_kwnames[] = { "self","before","window","option","flag","border","userData", NULL };
983
984 self = self;
985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|iiiO:wxSizer_InsertWindow",_kwnames,&_argo0,&_arg1,&_argo2,&_arg3,&_arg4,&_arg5,&_obj6))
986 return NULL;
987 if (_argo0) {
988 if (_argo0 == Py_None) { _arg0 = NULL; }
989 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizer_p")) {
990 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizer_InsertWindow. Expected _wxSizer_p.");
991 return NULL;
992 }
993 }
994 if (_argo2) {
995 if (_argo2 == Py_None) { _arg2 = NULL; }
996 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxWindow_p")) {
997 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxSizer_InsertWindow. Expected _wxWindow_p.");
998 return NULL;
999 }
1000 }
1001 if (_obj6)
1002 {
1003 _arg6 = _obj6;
1004 }
1005 {
1006 wxPy_BEGIN_ALLOW_THREADS;
1007 wxSizer_InsertWindow(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
1008
1009 wxPy_END_ALLOW_THREADS;
1010 } Py_INCREF(Py_None);
1011 _resultobj = Py_None;
1012 return _resultobj;
1013 }
1014
1015 static void wxSizer_InsertSizer(wxSizer *self,int before,wxSizer * sizer,int option,int flag,int border,PyObject * userData) {
1016 wxPyUserData* data = NULL;
1017 if (userData) data = new wxPyUserData(userData);
1018 self->Insert(before, sizer, option, flag, border, data);
1019 }
1020 static PyObject *_wrap_wxSizer_InsertSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
1021 PyObject * _resultobj;
1022 wxSizer * _arg0;
1023 int _arg1;
1024 wxSizer * _arg2;
1025 int _arg3 = (int ) 0;
1026 int _arg4 = (int ) 0;
1027 int _arg5 = (int ) 0;
1028 PyObject * _arg6 = (PyObject *) NULL;
1029 PyObject * _argo0 = 0;
1030 PyObject * _argo2 = 0;
1031 PyObject * _obj6 = 0;
1032 char *_kwnames[] = { "self","before","sizer","option","flag","border","userData", NULL };
1033
1034 self = self;
1035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|iiiO:wxSizer_InsertSizer",_kwnames,&_argo0,&_arg1,&_argo2,&_arg3,&_arg4,&_arg5,&_obj6))
1036 return NULL;
1037 if (_argo0) {
1038 if (_argo0 == Py_None) { _arg0 = NULL; }
1039 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizer_p")) {
1040 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizer_InsertSizer. Expected _wxSizer_p.");
1041 return NULL;
1042 }
1043 }
1044 if (_argo2) {
1045 if (_argo2 == Py_None) { _arg2 = NULL; }
1046 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxSizer_p")) {
1047 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxSizer_InsertSizer. Expected _wxSizer_p.");
1048 return NULL;
1049 }
1050 }
1051 if (_obj6)
1052 {
1053 _arg6 = _obj6;
1054 }
1055 {
1056 wxPy_BEGIN_ALLOW_THREADS;
1057 wxSizer_InsertSizer(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
1058
1059 wxPy_END_ALLOW_THREADS;
1060 } Py_INCREF(Py_None);
1061 _resultobj = Py_None;
1062 return _resultobj;
1063 }
1064
1065 static void wxSizer_InsertSpacer(wxSizer *self,int before,int width,int height,int option,int flag,int border,PyObject * userData) {
1066 wxPyUserData* data = NULL;
1067 if (userData) data = new wxPyUserData(userData);
1068 self->Insert(before, width, height, option, flag, border, data);
1069 }
1070 static PyObject *_wrap_wxSizer_InsertSpacer(PyObject *self, PyObject *args, PyObject *kwargs) {
1071 PyObject * _resultobj;
1072 wxSizer * _arg0;
1073 int _arg1;
1074 int _arg2;
1075 int _arg3;
1076 int _arg4 = (int ) 0;
1077 int _arg5 = (int ) 0;
1078 int _arg6 = (int ) 0;
1079 PyObject * _arg7 = (PyObject *) NULL;
1080 PyObject * _argo0 = 0;
1081 PyObject * _obj7 = 0;
1082 char *_kwnames[] = { "self","before","width","height","option","flag","border","userData", NULL };
1083
1084 self = self;
1085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiii|iiiO:wxSizer_InsertSpacer",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4,&_arg5,&_arg6,&_obj7))
1086 return NULL;
1087 if (_argo0) {
1088 if (_argo0 == Py_None) { _arg0 = NULL; }
1089 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizer_p")) {
1090 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizer_InsertSpacer. Expected _wxSizer_p.");
1091 return NULL;
1092 }
1093 }
1094 if (_obj7)
1095 {
1096 _arg7 = _obj7;
1097 }
1098 {
1099 wxPy_BEGIN_ALLOW_THREADS;
1100 wxSizer_InsertSpacer(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7);
1101
1102 wxPy_END_ALLOW_THREADS;
1103 } Py_INCREF(Py_None);
1104 _resultobj = Py_None;
1105 return _resultobj;
1106 }
1107
1108 static void wxSizer_PrependWindow(wxSizer *self,wxWindow * window,int option,int flag,int border,PyObject * userData) {
1109 wxPyUserData* data = NULL;
1110 if (userData) data = new wxPyUserData(userData);
1111 self->Prepend(window, option, flag, border, data);
1112 }
1113 static PyObject *_wrap_wxSizer_PrependWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
1114 PyObject * _resultobj;
1115 wxSizer * _arg0;
1116 wxWindow * _arg1;
1117 int _arg2 = (int ) 0;
1118 int _arg3 = (int ) 0;
1119 int _arg4 = (int ) 0;
1120 PyObject * _arg5 = (PyObject *) NULL;
1121 PyObject * _argo0 = 0;
1122 PyObject * _argo1 = 0;
1123 PyObject * _obj5 = 0;
1124 char *_kwnames[] = { "self","window","option","flag","border","userData", NULL };
1125
1126 self = self;
1127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|iiiO:wxSizer_PrependWindow",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_obj5))
1128 return NULL;
1129 if (_argo0) {
1130 if (_argo0 == Py_None) { _arg0 = NULL; }
1131 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizer_p")) {
1132 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizer_PrependWindow. Expected _wxSizer_p.");
1133 return NULL;
1134 }
1135 }
1136 if (_argo1) {
1137 if (_argo1 == Py_None) { _arg1 = NULL; }
1138 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
1139 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxSizer_PrependWindow. Expected _wxWindow_p.");
1140 return NULL;
1141 }
1142 }
1143 if (_obj5)
1144 {
1145 _arg5 = _obj5;
1146 }
1147 {
1148 wxPy_BEGIN_ALLOW_THREADS;
1149 wxSizer_PrependWindow(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
1150
1151 wxPy_END_ALLOW_THREADS;
1152 } Py_INCREF(Py_None);
1153 _resultobj = Py_None;
1154 return _resultobj;
1155 }
1156
1157 static void wxSizer_PrependSizer(wxSizer *self,wxSizer * sizer,int option,int flag,int border,PyObject * userData) {
1158 wxPyUserData* data = NULL;
1159 if (userData) data = new wxPyUserData(userData);
1160 self->Prepend(sizer, option, flag, border, data);
1161 }
1162 static PyObject *_wrap_wxSizer_PrependSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
1163 PyObject * _resultobj;
1164 wxSizer * _arg0;
1165 wxSizer * _arg1;
1166 int _arg2 = (int ) 0;
1167 int _arg3 = (int ) 0;
1168 int _arg4 = (int ) 0;
1169 PyObject * _arg5 = (PyObject *) NULL;
1170 PyObject * _argo0 = 0;
1171 PyObject * _argo1 = 0;
1172 PyObject * _obj5 = 0;
1173 char *_kwnames[] = { "self","sizer","option","flag","border","userData", NULL };
1174
1175 self = self;
1176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|iiiO:wxSizer_PrependSizer",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_obj5))
1177 return NULL;
1178 if (_argo0) {
1179 if (_argo0 == Py_None) { _arg0 = NULL; }
1180 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizer_p")) {
1181 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizer_PrependSizer. Expected _wxSizer_p.");
1182 return NULL;
1183 }
1184 }
1185 if (_argo1) {
1186 if (_argo1 == Py_None) { _arg1 = NULL; }
1187 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxSizer_p")) {
1188 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxSizer_PrependSizer. Expected _wxSizer_p.");
1189 return NULL;
1190 }
1191 }
1192 if (_obj5)
1193 {
1194 _arg5 = _obj5;
1195 }
1196 {
1197 wxPy_BEGIN_ALLOW_THREADS;
1198 wxSizer_PrependSizer(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
1199
1200 wxPy_END_ALLOW_THREADS;
1201 } Py_INCREF(Py_None);
1202 _resultobj = Py_None;
1203 return _resultobj;
1204 }
1205
1206 static void wxSizer_PrependSpacer(wxSizer *self,int width,int height,int option,int flag,int border,PyObject * userData) {
1207 wxPyUserData* data = NULL;
1208 if (userData) data = new wxPyUserData(userData);
1209 self->Prepend(width, height, option, flag, border, data);
1210 }
1211 static PyObject *_wrap_wxSizer_PrependSpacer(PyObject *self, PyObject *args, PyObject *kwargs) {
1212 PyObject * _resultobj;
1213 wxSizer * _arg0;
1214 int _arg1;
1215 int _arg2;
1216 int _arg3 = (int ) 0;
1217 int _arg4 = (int ) 0;
1218 int _arg5 = (int ) 0;
1219 PyObject * _arg6 = (PyObject *) NULL;
1220 PyObject * _argo0 = 0;
1221 PyObject * _obj6 = 0;
1222 char *_kwnames[] = { "self","width","height","option","flag","border","userData", NULL };
1223
1224 self = self;
1225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii|iiiO:wxSizer_PrependSpacer",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4,&_arg5,&_obj6))
1226 return NULL;
1227 if (_argo0) {
1228 if (_argo0 == Py_None) { _arg0 = NULL; }
1229 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizer_p")) {
1230 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizer_PrependSpacer. Expected _wxSizer_p.");
1231 return NULL;
1232 }
1233 }
1234 if (_obj6)
1235 {
1236 _arg6 = _obj6;
1237 }
1238 {
1239 wxPy_BEGIN_ALLOW_THREADS;
1240 wxSizer_PrependSpacer(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
1241
1242 wxPy_END_ALLOW_THREADS;
1243 } Py_INCREF(Py_None);
1244 _resultobj = Py_None;
1245 return _resultobj;
1246 }
1247
1248 #define wxSizer_RemoveWindow(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
1249 static PyObject *_wrap_wxSizer_RemoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
1250 PyObject * _resultobj;
1251 bool _result;
1252 wxSizer * _arg0;
1253 wxWindow * _arg1;
1254 PyObject * _argo0 = 0;
1255 PyObject * _argo1 = 0;
1256 char *_kwnames[] = { "self","window", NULL };
1257
1258 self = self;
1259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxSizer_RemoveWindow",_kwnames,&_argo0,&_argo1))
1260 return NULL;
1261 if (_argo0) {
1262 if (_argo0 == Py_None) { _arg0 = NULL; }
1263 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizer_p")) {
1264 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizer_RemoveWindow. Expected _wxSizer_p.");
1265 return NULL;
1266 }
1267 }
1268 if (_argo1) {
1269 if (_argo1 == Py_None) { _arg1 = NULL; }
1270 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
1271 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxSizer_RemoveWindow. Expected _wxWindow_p.");
1272 return NULL;
1273 }
1274 }
1275 {
1276 wxPy_BEGIN_ALLOW_THREADS;
1277 _result = (bool )wxSizer_RemoveWindow(_arg0,_arg1);
1278
1279 wxPy_END_ALLOW_THREADS;
1280 } _resultobj = Py_BuildValue("i",_result);
1281 return _resultobj;
1282 }
1283
1284 #define wxSizer_RemoveSizer(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
1285 static PyObject *_wrap_wxSizer_RemoveSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
1286 PyObject * _resultobj;
1287 bool _result;
1288 wxSizer * _arg0;
1289 wxSizer * _arg1;
1290 PyObject * _argo0 = 0;
1291 PyObject * _argo1 = 0;
1292 char *_kwnames[] = { "self","sizer", NULL };
1293
1294 self = self;
1295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxSizer_RemoveSizer",_kwnames,&_argo0,&_argo1))
1296 return NULL;
1297 if (_argo0) {
1298 if (_argo0 == Py_None) { _arg0 = NULL; }
1299 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizer_p")) {
1300 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizer_RemoveSizer. Expected _wxSizer_p.");
1301 return NULL;
1302 }
1303 }
1304 if (_argo1) {
1305 if (_argo1 == Py_None) { _arg1 = NULL; }
1306 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxSizer_p")) {
1307 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxSizer_RemoveSizer. Expected _wxSizer_p.");
1308 return NULL;
1309 }
1310 }
1311 {
1312 wxPy_BEGIN_ALLOW_THREADS;
1313 _result = (bool )wxSizer_RemoveSizer(_arg0,_arg1);
1314
1315 wxPy_END_ALLOW_THREADS;
1316 } _resultobj = Py_BuildValue("i",_result);
1317 return _resultobj;
1318 }
1319
1320 #define wxSizer_RemovePos(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
1321 static PyObject *_wrap_wxSizer_RemovePos(PyObject *self, PyObject *args, PyObject *kwargs) {
1322 PyObject * _resultobj;
1323 bool _result;
1324 wxSizer * _arg0;
1325 int _arg1;
1326 PyObject * _argo0 = 0;
1327 char *_kwnames[] = { "self","pos", NULL };
1328
1329 self = self;
1330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSizer_RemovePos",_kwnames,&_argo0,&_arg1))
1331 return NULL;
1332 if (_argo0) {
1333 if (_argo0 == Py_None) { _arg0 = NULL; }
1334 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizer_p")) {
1335 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizer_RemovePos. Expected _wxSizer_p.");
1336 return NULL;
1337 }
1338 }
1339 {
1340 wxPy_BEGIN_ALLOW_THREADS;
1341 _result = (bool )wxSizer_RemovePos(_arg0,_arg1);
1342
1343 wxPy_END_ALLOW_THREADS;
1344 } _resultobj = Py_BuildValue("i",_result);
1345 return _resultobj;
1346 }
1347
1348 #define wxSizer_SetDimension(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetDimension(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1349 static PyObject *_wrap_wxSizer_SetDimension(PyObject *self, PyObject *args, PyObject *kwargs) {
1350 PyObject * _resultobj;
1351 wxSizer * _arg0;
1352 int _arg1;
1353 int _arg2;
1354 int _arg3;
1355 int _arg4;
1356 PyObject * _argo0 = 0;
1357 char *_kwnames[] = { "self","x","y","width","height", NULL };
1358
1359 self = self;
1360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiiii:wxSizer_SetDimension",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
1361 return NULL;
1362 if (_argo0) {
1363 if (_argo0 == Py_None) { _arg0 = NULL; }
1364 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizer_p")) {
1365 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizer_SetDimension. Expected _wxSizer_p.");
1366 return NULL;
1367 }
1368 }
1369 {
1370 wxPy_BEGIN_ALLOW_THREADS;
1371 wxSizer_SetDimension(_arg0,_arg1,_arg2,_arg3,_arg4);
1372
1373 wxPy_END_ALLOW_THREADS;
1374 } Py_INCREF(Py_None);
1375 _resultobj = Py_None;
1376 return _resultobj;
1377 }
1378
1379 #define wxSizer_SetMinSize(_swigobj,_swigarg0) (_swigobj->SetMinSize(_swigarg0))
1380 static PyObject *_wrap_wxSizer_SetMinSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1381 PyObject * _resultobj;
1382 wxSizer * _arg0;
1383 wxSize * _arg1;
1384 PyObject * _argo0 = 0;
1385 wxSize temp;
1386 PyObject * _obj1 = 0;
1387 char *_kwnames[] = { "self","size", NULL };
1388
1389 self = self;
1390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxSizer_SetMinSize",_kwnames,&_argo0,&_obj1))
1391 return NULL;
1392 if (_argo0) {
1393 if (_argo0 == Py_None) { _arg0 = NULL; }
1394 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizer_p")) {
1395 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizer_SetMinSize. Expected _wxSizer_p.");
1396 return NULL;
1397 }
1398 }
1399 {
1400 _arg1 = &temp;
1401 if (! wxSize_helper(_obj1, &_arg1))
1402 return NULL;
1403 }
1404 {
1405 wxPy_BEGIN_ALLOW_THREADS;
1406 wxSizer_SetMinSize(_arg0,*_arg1);
1407
1408 wxPy_END_ALLOW_THREADS;
1409 } Py_INCREF(Py_None);
1410 _resultobj = Py_None;
1411 return _resultobj;
1412 }
1413
1414 #define wxSizer_SetItemMinSizeWindow(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemMinSize(_swigarg0,_swigarg1,_swigarg2))
1415 static PyObject *_wrap_wxSizer_SetItemMinSizeWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
1416 PyObject * _resultobj;
1417 wxSizer * _arg0;
1418 wxWindow * _arg1;
1419 int _arg2;
1420 int _arg3;
1421 PyObject * _argo0 = 0;
1422 PyObject * _argo1 = 0;
1423 char *_kwnames[] = { "self","window","width","height", NULL };
1424
1425 self = self;
1426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOii:wxSizer_SetItemMinSizeWindow",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3))
1427 return NULL;
1428 if (_argo0) {
1429 if (_argo0 == Py_None) { _arg0 = NULL; }
1430 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizer_p")) {
1431 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizer_SetItemMinSizeWindow. Expected _wxSizer_p.");
1432 return NULL;
1433 }
1434 }
1435 if (_argo1) {
1436 if (_argo1 == Py_None) { _arg1 = NULL; }
1437 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
1438 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxSizer_SetItemMinSizeWindow. Expected _wxWindow_p.");
1439 return NULL;
1440 }
1441 }
1442 {
1443 wxPy_BEGIN_ALLOW_THREADS;
1444 wxSizer_SetItemMinSizeWindow(_arg0,_arg1,_arg2,_arg3);
1445
1446 wxPy_END_ALLOW_THREADS;
1447 } Py_INCREF(Py_None);
1448 _resultobj = Py_None;
1449 return _resultobj;
1450 }
1451
1452 #define wxSizer_SetItemMinSizeSizer(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemMinSize(_swigarg0,_swigarg1,_swigarg2))
1453 static PyObject *_wrap_wxSizer_SetItemMinSizeSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
1454 PyObject * _resultobj;
1455 wxSizer * _arg0;
1456 wxSizer * _arg1;
1457 int _arg2;
1458 int _arg3;
1459 PyObject * _argo0 = 0;
1460 PyObject * _argo1 = 0;
1461 char *_kwnames[] = { "self","sizer","width","height", NULL };
1462
1463 self = self;
1464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOii:wxSizer_SetItemMinSizeSizer",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3))
1465 return NULL;
1466 if (_argo0) {
1467 if (_argo0 == Py_None) { _arg0 = NULL; }
1468 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizer_p")) {
1469 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizer_SetItemMinSizeSizer. Expected _wxSizer_p.");
1470 return NULL;
1471 }
1472 }
1473 if (_argo1) {
1474 if (_argo1 == Py_None) { _arg1 = NULL; }
1475 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxSizer_p")) {
1476 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxSizer_SetItemMinSizeSizer. Expected _wxSizer_p.");
1477 return NULL;
1478 }
1479 }
1480 {
1481 wxPy_BEGIN_ALLOW_THREADS;
1482 wxSizer_SetItemMinSizeSizer(_arg0,_arg1,_arg2,_arg3);
1483
1484 wxPy_END_ALLOW_THREADS;
1485 } Py_INCREF(Py_None);
1486 _resultobj = Py_None;
1487 return _resultobj;
1488 }
1489
1490 #define wxSizer_SetItemMinSizePos(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemMinSize(_swigarg0,_swigarg1,_swigarg2))
1491 static PyObject *_wrap_wxSizer_SetItemMinSizePos(PyObject *self, PyObject *args, PyObject *kwargs) {
1492 PyObject * _resultobj;
1493 wxSizer * _arg0;
1494 int _arg1;
1495 int _arg2;
1496 int _arg3;
1497 PyObject * _argo0 = 0;
1498 char *_kwnames[] = { "self","pos","width","height", NULL };
1499
1500 self = self;
1501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiii:wxSizer_SetItemMinSizePos",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
1502 return NULL;
1503 if (_argo0) {
1504 if (_argo0 == Py_None) { _arg0 = NULL; }
1505 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizer_p")) {
1506 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizer_SetItemMinSizePos. Expected _wxSizer_p.");
1507 return NULL;
1508 }
1509 }
1510 {
1511 wxPy_BEGIN_ALLOW_THREADS;
1512 wxSizer_SetItemMinSizePos(_arg0,_arg1,_arg2,_arg3);
1513
1514 wxPy_END_ALLOW_THREADS;
1515 } Py_INCREF(Py_None);
1516 _resultobj = Py_None;
1517 return _resultobj;
1518 }
1519
1520 #define wxSizer_GetSize(_swigobj) (_swigobj->GetSize())
1521 static PyObject *_wrap_wxSizer_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1522 PyObject * _resultobj;
1523 wxSize * _result;
1524 wxSizer * _arg0;
1525 PyObject * _argo0 = 0;
1526 char *_kwnames[] = { "self", NULL };
1527 char _ptemp[128];
1528
1529 self = self;
1530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSizer_GetSize",_kwnames,&_argo0))
1531 return NULL;
1532 if (_argo0) {
1533 if (_argo0 == Py_None) { _arg0 = NULL; }
1534 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizer_p")) {
1535 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizer_GetSize. Expected _wxSizer_p.");
1536 return NULL;
1537 }
1538 }
1539 {
1540 wxPy_BEGIN_ALLOW_THREADS;
1541 _result = new wxSize (wxSizer_GetSize(_arg0));
1542
1543 wxPy_END_ALLOW_THREADS;
1544 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
1545 _resultobj = Py_BuildValue("s",_ptemp);
1546 return _resultobj;
1547 }
1548
1549 #define wxSizer_GetPosition(_swigobj) (_swigobj->GetPosition())
1550 static PyObject *_wrap_wxSizer_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
1551 PyObject * _resultobj;
1552 wxPoint * _result;
1553 wxSizer * _arg0;
1554 PyObject * _argo0 = 0;
1555 char *_kwnames[] = { "self", NULL };
1556 char _ptemp[128];
1557
1558 self = self;
1559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSizer_GetPosition",_kwnames,&_argo0))
1560 return NULL;
1561 if (_argo0) {
1562 if (_argo0 == Py_None) { _arg0 = NULL; }
1563 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizer_p")) {
1564 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizer_GetPosition. Expected _wxSizer_p.");
1565 return NULL;
1566 }
1567 }
1568 {
1569 wxPy_BEGIN_ALLOW_THREADS;
1570 _result = new wxPoint (wxSizer_GetPosition(_arg0));
1571
1572 wxPy_END_ALLOW_THREADS;
1573 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
1574 _resultobj = Py_BuildValue("s",_ptemp);
1575 return _resultobj;
1576 }
1577
1578 #define wxSizer_GetMinSize(_swigobj) (_swigobj->GetMinSize())
1579 static PyObject *_wrap_wxSizer_GetMinSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1580 PyObject * _resultobj;
1581 wxSize * _result;
1582 wxSizer * _arg0;
1583 PyObject * _argo0 = 0;
1584 char *_kwnames[] = { "self", NULL };
1585 char _ptemp[128];
1586
1587 self = self;
1588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSizer_GetMinSize",_kwnames,&_argo0))
1589 return NULL;
1590 if (_argo0) {
1591 if (_argo0 == Py_None) { _arg0 = NULL; }
1592 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizer_p")) {
1593 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizer_GetMinSize. Expected _wxSizer_p.");
1594 return NULL;
1595 }
1596 }
1597 {
1598 wxPy_BEGIN_ALLOW_THREADS;
1599 _result = new wxSize (wxSizer_GetMinSize(_arg0));
1600
1601 wxPy_END_ALLOW_THREADS;
1602 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
1603 _resultobj = Py_BuildValue("s",_ptemp);
1604 return _resultobj;
1605 }
1606
1607 #define wxSizer_Layout(_swigobj) (_swigobj->Layout())
1608 static PyObject *_wrap_wxSizer_Layout(PyObject *self, PyObject *args, PyObject *kwargs) {
1609 PyObject * _resultobj;
1610 wxSizer * _arg0;
1611 PyObject * _argo0 = 0;
1612 char *_kwnames[] = { "self", NULL };
1613
1614 self = self;
1615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSizer_Layout",_kwnames,&_argo0))
1616 return NULL;
1617 if (_argo0) {
1618 if (_argo0 == Py_None) { _arg0 = NULL; }
1619 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizer_p")) {
1620 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizer_Layout. Expected _wxSizer_p.");
1621 return NULL;
1622 }
1623 }
1624 {
1625 wxPy_BEGIN_ALLOW_THREADS;
1626 wxSizer_Layout(_arg0);
1627
1628 wxPy_END_ALLOW_THREADS;
1629 } Py_INCREF(Py_None);
1630 _resultobj = Py_None;
1631 return _resultobj;
1632 }
1633
1634 #define wxSizer_Fit(_swigobj,_swigarg0) (_swigobj->Fit(_swigarg0))
1635 static PyObject *_wrap_wxSizer_Fit(PyObject *self, PyObject *args, PyObject *kwargs) {
1636 PyObject * _resultobj;
1637 wxSizer * _arg0;
1638 wxWindow * _arg1;
1639 PyObject * _argo0 = 0;
1640 PyObject * _argo1 = 0;
1641 char *_kwnames[] = { "self","window", NULL };
1642
1643 self = self;
1644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxSizer_Fit",_kwnames,&_argo0,&_argo1))
1645 return NULL;
1646 if (_argo0) {
1647 if (_argo0 == Py_None) { _arg0 = NULL; }
1648 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizer_p")) {
1649 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizer_Fit. Expected _wxSizer_p.");
1650 return NULL;
1651 }
1652 }
1653 if (_argo1) {
1654 if (_argo1 == Py_None) { _arg1 = NULL; }
1655 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
1656 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxSizer_Fit. Expected _wxWindow_p.");
1657 return NULL;
1658 }
1659 }
1660 {
1661 wxPy_BEGIN_ALLOW_THREADS;
1662 wxSizer_Fit(_arg0,_arg1);
1663
1664 wxPy_END_ALLOW_THREADS;
1665 } Py_INCREF(Py_None);
1666 _resultobj = Py_None;
1667 return _resultobj;
1668 }
1669
1670 #define wxSizer_SetSizeHints(_swigobj,_swigarg0) (_swigobj->SetSizeHints(_swigarg0))
1671 static PyObject *_wrap_wxSizer_SetSizeHints(PyObject *self, PyObject *args, PyObject *kwargs) {
1672 PyObject * _resultobj;
1673 wxSizer * _arg0;
1674 wxWindow * _arg1;
1675 PyObject * _argo0 = 0;
1676 PyObject * _argo1 = 0;
1677 char *_kwnames[] = { "self","window", NULL };
1678
1679 self = self;
1680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxSizer_SetSizeHints",_kwnames,&_argo0,&_argo1))
1681 return NULL;
1682 if (_argo0) {
1683 if (_argo0 == Py_None) { _arg0 = NULL; }
1684 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizer_p")) {
1685 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizer_SetSizeHints. Expected _wxSizer_p.");
1686 return NULL;
1687 }
1688 }
1689 if (_argo1) {
1690 if (_argo1 == Py_None) { _arg1 = NULL; }
1691 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
1692 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxSizer_SetSizeHints. Expected _wxWindow_p.");
1693 return NULL;
1694 }
1695 }
1696 {
1697 wxPy_BEGIN_ALLOW_THREADS;
1698 wxSizer_SetSizeHints(_arg0,_arg1);
1699
1700 wxPy_END_ALLOW_THREADS;
1701 } Py_INCREF(Py_None);
1702 _resultobj = Py_None;
1703 return _resultobj;
1704 }
1705
1706 static PyObject * wxSizer_GetChildren(wxSizer *self) {
1707 wxList& list = self->GetChildren();
1708 return wxPy_ConvertList(&list, "wxSizerItem");
1709 }
1710 static PyObject *_wrap_wxSizer_GetChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
1711 PyObject * _resultobj;
1712 PyObject * _result;
1713 wxSizer * _arg0;
1714 PyObject * _argo0 = 0;
1715 char *_kwnames[] = { "self", NULL };
1716
1717 self = self;
1718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSizer_GetChildren",_kwnames,&_argo0))
1719 return NULL;
1720 if (_argo0) {
1721 if (_argo0 == Py_None) { _arg0 = NULL; }
1722 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizer_p")) {
1723 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizer_GetChildren. Expected _wxSizer_p.");
1724 return NULL;
1725 }
1726 }
1727 {
1728 wxPy_BEGIN_ALLOW_THREADS;
1729 _result = (PyObject *)wxSizer_GetChildren(_arg0);
1730
1731 wxPy_END_ALLOW_THREADS;
1732 }{
1733 _resultobj = _result;
1734 }
1735 return _resultobj;
1736 }
1737
1738 static void *SwigwxPySizerTowxSizer(void *ptr) {
1739 wxPySizer *src;
1740 wxSizer *dest;
1741 src = (wxPySizer *) ptr;
1742 dest = (wxSizer *) src;
1743 return (void *) dest;
1744 }
1745
1746 #define new_wxPySizer() (new wxPySizer())
1747 static PyObject *_wrap_new_wxPySizer(PyObject *self, PyObject *args, PyObject *kwargs) {
1748 PyObject * _resultobj;
1749 wxPySizer * _result;
1750 char *_kwnames[] = { NULL };
1751 char _ptemp[128];
1752
1753 self = self;
1754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPySizer",_kwnames))
1755 return NULL;
1756 {
1757 wxPy_BEGIN_ALLOW_THREADS;
1758 _result = (wxPySizer *)new_wxPySizer();
1759
1760 wxPy_END_ALLOW_THREADS;
1761 } if (_result) {
1762 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPySizer_p");
1763 _resultobj = Py_BuildValue("s",_ptemp);
1764 } else {
1765 Py_INCREF(Py_None);
1766 _resultobj = Py_None;
1767 }
1768 return _resultobj;
1769 }
1770
1771 #define wxPySizer__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1))
1772 static PyObject *_wrap_wxPySizer__setSelf(PyObject *self, PyObject *args, PyObject *kwargs) {
1773 PyObject * _resultobj;
1774 wxPySizer * _arg0;
1775 PyObject * _arg1;
1776 PyObject * _arg2;
1777 PyObject * _argo0 = 0;
1778 PyObject * _obj1 = 0;
1779 PyObject * _obj2 = 0;
1780 char *_kwnames[] = { "self","self","_class", NULL };
1781
1782 self = self;
1783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPySizer__setSelf",_kwnames,&_argo0,&_obj1,&_obj2))
1784 return NULL;
1785 if (_argo0) {
1786 if (_argo0 == Py_None) { _arg0 = NULL; }
1787 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPySizer_p")) {
1788 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPySizer__setSelf. Expected _wxPySizer_p.");
1789 return NULL;
1790 }
1791 }
1792 {
1793 _arg1 = _obj1;
1794 }
1795 {
1796 _arg2 = _obj2;
1797 }
1798 {
1799 wxPy_BEGIN_ALLOW_THREADS;
1800 wxPySizer__setSelf(_arg0,_arg1,_arg2);
1801
1802 wxPy_END_ALLOW_THREADS;
1803 } Py_INCREF(Py_None);
1804 _resultobj = Py_None;
1805 return _resultobj;
1806 }
1807
1808 static void *SwigwxBoxSizerTowxSizer(void *ptr) {
1809 wxBoxSizer *src;
1810 wxSizer *dest;
1811 src = (wxBoxSizer *) ptr;
1812 dest = (wxSizer *) src;
1813 return (void *) dest;
1814 }
1815
1816 #define new_wxBoxSizer(_swigarg0) (new wxBoxSizer(_swigarg0))
1817 static PyObject *_wrap_new_wxBoxSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
1818 PyObject * _resultobj;
1819 wxBoxSizer * _result;
1820 int _arg0 = (int ) wxHORIZONTAL;
1821 char *_kwnames[] = { "orient", NULL };
1822 char _ptemp[128];
1823
1824 self = self;
1825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|i:new_wxBoxSizer",_kwnames,&_arg0))
1826 return NULL;
1827 {
1828 wxPy_BEGIN_ALLOW_THREADS;
1829 _result = (wxBoxSizer *)new_wxBoxSizer(_arg0);
1830
1831 wxPy_END_ALLOW_THREADS;
1832 } if (_result) {
1833 SWIG_MakePtr(_ptemp, (char *) _result,"_wxBoxSizer_p");
1834 _resultobj = Py_BuildValue("s",_ptemp);
1835 } else {
1836 Py_INCREF(Py_None);
1837 _resultobj = Py_None;
1838 }
1839 return _resultobj;
1840 }
1841
1842 #define wxBoxSizer_GetOrientation(_swigobj) (_swigobj->GetOrientation())
1843 static PyObject *_wrap_wxBoxSizer_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
1844 PyObject * _resultobj;
1845 int _result;
1846 wxBoxSizer * _arg0;
1847 PyObject * _argo0 = 0;
1848 char *_kwnames[] = { "self", NULL };
1849
1850 self = self;
1851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxBoxSizer_GetOrientation",_kwnames,&_argo0))
1852 return NULL;
1853 if (_argo0) {
1854 if (_argo0 == Py_None) { _arg0 = NULL; }
1855 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBoxSizer_p")) {
1856 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBoxSizer_GetOrientation. Expected _wxBoxSizer_p.");
1857 return NULL;
1858 }
1859 }
1860 {
1861 wxPy_BEGIN_ALLOW_THREADS;
1862 _result = (int )wxBoxSizer_GetOrientation(_arg0);
1863
1864 wxPy_END_ALLOW_THREADS;
1865 } _resultobj = Py_BuildValue("i",_result);
1866 return _resultobj;
1867 }
1868
1869 #define wxBoxSizer_RecalcSizes(_swigobj) (_swigobj->RecalcSizes())
1870 static PyObject *_wrap_wxBoxSizer_RecalcSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
1871 PyObject * _resultobj;
1872 wxBoxSizer * _arg0;
1873 PyObject * _argo0 = 0;
1874 char *_kwnames[] = { "self", NULL };
1875
1876 self = self;
1877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxBoxSizer_RecalcSizes",_kwnames,&_argo0))
1878 return NULL;
1879 if (_argo0) {
1880 if (_argo0 == Py_None) { _arg0 = NULL; }
1881 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBoxSizer_p")) {
1882 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBoxSizer_RecalcSizes. Expected _wxBoxSizer_p.");
1883 return NULL;
1884 }
1885 }
1886 {
1887 wxPy_BEGIN_ALLOW_THREADS;
1888 wxBoxSizer_RecalcSizes(_arg0);
1889
1890 wxPy_END_ALLOW_THREADS;
1891 } Py_INCREF(Py_None);
1892 _resultobj = Py_None;
1893 return _resultobj;
1894 }
1895
1896 #define wxBoxSizer_CalcMin(_swigobj) (_swigobj->CalcMin())
1897 static PyObject *_wrap_wxBoxSizer_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
1898 PyObject * _resultobj;
1899 wxSize * _result;
1900 wxBoxSizer * _arg0;
1901 PyObject * _argo0 = 0;
1902 char *_kwnames[] = { "self", NULL };
1903 char _ptemp[128];
1904
1905 self = self;
1906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxBoxSizer_CalcMin",_kwnames,&_argo0))
1907 return NULL;
1908 if (_argo0) {
1909 if (_argo0 == Py_None) { _arg0 = NULL; }
1910 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBoxSizer_p")) {
1911 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBoxSizer_CalcMin. Expected _wxBoxSizer_p.");
1912 return NULL;
1913 }
1914 }
1915 {
1916 wxPy_BEGIN_ALLOW_THREADS;
1917 _result = new wxSize (wxBoxSizer_CalcMin(_arg0));
1918
1919 wxPy_END_ALLOW_THREADS;
1920 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
1921 _resultobj = Py_BuildValue("s",_ptemp);
1922 return _resultobj;
1923 }
1924
1925 static void *SwigwxStaticBoxSizerTowxBoxSizer(void *ptr) {
1926 wxStaticBoxSizer *src;
1927 wxBoxSizer *dest;
1928 src = (wxStaticBoxSizer *) ptr;
1929 dest = (wxBoxSizer *) src;
1930 return (void *) dest;
1931 }
1932
1933 static void *SwigwxStaticBoxSizerTowxSizer(void *ptr) {
1934 wxStaticBoxSizer *src;
1935 wxSizer *dest;
1936 src = (wxStaticBoxSizer *) ptr;
1937 dest = (wxSizer *) src;
1938 return (void *) dest;
1939 }
1940
1941 #define new_wxStaticBoxSizer(_swigarg0,_swigarg1) (new wxStaticBoxSizer(_swigarg0,_swigarg1))
1942 static PyObject *_wrap_new_wxStaticBoxSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
1943 PyObject * _resultobj;
1944 wxStaticBoxSizer * _result;
1945 wxStaticBox * _arg0;
1946 int _arg1 = (int ) wxHORIZONTAL;
1947 PyObject * _argo0 = 0;
1948 char *_kwnames[] = { "box","orient", NULL };
1949 char _ptemp[128];
1950
1951 self = self;
1952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:new_wxStaticBoxSizer",_kwnames,&_argo0,&_arg1))
1953 return NULL;
1954 if (_argo0) {
1955 if (_argo0 == Py_None) { _arg0 = NULL; }
1956 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStaticBox_p")) {
1957 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxStaticBoxSizer. Expected _wxStaticBox_p.");
1958 return NULL;
1959 }
1960 }
1961 {
1962 wxPy_BEGIN_ALLOW_THREADS;
1963 _result = (wxStaticBoxSizer *)new_wxStaticBoxSizer(_arg0,_arg1);
1964
1965 wxPy_END_ALLOW_THREADS;
1966 } if (_result) {
1967 SWIG_MakePtr(_ptemp, (char *) _result,"_wxStaticBoxSizer_p");
1968 _resultobj = Py_BuildValue("s",_ptemp);
1969 } else {
1970 Py_INCREF(Py_None);
1971 _resultobj = Py_None;
1972 }
1973 return _resultobj;
1974 }
1975
1976 #define wxStaticBoxSizer_GetStaticBox(_swigobj) (_swigobj->GetStaticBox())
1977 static PyObject *_wrap_wxStaticBoxSizer_GetStaticBox(PyObject *self, PyObject *args, PyObject *kwargs) {
1978 PyObject * _resultobj;
1979 wxStaticBox * _result;
1980 wxStaticBoxSizer * _arg0;
1981 PyObject * _argo0 = 0;
1982 char *_kwnames[] = { "self", NULL };
1983 char _ptemp[128];
1984
1985 self = self;
1986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStaticBoxSizer_GetStaticBox",_kwnames,&_argo0))
1987 return NULL;
1988 if (_argo0) {
1989 if (_argo0 == Py_None) { _arg0 = NULL; }
1990 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStaticBoxSizer_p")) {
1991 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStaticBoxSizer_GetStaticBox. Expected _wxStaticBoxSizer_p.");
1992 return NULL;
1993 }
1994 }
1995 {
1996 wxPy_BEGIN_ALLOW_THREADS;
1997 _result = (wxStaticBox *)wxStaticBoxSizer_GetStaticBox(_arg0);
1998
1999 wxPy_END_ALLOW_THREADS;
2000 } if (_result) {
2001 SWIG_MakePtr(_ptemp, (char *) _result,"_wxStaticBox_p");
2002 _resultobj = Py_BuildValue("s",_ptemp);
2003 } else {
2004 Py_INCREF(Py_None);
2005 _resultobj = Py_None;
2006 }
2007 return _resultobj;
2008 }
2009
2010 #define wxStaticBoxSizer_RecalcSizes(_swigobj) (_swigobj->RecalcSizes())
2011 static PyObject *_wrap_wxStaticBoxSizer_RecalcSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
2012 PyObject * _resultobj;
2013 wxStaticBoxSizer * _arg0;
2014 PyObject * _argo0 = 0;
2015 char *_kwnames[] = { "self", NULL };
2016
2017 self = self;
2018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStaticBoxSizer_RecalcSizes",_kwnames,&_argo0))
2019 return NULL;
2020 if (_argo0) {
2021 if (_argo0 == Py_None) { _arg0 = NULL; }
2022 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStaticBoxSizer_p")) {
2023 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStaticBoxSizer_RecalcSizes. Expected _wxStaticBoxSizer_p.");
2024 return NULL;
2025 }
2026 }
2027 {
2028 wxPy_BEGIN_ALLOW_THREADS;
2029 wxStaticBoxSizer_RecalcSizes(_arg0);
2030
2031 wxPy_END_ALLOW_THREADS;
2032 } Py_INCREF(Py_None);
2033 _resultobj = Py_None;
2034 return _resultobj;
2035 }
2036
2037 #define wxStaticBoxSizer_CalcMin(_swigobj) (_swigobj->CalcMin())
2038 static PyObject *_wrap_wxStaticBoxSizer_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
2039 PyObject * _resultobj;
2040 wxSize * _result;
2041 wxStaticBoxSizer * _arg0;
2042 PyObject * _argo0 = 0;
2043 char *_kwnames[] = { "self", NULL };
2044 char _ptemp[128];
2045
2046 self = self;
2047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStaticBoxSizer_CalcMin",_kwnames,&_argo0))
2048 return NULL;
2049 if (_argo0) {
2050 if (_argo0 == Py_None) { _arg0 = NULL; }
2051 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStaticBoxSizer_p")) {
2052 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStaticBoxSizer_CalcMin. Expected _wxStaticBoxSizer_p.");
2053 return NULL;
2054 }
2055 }
2056 {
2057 wxPy_BEGIN_ALLOW_THREADS;
2058 _result = new wxSize (wxStaticBoxSizer_CalcMin(_arg0));
2059
2060 wxPy_END_ALLOW_THREADS;
2061 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
2062 _resultobj = Py_BuildValue("s",_ptemp);
2063 return _resultobj;
2064 }
2065
2066 static void *SwigwxNotebookSizerTowxSizer(void *ptr) {
2067 wxNotebookSizer *src;
2068 wxSizer *dest;
2069 src = (wxNotebookSizer *) ptr;
2070 dest = (wxSizer *) src;
2071 return (void *) dest;
2072 }
2073
2074 #define new_wxNotebookSizer(_swigarg0) (new wxNotebookSizer(_swigarg0))
2075 static PyObject *_wrap_new_wxNotebookSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
2076 PyObject * _resultobj;
2077 wxNotebookSizer * _result;
2078 wxNotebook * _arg0;
2079 PyObject * _argo0 = 0;
2080 char *_kwnames[] = { "nb", NULL };
2081 char _ptemp[128];
2082
2083 self = self;
2084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:new_wxNotebookSizer",_kwnames,&_argo0))
2085 return NULL;
2086 if (_argo0) {
2087 if (_argo0 == Py_None) { _arg0 = NULL; }
2088 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebook_p")) {
2089 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxNotebookSizer. Expected _wxNotebook_p.");
2090 return NULL;
2091 }
2092 }
2093 {
2094 wxPy_BEGIN_ALLOW_THREADS;
2095 _result = (wxNotebookSizer *)new_wxNotebookSizer(_arg0);
2096
2097 wxPy_END_ALLOW_THREADS;
2098 } if (_result) {
2099 SWIG_MakePtr(_ptemp, (char *) _result,"_wxNotebookSizer_p");
2100 _resultobj = Py_BuildValue("s",_ptemp);
2101 } else {
2102 Py_INCREF(Py_None);
2103 _resultobj = Py_None;
2104 }
2105 return _resultobj;
2106 }
2107
2108 #define wxNotebookSizer_RecalcSizes(_swigobj) (_swigobj->RecalcSizes())
2109 static PyObject *_wrap_wxNotebookSizer_RecalcSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
2110 PyObject * _resultobj;
2111 wxNotebookSizer * _arg0;
2112 PyObject * _argo0 = 0;
2113 char *_kwnames[] = { "self", NULL };
2114
2115 self = self;
2116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxNotebookSizer_RecalcSizes",_kwnames,&_argo0))
2117 return NULL;
2118 if (_argo0) {
2119 if (_argo0 == Py_None) { _arg0 = NULL; }
2120 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebookSizer_p")) {
2121 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebookSizer_RecalcSizes. Expected _wxNotebookSizer_p.");
2122 return NULL;
2123 }
2124 }
2125 {
2126 wxPy_BEGIN_ALLOW_THREADS;
2127 wxNotebookSizer_RecalcSizes(_arg0);
2128
2129 wxPy_END_ALLOW_THREADS;
2130 } Py_INCREF(Py_None);
2131 _resultobj = Py_None;
2132 return _resultobj;
2133 }
2134
2135 #define wxNotebookSizer_CalcMin(_swigobj) (_swigobj->CalcMin())
2136 static PyObject *_wrap_wxNotebookSizer_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
2137 PyObject * _resultobj;
2138 wxSize * _result;
2139 wxNotebookSizer * _arg0;
2140 PyObject * _argo0 = 0;
2141 char *_kwnames[] = { "self", NULL };
2142 char _ptemp[128];
2143
2144 self = self;
2145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxNotebookSizer_CalcMin",_kwnames,&_argo0))
2146 return NULL;
2147 if (_argo0) {
2148 if (_argo0 == Py_None) { _arg0 = NULL; }
2149 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebookSizer_p")) {
2150 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebookSizer_CalcMin. Expected _wxNotebookSizer_p.");
2151 return NULL;
2152 }
2153 }
2154 {
2155 wxPy_BEGIN_ALLOW_THREADS;
2156 _result = new wxSize (wxNotebookSizer_CalcMin(_arg0));
2157
2158 wxPy_END_ALLOW_THREADS;
2159 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
2160 _resultobj = Py_BuildValue("s",_ptemp);
2161 return _resultobj;
2162 }
2163
2164 #define wxNotebookSizer_GetNotebook(_swigobj) (_swigobj->GetNotebook())
2165 static PyObject *_wrap_wxNotebookSizer_GetNotebook(PyObject *self, PyObject *args, PyObject *kwargs) {
2166 PyObject * _resultobj;
2167 wxNotebook * _result;
2168 wxNotebookSizer * _arg0;
2169 PyObject * _argo0 = 0;
2170 char *_kwnames[] = { "self", NULL };
2171 char _ptemp[128];
2172
2173 self = self;
2174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxNotebookSizer_GetNotebook",_kwnames,&_argo0))
2175 return NULL;
2176 if (_argo0) {
2177 if (_argo0 == Py_None) { _arg0 = NULL; }
2178 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebookSizer_p")) {
2179 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebookSizer_GetNotebook. Expected _wxNotebookSizer_p.");
2180 return NULL;
2181 }
2182 }
2183 {
2184 wxPy_BEGIN_ALLOW_THREADS;
2185 _result = (wxNotebook *)wxNotebookSizer_GetNotebook(_arg0);
2186
2187 wxPy_END_ALLOW_THREADS;
2188 } if (_result) {
2189 SWIG_MakePtr(_ptemp, (char *) _result,"_wxNotebook_p");
2190 _resultobj = Py_BuildValue("s",_ptemp);
2191 } else {
2192 Py_INCREF(Py_None);
2193 _resultobj = Py_None;
2194 }
2195 return _resultobj;
2196 }
2197
2198 static void *SwigwxGridSizerTowxSizer(void *ptr) {
2199 wxGridSizer *src;
2200 wxSizer *dest;
2201 src = (wxGridSizer *) ptr;
2202 dest = (wxSizer *) src;
2203 return (void *) dest;
2204 }
2205
2206 #define new_wxGridSizer(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxGridSizer(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2207 static PyObject *_wrap_new_wxGridSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
2208 PyObject * _resultobj;
2209 wxGridSizer * _result;
2210 int _arg0 = (int ) 1;
2211 int _arg1 = (int ) 0;
2212 int _arg2 = (int ) 0;
2213 int _arg3 = (int ) 0;
2214 char *_kwnames[] = { "rows","cols","vgap","hgap", NULL };
2215 char _ptemp[128];
2216
2217 self = self;
2218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|iiii:new_wxGridSizer",_kwnames,&_arg0,&_arg1,&_arg2,&_arg3))
2219 return NULL;
2220 {
2221 wxPy_BEGIN_ALLOW_THREADS;
2222 _result = (wxGridSizer *)new_wxGridSizer(_arg0,_arg1,_arg2,_arg3);
2223
2224 wxPy_END_ALLOW_THREADS;
2225 } if (_result) {
2226 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridSizer_p");
2227 _resultobj = Py_BuildValue("s",_ptemp);
2228 } else {
2229 Py_INCREF(Py_None);
2230 _resultobj = Py_None;
2231 }
2232 return _resultobj;
2233 }
2234
2235 #define wxGridSizer_RecalcSizes(_swigobj) (_swigobj->RecalcSizes())
2236 static PyObject *_wrap_wxGridSizer_RecalcSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
2237 PyObject * _resultobj;
2238 wxGridSizer * _arg0;
2239 PyObject * _argo0 = 0;
2240 char *_kwnames[] = { "self", NULL };
2241
2242 self = self;
2243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridSizer_RecalcSizes",_kwnames,&_argo0))
2244 return NULL;
2245 if (_argo0) {
2246 if (_argo0 == Py_None) { _arg0 = NULL; }
2247 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridSizer_p")) {
2248 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridSizer_RecalcSizes. Expected _wxGridSizer_p.");
2249 return NULL;
2250 }
2251 }
2252 {
2253 wxPy_BEGIN_ALLOW_THREADS;
2254 wxGridSizer_RecalcSizes(_arg0);
2255
2256 wxPy_END_ALLOW_THREADS;
2257 } Py_INCREF(Py_None);
2258 _resultobj = Py_None;
2259 return _resultobj;
2260 }
2261
2262 #define wxGridSizer_CalcMin(_swigobj) (_swigobj->CalcMin())
2263 static PyObject *_wrap_wxGridSizer_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
2264 PyObject * _resultobj;
2265 wxSize * _result;
2266 wxGridSizer * _arg0;
2267 PyObject * _argo0 = 0;
2268 char *_kwnames[] = { "self", NULL };
2269 char _ptemp[128];
2270
2271 self = self;
2272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridSizer_CalcMin",_kwnames,&_argo0))
2273 return NULL;
2274 if (_argo0) {
2275 if (_argo0 == Py_None) { _arg0 = NULL; }
2276 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridSizer_p")) {
2277 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridSizer_CalcMin. Expected _wxGridSizer_p.");
2278 return NULL;
2279 }
2280 }
2281 {
2282 wxPy_BEGIN_ALLOW_THREADS;
2283 _result = new wxSize (wxGridSizer_CalcMin(_arg0));
2284
2285 wxPy_END_ALLOW_THREADS;
2286 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
2287 _resultobj = Py_BuildValue("s",_ptemp);
2288 return _resultobj;
2289 }
2290
2291 #define wxGridSizer_SetCols(_swigobj,_swigarg0) (_swigobj->SetCols(_swigarg0))
2292 static PyObject *_wrap_wxGridSizer_SetCols(PyObject *self, PyObject *args, PyObject *kwargs) {
2293 PyObject * _resultobj;
2294 wxGridSizer * _arg0;
2295 int _arg1;
2296 PyObject * _argo0 = 0;
2297 char *_kwnames[] = { "self","cols", NULL };
2298
2299 self = self;
2300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridSizer_SetCols",_kwnames,&_argo0,&_arg1))
2301 return NULL;
2302 if (_argo0) {
2303 if (_argo0 == Py_None) { _arg0 = NULL; }
2304 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridSizer_p")) {
2305 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridSizer_SetCols. Expected _wxGridSizer_p.");
2306 return NULL;
2307 }
2308 }
2309 {
2310 wxPy_BEGIN_ALLOW_THREADS;
2311 wxGridSizer_SetCols(_arg0,_arg1);
2312
2313 wxPy_END_ALLOW_THREADS;
2314 } Py_INCREF(Py_None);
2315 _resultobj = Py_None;
2316 return _resultobj;
2317 }
2318
2319 #define wxGridSizer_SetRows(_swigobj,_swigarg0) (_swigobj->SetRows(_swigarg0))
2320 static PyObject *_wrap_wxGridSizer_SetRows(PyObject *self, PyObject *args, PyObject *kwargs) {
2321 PyObject * _resultobj;
2322 wxGridSizer * _arg0;
2323 int _arg1;
2324 PyObject * _argo0 = 0;
2325 char *_kwnames[] = { "self","rows", NULL };
2326
2327 self = self;
2328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridSizer_SetRows",_kwnames,&_argo0,&_arg1))
2329 return NULL;
2330 if (_argo0) {
2331 if (_argo0 == Py_None) { _arg0 = NULL; }
2332 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridSizer_p")) {
2333 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridSizer_SetRows. Expected _wxGridSizer_p.");
2334 return NULL;
2335 }
2336 }
2337 {
2338 wxPy_BEGIN_ALLOW_THREADS;
2339 wxGridSizer_SetRows(_arg0,_arg1);
2340
2341 wxPy_END_ALLOW_THREADS;
2342 } Py_INCREF(Py_None);
2343 _resultobj = Py_None;
2344 return _resultobj;
2345 }
2346
2347 #define wxGridSizer_SetVGap(_swigobj,_swigarg0) (_swigobj->SetVGap(_swigarg0))
2348 static PyObject *_wrap_wxGridSizer_SetVGap(PyObject *self, PyObject *args, PyObject *kwargs) {
2349 PyObject * _resultobj;
2350 wxGridSizer * _arg0;
2351 int _arg1;
2352 PyObject * _argo0 = 0;
2353 char *_kwnames[] = { "self","gap", NULL };
2354
2355 self = self;
2356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridSizer_SetVGap",_kwnames,&_argo0,&_arg1))
2357 return NULL;
2358 if (_argo0) {
2359 if (_argo0 == Py_None) { _arg0 = NULL; }
2360 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridSizer_p")) {
2361 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridSizer_SetVGap. Expected _wxGridSizer_p.");
2362 return NULL;
2363 }
2364 }
2365 {
2366 wxPy_BEGIN_ALLOW_THREADS;
2367 wxGridSizer_SetVGap(_arg0,_arg1);
2368
2369 wxPy_END_ALLOW_THREADS;
2370 } Py_INCREF(Py_None);
2371 _resultobj = Py_None;
2372 return _resultobj;
2373 }
2374
2375 #define wxGridSizer_SetHGap(_swigobj,_swigarg0) (_swigobj->SetHGap(_swigarg0))
2376 static PyObject *_wrap_wxGridSizer_SetHGap(PyObject *self, PyObject *args, PyObject *kwargs) {
2377 PyObject * _resultobj;
2378 wxGridSizer * _arg0;
2379 int _arg1;
2380 PyObject * _argo0 = 0;
2381 char *_kwnames[] = { "self","gap", NULL };
2382
2383 self = self;
2384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridSizer_SetHGap",_kwnames,&_argo0,&_arg1))
2385 return NULL;
2386 if (_argo0) {
2387 if (_argo0 == Py_None) { _arg0 = NULL; }
2388 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridSizer_p")) {
2389 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridSizer_SetHGap. Expected _wxGridSizer_p.");
2390 return NULL;
2391 }
2392 }
2393 {
2394 wxPy_BEGIN_ALLOW_THREADS;
2395 wxGridSizer_SetHGap(_arg0,_arg1);
2396
2397 wxPy_END_ALLOW_THREADS;
2398 } Py_INCREF(Py_None);
2399 _resultobj = Py_None;
2400 return _resultobj;
2401 }
2402
2403 #define wxGridSizer_GetCols(_swigobj) (_swigobj->GetCols())
2404 static PyObject *_wrap_wxGridSizer_GetCols(PyObject *self, PyObject *args, PyObject *kwargs) {
2405 PyObject * _resultobj;
2406 int _result;
2407 wxGridSizer * _arg0;
2408 PyObject * _argo0 = 0;
2409 char *_kwnames[] = { "self", NULL };
2410
2411 self = self;
2412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridSizer_GetCols",_kwnames,&_argo0))
2413 return NULL;
2414 if (_argo0) {
2415 if (_argo0 == Py_None) { _arg0 = NULL; }
2416 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridSizer_p")) {
2417 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridSizer_GetCols. Expected _wxGridSizer_p.");
2418 return NULL;
2419 }
2420 }
2421 {
2422 wxPy_BEGIN_ALLOW_THREADS;
2423 _result = (int )wxGridSizer_GetCols(_arg0);
2424
2425 wxPy_END_ALLOW_THREADS;
2426 } _resultobj = Py_BuildValue("i",_result);
2427 return _resultobj;
2428 }
2429
2430 #define wxGridSizer_GetRows(_swigobj) (_swigobj->GetRows())
2431 static PyObject *_wrap_wxGridSizer_GetRows(PyObject *self, PyObject *args, PyObject *kwargs) {
2432 PyObject * _resultobj;
2433 int _result;
2434 wxGridSizer * _arg0;
2435 PyObject * _argo0 = 0;
2436 char *_kwnames[] = { "self", NULL };
2437
2438 self = self;
2439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridSizer_GetRows",_kwnames,&_argo0))
2440 return NULL;
2441 if (_argo0) {
2442 if (_argo0 == Py_None) { _arg0 = NULL; }
2443 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridSizer_p")) {
2444 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridSizer_GetRows. Expected _wxGridSizer_p.");
2445 return NULL;
2446 }
2447 }
2448 {
2449 wxPy_BEGIN_ALLOW_THREADS;
2450 _result = (int )wxGridSizer_GetRows(_arg0);
2451
2452 wxPy_END_ALLOW_THREADS;
2453 } _resultobj = Py_BuildValue("i",_result);
2454 return _resultobj;
2455 }
2456
2457 #define wxGridSizer_GetVGap(_swigobj) (_swigobj->GetVGap())
2458 static PyObject *_wrap_wxGridSizer_GetVGap(PyObject *self, PyObject *args, PyObject *kwargs) {
2459 PyObject * _resultobj;
2460 int _result;
2461 wxGridSizer * _arg0;
2462 PyObject * _argo0 = 0;
2463 char *_kwnames[] = { "self", NULL };
2464
2465 self = self;
2466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridSizer_GetVGap",_kwnames,&_argo0))
2467 return NULL;
2468 if (_argo0) {
2469 if (_argo0 == Py_None) { _arg0 = NULL; }
2470 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridSizer_p")) {
2471 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridSizer_GetVGap. Expected _wxGridSizer_p.");
2472 return NULL;
2473 }
2474 }
2475 {
2476 wxPy_BEGIN_ALLOW_THREADS;
2477 _result = (int )wxGridSizer_GetVGap(_arg0);
2478
2479 wxPy_END_ALLOW_THREADS;
2480 } _resultobj = Py_BuildValue("i",_result);
2481 return _resultobj;
2482 }
2483
2484 #define wxGridSizer_GetHGap(_swigobj) (_swigobj->GetHGap())
2485 static PyObject *_wrap_wxGridSizer_GetHGap(PyObject *self, PyObject *args, PyObject *kwargs) {
2486 PyObject * _resultobj;
2487 int _result;
2488 wxGridSizer * _arg0;
2489 PyObject * _argo0 = 0;
2490 char *_kwnames[] = { "self", NULL };
2491
2492 self = self;
2493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridSizer_GetHGap",_kwnames,&_argo0))
2494 return NULL;
2495 if (_argo0) {
2496 if (_argo0 == Py_None) { _arg0 = NULL; }
2497 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridSizer_p")) {
2498 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridSizer_GetHGap. Expected _wxGridSizer_p.");
2499 return NULL;
2500 }
2501 }
2502 {
2503 wxPy_BEGIN_ALLOW_THREADS;
2504 _result = (int )wxGridSizer_GetHGap(_arg0);
2505
2506 wxPy_END_ALLOW_THREADS;
2507 } _resultobj = Py_BuildValue("i",_result);
2508 return _resultobj;
2509 }
2510
2511 static void *SwigwxFlexGridSizerTowxGridSizer(void *ptr) {
2512 wxFlexGridSizer *src;
2513 wxGridSizer *dest;
2514 src = (wxFlexGridSizer *) ptr;
2515 dest = (wxGridSizer *) src;
2516 return (void *) dest;
2517 }
2518
2519 static void *SwigwxFlexGridSizerTowxSizer(void *ptr) {
2520 wxFlexGridSizer *src;
2521 wxSizer *dest;
2522 src = (wxFlexGridSizer *) ptr;
2523 dest = (wxSizer *) src;
2524 return (void *) dest;
2525 }
2526
2527 #define new_wxFlexGridSizer(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxFlexGridSizer(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2528 static PyObject *_wrap_new_wxFlexGridSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
2529 PyObject * _resultobj;
2530 wxFlexGridSizer * _result;
2531 int _arg0 = (int ) 1;
2532 int _arg1 = (int ) 0;
2533 int _arg2 = (int ) 0;
2534 int _arg3 = (int ) 0;
2535 char *_kwnames[] = { "rows","cols","vgap","hgap", NULL };
2536 char _ptemp[128];
2537
2538 self = self;
2539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|iiii:new_wxFlexGridSizer",_kwnames,&_arg0,&_arg1,&_arg2,&_arg3))
2540 return NULL;
2541 {
2542 wxPy_BEGIN_ALLOW_THREADS;
2543 _result = (wxFlexGridSizer *)new_wxFlexGridSizer(_arg0,_arg1,_arg2,_arg3);
2544
2545 wxPy_END_ALLOW_THREADS;
2546 } if (_result) {
2547 SWIG_MakePtr(_ptemp, (char *) _result,"_wxFlexGridSizer_p");
2548 _resultobj = Py_BuildValue("s",_ptemp);
2549 } else {
2550 Py_INCREF(Py_None);
2551 _resultobj = Py_None;
2552 }
2553 return _resultobj;
2554 }
2555
2556 #define wxFlexGridSizer_RecalcSizes(_swigobj) (_swigobj->RecalcSizes())
2557 static PyObject *_wrap_wxFlexGridSizer_RecalcSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
2558 PyObject * _resultobj;
2559 wxFlexGridSizer * _arg0;
2560 PyObject * _argo0 = 0;
2561 char *_kwnames[] = { "self", NULL };
2562
2563 self = self;
2564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFlexGridSizer_RecalcSizes",_kwnames,&_argo0))
2565 return NULL;
2566 if (_argo0) {
2567 if (_argo0 == Py_None) { _arg0 = NULL; }
2568 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFlexGridSizer_p")) {
2569 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFlexGridSizer_RecalcSizes. Expected _wxFlexGridSizer_p.");
2570 return NULL;
2571 }
2572 }
2573 {
2574 wxPy_BEGIN_ALLOW_THREADS;
2575 wxFlexGridSizer_RecalcSizes(_arg0);
2576
2577 wxPy_END_ALLOW_THREADS;
2578 } Py_INCREF(Py_None);
2579 _resultobj = Py_None;
2580 return _resultobj;
2581 }
2582
2583 #define wxFlexGridSizer_CalcMin(_swigobj) (_swigobj->CalcMin())
2584 static PyObject *_wrap_wxFlexGridSizer_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
2585 PyObject * _resultobj;
2586 wxSize * _result;
2587 wxFlexGridSizer * _arg0;
2588 PyObject * _argo0 = 0;
2589 char *_kwnames[] = { "self", NULL };
2590 char _ptemp[128];
2591
2592 self = self;
2593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFlexGridSizer_CalcMin",_kwnames,&_argo0))
2594 return NULL;
2595 if (_argo0) {
2596 if (_argo0 == Py_None) { _arg0 = NULL; }
2597 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFlexGridSizer_p")) {
2598 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFlexGridSizer_CalcMin. Expected _wxFlexGridSizer_p.");
2599 return NULL;
2600 }
2601 }
2602 {
2603 wxPy_BEGIN_ALLOW_THREADS;
2604 _result = new wxSize (wxFlexGridSizer_CalcMin(_arg0));
2605
2606 wxPy_END_ALLOW_THREADS;
2607 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
2608 _resultobj = Py_BuildValue("s",_ptemp);
2609 return _resultobj;
2610 }
2611
2612 #define wxFlexGridSizer_AddGrowableRow(_swigobj,_swigarg0) (_swigobj->AddGrowableRow(_swigarg0))
2613 static PyObject *_wrap_wxFlexGridSizer_AddGrowableRow(PyObject *self, PyObject *args, PyObject *kwargs) {
2614 PyObject * _resultobj;
2615 wxFlexGridSizer * _arg0;
2616 size_t _arg1;
2617 PyObject * _argo0 = 0;
2618 char *_kwnames[] = { "self","idx", NULL };
2619
2620 self = self;
2621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxFlexGridSizer_AddGrowableRow",_kwnames,&_argo0,&_arg1))
2622 return NULL;
2623 if (_argo0) {
2624 if (_argo0 == Py_None) { _arg0 = NULL; }
2625 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFlexGridSizer_p")) {
2626 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFlexGridSizer_AddGrowableRow. Expected _wxFlexGridSizer_p.");
2627 return NULL;
2628 }
2629 }
2630 {
2631 wxPy_BEGIN_ALLOW_THREADS;
2632 wxFlexGridSizer_AddGrowableRow(_arg0,_arg1);
2633
2634 wxPy_END_ALLOW_THREADS;
2635 } Py_INCREF(Py_None);
2636 _resultobj = Py_None;
2637 return _resultobj;
2638 }
2639
2640 #define wxFlexGridSizer_RemoveGrowableRow(_swigobj,_swigarg0) (_swigobj->RemoveGrowableRow(_swigarg0))
2641 static PyObject *_wrap_wxFlexGridSizer_RemoveGrowableRow(PyObject *self, PyObject *args, PyObject *kwargs) {
2642 PyObject * _resultobj;
2643 wxFlexGridSizer * _arg0;
2644 size_t _arg1;
2645 PyObject * _argo0 = 0;
2646 char *_kwnames[] = { "self","idx", NULL };
2647
2648 self = self;
2649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxFlexGridSizer_RemoveGrowableRow",_kwnames,&_argo0,&_arg1))
2650 return NULL;
2651 if (_argo0) {
2652 if (_argo0 == Py_None) { _arg0 = NULL; }
2653 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFlexGridSizer_p")) {
2654 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFlexGridSizer_RemoveGrowableRow. Expected _wxFlexGridSizer_p.");
2655 return NULL;
2656 }
2657 }
2658 {
2659 wxPy_BEGIN_ALLOW_THREADS;
2660 wxFlexGridSizer_RemoveGrowableRow(_arg0,_arg1);
2661
2662 wxPy_END_ALLOW_THREADS;
2663 } Py_INCREF(Py_None);
2664 _resultobj = Py_None;
2665 return _resultobj;
2666 }
2667
2668 #define wxFlexGridSizer_AddGrowableCol(_swigobj,_swigarg0) (_swigobj->AddGrowableCol(_swigarg0))
2669 static PyObject *_wrap_wxFlexGridSizer_AddGrowableCol(PyObject *self, PyObject *args, PyObject *kwargs) {
2670 PyObject * _resultobj;
2671 wxFlexGridSizer * _arg0;
2672 size_t _arg1;
2673 PyObject * _argo0 = 0;
2674 char *_kwnames[] = { "self","idx", NULL };
2675
2676 self = self;
2677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxFlexGridSizer_AddGrowableCol",_kwnames,&_argo0,&_arg1))
2678 return NULL;
2679 if (_argo0) {
2680 if (_argo0 == Py_None) { _arg0 = NULL; }
2681 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFlexGridSizer_p")) {
2682 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFlexGridSizer_AddGrowableCol. Expected _wxFlexGridSizer_p.");
2683 return NULL;
2684 }
2685 }
2686 {
2687 wxPy_BEGIN_ALLOW_THREADS;
2688 wxFlexGridSizer_AddGrowableCol(_arg0,_arg1);
2689
2690 wxPy_END_ALLOW_THREADS;
2691 } Py_INCREF(Py_None);
2692 _resultobj = Py_None;
2693 return _resultobj;
2694 }
2695
2696 #define wxFlexGridSizer_RemoveGrowableCol(_swigobj,_swigarg0) (_swigobj->RemoveGrowableCol(_swigarg0))
2697 static PyObject *_wrap_wxFlexGridSizer_RemoveGrowableCol(PyObject *self, PyObject *args, PyObject *kwargs) {
2698 PyObject * _resultobj;
2699 wxFlexGridSizer * _arg0;
2700 size_t _arg1;
2701 PyObject * _argo0 = 0;
2702 char *_kwnames[] = { "self","idx", NULL };
2703
2704 self = self;
2705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxFlexGridSizer_RemoveGrowableCol",_kwnames,&_argo0,&_arg1))
2706 return NULL;
2707 if (_argo0) {
2708 if (_argo0 == Py_None) { _arg0 = NULL; }
2709 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFlexGridSizer_p")) {
2710 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFlexGridSizer_RemoveGrowableCol. Expected _wxFlexGridSizer_p.");
2711 return NULL;
2712 }
2713 }
2714 {
2715 wxPy_BEGIN_ALLOW_THREADS;
2716 wxFlexGridSizer_RemoveGrowableCol(_arg0,_arg1);
2717
2718 wxPy_END_ALLOW_THREADS;
2719 } Py_INCREF(Py_None);
2720 _resultobj = Py_None;
2721 return _resultobj;
2722 }
2723
2724 static PyMethodDef sizerscMethods[] = {
2725 { "wxFlexGridSizer_RemoveGrowableCol", (PyCFunction) _wrap_wxFlexGridSizer_RemoveGrowableCol, METH_VARARGS | METH_KEYWORDS },
2726 { "wxFlexGridSizer_AddGrowableCol", (PyCFunction) _wrap_wxFlexGridSizer_AddGrowableCol, METH_VARARGS | METH_KEYWORDS },
2727 { "wxFlexGridSizer_RemoveGrowableRow", (PyCFunction) _wrap_wxFlexGridSizer_RemoveGrowableRow, METH_VARARGS | METH_KEYWORDS },
2728 { "wxFlexGridSizer_AddGrowableRow", (PyCFunction) _wrap_wxFlexGridSizer_AddGrowableRow, METH_VARARGS | METH_KEYWORDS },
2729 { "wxFlexGridSizer_CalcMin", (PyCFunction) _wrap_wxFlexGridSizer_CalcMin, METH_VARARGS | METH_KEYWORDS },
2730 { "wxFlexGridSizer_RecalcSizes", (PyCFunction) _wrap_wxFlexGridSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS },
2731 { "new_wxFlexGridSizer", (PyCFunction) _wrap_new_wxFlexGridSizer, METH_VARARGS | METH_KEYWORDS },
2732 { "wxGridSizer_GetHGap", (PyCFunction) _wrap_wxGridSizer_GetHGap, METH_VARARGS | METH_KEYWORDS },
2733 { "wxGridSizer_GetVGap", (PyCFunction) _wrap_wxGridSizer_GetVGap, METH_VARARGS | METH_KEYWORDS },
2734 { "wxGridSizer_GetRows", (PyCFunction) _wrap_wxGridSizer_GetRows, METH_VARARGS | METH_KEYWORDS },
2735 { "wxGridSizer_GetCols", (PyCFunction) _wrap_wxGridSizer_GetCols, METH_VARARGS | METH_KEYWORDS },
2736 { "wxGridSizer_SetHGap", (PyCFunction) _wrap_wxGridSizer_SetHGap, METH_VARARGS | METH_KEYWORDS },
2737 { "wxGridSizer_SetVGap", (PyCFunction) _wrap_wxGridSizer_SetVGap, METH_VARARGS | METH_KEYWORDS },
2738 { "wxGridSizer_SetRows", (PyCFunction) _wrap_wxGridSizer_SetRows, METH_VARARGS | METH_KEYWORDS },
2739 { "wxGridSizer_SetCols", (PyCFunction) _wrap_wxGridSizer_SetCols, METH_VARARGS | METH_KEYWORDS },
2740 { "wxGridSizer_CalcMin", (PyCFunction) _wrap_wxGridSizer_CalcMin, METH_VARARGS | METH_KEYWORDS },
2741 { "wxGridSizer_RecalcSizes", (PyCFunction) _wrap_wxGridSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS },
2742 { "new_wxGridSizer", (PyCFunction) _wrap_new_wxGridSizer, METH_VARARGS | METH_KEYWORDS },
2743 { "wxNotebookSizer_GetNotebook", (PyCFunction) _wrap_wxNotebookSizer_GetNotebook, METH_VARARGS | METH_KEYWORDS },
2744 { "wxNotebookSizer_CalcMin", (PyCFunction) _wrap_wxNotebookSizer_CalcMin, METH_VARARGS | METH_KEYWORDS },
2745 { "wxNotebookSizer_RecalcSizes", (PyCFunction) _wrap_wxNotebookSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS },
2746 { "new_wxNotebookSizer", (PyCFunction) _wrap_new_wxNotebookSizer, METH_VARARGS | METH_KEYWORDS },
2747 { "wxStaticBoxSizer_CalcMin", (PyCFunction) _wrap_wxStaticBoxSizer_CalcMin, METH_VARARGS | METH_KEYWORDS },
2748 { "wxStaticBoxSizer_RecalcSizes", (PyCFunction) _wrap_wxStaticBoxSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS },
2749 { "wxStaticBoxSizer_GetStaticBox", (PyCFunction) _wrap_wxStaticBoxSizer_GetStaticBox, METH_VARARGS | METH_KEYWORDS },
2750 { "new_wxStaticBoxSizer", (PyCFunction) _wrap_new_wxStaticBoxSizer, METH_VARARGS | METH_KEYWORDS },
2751 { "wxBoxSizer_CalcMin", (PyCFunction) _wrap_wxBoxSizer_CalcMin, METH_VARARGS | METH_KEYWORDS },
2752 { "wxBoxSizer_RecalcSizes", (PyCFunction) _wrap_wxBoxSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS },
2753 { "wxBoxSizer_GetOrientation", (PyCFunction) _wrap_wxBoxSizer_GetOrientation, METH_VARARGS | METH_KEYWORDS },
2754 { "new_wxBoxSizer", (PyCFunction) _wrap_new_wxBoxSizer, METH_VARARGS | METH_KEYWORDS },
2755 { "wxPySizer__setSelf", (PyCFunction) _wrap_wxPySizer__setSelf, METH_VARARGS | METH_KEYWORDS },
2756 { "new_wxPySizer", (PyCFunction) _wrap_new_wxPySizer, METH_VARARGS | METH_KEYWORDS },
2757 { "wxSizer_GetChildren", (PyCFunction) _wrap_wxSizer_GetChildren, METH_VARARGS | METH_KEYWORDS },
2758 { "wxSizer_SetSizeHints", (PyCFunction) _wrap_wxSizer_SetSizeHints, METH_VARARGS | METH_KEYWORDS },
2759 { "wxSizer_Fit", (PyCFunction) _wrap_wxSizer_Fit, METH_VARARGS | METH_KEYWORDS },
2760 { "wxSizer_Layout", (PyCFunction) _wrap_wxSizer_Layout, METH_VARARGS | METH_KEYWORDS },
2761 { "wxSizer_GetMinSize", (PyCFunction) _wrap_wxSizer_GetMinSize, METH_VARARGS | METH_KEYWORDS },
2762 { "wxSizer_GetPosition", (PyCFunction) _wrap_wxSizer_GetPosition, METH_VARARGS | METH_KEYWORDS },
2763 { "wxSizer_GetSize", (PyCFunction) _wrap_wxSizer_GetSize, METH_VARARGS | METH_KEYWORDS },
2764 { "wxSizer_SetItemMinSizePos", (PyCFunction) _wrap_wxSizer_SetItemMinSizePos, METH_VARARGS | METH_KEYWORDS },
2765 { "wxSizer_SetItemMinSizeSizer", (PyCFunction) _wrap_wxSizer_SetItemMinSizeSizer, METH_VARARGS | METH_KEYWORDS },
2766 { "wxSizer_SetItemMinSizeWindow", (PyCFunction) _wrap_wxSizer_SetItemMinSizeWindow, METH_VARARGS | METH_KEYWORDS },
2767 { "wxSizer_SetMinSize", (PyCFunction) _wrap_wxSizer_SetMinSize, METH_VARARGS | METH_KEYWORDS },
2768 { "wxSizer_SetDimension", (PyCFunction) _wrap_wxSizer_SetDimension, METH_VARARGS | METH_KEYWORDS },
2769 { "wxSizer_RemovePos", (PyCFunction) _wrap_wxSizer_RemovePos, METH_VARARGS | METH_KEYWORDS },
2770 { "wxSizer_RemoveSizer", (PyCFunction) _wrap_wxSizer_RemoveSizer, METH_VARARGS | METH_KEYWORDS },
2771 { "wxSizer_RemoveWindow", (PyCFunction) _wrap_wxSizer_RemoveWindow, METH_VARARGS | METH_KEYWORDS },
2772 { "wxSizer_PrependSpacer", (PyCFunction) _wrap_wxSizer_PrependSpacer, METH_VARARGS | METH_KEYWORDS },
2773 { "wxSizer_PrependSizer", (PyCFunction) _wrap_wxSizer_PrependSizer, METH_VARARGS | METH_KEYWORDS },
2774 { "wxSizer_PrependWindow", (PyCFunction) _wrap_wxSizer_PrependWindow, METH_VARARGS | METH_KEYWORDS },
2775 { "wxSizer_InsertSpacer", (PyCFunction) _wrap_wxSizer_InsertSpacer, METH_VARARGS | METH_KEYWORDS },
2776 { "wxSizer_InsertSizer", (PyCFunction) _wrap_wxSizer_InsertSizer, METH_VARARGS | METH_KEYWORDS },
2777 { "wxSizer_InsertWindow", (PyCFunction) _wrap_wxSizer_InsertWindow, METH_VARARGS | METH_KEYWORDS },
2778 { "wxSizer_AddSpacer", (PyCFunction) _wrap_wxSizer_AddSpacer, METH_VARARGS | METH_KEYWORDS },
2779 { "wxSizer_AddSizer", (PyCFunction) _wrap_wxSizer_AddSizer, METH_VARARGS | METH_KEYWORDS },
2780 { "wxSizer_AddWindow", (PyCFunction) _wrap_wxSizer_AddWindow, METH_VARARGS | METH_KEYWORDS },
2781 { "wxSizer_Destroy", (PyCFunction) _wrap_wxSizer_Destroy, METH_VARARGS | METH_KEYWORDS },
2782 { "wxSizerItem_GetUserData", (PyCFunction) _wrap_wxSizerItem_GetUserData, METH_VARARGS | METH_KEYWORDS },
2783 { "wxSizerItem_SetBorder", (PyCFunction) _wrap_wxSizerItem_SetBorder, METH_VARARGS | METH_KEYWORDS },
2784 { "wxSizerItem_SetFlag", (PyCFunction) _wrap_wxSizerItem_SetFlag, METH_VARARGS | METH_KEYWORDS },
2785 { "wxSizerItem_SetOption", (PyCFunction) _wrap_wxSizerItem_SetOption, METH_VARARGS | METH_KEYWORDS },
2786 { "wxSizerItem_SetInitSize", (PyCFunction) _wrap_wxSizerItem_SetInitSize, METH_VARARGS | METH_KEYWORDS },
2787 { "wxSizerItem_GetBorder", (PyCFunction) _wrap_wxSizerItem_GetBorder, METH_VARARGS | METH_KEYWORDS },
2788 { "wxSizerItem_GetFlag", (PyCFunction) _wrap_wxSizerItem_GetFlag, METH_VARARGS | METH_KEYWORDS },
2789 { "wxSizerItem_GetOption", (PyCFunction) _wrap_wxSizerItem_GetOption, METH_VARARGS | METH_KEYWORDS },
2790 { "wxSizerItem_SetSizer", (PyCFunction) _wrap_wxSizerItem_SetSizer, METH_VARARGS | METH_KEYWORDS },
2791 { "wxSizerItem_GetSizer", (PyCFunction) _wrap_wxSizerItem_GetSizer, METH_VARARGS | METH_KEYWORDS },
2792 { "wxSizerItem_SetWindow", (PyCFunction) _wrap_wxSizerItem_SetWindow, METH_VARARGS | METH_KEYWORDS },
2793 { "wxSizerItem_GetWindow", (PyCFunction) _wrap_wxSizerItem_GetWindow, METH_VARARGS | METH_KEYWORDS },
2794 { "wxSizerItem_IsSpacer", (PyCFunction) _wrap_wxSizerItem_IsSpacer, METH_VARARGS | METH_KEYWORDS },
2795 { "wxSizerItem_IsSizer", (PyCFunction) _wrap_wxSizerItem_IsSizer, METH_VARARGS | METH_KEYWORDS },
2796 { "wxSizerItem_IsWindow", (PyCFunction) _wrap_wxSizerItem_IsWindow, METH_VARARGS | METH_KEYWORDS },
2797 { "wxSizerItem_GetRatio", (PyCFunction) _wrap_wxSizerItem_GetRatio, METH_VARARGS | METH_KEYWORDS },
2798 { "wxSizerItem_SetRatio", (PyCFunction) _wrap_wxSizerItem_SetRatio, METH_VARARGS | METH_KEYWORDS },
2799 { "wxSizerItem_SetRatioSize", (PyCFunction) _wrap_wxSizerItem_SetRatioSize, METH_VARARGS | METH_KEYWORDS },
2800 { "wxSizerItem_SetRatioWH", (PyCFunction) _wrap_wxSizerItem_SetRatioWH, METH_VARARGS | METH_KEYWORDS },
2801 { "wxSizerItem_SetDimension", (PyCFunction) _wrap_wxSizerItem_SetDimension, METH_VARARGS | METH_KEYWORDS },
2802 { "wxSizerItem_CalcMin", (PyCFunction) _wrap_wxSizerItem_CalcMin, METH_VARARGS | METH_KEYWORDS },
2803 { "wxSizerItem_GetSize", (PyCFunction) _wrap_wxSizerItem_GetSize, METH_VARARGS | METH_KEYWORDS },
2804 { NULL, NULL }
2805 };
2806 #ifdef __cplusplus
2807 }
2808 #endif
2809 /*
2810 * This table is used by the pointer type-checker
2811 */
2812 static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
2813 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
2814 { "_wxEvent","_class_wxEvent",0},
2815 { "_class_wxActivateEvent","_wxActivateEvent",0},
2816 { "_signed_long","_long",0},
2817 { "_wxMenuEvent","_class_wxMenuEvent",0},
2818 { "_wxPyBitmapDataObject","_class_wxPyBitmapDataObject",0},
2819 { "_wxBitmapDataObject","_class_wxBitmapDataObject",0},
2820 { "_class_wxPyCommandEvent","_wxPyCommandEvent",0},
2821 { "_wxFlexGridSizer","_class_wxFlexGridSizer",0},
2822 { "_wxPrintQuality","_wxCoord",0},
2823 { "_wxPrintQuality","_int",0},
2824 { "_wxPrintQuality","_signed_int",0},
2825 { "_wxPrintQuality","_unsigned_int",0},
2826 { "_wxPrintQuality","_wxWindowID",0},
2827 { "_wxPrintQuality","_uint",0},
2828 { "_wxPrintQuality","_EBool",0},
2829 { "_wxPrintQuality","_size_t",0},
2830 { "_wxPrintQuality","_time_t",0},
2831 { "_class_wxCustomDataObject","_wxCustomDataObject",0},
2832 { "_wxSpinCtrl","_class_wxSpinCtrl",0},
2833 { "_class_wxRegionIterator","_wxRegionIterator",0},
2834 { "_class_wxPyTextDropTarget","_wxPyTextDropTarget",0},
2835 { "_class_wxMenuBar","_wxMenuBar",0},
2836 { "_class_wxStaticBoxSizer","_wxStaticBoxSizer",0},
2837 { "_class_wxEvtHandler","_wxEvtHandler",0},
2838 { "_wxPaintEvent","_class_wxPaintEvent",0},
2839 { "_wxPySizer","_class_wxPySizer",0},
2840 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
2841 { "_wxCursor","_class_wxCursor",0},
2842 { "_wxNotifyEvent","_class_wxNotifyEvent",0},
2843 { "_wxMask","_class_wxMask",0},
2844 { "_wxPen","_class_wxPen",0},
2845 { "_wxUpdateUIEvent","_class_wxUpdateUIEvent",0},
2846 { "_class_wxNotebookSizer","_wxNotebookSizer",0},
2847 { "_byte","_unsigned_char",0},
2848 { "_wxDataObject","_class_wxDataObject",0},
2849 { "_wxStaticBox","_class_wxStaticBox",0},
2850 { "_wxPyDataObjectSimple","_class_wxPyDataObjectSimple",0},
2851 { "_wxPyDropSource","_class_wxPyDropSource",0},
2852 { "_wxChoice","_class_wxChoice",0},
2853 { "_wxSlider","_class_wxSlider",0},
2854 { "_long","_unsigned_long",0},
2855 { "_long","_signed_long",0},
2856 { "_wxImageList","_class_wxImageList",0},
2857 { "_wxDataObjectSimple","_class_wxDataObjectSimple",0},
2858 { "_wxDropFilesEvent","_class_wxDropFilesEvent",0},
2859 { "_wxBitmapButton","_class_wxBitmapButton",0},
2860 { "_class_wxSizer","_class_wxFlexGridSizer",SwigwxFlexGridSizerTowxSizer},
2861 { "_class_wxSizer","_wxFlexGridSizer",SwigwxFlexGridSizerTowxSizer},
2862 { "_class_wxSizer","_class_wxGridSizer",SwigwxGridSizerTowxSizer},
2863 { "_class_wxSizer","_wxGridSizer",SwigwxGridSizerTowxSizer},
2864 { "_class_wxSizer","_class_wxNotebookSizer",SwigwxNotebookSizerTowxSizer},
2865 { "_class_wxSizer","_wxNotebookSizer",SwigwxNotebookSizerTowxSizer},
2866 { "_class_wxSizer","_class_wxStaticBoxSizer",SwigwxStaticBoxSizerTowxSizer},
2867 { "_class_wxSizer","_wxStaticBoxSizer",SwigwxStaticBoxSizerTowxSizer},
2868 { "_class_wxSizer","_class_wxBoxSizer",SwigwxBoxSizerTowxSizer},
2869 { "_class_wxSizer","_wxBoxSizer",SwigwxBoxSizerTowxSizer},
2870 { "_class_wxSizer","_class_wxPySizer",SwigwxPySizerTowxSizer},
2871 { "_class_wxSizer","_wxPySizer",SwigwxPySizerTowxSizer},
2872 { "_class_wxSizer","_wxSizer",0},
2873 { "_wxGridSizer","_class_wxFlexGridSizer",SwigwxFlexGridSizerTowxGridSizer},
2874 { "_wxGridSizer","_wxFlexGridSizer",SwigwxFlexGridSizerTowxGridSizer},
2875 { "_wxGridSizer","_class_wxGridSizer",0},
2876 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
2877 { "_class_wxClipboard","_wxClipboard",0},
2878 { "_class_wxGauge","_wxGauge",0},
2879 { "_wxDC","_class_wxDC",0},
2880 { "_wxSizerItem","_class_wxSizerItem",0},
2881 { "_class_wxBitmapDataObject","_wxBitmapDataObject",0},
2882 { "_class_wxFlexGridSizer","_wxFlexGridSizer",0},
2883 { "_wxSpinEvent","_class_wxSpinEvent",0},
2884 { "_size_t","_wxCoord",0},
2885 { "_size_t","_wxPrintQuality",0},
2886 { "_size_t","_time_t",0},
2887 { "_size_t","_unsigned_int",0},
2888 { "_size_t","_int",0},
2889 { "_size_t","_wxWindowID",0},
2890 { "_size_t","_uint",0},
2891 { "_class_wxRealPoint","_wxRealPoint",0},
2892 { "_wxNavigationKeyEvent","_class_wxNavigationKeyEvent",0},
2893 { "_wxPrinterDC","_class_wxPrinterDC",0},
2894 { "_wxWindowCreateEvent","_class_wxWindowCreateEvent",0},
2895 { "_class_wxMenuItem","_wxMenuItem",0},
2896 { "_class_wxPaintEvent","_wxPaintEvent",0},
2897 { "_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0},
2898 { "_class_wxPySizer","_wxPySizer",0},
2899 { "_wxPanel","_class_wxPanel",0},
2900 { "_wxInitDialogEvent","_class_wxInitDialogEvent",0},
2901 { "_wxCheckBox","_class_wxCheckBox",0},
2902 { "_wxPyEvent","_class_wxPyEvent",0},
2903 { "_wxTextCtrl","_class_wxTextCtrl",0},
2904 { "_class_wxMask","_wxMask",0},
2905 { "_wxTextDataObject","_class_wxTextDataObject",0},
2906 { "_class_wxKeyEvent","_wxKeyEvent",0},
2907 { "_wxColour","_class_wxColour",0},
2908 { "_class_wxDialog","_wxDialog",0},
2909 { "_class_wxFileDataObject","_wxFileDataObject",0},
2910 { "_wxIdleEvent","_class_wxIdleEvent",0},
2911 { "_class_wxUpdateUIEvent","_wxUpdateUIEvent",0},
2912 { "_class_wxDataObject","_wxDataObject",0},
2913 { "_wxStaticLine","_class_wxStaticLine",0},
2914 { "_wxBrush","_class_wxBrush",0},
2915 { "_wxDataFormat","_class_wxDataFormat",0},
2916 { "_class_wxDataObjectSimple","_wxDataObjectSimple",0},
2917 { "_wxShowEvent","_class_wxShowEvent",0},
2918 { "_uint","_wxCoord",0},
2919 { "_uint","_wxPrintQuality",0},
2920 { "_uint","_time_t",0},
2921 { "_uint","_size_t",0},
2922 { "_uint","_unsigned_int",0},
2923 { "_uint","_int",0},
2924 { "_uint","_wxWindowID",0},
2925 { "_wxChar","_char",0},
2926 { "_wxPyValidator","_class_wxPyValidator",0},
2927 { "_class_wxEvent","_wxEvent",0},
2928 { "_wxCheckListBox","_class_wxCheckListBox",0},
2929 { "_wxRect","_class_wxRect",0},
2930 { "_wxCommandEvent","_class_wxCommandEvent",0},
2931 { "_wxSizeEvent","_class_wxSizeEvent",0},
2932 { "_wxPoint","_class_wxPoint",0},
2933 { "_class_wxButton","_wxButton",0},
2934 { "_wxRadioBox","_class_wxRadioBox",0},
2935 { "_class_wxSpinCtrl","_wxSpinCtrl",0},
2936 { "_wxBoxSizer","_class_wxStaticBoxSizer",SwigwxStaticBoxSizerTowxBoxSizer},
2937 { "_wxBoxSizer","_wxStaticBoxSizer",SwigwxStaticBoxSizerTowxBoxSizer},
2938 { "_wxBoxSizer","_class_wxBoxSizer",0},
2939 { "_char","_wxChar",0},
2940 { "_wxBitmap","_class_wxBitmap",0},
2941 { "_wxWindowDC","_class_wxWindowDC",0},
2942 { "_wxTimerEvent","_class_wxTimerEvent",0},
2943 { "_wxScrollBar","_class_wxScrollBar",0},
2944 { "_wxSpinButton","_class_wxSpinButton",0},
2945 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
2946 { "_class_wxNotifyEvent","_wxNotifyEvent",0},
2947 { "_class_wxValidator","_wxValidator",0},
2948 { "_class_wxPyEvent","_wxPyEvent",0},
2949 { "_class_wxIconizeEvent","_wxIconizeEvent",0},
2950 { "_class_wxStaticBitmap","_wxStaticBitmap",0},
2951 { "_wxDropTarget","_class_wxDropTarget",0},
2952 { "_class_wxStaticLine","_wxStaticLine",0},
2953 { "_wxScrollEvent","_class_wxScrollEvent",0},
2954 { "_EBool","_wxCoord",0},
2955 { "_EBool","_wxPrintQuality",0},
2956 { "_EBool","_signed_int",0},
2957 { "_EBool","_int",0},
2958 { "_EBool","_wxWindowID",0},
2959 { "_class_wxRegion","_wxRegion",0},
2960 { "_class_wxDataFormat","_wxDataFormat",0},
2961 { "_class_wxDropFilesEvent","_wxDropFilesEvent",0},
2962 { "_wxWindowDestroyEvent","_class_wxWindowDestroyEvent",0},
2963 { "_wxStaticText","_class_wxStaticText",0},
2964 { "_wxFont","_class_wxFont",0},
2965 { "_class_wxPyDropTarget","_wxPyDropTarget",0},
2966 { "_wxCloseEvent","_class_wxCloseEvent",0},
2967 { "_unsigned_long","_long",0},
2968 { "_class_wxRect","_wxRect",0},
2969 { "_class_wxDC","_wxDC",0},
2970 { "_wxScrollWinEvent","_class_wxScrollWinEvent",0},
2971 { "_wxQueryNewPaletteEvent","_class_wxQueryNewPaletteEvent",0},
2972 { "_class_wxWindowCreateEvent","_wxWindowCreateEvent",0},
2973 { "_wxFocusEvent","_class_wxFocusEvent",0},
2974 { "_wxMaximizeEvent","_class_wxMaximizeEvent",0},
2975 { "_class_wxTimerEvent","_wxTimerEvent",0},
2976 { "_class_wxSpinButton","_wxSpinButton",0},
2977 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
2978 { "_class_wxPanel","_wxPanel",0},
2979 { "_class_wxCheckBox","_wxCheckBox",0},
2980 { "_wxComboBox","_class_wxComboBox",0},
2981 { "_wxRadioButton","_class_wxRadioButton",0},
2982 { "_signed_int","_wxCoord",0},
2983 { "_signed_int","_wxPrintQuality",0},
2984 { "_signed_int","_EBool",0},
2985 { "_signed_int","_wxWindowID",0},
2986 { "_signed_int","_int",0},
2987 { "_class_wxTextCtrl","_wxTextCtrl",0},
2988 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
2989 { "_wxMetaFileDC","_class_wxMetaFileDC",0},
2990 { "_class_wxTextDataObject","_wxTextDataObject",0},
2991 { "_wxMenu","_class_wxMenu",0},
2992 { "_class_wxMoveEvent","_wxMoveEvent",0},
2993 { "_wxListBox","_class_wxListBox",0},
2994 { "_wxScreenDC","_class_wxScreenDC",0},
2995 { "_WXTYPE","_short",0},
2996 { "_WXTYPE","_signed_short",0},
2997 { "_WXTYPE","_unsigned_short",0},
2998 { "_class_wxDropTarget","_wxDropTarget",0},
2999 { "_class_wxBrush","_wxBrush",0},
3000 { "_unsigned_short","_WXTYPE",0},
3001 { "_unsigned_short","_short",0},
3002 { "_class_wxWindow","_wxWindow",0},
3003 { "_class_wxStaticText","_wxStaticText",0},
3004 { "_class_wxFont","_wxFont",0},
3005 { "_wxClipboard","_class_wxClipboard",0},
3006 { "_class_wxPyValidator","_wxPyValidator",0},
3007 { "_class_wxCloseEvent","_wxCloseEvent",0},
3008 { "_wxBusyInfo","_class_wxBusyInfo",0},
3009 { "_class_wxMenuEvent","_wxMenuEvent",0},
3010 { "_wxPaletteChangedEvent","_class_wxPaletteChangedEvent",0},
3011 { "_class_wxPyBitmapDataObject","_wxPyBitmapDataObject",0},
3012 { "_wxClientDC","_class_wxClientDC",0},
3013 { "_wxMouseEvent","_class_wxMouseEvent",0},
3014 { "_class_wxPoint","_wxPoint",0},
3015 { "_wxRealPoint","_class_wxRealPoint",0},
3016 { "_class_wxRadioBox","_wxRadioBox",0},
3017 { "_class_wxBoxSizer","_class_wxStaticBoxSizer",SwigwxStaticBoxSizerTowxBoxSizer},
3018 { "_class_wxBoxSizer","_wxStaticBoxSizer",SwigwxStaticBoxSizerTowxBoxSizer},
3019 { "_class_wxBoxSizer","_wxBoxSizer",0},
3020 { "_signed_short","_WXTYPE",0},
3021 { "_signed_short","_short",0},
3022 { "_wxMemoryDC","_class_wxMemoryDC",0},
3023 { "_wxPyTextDataObject","_class_wxPyTextDataObject",0},
3024 { "_wxPaintDC","_class_wxPaintDC",0},
3025 { "_class_wxWindowDC","_wxWindowDC",0},
3026 { "_class_wxFocusEvent","_wxFocusEvent",0},
3027 { "_class_wxMaximizeEvent","_wxMaximizeEvent",0},
3028 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
3029 { "_class_wxCursor","_wxCursor",0},
3030 { "_wxPyFileDropTarget","_class_wxPyFileDropTarget",0},
3031 { "_wxScrolledWindow","_class_wxScrolledWindow",0},
3032 { "_unsigned_char","_byte",0},
3033 { "_class_wxMetaFileDC","_wxMetaFileDC",0},
3034 { "_class_wxMenu","_wxMenu",0},
3035 { "_wxControl","_class_wxControl",0},
3036 { "_class_wxListBox","_wxListBox",0},
3037 { "_unsigned_int","_wxCoord",0},
3038 { "_unsigned_int","_wxPrintQuality",0},
3039 { "_unsigned_int","_time_t",0},
3040 { "_unsigned_int","_size_t",0},
3041 { "_unsigned_int","_uint",0},
3042 { "_unsigned_int","_wxWindowID",0},
3043 { "_unsigned_int","_int",0},
3044 { "_wxIcon","_class_wxIcon",0},
3045 { "_wxDialog","_class_wxDialog",0},
3046 { "_class_wxPen","_wxPen",0},
3047 { "_short","_WXTYPE",0},
3048 { "_short","_unsigned_short",0},
3049 { "_short","_signed_short",0},
3050 { "_class_wxStaticBox","_wxStaticBox",0},
3051 { "_class_wxPyDataObjectSimple","_wxPyDataObjectSimple",0},
3052 { "_class_wxPyDropSource","_wxPyDropSource",0},
3053 { "_class_wxScrollEvent","_wxScrollEvent",0},
3054 { "_wxJoystickEvent","_class_wxJoystickEvent",0},
3055 { "_class_wxChoice","_wxChoice",0},
3056 { "_class_wxSlider","_wxSlider",0},
3057 { "_class_wxImageList","_wxImageList",0},
3058 { "_class_wxBitmapButton","_wxBitmapButton",0},
3059 { "_class_wxGridSizer","_class_wxFlexGridSizer",SwigwxFlexGridSizerTowxGridSizer},
3060 { "_class_wxGridSizer","_wxFlexGridSizer",SwigwxFlexGridSizerTowxGridSizer},
3061 { "_class_wxGridSizer","_wxGridSizer",0},
3062 { "_class_wxPaletteChangedEvent","_wxPaletteChangedEvent",0},
3063 { "_wxWindowID","_wxCoord",0},
3064 { "_wxWindowID","_wxPrintQuality",0},
3065 { "_wxWindowID","_time_t",0},
3066 { "_wxWindowID","_size_t",0},
3067 { "_wxWindowID","_EBool",0},
3068 { "_wxWindowID","_uint",0},
3069 { "_wxWindowID","_int",0},
3070 { "_wxWindowID","_signed_int",0},
3071 { "_wxWindowID","_unsigned_int",0},
3072 { "_class_wxScrollWinEvent","_wxScrollWinEvent",0},
3073 { "_class_wxSizerItem","_wxSizerItem",0},
3074 { "_int","_wxCoord",0},
3075 { "_int","_wxPrintQuality",0},
3076 { "_int","_time_t",0},
3077 { "_int","_size_t",0},
3078 { "_int","_EBool",0},
3079 { "_int","_uint",0},
3080 { "_int","_wxWindowID",0},
3081 { "_int","_unsigned_int",0},
3082 { "_int","_signed_int",0},
3083 { "_class_wxMouseEvent","_wxMouseEvent",0},
3084 { "_wxPyCommandEvent","_class_wxPyCommandEvent",0},
3085 { "_class_wxSpinEvent","_wxSpinEvent",0},
3086 { "_class_wxQueryNewPaletteEvent","_wxQueryNewPaletteEvent",0},
3087 { "_time_t","_wxCoord",0},
3088 { "_time_t","_wxPrintQuality",0},
3089 { "_time_t","_unsigned_int",0},
3090 { "_time_t","_int",0},
3091 { "_time_t","_wxWindowID",0},
3092 { "_time_t","_uint",0},
3093 { "_time_t","_size_t",0},
3094 { "_class_wxNavigationKeyEvent","_wxNavigationKeyEvent",0},
3095 { "_wxButton","_class_wxButton",0},
3096 { "_wxSize","_class_wxSize",0},
3097 { "_wxRegionIterator","_class_wxRegionIterator",0},
3098 { "_class_wxPrinterDC","_wxPrinterDC",0},
3099 { "_class_wxPyTextDataObject","_wxPyTextDataObject",0},
3100 { "_wxStaticBoxSizer","_class_wxStaticBoxSizer",0},
3101 { "_class_wxPaintDC","_wxPaintDC",0},
3102 { "_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0},
3103 { "_class_wxPyFileDropTarget","_wxPyFileDropTarget",0},
3104 { "_class_wxInitDialogEvent","_wxInitDialogEvent",0},
3105 { "_class_wxComboBox","_wxComboBox",0},
3106 { "_class_wxRadioButton","_wxRadioButton",0},
3107 { "_wxValidator","_class_wxValidator",0},
3108 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
3109 { "_wxIconizeEvent","_class_wxIconizeEvent",0},
3110 { "_class_wxControl","_wxControl",0},
3111 { "_wxStaticBitmap","_class_wxStaticBitmap",0},
3112 { "_class_wxIcon","_wxIcon",0},
3113 { "_class_wxColour","_wxColour",0},
3114 { "_class_wxScreenDC","_wxScreenDC",0},
3115 { "_wxPalette","_class_wxPalette",0},
3116 { "_class_wxIdleEvent","_wxIdleEvent",0},
3117 { "_wxCoord","_int",0},
3118 { "_wxCoord","_signed_int",0},
3119 { "_wxCoord","_unsigned_int",0},
3120 { "_wxCoord","_wxWindowID",0},
3121 { "_wxCoord","_uint",0},
3122 { "_wxCoord","_EBool",0},
3123 { "_wxCoord","_size_t",0},
3124 { "_wxCoord","_time_t",0},
3125 { "_wxCoord","_wxPrintQuality",0},
3126 { "_wxEraseEvent","_class_wxEraseEvent",0},
3127 { "_wxDataObjectComposite","_class_wxDataObjectComposite",0},
3128 { "_class_wxJoystickEvent","_wxJoystickEvent",0},
3129 { "_wxRegion","_class_wxRegion",0},
3130 { "_wxSizer","_class_wxFlexGridSizer",SwigwxFlexGridSizerTowxSizer},
3131 { "_wxSizer","_wxFlexGridSizer",SwigwxFlexGridSizerTowxSizer},
3132 { "_wxSizer","_class_wxGridSizer",SwigwxGridSizerTowxSizer},
3133 { "_wxSizer","_wxGridSizer",SwigwxGridSizerTowxSizer},
3134 { "_wxSizer","_class_wxNotebookSizer",SwigwxNotebookSizerTowxSizer},
3135 { "_wxSizer","_wxNotebookSizer",SwigwxNotebookSizerTowxSizer},
3136 { "_wxSizer","_class_wxStaticBoxSizer",SwigwxStaticBoxSizerTowxSizer},
3137 { "_wxSizer","_wxStaticBoxSizer",SwigwxStaticBoxSizerTowxSizer},
3138 { "_wxSizer","_class_wxBoxSizer",SwigwxBoxSizerTowxSizer},
3139 { "_wxSizer","_wxBoxSizer",SwigwxBoxSizerTowxSizer},
3140 { "_wxSizer","_class_wxPySizer",SwigwxPySizerTowxSizer},
3141 { "_wxSizer","_wxPySizer",SwigwxPySizerTowxSizer},
3142 { "_wxSizer","_class_wxSizer",0},
3143 { "_class_wxShowEvent","_wxShowEvent",0},
3144 { "_wxPyDropTarget","_class_wxPyDropTarget",0},
3145 { "_wxActivateEvent","_class_wxActivateEvent",0},
3146 { "_wxGauge","_class_wxGauge",0},
3147 { "_class_wxCheckListBox","_wxCheckListBox",0},
3148 { "_class_wxBusyInfo","_wxBusyInfo",0},
3149 { "_class_wxCommandEvent","_wxCommandEvent",0},
3150 { "_class_wxClientDC","_wxClientDC",0},
3151 { "_class_wxSizeEvent","_wxSizeEvent",0},
3152 { "_wxCustomDataObject","_class_wxCustomDataObject",0},
3153 { "_class_wxSize","_wxSize",0},
3154 { "_class_wxBitmap","_wxBitmap",0},
3155 { "_class_wxMemoryDC","_wxMemoryDC",0},
3156 { "_wxPyTextDropTarget","_class_wxPyTextDropTarget",0},
3157 { "_wxMenuBar","_class_wxMenuBar",0},
3158 { "_wxEvtHandler","_class_wxEvtHandler",0},
3159 { "_wxMenuItem","_class_wxMenuItem",0},
3160 { "_class_wxScrollBar","_wxScrollBar",0},
3161 { "_class_wxScrolledWindow","_wxScrolledWindow",0},
3162 { "_wxKeyEvent","_class_wxKeyEvent",0},
3163 { "_wxMoveEvent","_class_wxMoveEvent",0},
3164 { "_class_wxPalette","_wxPalette",0},
3165 { "_wxFileDataObject","_class_wxFileDataObject",0},
3166 { "_wxNotebookSizer","_class_wxNotebookSizer",0},
3167 { "_class_wxEraseEvent","_wxEraseEvent",0},
3168 { "_class_wxDataObjectComposite","_wxDataObjectComposite",0},
3169 { "_wxWindow","_class_wxWindow",0},
3170 { "_class_wxWindowDestroyEvent","_wxWindowDestroyEvent",0},
3171 {0,0,0}};
3172
3173 static PyObject *SWIG_globals;
3174 #ifdef __cplusplus
3175 extern "C"
3176 #endif
3177 SWIGEXPORT(void) initsizersc() {
3178 PyObject *m, *d;
3179 SWIG_globals = SWIG_newvarlink();
3180 m = Py_InitModule("sizersc", sizerscMethods);
3181 d = PyModule_GetDict(m);
3182 {
3183 int i;
3184 for (i = 0; _swig_mapping[i].n1; i++)
3185 SWIG_RegisterMapping(_swig_mapping[i].n1,_swig_mapping[i].n2,_swig_mapping[i].pcnv);
3186 }
3187 }