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