]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/msw/sizers.cpp
Build fixes and reSWIGs for wxMac
[wxWidgets.git] / wxPython / src / msw / sizers.cpp
1 /*
2 * FILE : src/msw/sizers.cpp
3 *
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 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 "Python.h"
23
24 #include <string.h>
25 #include <stdlib.h>
26 /* Definitions for Windows/Unix exporting */
27 #if defined(__WIN32__)
28 # if defined(_MSC_VER)
29 # define SWIGEXPORT(a) __declspec(dllexport) a
30 # else
31 # if defined(__BORLANDC__)
32 # define SWIGEXPORT(a) a _export
33 # else
34 # define SWIGEXPORT(a) a
35 # endif
36 # endif
37 #else
38 # define SWIGEXPORT(a) a
39 #endif
40
41 #ifdef __cplusplus
42 extern "C" {
43 #endif
44 extern void SWIG_MakePtr(char *, void *, char *);
45 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
46 extern char *SWIG_GetPtr(char *, void **, char *);
47 extern char *SWIG_GetPtrObj(PyObject *, void **, char *);
48 extern void SWIG_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
49 extern PyObject *SWIG_newvarlink(void);
50 #ifdef __cplusplus
51 }
52 #endif
53 #define SWIG_init initsizersc
54
55 #define SWIG_name "sizersc"
56
57 #include "helpers.h"
58
59 #include <wx/notebook.h>
60
61
62 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
63 PyObject* o2;
64 PyObject* o3;
65
66 if (!target) {
67 target = o;
68 } else if (target == Py_None) {
69 Py_DECREF(Py_None);
70 target = o;
71 } else {
72 if (!PyTuple_Check(target)) {
73 o2 = target;
74 target = PyTuple_New(1);
75 PyTuple_SetItem(target, 0, o2);
76 }
77 o3 = PyTuple_New(1);
78 PyTuple_SetItem(o3, 0, o);
79
80 o2 = target;
81 target = PySequence_Concat(o2, o3);
82 Py_DECREF(o2);
83 Py_DECREF(o3);
84 }
85 return target;
86 }
87
88 class wxPySizer : public wxSizer {
89 DECLARE_DYNAMIC_CLASS(wxPySizer);
90 public:
91 wxPySizer() : wxSizer() {};
92
93 DEC_PYCALLBACK___pure(RecalcSizes);
94 DEC_PYCALLBACK_wxSize__pure(CalcMin);
95 PYPRIVATE;
96 };
97
98
99 IMP_PYCALLBACK___pure(wxPySizer, wxSizer, RecalcSizes);
100 IMP_PYCALLBACK_wxSize__pure(wxPySizer, wxSizer, CalcMin);
101
102 IMPLEMENT_DYNAMIC_CLASS(wxPySizer, wxSizer);
103 #ifdef __cplusplus
104 extern "C" {
105 #endif
106 static void *SwigwxSizerItemTowxObject(void *ptr) {
107 wxSizerItem *src;
108 wxObject *dest;
109 src = (wxSizerItem *) ptr;
110 dest = (wxObject *) src;
111 return (void *) dest;
112 }
113
114 #define wxSizerItem_DeleteWindows(_swigobj) (_swigobj->DeleteWindows())
115 static PyObject *_wrap_wxSizerItem_DeleteWindows(PyObject *self, PyObject *args, PyObject *kwargs) {
116 PyObject * _resultobj;
117 wxSizerItem * _arg0;
118 PyObject * _argo0 = 0;
119 char *_kwnames[] = { "self", NULL };
120
121 self = self;
122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSizerItem_DeleteWindows",_kwnames,&_argo0))
123 return NULL;
124 if (_argo0) {
125 if (_argo0 == Py_None) { _arg0 = NULL; }
126 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizerItem_p")) {
127 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizerItem_DeleteWindows. Expected _wxSizerItem_p.");
128 return NULL;
129 }
130 }
131 {
132 PyThreadState* __tstate = wxPyBeginAllowThreads();
133 wxSizerItem_DeleteWindows(_arg0);
134
135 wxPyEndAllowThreads(__tstate);
136 if (PyErr_Occurred()) return NULL;
137 } Py_INCREF(Py_None);
138 _resultobj = Py_None;
139 return _resultobj;
140 }
141
142 #define wxSizerItem_DetachSizer(_swigobj) (_swigobj->DetachSizer())
143 static PyObject *_wrap_wxSizerItem_DetachSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
144 PyObject * _resultobj;
145 wxSizerItem * _arg0;
146 PyObject * _argo0 = 0;
147 char *_kwnames[] = { "self", NULL };
148
149 self = self;
150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSizerItem_DetachSizer",_kwnames,&_argo0))
151 return NULL;
152 if (_argo0) {
153 if (_argo0 == Py_None) { _arg0 = NULL; }
154 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizerItem_p")) {
155 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizerItem_DetachSizer. Expected _wxSizerItem_p.");
156 return NULL;
157 }
158 }
159 {
160 PyThreadState* __tstate = wxPyBeginAllowThreads();
161 wxSizerItem_DetachSizer(_arg0);
162
163 wxPyEndAllowThreads(__tstate);
164 if (PyErr_Occurred()) return NULL;
165 } Py_INCREF(Py_None);
166 _resultobj = Py_None;
167 return _resultobj;
168 }
169
170 #define wxSizerItem_GetSize(_swigobj) (_swigobj->GetSize())
171 static PyObject *_wrap_wxSizerItem_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
172 PyObject * _resultobj;
173 wxSize * _result;
174 wxSizerItem * _arg0;
175 PyObject * _argo0 = 0;
176 char *_kwnames[] = { "self", NULL };
177 char _ptemp[128];
178
179 self = self;
180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSizerItem_GetSize",_kwnames,&_argo0))
181 return NULL;
182 if (_argo0) {
183 if (_argo0 == Py_None) { _arg0 = NULL; }
184 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizerItem_p")) {
185 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizerItem_GetSize. Expected _wxSizerItem_p.");
186 return NULL;
187 }
188 }
189 {
190 PyThreadState* __tstate = wxPyBeginAllowThreads();
191 _result = new wxSize (wxSizerItem_GetSize(_arg0));
192
193 wxPyEndAllowThreads(__tstate);
194 if (PyErr_Occurred()) return NULL;
195 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
196 _resultobj = Py_BuildValue("s",_ptemp);
197 return _resultobj;
198 }
199
200 #define wxSizerItem_CalcMin(_swigobj) (_swigobj->CalcMin())
201 static PyObject *_wrap_wxSizerItem_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
202 PyObject * _resultobj;
203 wxSize * _result;
204 wxSizerItem * _arg0;
205 PyObject * _argo0 = 0;
206 char *_kwnames[] = { "self", NULL };
207 char _ptemp[128];
208
209 self = self;
210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSizerItem_CalcMin",_kwnames,&_argo0))
211 return NULL;
212 if (_argo0) {
213 if (_argo0 == Py_None) { _arg0 = NULL; }
214 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizerItem_p")) {
215 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizerItem_CalcMin. Expected _wxSizerItem_p.");
216 return NULL;
217 }
218 }
219 {
220 PyThreadState* __tstate = wxPyBeginAllowThreads();
221 _result = new wxSize (wxSizerItem_CalcMin(_arg0));
222
223 wxPyEndAllowThreads(__tstate);
224 if (PyErr_Occurred()) return NULL;
225 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
226 _resultobj = Py_BuildValue("s",_ptemp);
227 return _resultobj;
228 }
229
230 #define wxSizerItem_SetDimension(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDimension(_swigarg0,_swigarg1))
231 static PyObject *_wrap_wxSizerItem_SetDimension(PyObject *self, PyObject *args, PyObject *kwargs) {
232 PyObject * _resultobj;
233 wxSizerItem * _arg0;
234 wxPoint * _arg1;
235 wxSize * _arg2;
236 PyObject * _argo0 = 0;
237 wxPoint temp;
238 PyObject * _obj1 = 0;
239 wxSize temp0;
240 PyObject * _obj2 = 0;
241 char *_kwnames[] = { "self","pos","size", NULL };
242
243 self = self;
244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxSizerItem_SetDimension",_kwnames,&_argo0,&_obj1,&_obj2))
245 return NULL;
246 if (_argo0) {
247 if (_argo0 == Py_None) { _arg0 = NULL; }
248 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizerItem_p")) {
249 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizerItem_SetDimension. Expected _wxSizerItem_p.");
250 return NULL;
251 }
252 }
253 {
254 _arg1 = &temp;
255 if (! wxPoint_helper(_obj1, &_arg1))
256 return NULL;
257 }
258 {
259 _arg2 = &temp0;
260 if (! wxSize_helper(_obj2, &_arg2))
261 return NULL;
262 }
263 {
264 PyThreadState* __tstate = wxPyBeginAllowThreads();
265 wxSizerItem_SetDimension(_arg0,*_arg1,*_arg2);
266
267 wxPyEndAllowThreads(__tstate);
268 if (PyErr_Occurred()) return NULL;
269 } Py_INCREF(Py_None);
270 _resultobj = Py_None;
271 return _resultobj;
272 }
273
274 #define wxSizerItem_GetMinSize(_swigobj) (_swigobj->GetMinSize())
275 static PyObject *_wrap_wxSizerItem_GetMinSize(PyObject *self, PyObject *args, PyObject *kwargs) {
276 PyObject * _resultobj;
277 wxSize * _result;
278 wxSizerItem * _arg0;
279 PyObject * _argo0 = 0;
280 char *_kwnames[] = { "self", NULL };
281 char _ptemp[128];
282
283 self = self;
284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSizerItem_GetMinSize",_kwnames,&_argo0))
285 return NULL;
286 if (_argo0) {
287 if (_argo0 == Py_None) { _arg0 = NULL; }
288 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizerItem_p")) {
289 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizerItem_GetMinSize. Expected _wxSizerItem_p.");
290 return NULL;
291 }
292 }
293 {
294 PyThreadState* __tstate = wxPyBeginAllowThreads();
295 _result = new wxSize (wxSizerItem_GetMinSize(_arg0));
296
297 wxPyEndAllowThreads(__tstate);
298 if (PyErr_Occurred()) return NULL;
299 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
300 _resultobj = Py_BuildValue("s",_ptemp);
301 return _resultobj;
302 }
303
304 #define wxSizerItem_SetInitSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetInitSize(_swigarg0,_swigarg1))
305 static PyObject *_wrap_wxSizerItem_SetInitSize(PyObject *self, PyObject *args, PyObject *kwargs) {
306 PyObject * _resultobj;
307 wxSizerItem * _arg0;
308 int _arg1;
309 int _arg2;
310 PyObject * _argo0 = 0;
311 char *_kwnames[] = { "self","x","y", NULL };
312
313 self = self;
314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxSizerItem_SetInitSize",_kwnames,&_argo0,&_arg1,&_arg2))
315 return NULL;
316 if (_argo0) {
317 if (_argo0 == Py_None) { _arg0 = NULL; }
318 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizerItem_p")) {
319 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizerItem_SetInitSize. Expected _wxSizerItem_p.");
320 return NULL;
321 }
322 }
323 {
324 PyThreadState* __tstate = wxPyBeginAllowThreads();
325 wxSizerItem_SetInitSize(_arg0,_arg1,_arg2);
326
327 wxPyEndAllowThreads(__tstate);
328 if (PyErr_Occurred()) return NULL;
329 } Py_INCREF(Py_None);
330 _resultobj = Py_None;
331 return _resultobj;
332 }
333
334 #define wxSizerItem_SetRatioWH(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRatio(_swigarg0,_swigarg1))
335 static PyObject *_wrap_wxSizerItem_SetRatioWH(PyObject *self, PyObject *args, PyObject *kwargs) {
336 PyObject * _resultobj;
337 wxSizerItem * _arg0;
338 int _arg1;
339 int _arg2;
340 PyObject * _argo0 = 0;
341 char *_kwnames[] = { "self","width","height", NULL };
342
343 self = self;
344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxSizerItem_SetRatioWH",_kwnames,&_argo0,&_arg1,&_arg2))
345 return NULL;
346 if (_argo0) {
347 if (_argo0 == Py_None) { _arg0 = NULL; }
348 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizerItem_p")) {
349 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizerItem_SetRatioWH. Expected _wxSizerItem_p.");
350 return NULL;
351 }
352 }
353 {
354 PyThreadState* __tstate = wxPyBeginAllowThreads();
355 wxSizerItem_SetRatioWH(_arg0,_arg1,_arg2);
356
357 wxPyEndAllowThreads(__tstate);
358 if (PyErr_Occurred()) return NULL;
359 } Py_INCREF(Py_None);
360 _resultobj = Py_None;
361 return _resultobj;
362 }
363
364 #define wxSizerItem_SetRatioSize(_swigobj,_swigarg0) (_swigobj->SetRatio(_swigarg0))
365 static PyObject *_wrap_wxSizerItem_SetRatioSize(PyObject *self, PyObject *args, PyObject *kwargs) {
366 PyObject * _resultobj;
367 wxSizerItem * _arg0;
368 wxSize * _arg1;
369 PyObject * _argo0 = 0;
370 wxSize temp;
371 PyObject * _obj1 = 0;
372 char *_kwnames[] = { "self","size", NULL };
373
374 self = self;
375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxSizerItem_SetRatioSize",_kwnames,&_argo0,&_obj1))
376 return NULL;
377 if (_argo0) {
378 if (_argo0 == Py_None) { _arg0 = NULL; }
379 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizerItem_p")) {
380 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizerItem_SetRatioSize. Expected _wxSizerItem_p.");
381 return NULL;
382 }
383 }
384 {
385 _arg1 = &temp;
386 if (! wxSize_helper(_obj1, &_arg1))
387 return NULL;
388 }
389 {
390 PyThreadState* __tstate = wxPyBeginAllowThreads();
391 wxSizerItem_SetRatioSize(_arg0,*_arg1);
392
393 wxPyEndAllowThreads(__tstate);
394 if (PyErr_Occurred()) return NULL;
395 } Py_INCREF(Py_None);
396 _resultobj = Py_None;
397 return _resultobj;
398 }
399
400 #define wxSizerItem_SetRatio(_swigobj,_swigarg0) (_swigobj->SetRatio(_swigarg0))
401 static PyObject *_wrap_wxSizerItem_SetRatio(PyObject *self, PyObject *args, PyObject *kwargs) {
402 PyObject * _resultobj;
403 wxSizerItem * _arg0;
404 float _arg1;
405 PyObject * _argo0 = 0;
406 char *_kwnames[] = { "self","ratio", NULL };
407
408 self = self;
409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Of:wxSizerItem_SetRatio",_kwnames,&_argo0,&_arg1))
410 return NULL;
411 if (_argo0) {
412 if (_argo0 == Py_None) { _arg0 = NULL; }
413 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizerItem_p")) {
414 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizerItem_SetRatio. Expected _wxSizerItem_p.");
415 return NULL;
416 }
417 }
418 {
419 PyThreadState* __tstate = wxPyBeginAllowThreads();
420 wxSizerItem_SetRatio(_arg0,_arg1);
421
422 wxPyEndAllowThreads(__tstate);
423 if (PyErr_Occurred()) return NULL;
424 } Py_INCREF(Py_None);
425 _resultobj = Py_None;
426 return _resultobj;
427 }
428
429 #define wxSizerItem_GetRatio(_swigobj) (_swigobj->GetRatio())
430 static PyObject *_wrap_wxSizerItem_GetRatio(PyObject *self, PyObject *args, PyObject *kwargs) {
431 PyObject * _resultobj;
432 float _result;
433 wxSizerItem * _arg0;
434 PyObject * _argo0 = 0;
435 char *_kwnames[] = { "self", NULL };
436
437 self = self;
438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSizerItem_GetRatio",_kwnames,&_argo0))
439 return NULL;
440 if (_argo0) {
441 if (_argo0 == Py_None) { _arg0 = NULL; }
442 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizerItem_p")) {
443 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizerItem_GetRatio. Expected _wxSizerItem_p.");
444 return NULL;
445 }
446 }
447 {
448 PyThreadState* __tstate = wxPyBeginAllowThreads();
449 _result = (float )wxSizerItem_GetRatio(_arg0);
450
451 wxPyEndAllowThreads(__tstate);
452 if (PyErr_Occurred()) return NULL;
453 } _resultobj = Py_BuildValue("f",_result);
454 return _resultobj;
455 }
456
457 #define wxSizerItem_IsWindow(_swigobj) (_swigobj->IsWindow())
458 static PyObject *_wrap_wxSizerItem_IsWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
459 PyObject * _resultobj;
460 bool _result;
461 wxSizerItem * _arg0;
462 PyObject * _argo0 = 0;
463 char *_kwnames[] = { "self", NULL };
464
465 self = self;
466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSizerItem_IsWindow",_kwnames,&_argo0))
467 return NULL;
468 if (_argo0) {
469 if (_argo0 == Py_None) { _arg0 = NULL; }
470 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizerItem_p")) {
471 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizerItem_IsWindow. Expected _wxSizerItem_p.");
472 return NULL;
473 }
474 }
475 {
476 PyThreadState* __tstate = wxPyBeginAllowThreads();
477 _result = (bool )wxSizerItem_IsWindow(_arg0);
478
479 wxPyEndAllowThreads(__tstate);
480 if (PyErr_Occurred()) return NULL;
481 } _resultobj = Py_BuildValue("i",_result);
482 return _resultobj;
483 }
484
485 #define wxSizerItem_IsSizer(_swigobj) (_swigobj->IsSizer())
486 static PyObject *_wrap_wxSizerItem_IsSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
487 PyObject * _resultobj;
488 bool _result;
489 wxSizerItem * _arg0;
490 PyObject * _argo0 = 0;
491 char *_kwnames[] = { "self", NULL };
492
493 self = self;
494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSizerItem_IsSizer",_kwnames,&_argo0))
495 return NULL;
496 if (_argo0) {
497 if (_argo0 == Py_None) { _arg0 = NULL; }
498 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizerItem_p")) {
499 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizerItem_IsSizer. Expected _wxSizerItem_p.");
500 return NULL;
501 }
502 }
503 {
504 PyThreadState* __tstate = wxPyBeginAllowThreads();
505 _result = (bool )wxSizerItem_IsSizer(_arg0);
506
507 wxPyEndAllowThreads(__tstate);
508 if (PyErr_Occurred()) return NULL;
509 } _resultobj = Py_BuildValue("i",_result);
510 return _resultobj;
511 }
512
513 #define wxSizerItem_IsSpacer(_swigobj) (_swigobj->IsSpacer())
514 static PyObject *_wrap_wxSizerItem_IsSpacer(PyObject *self, PyObject *args, PyObject *kwargs) {
515 PyObject * _resultobj;
516 bool _result;
517 wxSizerItem * _arg0;
518 PyObject * _argo0 = 0;
519 char *_kwnames[] = { "self", NULL };
520
521 self = self;
522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSizerItem_IsSpacer",_kwnames,&_argo0))
523 return NULL;
524 if (_argo0) {
525 if (_argo0 == Py_None) { _arg0 = NULL; }
526 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizerItem_p")) {
527 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizerItem_IsSpacer. Expected _wxSizerItem_p.");
528 return NULL;
529 }
530 }
531 {
532 PyThreadState* __tstate = wxPyBeginAllowThreads();
533 _result = (bool )wxSizerItem_IsSpacer(_arg0);
534
535 wxPyEndAllowThreads(__tstate);
536 if (PyErr_Occurred()) return NULL;
537 } _resultobj = Py_BuildValue("i",_result);
538 return _resultobj;
539 }
540
541 #define wxSizerItem_SetProportion(_swigobj,_swigarg0) (_swigobj->SetProportion(_swigarg0))
542 static PyObject *_wrap_wxSizerItem_SetProportion(PyObject *self, PyObject *args, PyObject *kwargs) {
543 PyObject * _resultobj;
544 wxSizerItem * _arg0;
545 int _arg1;
546 PyObject * _argo0 = 0;
547 char *_kwnames[] = { "self","proportion", NULL };
548
549 self = self;
550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSizerItem_SetProportion",_kwnames,&_argo0,&_arg1))
551 return NULL;
552 if (_argo0) {
553 if (_argo0 == Py_None) { _arg0 = NULL; }
554 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizerItem_p")) {
555 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizerItem_SetProportion. Expected _wxSizerItem_p.");
556 return NULL;
557 }
558 }
559 {
560 PyThreadState* __tstate = wxPyBeginAllowThreads();
561 wxSizerItem_SetProportion(_arg0,_arg1);
562
563 wxPyEndAllowThreads(__tstate);
564 if (PyErr_Occurred()) return NULL;
565 } Py_INCREF(Py_None);
566 _resultobj = Py_None;
567 return _resultobj;
568 }
569
570 #define wxSizerItem_GetProportion(_swigobj) (_swigobj->GetProportion())
571 static PyObject *_wrap_wxSizerItem_GetProportion(PyObject *self, PyObject *args, PyObject *kwargs) {
572 PyObject * _resultobj;
573 int _result;
574 wxSizerItem * _arg0;
575 PyObject * _argo0 = 0;
576 char *_kwnames[] = { "self", NULL };
577
578 self = self;
579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSizerItem_GetProportion",_kwnames,&_argo0))
580 return NULL;
581 if (_argo0) {
582 if (_argo0 == Py_None) { _arg0 = NULL; }
583 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizerItem_p")) {
584 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizerItem_GetProportion. Expected _wxSizerItem_p.");
585 return NULL;
586 }
587 }
588 {
589 PyThreadState* __tstate = wxPyBeginAllowThreads();
590 _result = (int )wxSizerItem_GetProportion(_arg0);
591
592 wxPyEndAllowThreads(__tstate);
593 if (PyErr_Occurred()) return NULL;
594 } _resultobj = Py_BuildValue("i",_result);
595 return _resultobj;
596 }
597
598 #define wxSizerItem_SetFlag(_swigobj,_swigarg0) (_swigobj->SetFlag(_swigarg0))
599 static PyObject *_wrap_wxSizerItem_SetFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
600 PyObject * _resultobj;
601 wxSizerItem * _arg0;
602 int _arg1;
603 PyObject * _argo0 = 0;
604 char *_kwnames[] = { "self","flag", NULL };
605
606 self = self;
607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSizerItem_SetFlag",_kwnames,&_argo0,&_arg1))
608 return NULL;
609 if (_argo0) {
610 if (_argo0 == Py_None) { _arg0 = NULL; }
611 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizerItem_p")) {
612 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizerItem_SetFlag. Expected _wxSizerItem_p.");
613 return NULL;
614 }
615 }
616 {
617 PyThreadState* __tstate = wxPyBeginAllowThreads();
618 wxSizerItem_SetFlag(_arg0,_arg1);
619
620 wxPyEndAllowThreads(__tstate);
621 if (PyErr_Occurred()) return NULL;
622 } Py_INCREF(Py_None);
623 _resultobj = Py_None;
624 return _resultobj;
625 }
626
627 #define wxSizerItem_GetFlag(_swigobj) (_swigobj->GetFlag())
628 static PyObject *_wrap_wxSizerItem_GetFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
629 PyObject * _resultobj;
630 int _result;
631 wxSizerItem * _arg0;
632 PyObject * _argo0 = 0;
633 char *_kwnames[] = { "self", NULL };
634
635 self = self;
636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSizerItem_GetFlag",_kwnames,&_argo0))
637 return NULL;
638 if (_argo0) {
639 if (_argo0 == Py_None) { _arg0 = NULL; }
640 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizerItem_p")) {
641 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizerItem_GetFlag. Expected _wxSizerItem_p.");
642 return NULL;
643 }
644 }
645 {
646 PyThreadState* __tstate = wxPyBeginAllowThreads();
647 _result = (int )wxSizerItem_GetFlag(_arg0);
648
649 wxPyEndAllowThreads(__tstate);
650 if (PyErr_Occurred()) return NULL;
651 } _resultobj = Py_BuildValue("i",_result);
652 return _resultobj;
653 }
654
655 #define wxSizerItem_SetBorder(_swigobj,_swigarg0) (_swigobj->SetBorder(_swigarg0))
656 static PyObject *_wrap_wxSizerItem_SetBorder(PyObject *self, PyObject *args, PyObject *kwargs) {
657 PyObject * _resultobj;
658 wxSizerItem * _arg0;
659 int _arg1;
660 PyObject * _argo0 = 0;
661 char *_kwnames[] = { "self","border", NULL };
662
663 self = self;
664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSizerItem_SetBorder",_kwnames,&_argo0,&_arg1))
665 return NULL;
666 if (_argo0) {
667 if (_argo0 == Py_None) { _arg0 = NULL; }
668 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizerItem_p")) {
669 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizerItem_SetBorder. Expected _wxSizerItem_p.");
670 return NULL;
671 }
672 }
673 {
674 PyThreadState* __tstate = wxPyBeginAllowThreads();
675 wxSizerItem_SetBorder(_arg0,_arg1);
676
677 wxPyEndAllowThreads(__tstate);
678 if (PyErr_Occurred()) return NULL;
679 } Py_INCREF(Py_None);
680 _resultobj = Py_None;
681 return _resultobj;
682 }
683
684 #define wxSizerItem_GetBorder(_swigobj) (_swigobj->GetBorder())
685 static PyObject *_wrap_wxSizerItem_GetBorder(PyObject *self, PyObject *args, PyObject *kwargs) {
686 PyObject * _resultobj;
687 int _result;
688 wxSizerItem * _arg0;
689 PyObject * _argo0 = 0;
690 char *_kwnames[] = { "self", NULL };
691
692 self = self;
693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSizerItem_GetBorder",_kwnames,&_argo0))
694 return NULL;
695 if (_argo0) {
696 if (_argo0 == Py_None) { _arg0 = NULL; }
697 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizerItem_p")) {
698 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizerItem_GetBorder. Expected _wxSizerItem_p.");
699 return NULL;
700 }
701 }
702 {
703 PyThreadState* __tstate = wxPyBeginAllowThreads();
704 _result = (int )wxSizerItem_GetBorder(_arg0);
705
706 wxPyEndAllowThreads(__tstate);
707 if (PyErr_Occurred()) return NULL;
708 } _resultobj = Py_BuildValue("i",_result);
709 return _resultobj;
710 }
711
712 #define wxSizerItem_GetWindow(_swigobj) (_swigobj->GetWindow())
713 static PyObject *_wrap_wxSizerItem_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
714 PyObject * _resultobj;
715 wxWindow * _result;
716 wxSizerItem * _arg0;
717 PyObject * _argo0 = 0;
718 char *_kwnames[] = { "self", NULL };
719
720 self = self;
721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSizerItem_GetWindow",_kwnames,&_argo0))
722 return NULL;
723 if (_argo0) {
724 if (_argo0 == Py_None) { _arg0 = NULL; }
725 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizerItem_p")) {
726 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizerItem_GetWindow. Expected _wxSizerItem_p.");
727 return NULL;
728 }
729 }
730 {
731 PyThreadState* __tstate = wxPyBeginAllowThreads();
732 _result = (wxWindow *)wxSizerItem_GetWindow(_arg0);
733
734 wxPyEndAllowThreads(__tstate);
735 if (PyErr_Occurred()) return NULL;
736 }{ _resultobj = wxPyMake_wxObject(_result); }
737 return _resultobj;
738 }
739
740 #define wxSizerItem_SetWindow(_swigobj,_swigarg0) (_swigobj->SetWindow(_swigarg0))
741 static PyObject *_wrap_wxSizerItem_SetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
742 PyObject * _resultobj;
743 wxSizerItem * _arg0;
744 wxWindow * _arg1;
745 PyObject * _argo0 = 0;
746 PyObject * _argo1 = 0;
747 char *_kwnames[] = { "self","window", NULL };
748
749 self = self;
750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxSizerItem_SetWindow",_kwnames,&_argo0,&_argo1))
751 return NULL;
752 if (_argo0) {
753 if (_argo0 == Py_None) { _arg0 = NULL; }
754 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizerItem_p")) {
755 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizerItem_SetWindow. Expected _wxSizerItem_p.");
756 return NULL;
757 }
758 }
759 if (_argo1) {
760 if (_argo1 == Py_None) { _arg1 = NULL; }
761 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
762 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxSizerItem_SetWindow. Expected _wxWindow_p.");
763 return NULL;
764 }
765 }
766 {
767 PyThreadState* __tstate = wxPyBeginAllowThreads();
768 wxSizerItem_SetWindow(_arg0,_arg1);
769
770 wxPyEndAllowThreads(__tstate);
771 if (PyErr_Occurred()) return NULL;
772 } Py_INCREF(Py_None);
773 _resultobj = Py_None;
774 return _resultobj;
775 }
776
777 #define wxSizerItem_GetSizer(_swigobj) (_swigobj->GetSizer())
778 static PyObject *_wrap_wxSizerItem_GetSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
779 PyObject * _resultobj;
780 wxSizer * _result;
781 wxSizerItem * _arg0;
782 PyObject * _argo0 = 0;
783 char *_kwnames[] = { "self", NULL };
784
785 self = self;
786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSizerItem_GetSizer",_kwnames,&_argo0))
787 return NULL;
788 if (_argo0) {
789 if (_argo0 == Py_None) { _arg0 = NULL; }
790 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizerItem_p")) {
791 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizerItem_GetSizer. Expected _wxSizerItem_p.");
792 return NULL;
793 }
794 }
795 {
796 PyThreadState* __tstate = wxPyBeginAllowThreads();
797 _result = (wxSizer *)wxSizerItem_GetSizer(_arg0);
798
799 wxPyEndAllowThreads(__tstate);
800 if (PyErr_Occurred()) return NULL;
801 }{ _resultobj = wxPyMake_wxSizer(_result); }
802 return _resultobj;
803 }
804
805 #define wxSizerItem_SetSizer(_swigobj,_swigarg0) (_swigobj->SetSizer(_swigarg0))
806 static PyObject *_wrap_wxSizerItem_SetSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
807 PyObject * _resultobj;
808 wxSizerItem * _arg0;
809 wxSizer * _arg1;
810 PyObject * _argo0 = 0;
811 PyObject * _argo1 = 0;
812 char *_kwnames[] = { "self","sizer", NULL };
813
814 self = self;
815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxSizerItem_SetSizer",_kwnames,&_argo0,&_argo1))
816 return NULL;
817 if (_argo0) {
818 if (_argo0 == Py_None) { _arg0 = NULL; }
819 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizerItem_p")) {
820 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizerItem_SetSizer. Expected _wxSizerItem_p.");
821 return NULL;
822 }
823 }
824 if (_argo1) {
825 if (_argo1 == Py_None) { _arg1 = NULL; }
826 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxSizer_p")) {
827 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxSizerItem_SetSizer. Expected _wxSizer_p.");
828 return NULL;
829 }
830 }
831 {
832 PyThreadState* __tstate = wxPyBeginAllowThreads();
833 wxSizerItem_SetSizer(_arg0,_arg1);
834
835 wxPyEndAllowThreads(__tstate);
836 if (PyErr_Occurred()) return NULL;
837 } Py_INCREF(Py_None);
838 _resultobj = Py_None;
839 return _resultobj;
840 }
841
842 #define wxSizerItem_GetSpacer(_swigobj) (_swigobj->GetSpacer())
843 static PyObject *_wrap_wxSizerItem_GetSpacer(PyObject *self, PyObject *args, PyObject *kwargs) {
844 PyObject * _resultobj;
845 wxSize * _result;
846 wxSizerItem * _arg0;
847 PyObject * _argo0 = 0;
848 char *_kwnames[] = { "self", NULL };
849 char _ptemp[128];
850
851 self = self;
852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSizerItem_GetSpacer",_kwnames,&_argo0))
853 return NULL;
854 if (_argo0) {
855 if (_argo0 == Py_None) { _arg0 = NULL; }
856 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizerItem_p")) {
857 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizerItem_GetSpacer. Expected _wxSizerItem_p.");
858 return NULL;
859 }
860 }
861 {
862 PyThreadState* __tstate = wxPyBeginAllowThreads();
863 const wxSize & _result_ref = wxSizerItem_GetSpacer(_arg0);
864 _result = (wxSize *) &_result_ref;
865
866 wxPyEndAllowThreads(__tstate);
867 if (PyErr_Occurred()) return NULL;
868 } if (_result) {
869 SWIG_MakePtr(_ptemp, (char *) _result,"_wxSize_p");
870 _resultobj = Py_BuildValue("s",_ptemp);
871 } else {
872 Py_INCREF(Py_None);
873 _resultobj = Py_None;
874 }
875 return _resultobj;
876 }
877
878 #define wxSizerItem_SetSpacer(_swigobj,_swigarg0) (_swigobj->SetSpacer(_swigarg0))
879 static PyObject *_wrap_wxSizerItem_SetSpacer(PyObject *self, PyObject *args, PyObject *kwargs) {
880 PyObject * _resultobj;
881 wxSizerItem * _arg0;
882 wxSize * _arg1;
883 PyObject * _argo0 = 0;
884 wxSize temp;
885 PyObject * _obj1 = 0;
886 char *_kwnames[] = { "self","size", NULL };
887
888 self = self;
889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxSizerItem_SetSpacer",_kwnames,&_argo0,&_obj1))
890 return NULL;
891 if (_argo0) {
892 if (_argo0 == Py_None) { _arg0 = NULL; }
893 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizerItem_p")) {
894 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizerItem_SetSpacer. Expected _wxSizerItem_p.");
895 return NULL;
896 }
897 }
898 {
899 _arg1 = &temp;
900 if (! wxSize_helper(_obj1, &_arg1))
901 return NULL;
902 }
903 {
904 PyThreadState* __tstate = wxPyBeginAllowThreads();
905 wxSizerItem_SetSpacer(_arg0,*_arg1);
906
907 wxPyEndAllowThreads(__tstate);
908 if (PyErr_Occurred()) return NULL;
909 } Py_INCREF(Py_None);
910 _resultobj = Py_None;
911 return _resultobj;
912 }
913
914 #define wxSizerItem_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
915 static PyObject *_wrap_wxSizerItem_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
916 PyObject * _resultobj;
917 wxSizerItem * _arg0;
918 bool _arg1;
919 PyObject * _argo0 = 0;
920 int tempbool1;
921 char *_kwnames[] = { "self","show", NULL };
922
923 self = self;
924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSizerItem_Show",_kwnames,&_argo0,&tempbool1))
925 return NULL;
926 if (_argo0) {
927 if (_argo0 == Py_None) { _arg0 = NULL; }
928 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizerItem_p")) {
929 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizerItem_Show. Expected _wxSizerItem_p.");
930 return NULL;
931 }
932 }
933 _arg1 = (bool ) tempbool1;
934 {
935 PyThreadState* __tstate = wxPyBeginAllowThreads();
936 wxSizerItem_Show(_arg0,_arg1);
937
938 wxPyEndAllowThreads(__tstate);
939 if (PyErr_Occurred()) return NULL;
940 } Py_INCREF(Py_None);
941 _resultobj = Py_None;
942 return _resultobj;
943 }
944
945 #define wxSizerItem_IsShown(_swigobj) (_swigobj->IsShown())
946 static PyObject *_wrap_wxSizerItem_IsShown(PyObject *self, PyObject *args, PyObject *kwargs) {
947 PyObject * _resultobj;
948 bool _result;
949 wxSizerItem * _arg0;
950 PyObject * _argo0 = 0;
951 char *_kwnames[] = { "self", NULL };
952
953 self = self;
954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSizerItem_IsShown",_kwnames,&_argo0))
955 return NULL;
956 if (_argo0) {
957 if (_argo0 == Py_None) { _arg0 = NULL; }
958 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizerItem_p")) {
959 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizerItem_IsShown. Expected _wxSizerItem_p.");
960 return NULL;
961 }
962 }
963 {
964 PyThreadState* __tstate = wxPyBeginAllowThreads();
965 _result = (bool )wxSizerItem_IsShown(_arg0);
966
967 wxPyEndAllowThreads(__tstate);
968 if (PyErr_Occurred()) return NULL;
969 } _resultobj = Py_BuildValue("i",_result);
970 return _resultobj;
971 }
972
973 #define wxSizerItem_GetPosition(_swigobj) (_swigobj->GetPosition())
974 static PyObject *_wrap_wxSizerItem_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
975 PyObject * _resultobj;
976 wxPoint * _result;
977 wxSizerItem * _arg0;
978 PyObject * _argo0 = 0;
979 char *_kwnames[] = { "self", NULL };
980 char _ptemp[128];
981
982 self = self;
983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSizerItem_GetPosition",_kwnames,&_argo0))
984 return NULL;
985 if (_argo0) {
986 if (_argo0 == Py_None) { _arg0 = NULL; }
987 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizerItem_p")) {
988 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizerItem_GetPosition. Expected _wxSizerItem_p.");
989 return NULL;
990 }
991 }
992 {
993 PyThreadState* __tstate = wxPyBeginAllowThreads();
994 _result = new wxPoint (wxSizerItem_GetPosition(_arg0));
995
996 wxPyEndAllowThreads(__tstate);
997 if (PyErr_Occurred()) return NULL;
998 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
999 _resultobj = Py_BuildValue("s",_ptemp);
1000 return _resultobj;
1001 }
1002
1003 static PyObject * wxSizerItem_GetUserData(wxSizerItem *self) {
1004 wxPyUserData* data = (wxPyUserData*)self->GetUserData();
1005 if (data) {
1006 Py_INCREF(data->m_obj);
1007 return data->m_obj;
1008 } else {
1009 Py_INCREF(Py_None);
1010 return Py_None;
1011 }
1012 }
1013 static PyObject *_wrap_wxSizerItem_GetUserData(PyObject *self, PyObject *args, PyObject *kwargs) {
1014 PyObject * _resultobj;
1015 PyObject * _result;
1016 wxSizerItem * _arg0;
1017 PyObject * _argo0 = 0;
1018 char *_kwnames[] = { "self", NULL };
1019
1020 self = self;
1021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSizerItem_GetUserData",_kwnames,&_argo0))
1022 return NULL;
1023 if (_argo0) {
1024 if (_argo0 == Py_None) { _arg0 = NULL; }
1025 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizerItem_p")) {
1026 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizerItem_GetUserData. Expected _wxSizerItem_p.");
1027 return NULL;
1028 }
1029 }
1030 {
1031 PyThreadState* __tstate = wxPyBeginAllowThreads();
1032 _result = (PyObject *)wxSizerItem_GetUserData(_arg0);
1033
1034 wxPyEndAllowThreads(__tstate);
1035 if (PyErr_Occurred()) return NULL;
1036 }{
1037 _resultobj = _result;
1038 }
1039 return _resultobj;
1040 }
1041
1042 static void *SwigwxSizerTowxObject(void *ptr) {
1043 wxSizer *src;
1044 wxObject *dest;
1045 src = (wxSizer *) ptr;
1046 dest = (wxObject *) src;
1047 return (void *) dest;
1048 }
1049
1050 static void wxSizer__setOORInfo(wxSizer *self,PyObject * _self) {
1051 self->SetClientObject(new wxPyOORClientData(_self));
1052 }
1053 static PyObject *_wrap_wxSizer__setOORInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
1054 PyObject * _resultobj;
1055 wxSizer * _arg0;
1056 PyObject * _arg1;
1057 PyObject * _argo0 = 0;
1058 PyObject * _obj1 = 0;
1059 char *_kwnames[] = { "self","_self", NULL };
1060
1061 self = self;
1062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxSizer__setOORInfo",_kwnames,&_argo0,&_obj1))
1063 return NULL;
1064 if (_argo0) {
1065 if (_argo0 == Py_None) { _arg0 = NULL; }
1066 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizer_p")) {
1067 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizer__setOORInfo. Expected _wxSizer_p.");
1068 return NULL;
1069 }
1070 }
1071 {
1072 _arg1 = _obj1;
1073 }
1074 {
1075 PyThreadState* __tstate = wxPyBeginAllowThreads();
1076 wxSizer__setOORInfo(_arg0,_arg1);
1077
1078 wxPyEndAllowThreads(__tstate);
1079 if (PyErr_Occurred()) return NULL;
1080 } Py_INCREF(Py_None);
1081 _resultobj = Py_None;
1082 return _resultobj;
1083 }
1084
1085 static void wxSizer_Destroy(wxSizer *self) { delete self; }
1086 static PyObject *_wrap_wxSizer_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
1087 PyObject * _resultobj;
1088 wxSizer * _arg0;
1089 PyObject * _argo0 = 0;
1090 char *_kwnames[] = { "self", NULL };
1091
1092 self = self;
1093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSizer_Destroy",_kwnames,&_argo0))
1094 return NULL;
1095 if (_argo0) {
1096 if (_argo0 == Py_None) { _arg0 = NULL; }
1097 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizer_p")) {
1098 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizer_Destroy. Expected _wxSizer_p.");
1099 return NULL;
1100 }
1101 }
1102 {
1103 PyThreadState* __tstate = wxPyBeginAllowThreads();
1104 wxSizer_Destroy(_arg0);
1105
1106 wxPyEndAllowThreads(__tstate);
1107 if (PyErr_Occurred()) return NULL;
1108 } Py_INCREF(Py_None);
1109 _resultobj = Py_None;
1110 return _resultobj;
1111 }
1112
1113 static void wxSizer_AddWindow(wxSizer *self,wxWindow * window,int proportion,int flag,int border,PyObject * userData) {
1114 wxPyUserData* data = NULL;
1115 if (userData) data = new wxPyUserData(userData);
1116 self->Add(window, proportion, flag, border, data);
1117 }
1118 static PyObject *_wrap_wxSizer_AddWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
1119 PyObject * _resultobj;
1120 wxSizer * _arg0;
1121 wxWindow * _arg1;
1122 int _arg2 = (int ) 0;
1123 int _arg3 = (int ) 0;
1124 int _arg4 = (int ) 0;
1125 PyObject * _arg5 = (PyObject *) NULL;
1126 PyObject * _argo0 = 0;
1127 PyObject * _argo1 = 0;
1128 PyObject * _obj5 = 0;
1129 char *_kwnames[] = { "self","window","proportion","flag","border","userData", NULL };
1130
1131 self = self;
1132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|iiiO:wxSizer_AddWindow",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_obj5))
1133 return NULL;
1134 if (_argo0) {
1135 if (_argo0 == Py_None) { _arg0 = NULL; }
1136 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizer_p")) {
1137 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizer_AddWindow. Expected _wxSizer_p.");
1138 return NULL;
1139 }
1140 }
1141 if (_argo1) {
1142 if (_argo1 == Py_None) { _arg1 = NULL; }
1143 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
1144 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxSizer_AddWindow. Expected _wxWindow_p.");
1145 return NULL;
1146 }
1147 }
1148 if (_obj5)
1149 {
1150 _arg5 = _obj5;
1151 }
1152 {
1153 PyThreadState* __tstate = wxPyBeginAllowThreads();
1154 wxSizer_AddWindow(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
1155
1156 wxPyEndAllowThreads(__tstate);
1157 if (PyErr_Occurred()) return NULL;
1158 } Py_INCREF(Py_None);
1159 _resultobj = Py_None;
1160 return _resultobj;
1161 }
1162
1163 static void wxSizer_AddSizer(wxSizer *self,wxSizer * sizer,int proportion,int flag,int border,PyObject * userData) {
1164 wxPyUserData* data = NULL;
1165 if (userData) data = new wxPyUserData(userData);
1166 self->Add(sizer, proportion, flag, border, data);
1167 }
1168 static PyObject *_wrap_wxSizer_AddSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
1169 PyObject * _resultobj;
1170 wxSizer * _arg0;
1171 wxSizer * _arg1;
1172 int _arg2 = (int ) 0;
1173 int _arg3 = (int ) 0;
1174 int _arg4 = (int ) 0;
1175 PyObject * _arg5 = (PyObject *) NULL;
1176 PyObject * _argo0 = 0;
1177 PyObject * _argo1 = 0;
1178 PyObject * _obj5 = 0;
1179 char *_kwnames[] = { "self","sizer","proportion","flag","border","userData", NULL };
1180
1181 self = self;
1182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|iiiO:wxSizer_AddSizer",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_obj5))
1183 return NULL;
1184 if (_argo0) {
1185 if (_argo0 == Py_None) { _arg0 = NULL; }
1186 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizer_p")) {
1187 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizer_AddSizer. Expected _wxSizer_p.");
1188 return NULL;
1189 }
1190 }
1191 if (_argo1) {
1192 if (_argo1 == Py_None) { _arg1 = NULL; }
1193 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxSizer_p")) {
1194 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxSizer_AddSizer. Expected _wxSizer_p.");
1195 return NULL;
1196 }
1197 }
1198 if (_obj5)
1199 {
1200 _arg5 = _obj5;
1201 }
1202 {
1203 PyThreadState* __tstate = wxPyBeginAllowThreads();
1204 wxSizer_AddSizer(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
1205
1206 wxPyEndAllowThreads(__tstate);
1207 if (PyErr_Occurred()) return NULL;
1208 } Py_INCREF(Py_None);
1209 _resultobj = Py_None;
1210 return _resultobj;
1211 }
1212
1213 static void wxSizer_AddSpacer(wxSizer *self,int width,int height,int proportion,int flag,int border,PyObject * userData) {
1214 wxPyUserData* data = NULL;
1215 if (userData) data = new wxPyUserData(userData);
1216 self->Add(width, height, proportion, flag, border, data);
1217 }
1218 static PyObject *_wrap_wxSizer_AddSpacer(PyObject *self, PyObject *args, PyObject *kwargs) {
1219 PyObject * _resultobj;
1220 wxSizer * _arg0;
1221 int _arg1;
1222 int _arg2;
1223 int _arg3 = (int ) 0;
1224 int _arg4 = (int ) 0;
1225 int _arg5 = (int ) 0;
1226 PyObject * _arg6 = (PyObject *) NULL;
1227 PyObject * _argo0 = 0;
1228 PyObject * _obj6 = 0;
1229 char *_kwnames[] = { "self","width","height","proportion","flag","border","userData", NULL };
1230
1231 self = self;
1232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii|iiiO:wxSizer_AddSpacer",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4,&_arg5,&_obj6))
1233 return NULL;
1234 if (_argo0) {
1235 if (_argo0 == Py_None) { _arg0 = NULL; }
1236 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizer_p")) {
1237 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizer_AddSpacer. Expected _wxSizer_p.");
1238 return NULL;
1239 }
1240 }
1241 if (_obj6)
1242 {
1243 _arg6 = _obj6;
1244 }
1245 {
1246 PyThreadState* __tstate = wxPyBeginAllowThreads();
1247 wxSizer_AddSpacer(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
1248
1249 wxPyEndAllowThreads(__tstate);
1250 if (PyErr_Occurred()) return NULL;
1251 } Py_INCREF(Py_None);
1252 _resultobj = Py_None;
1253 return _resultobj;
1254 }
1255
1256 static void wxSizer_InsertWindow(wxSizer *self,int before,wxWindow * window,int proportion,int flag,int border,PyObject * userData) {
1257 wxPyUserData* data = NULL;
1258 if (userData) data = new wxPyUserData(userData);
1259 self->Insert(before, window, proportion, flag, border, data);
1260 }
1261 static PyObject *_wrap_wxSizer_InsertWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
1262 PyObject * _resultobj;
1263 wxSizer * _arg0;
1264 int _arg1;
1265 wxWindow * _arg2;
1266 int _arg3 = (int ) 0;
1267 int _arg4 = (int ) 0;
1268 int _arg5 = (int ) 0;
1269 PyObject * _arg6 = (PyObject *) NULL;
1270 PyObject * _argo0 = 0;
1271 PyObject * _argo2 = 0;
1272 PyObject * _obj6 = 0;
1273 char *_kwnames[] = { "self","before","window","proportion","flag","border","userData", NULL };
1274
1275 self = self;
1276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|iiiO:wxSizer_InsertWindow",_kwnames,&_argo0,&_arg1,&_argo2,&_arg3,&_arg4,&_arg5,&_obj6))
1277 return NULL;
1278 if (_argo0) {
1279 if (_argo0 == Py_None) { _arg0 = NULL; }
1280 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizer_p")) {
1281 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizer_InsertWindow. Expected _wxSizer_p.");
1282 return NULL;
1283 }
1284 }
1285 if (_argo2) {
1286 if (_argo2 == Py_None) { _arg2 = NULL; }
1287 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxWindow_p")) {
1288 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxSizer_InsertWindow. Expected _wxWindow_p.");
1289 return NULL;
1290 }
1291 }
1292 if (_obj6)
1293 {
1294 _arg6 = _obj6;
1295 }
1296 {
1297 PyThreadState* __tstate = wxPyBeginAllowThreads();
1298 wxSizer_InsertWindow(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
1299
1300 wxPyEndAllowThreads(__tstate);
1301 if (PyErr_Occurred()) return NULL;
1302 } Py_INCREF(Py_None);
1303 _resultobj = Py_None;
1304 return _resultobj;
1305 }
1306
1307 static void wxSizer_InsertSizer(wxSizer *self,int before,wxSizer * sizer,int proportion,int flag,int border,PyObject * userData) {
1308 wxPyUserData* data = NULL;
1309 if (userData) data = new wxPyUserData(userData);
1310 self->Insert(before, sizer, proportion, flag, border, data);
1311 }
1312 static PyObject *_wrap_wxSizer_InsertSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
1313 PyObject * _resultobj;
1314 wxSizer * _arg0;
1315 int _arg1;
1316 wxSizer * _arg2;
1317 int _arg3 = (int ) 0;
1318 int _arg4 = (int ) 0;
1319 int _arg5 = (int ) 0;
1320 PyObject * _arg6 = (PyObject *) NULL;
1321 PyObject * _argo0 = 0;
1322 PyObject * _argo2 = 0;
1323 PyObject * _obj6 = 0;
1324 char *_kwnames[] = { "self","before","sizer","proportion","flag","border","userData", NULL };
1325
1326 self = self;
1327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|iiiO:wxSizer_InsertSizer",_kwnames,&_argo0,&_arg1,&_argo2,&_arg3,&_arg4,&_arg5,&_obj6))
1328 return NULL;
1329 if (_argo0) {
1330 if (_argo0 == Py_None) { _arg0 = NULL; }
1331 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizer_p")) {
1332 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizer_InsertSizer. Expected _wxSizer_p.");
1333 return NULL;
1334 }
1335 }
1336 if (_argo2) {
1337 if (_argo2 == Py_None) { _arg2 = NULL; }
1338 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxSizer_p")) {
1339 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxSizer_InsertSizer. Expected _wxSizer_p.");
1340 return NULL;
1341 }
1342 }
1343 if (_obj6)
1344 {
1345 _arg6 = _obj6;
1346 }
1347 {
1348 PyThreadState* __tstate = wxPyBeginAllowThreads();
1349 wxSizer_InsertSizer(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
1350
1351 wxPyEndAllowThreads(__tstate);
1352 if (PyErr_Occurred()) return NULL;
1353 } Py_INCREF(Py_None);
1354 _resultobj = Py_None;
1355 return _resultobj;
1356 }
1357
1358 static void wxSizer_InsertSpacer(wxSizer *self,int before,int width,int height,int proportion,int flag,int border,PyObject * userData) {
1359 wxPyUserData* data = NULL;
1360 if (userData) data = new wxPyUserData(userData);
1361 self->Insert(before, width, height, proportion, flag, border, data);
1362 }
1363 static PyObject *_wrap_wxSizer_InsertSpacer(PyObject *self, PyObject *args, PyObject *kwargs) {
1364 PyObject * _resultobj;
1365 wxSizer * _arg0;
1366 int _arg1;
1367 int _arg2;
1368 int _arg3;
1369 int _arg4 = (int ) 0;
1370 int _arg5 = (int ) 0;
1371 int _arg6 = (int ) 0;
1372 PyObject * _arg7 = (PyObject *) NULL;
1373 PyObject * _argo0 = 0;
1374 PyObject * _obj7 = 0;
1375 char *_kwnames[] = { "self","before","width","height","proportion","flag","border","userData", NULL };
1376
1377 self = self;
1378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiii|iiiO:wxSizer_InsertSpacer",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4,&_arg5,&_arg6,&_obj7))
1379 return NULL;
1380 if (_argo0) {
1381 if (_argo0 == Py_None) { _arg0 = NULL; }
1382 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizer_p")) {
1383 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizer_InsertSpacer. Expected _wxSizer_p.");
1384 return NULL;
1385 }
1386 }
1387 if (_obj7)
1388 {
1389 _arg7 = _obj7;
1390 }
1391 {
1392 PyThreadState* __tstate = wxPyBeginAllowThreads();
1393 wxSizer_InsertSpacer(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7);
1394
1395 wxPyEndAllowThreads(__tstate);
1396 if (PyErr_Occurred()) return NULL;
1397 } Py_INCREF(Py_None);
1398 _resultobj = Py_None;
1399 return _resultobj;
1400 }
1401
1402 static void wxSizer_PrependWindow(wxSizer *self,wxWindow * window,int proportion,int flag,int border,PyObject * userData) {
1403 wxPyUserData* data = NULL;
1404 if (userData) data = new wxPyUserData(userData);
1405 self->Prepend(window, proportion, flag, border, data);
1406 }
1407 static PyObject *_wrap_wxSizer_PrependWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
1408 PyObject * _resultobj;
1409 wxSizer * _arg0;
1410 wxWindow * _arg1;
1411 int _arg2 = (int ) 0;
1412 int _arg3 = (int ) 0;
1413 int _arg4 = (int ) 0;
1414 PyObject * _arg5 = (PyObject *) NULL;
1415 PyObject * _argo0 = 0;
1416 PyObject * _argo1 = 0;
1417 PyObject * _obj5 = 0;
1418 char *_kwnames[] = { "self","window","proportion","flag","border","userData", NULL };
1419
1420 self = self;
1421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|iiiO:wxSizer_PrependWindow",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_obj5))
1422 return NULL;
1423 if (_argo0) {
1424 if (_argo0 == Py_None) { _arg0 = NULL; }
1425 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizer_p")) {
1426 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizer_PrependWindow. Expected _wxSizer_p.");
1427 return NULL;
1428 }
1429 }
1430 if (_argo1) {
1431 if (_argo1 == Py_None) { _arg1 = NULL; }
1432 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
1433 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxSizer_PrependWindow. Expected _wxWindow_p.");
1434 return NULL;
1435 }
1436 }
1437 if (_obj5)
1438 {
1439 _arg5 = _obj5;
1440 }
1441 {
1442 PyThreadState* __tstate = wxPyBeginAllowThreads();
1443 wxSizer_PrependWindow(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
1444
1445 wxPyEndAllowThreads(__tstate);
1446 if (PyErr_Occurred()) return NULL;
1447 } Py_INCREF(Py_None);
1448 _resultobj = Py_None;
1449 return _resultobj;
1450 }
1451
1452 static void wxSizer_PrependSizer(wxSizer *self,wxSizer * sizer,int proportion,int flag,int border,PyObject * userData) {
1453 wxPyUserData* data = NULL;
1454 if (userData) data = new wxPyUserData(userData);
1455 self->Prepend(sizer, proportion, flag, border, data);
1456 }
1457 static PyObject *_wrap_wxSizer_PrependSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
1458 PyObject * _resultobj;
1459 wxSizer * _arg0;
1460 wxSizer * _arg1;
1461 int _arg2 = (int ) 0;
1462 int _arg3 = (int ) 0;
1463 int _arg4 = (int ) 0;
1464 PyObject * _arg5 = (PyObject *) NULL;
1465 PyObject * _argo0 = 0;
1466 PyObject * _argo1 = 0;
1467 PyObject * _obj5 = 0;
1468 char *_kwnames[] = { "self","sizer","proportion","flag","border","userData", NULL };
1469
1470 self = self;
1471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|iiiO:wxSizer_PrependSizer",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_obj5))
1472 return NULL;
1473 if (_argo0) {
1474 if (_argo0 == Py_None) { _arg0 = NULL; }
1475 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizer_p")) {
1476 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizer_PrependSizer. Expected _wxSizer_p.");
1477 return NULL;
1478 }
1479 }
1480 if (_argo1) {
1481 if (_argo1 == Py_None) { _arg1 = NULL; }
1482 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxSizer_p")) {
1483 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxSizer_PrependSizer. Expected _wxSizer_p.");
1484 return NULL;
1485 }
1486 }
1487 if (_obj5)
1488 {
1489 _arg5 = _obj5;
1490 }
1491 {
1492 PyThreadState* __tstate = wxPyBeginAllowThreads();
1493 wxSizer_PrependSizer(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
1494
1495 wxPyEndAllowThreads(__tstate);
1496 if (PyErr_Occurred()) return NULL;
1497 } Py_INCREF(Py_None);
1498 _resultobj = Py_None;
1499 return _resultobj;
1500 }
1501
1502 static void wxSizer_PrependSpacer(wxSizer *self,int width,int height,int proportion,int flag,int border,PyObject * userData) {
1503 wxPyUserData* data = NULL;
1504 if (userData) data = new wxPyUserData(userData);
1505 self->Prepend(width, height, proportion, flag, border, data);
1506 }
1507 static PyObject *_wrap_wxSizer_PrependSpacer(PyObject *self, PyObject *args, PyObject *kwargs) {
1508 PyObject * _resultobj;
1509 wxSizer * _arg0;
1510 int _arg1;
1511 int _arg2;
1512 int _arg3 = (int ) 0;
1513 int _arg4 = (int ) 0;
1514 int _arg5 = (int ) 0;
1515 PyObject * _arg6 = (PyObject *) NULL;
1516 PyObject * _argo0 = 0;
1517 PyObject * _obj6 = 0;
1518 char *_kwnames[] = { "self","width","height","proportion","flag","border","userData", NULL };
1519
1520 self = self;
1521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii|iiiO:wxSizer_PrependSpacer",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4,&_arg5,&_obj6))
1522 return NULL;
1523 if (_argo0) {
1524 if (_argo0 == Py_None) { _arg0 = NULL; }
1525 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizer_p")) {
1526 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizer_PrependSpacer. Expected _wxSizer_p.");
1527 return NULL;
1528 }
1529 }
1530 if (_obj6)
1531 {
1532 _arg6 = _obj6;
1533 }
1534 {
1535 PyThreadState* __tstate = wxPyBeginAllowThreads();
1536 wxSizer_PrependSpacer(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
1537
1538 wxPyEndAllowThreads(__tstate);
1539 if (PyErr_Occurred()) return NULL;
1540 } Py_INCREF(Py_None);
1541 _resultobj = Py_None;
1542 return _resultobj;
1543 }
1544
1545 #define wxSizer_RemoveWindow(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
1546 static PyObject *_wrap_wxSizer_RemoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
1547 PyObject * _resultobj;
1548 bool _result;
1549 wxSizer * _arg0;
1550 wxWindow * _arg1;
1551 PyObject * _argo0 = 0;
1552 PyObject * _argo1 = 0;
1553 char *_kwnames[] = { "self","window", NULL };
1554
1555 self = self;
1556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxSizer_RemoveWindow",_kwnames,&_argo0,&_argo1))
1557 return NULL;
1558 if (_argo0) {
1559 if (_argo0 == Py_None) { _arg0 = NULL; }
1560 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizer_p")) {
1561 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizer_RemoveWindow. Expected _wxSizer_p.");
1562 return NULL;
1563 }
1564 }
1565 if (_argo1) {
1566 if (_argo1 == Py_None) { _arg1 = NULL; }
1567 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
1568 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxSizer_RemoveWindow. Expected _wxWindow_p.");
1569 return NULL;
1570 }
1571 }
1572 {
1573 PyThreadState* __tstate = wxPyBeginAllowThreads();
1574 _result = (bool )wxSizer_RemoveWindow(_arg0,_arg1);
1575
1576 wxPyEndAllowThreads(__tstate);
1577 if (PyErr_Occurred()) return NULL;
1578 } _resultobj = Py_BuildValue("i",_result);
1579 return _resultobj;
1580 }
1581
1582 #define wxSizer_RemoveSizer(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
1583 static PyObject *_wrap_wxSizer_RemoveSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
1584 PyObject * _resultobj;
1585 bool _result;
1586 wxSizer * _arg0;
1587 wxSizer * _arg1;
1588 PyObject * _argo0 = 0;
1589 PyObject * _argo1 = 0;
1590 char *_kwnames[] = { "self","sizer", NULL };
1591
1592 self = self;
1593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxSizer_RemoveSizer",_kwnames,&_argo0,&_argo1))
1594 return NULL;
1595 if (_argo0) {
1596 if (_argo0 == Py_None) { _arg0 = NULL; }
1597 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizer_p")) {
1598 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizer_RemoveSizer. Expected _wxSizer_p.");
1599 return NULL;
1600 }
1601 }
1602 if (_argo1) {
1603 if (_argo1 == Py_None) { _arg1 = NULL; }
1604 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxSizer_p")) {
1605 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxSizer_RemoveSizer. Expected _wxSizer_p.");
1606 return NULL;
1607 }
1608 }
1609 {
1610 PyThreadState* __tstate = wxPyBeginAllowThreads();
1611 _result = (bool )wxSizer_RemoveSizer(_arg0,_arg1);
1612
1613 wxPyEndAllowThreads(__tstate);
1614 if (PyErr_Occurred()) return NULL;
1615 } _resultobj = Py_BuildValue("i",_result);
1616 return _resultobj;
1617 }
1618
1619 #define wxSizer_RemovePos(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
1620 static PyObject *_wrap_wxSizer_RemovePos(PyObject *self, PyObject *args, PyObject *kwargs) {
1621 PyObject * _resultobj;
1622 bool _result;
1623 wxSizer * _arg0;
1624 int _arg1;
1625 PyObject * _argo0 = 0;
1626 char *_kwnames[] = { "self","pos", NULL };
1627
1628 self = self;
1629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSizer_RemovePos",_kwnames,&_argo0,&_arg1))
1630 return NULL;
1631 if (_argo0) {
1632 if (_argo0 == Py_None) { _arg0 = NULL; }
1633 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizer_p")) {
1634 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizer_RemovePos. Expected _wxSizer_p.");
1635 return NULL;
1636 }
1637 }
1638 {
1639 PyThreadState* __tstate = wxPyBeginAllowThreads();
1640 _result = (bool )wxSizer_RemovePos(_arg0,_arg1);
1641
1642 wxPyEndAllowThreads(__tstate);
1643 if (PyErr_Occurred()) return NULL;
1644 } _resultobj = Py_BuildValue("i",_result);
1645 return _resultobj;
1646 }
1647
1648 #define wxSizer_DetachWindow(_swigobj,_swigarg0) (_swigobj->Detach(_swigarg0))
1649 static PyObject *_wrap_wxSizer_DetachWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
1650 PyObject * _resultobj;
1651 bool _result;
1652 wxSizer * _arg0;
1653 wxWindow * _arg1;
1654 PyObject * _argo0 = 0;
1655 PyObject * _argo1 = 0;
1656 char *_kwnames[] = { "self","window", NULL };
1657
1658 self = self;
1659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxSizer_DetachWindow",_kwnames,&_argo0,&_argo1))
1660 return NULL;
1661 if (_argo0) {
1662 if (_argo0 == Py_None) { _arg0 = NULL; }
1663 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizer_p")) {
1664 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizer_DetachWindow. Expected _wxSizer_p.");
1665 return NULL;
1666 }
1667 }
1668 if (_argo1) {
1669 if (_argo1 == Py_None) { _arg1 = NULL; }
1670 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
1671 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxSizer_DetachWindow. Expected _wxWindow_p.");
1672 return NULL;
1673 }
1674 }
1675 {
1676 PyThreadState* __tstate = wxPyBeginAllowThreads();
1677 _result = (bool )wxSizer_DetachWindow(_arg0,_arg1);
1678
1679 wxPyEndAllowThreads(__tstate);
1680 if (PyErr_Occurred()) return NULL;
1681 } _resultobj = Py_BuildValue("i",_result);
1682 return _resultobj;
1683 }
1684
1685 #define wxSizer_DetachSizer(_swigobj,_swigarg0) (_swigobj->Detach(_swigarg0))
1686 static PyObject *_wrap_wxSizer_DetachSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
1687 PyObject * _resultobj;
1688 bool _result;
1689 wxSizer * _arg0;
1690 wxSizer * _arg1;
1691 PyObject * _argo0 = 0;
1692 PyObject * _argo1 = 0;
1693 char *_kwnames[] = { "self","sizer", NULL };
1694
1695 self = self;
1696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxSizer_DetachSizer",_kwnames,&_argo0,&_argo1))
1697 return NULL;
1698 if (_argo0) {
1699 if (_argo0 == Py_None) { _arg0 = NULL; }
1700 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizer_p")) {
1701 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizer_DetachSizer. Expected _wxSizer_p.");
1702 return NULL;
1703 }
1704 }
1705 if (_argo1) {
1706 if (_argo1 == Py_None) { _arg1 = NULL; }
1707 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxSizer_p")) {
1708 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxSizer_DetachSizer. Expected _wxSizer_p.");
1709 return NULL;
1710 }
1711 }
1712 {
1713 PyThreadState* __tstate = wxPyBeginAllowThreads();
1714 _result = (bool )wxSizer_DetachSizer(_arg0,_arg1);
1715
1716 wxPyEndAllowThreads(__tstate);
1717 if (PyErr_Occurred()) return NULL;
1718 } _resultobj = Py_BuildValue("i",_result);
1719 return _resultobj;
1720 }
1721
1722 #define wxSizer_DetachPos(_swigobj,_swigarg0) (_swigobj->Detach(_swigarg0))
1723 static PyObject *_wrap_wxSizer_DetachPos(PyObject *self, PyObject *args, PyObject *kwargs) {
1724 PyObject * _resultobj;
1725 bool _result;
1726 wxSizer * _arg0;
1727 int _arg1;
1728 PyObject * _argo0 = 0;
1729 char *_kwnames[] = { "self","pos", NULL };
1730
1731 self = self;
1732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSizer_DetachPos",_kwnames,&_argo0,&_arg1))
1733 return NULL;
1734 if (_argo0) {
1735 if (_argo0 == Py_None) { _arg0 = NULL; }
1736 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizer_p")) {
1737 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizer_DetachPos. Expected _wxSizer_p.");
1738 return NULL;
1739 }
1740 }
1741 {
1742 PyThreadState* __tstate = wxPyBeginAllowThreads();
1743 _result = (bool )wxSizer_DetachPos(_arg0,_arg1);
1744
1745 wxPyEndAllowThreads(__tstate);
1746 if (PyErr_Occurred()) return NULL;
1747 } _resultobj = Py_BuildValue("i",_result);
1748 return _resultobj;
1749 }
1750
1751 #define wxSizer_Clear(_swigobj,_swigarg0) (_swigobj->Clear(_swigarg0))
1752 static PyObject *_wrap_wxSizer_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
1753 PyObject * _resultobj;
1754 wxSizer * _arg0;
1755 bool _arg1 = (bool ) false;
1756 PyObject * _argo0 = 0;
1757 int tempbool1 = (int) false;
1758 char *_kwnames[] = { "self","delete_windows", NULL };
1759
1760 self = self;
1761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxSizer_Clear",_kwnames,&_argo0,&tempbool1))
1762 return NULL;
1763 if (_argo0) {
1764 if (_argo0 == Py_None) { _arg0 = NULL; }
1765 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizer_p")) {
1766 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizer_Clear. Expected _wxSizer_p.");
1767 return NULL;
1768 }
1769 }
1770 _arg1 = (bool ) tempbool1;
1771 {
1772 PyThreadState* __tstate = wxPyBeginAllowThreads();
1773 wxSizer_Clear(_arg0,_arg1);
1774
1775 wxPyEndAllowThreads(__tstate);
1776 if (PyErr_Occurred()) return NULL;
1777 } Py_INCREF(Py_None);
1778 _resultobj = Py_None;
1779 return _resultobj;
1780 }
1781
1782 #define wxSizer_DeleteWindows(_swigobj) (_swigobj->DeleteWindows())
1783 static PyObject *_wrap_wxSizer_DeleteWindows(PyObject *self, PyObject *args, PyObject *kwargs) {
1784 PyObject * _resultobj;
1785 wxSizer * _arg0;
1786 PyObject * _argo0 = 0;
1787 char *_kwnames[] = { "self", NULL };
1788
1789 self = self;
1790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSizer_DeleteWindows",_kwnames,&_argo0))
1791 return NULL;
1792 if (_argo0) {
1793 if (_argo0 == Py_None) { _arg0 = NULL; }
1794 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizer_p")) {
1795 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizer_DeleteWindows. Expected _wxSizer_p.");
1796 return NULL;
1797 }
1798 }
1799 {
1800 PyThreadState* __tstate = wxPyBeginAllowThreads();
1801 wxSizer_DeleteWindows(_arg0);
1802
1803 wxPyEndAllowThreads(__tstate);
1804 if (PyErr_Occurred()) return NULL;
1805 } Py_INCREF(Py_None);
1806 _resultobj = Py_None;
1807 return _resultobj;
1808 }
1809
1810 #define wxSizer_SetMinSize(_swigobj,_swigarg0) (_swigobj->SetMinSize(_swigarg0))
1811 static PyObject *_wrap_wxSizer_SetMinSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1812 PyObject * _resultobj;
1813 wxSizer * _arg0;
1814 wxSize * _arg1;
1815 PyObject * _argo0 = 0;
1816 wxSize temp;
1817 PyObject * _obj1 = 0;
1818 char *_kwnames[] = { "self","size", NULL };
1819
1820 self = self;
1821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxSizer_SetMinSize",_kwnames,&_argo0,&_obj1))
1822 return NULL;
1823 if (_argo0) {
1824 if (_argo0 == Py_None) { _arg0 = NULL; }
1825 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizer_p")) {
1826 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizer_SetMinSize. Expected _wxSizer_p.");
1827 return NULL;
1828 }
1829 }
1830 {
1831 _arg1 = &temp;
1832 if (! wxSize_helper(_obj1, &_arg1))
1833 return NULL;
1834 }
1835 {
1836 PyThreadState* __tstate = wxPyBeginAllowThreads();
1837 wxSizer_SetMinSize(_arg0,*_arg1);
1838
1839 wxPyEndAllowThreads(__tstate);
1840 if (PyErr_Occurred()) return NULL;
1841 } Py_INCREF(Py_None);
1842 _resultobj = Py_None;
1843 return _resultobj;
1844 }
1845
1846 #define wxSizer_SetItemMinSizeWindow(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemMinSize(_swigarg0,_swigarg1))
1847 static PyObject *_wrap_wxSizer_SetItemMinSizeWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
1848 PyObject * _resultobj;
1849 wxSizer * _arg0;
1850 wxWindow * _arg1;
1851 wxSize * _arg2;
1852 PyObject * _argo0 = 0;
1853 PyObject * _argo1 = 0;
1854 wxSize temp;
1855 PyObject * _obj2 = 0;
1856 char *_kwnames[] = { "self","window","size", NULL };
1857
1858 self = self;
1859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxSizer_SetItemMinSizeWindow",_kwnames,&_argo0,&_argo1,&_obj2))
1860 return NULL;
1861 if (_argo0) {
1862 if (_argo0 == Py_None) { _arg0 = NULL; }
1863 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizer_p")) {
1864 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizer_SetItemMinSizeWindow. Expected _wxSizer_p.");
1865 return NULL;
1866 }
1867 }
1868 if (_argo1) {
1869 if (_argo1 == Py_None) { _arg1 = NULL; }
1870 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
1871 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxSizer_SetItemMinSizeWindow. Expected _wxWindow_p.");
1872 return NULL;
1873 }
1874 }
1875 {
1876 _arg2 = &temp;
1877 if (! wxSize_helper(_obj2, &_arg2))
1878 return NULL;
1879 }
1880 {
1881 PyThreadState* __tstate = wxPyBeginAllowThreads();
1882 wxSizer_SetItemMinSizeWindow(_arg0,_arg1,*_arg2);
1883
1884 wxPyEndAllowThreads(__tstate);
1885 if (PyErr_Occurred()) return NULL;
1886 } Py_INCREF(Py_None);
1887 _resultobj = Py_None;
1888 return _resultobj;
1889 }
1890
1891 #define wxSizer_SetItemMinSizeSizer(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemMinSize(_swigarg0,_swigarg1))
1892 static PyObject *_wrap_wxSizer_SetItemMinSizeSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
1893 PyObject * _resultobj;
1894 wxSizer * _arg0;
1895 wxSizer * _arg1;
1896 wxSize * _arg2;
1897 PyObject * _argo0 = 0;
1898 PyObject * _argo1 = 0;
1899 wxSize temp;
1900 PyObject * _obj2 = 0;
1901 char *_kwnames[] = { "self","sizer","size", NULL };
1902
1903 self = self;
1904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxSizer_SetItemMinSizeSizer",_kwnames,&_argo0,&_argo1,&_obj2))
1905 return NULL;
1906 if (_argo0) {
1907 if (_argo0 == Py_None) { _arg0 = NULL; }
1908 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizer_p")) {
1909 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizer_SetItemMinSizeSizer. Expected _wxSizer_p.");
1910 return NULL;
1911 }
1912 }
1913 if (_argo1) {
1914 if (_argo1 == Py_None) { _arg1 = NULL; }
1915 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxSizer_p")) {
1916 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxSizer_SetItemMinSizeSizer. Expected _wxSizer_p.");
1917 return NULL;
1918 }
1919 }
1920 {
1921 _arg2 = &temp;
1922 if (! wxSize_helper(_obj2, &_arg2))
1923 return NULL;
1924 }
1925 {
1926 PyThreadState* __tstate = wxPyBeginAllowThreads();
1927 wxSizer_SetItemMinSizeSizer(_arg0,_arg1,*_arg2);
1928
1929 wxPyEndAllowThreads(__tstate);
1930 if (PyErr_Occurred()) return NULL;
1931 } Py_INCREF(Py_None);
1932 _resultobj = Py_None;
1933 return _resultobj;
1934 }
1935
1936 #define wxSizer_SetItemMinSizePos(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemMinSize(_swigarg0,_swigarg1))
1937 static PyObject *_wrap_wxSizer_SetItemMinSizePos(PyObject *self, PyObject *args, PyObject *kwargs) {
1938 PyObject * _resultobj;
1939 wxSizer * _arg0;
1940 int _arg1;
1941 wxSize * _arg2;
1942 PyObject * _argo0 = 0;
1943 wxSize temp;
1944 PyObject * _obj2 = 0;
1945 char *_kwnames[] = { "self","pos","size", NULL };
1946
1947 self = self;
1948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxSizer_SetItemMinSizePos",_kwnames,&_argo0,&_arg1,&_obj2))
1949 return NULL;
1950 if (_argo0) {
1951 if (_argo0 == Py_None) { _arg0 = NULL; }
1952 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizer_p")) {
1953 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizer_SetItemMinSizePos. Expected _wxSizer_p.");
1954 return NULL;
1955 }
1956 }
1957 {
1958 _arg2 = &temp;
1959 if (! wxSize_helper(_obj2, &_arg2))
1960 return NULL;
1961 }
1962 {
1963 PyThreadState* __tstate = wxPyBeginAllowThreads();
1964 wxSizer_SetItemMinSizePos(_arg0,_arg1,*_arg2);
1965
1966 wxPyEndAllowThreads(__tstate);
1967 if (PyErr_Occurred()) return NULL;
1968 } Py_INCREF(Py_None);
1969 _resultobj = Py_None;
1970 return _resultobj;
1971 }
1972
1973 #define wxSizer_SetItemMinSizeWindowWH(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemMinSize(_swigarg0,_swigarg1,_swigarg2))
1974 static PyObject *_wrap_wxSizer_SetItemMinSizeWindowWH(PyObject *self, PyObject *args, PyObject *kwargs) {
1975 PyObject * _resultobj;
1976 wxSizer * _arg0;
1977 wxWindow * _arg1;
1978 int _arg2;
1979 int _arg3;
1980 PyObject * _argo0 = 0;
1981 PyObject * _argo1 = 0;
1982 char *_kwnames[] = { "self","window","width","height", NULL };
1983
1984 self = self;
1985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOii:wxSizer_SetItemMinSizeWindowWH",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3))
1986 return NULL;
1987 if (_argo0) {
1988 if (_argo0 == Py_None) { _arg0 = NULL; }
1989 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizer_p")) {
1990 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizer_SetItemMinSizeWindowWH. Expected _wxSizer_p.");
1991 return NULL;
1992 }
1993 }
1994 if (_argo1) {
1995 if (_argo1 == Py_None) { _arg1 = NULL; }
1996 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
1997 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxSizer_SetItemMinSizeWindowWH. Expected _wxWindow_p.");
1998 return NULL;
1999 }
2000 }
2001 {
2002 PyThreadState* __tstate = wxPyBeginAllowThreads();
2003 wxSizer_SetItemMinSizeWindowWH(_arg0,_arg1,_arg2,_arg3);
2004
2005 wxPyEndAllowThreads(__tstate);
2006 if (PyErr_Occurred()) return NULL;
2007 } Py_INCREF(Py_None);
2008 _resultobj = Py_None;
2009 return _resultobj;
2010 }
2011
2012 #define wxSizer_SetItemMinSizeSizerWH(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemMinSize(_swigarg0,_swigarg1,_swigarg2))
2013 static PyObject *_wrap_wxSizer_SetItemMinSizeSizerWH(PyObject *self, PyObject *args, PyObject *kwargs) {
2014 PyObject * _resultobj;
2015 wxSizer * _arg0;
2016 wxSizer * _arg1;
2017 int _arg2;
2018 int _arg3;
2019 PyObject * _argo0 = 0;
2020 PyObject * _argo1 = 0;
2021 char *_kwnames[] = { "self","sizer","width","height", NULL };
2022
2023 self = self;
2024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOii:wxSizer_SetItemMinSizeSizerWH",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3))
2025 return NULL;
2026 if (_argo0) {
2027 if (_argo0 == Py_None) { _arg0 = NULL; }
2028 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizer_p")) {
2029 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizer_SetItemMinSizeSizerWH. Expected _wxSizer_p.");
2030 return NULL;
2031 }
2032 }
2033 if (_argo1) {
2034 if (_argo1 == Py_None) { _arg1 = NULL; }
2035 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxSizer_p")) {
2036 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxSizer_SetItemMinSizeSizerWH. Expected _wxSizer_p.");
2037 return NULL;
2038 }
2039 }
2040 {
2041 PyThreadState* __tstate = wxPyBeginAllowThreads();
2042 wxSizer_SetItemMinSizeSizerWH(_arg0,_arg1,_arg2,_arg3);
2043
2044 wxPyEndAllowThreads(__tstate);
2045 if (PyErr_Occurred()) return NULL;
2046 } Py_INCREF(Py_None);
2047 _resultobj = Py_None;
2048 return _resultobj;
2049 }
2050
2051 #define wxSizer_SetItemMinSizePosWH(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemMinSize(_swigarg0,_swigarg1,_swigarg2))
2052 static PyObject *_wrap_wxSizer_SetItemMinSizePosWH(PyObject *self, PyObject *args, PyObject *kwargs) {
2053 PyObject * _resultobj;
2054 wxSizer * _arg0;
2055 int _arg1;
2056 int _arg2;
2057 int _arg3;
2058 PyObject * _argo0 = 0;
2059 char *_kwnames[] = { "self","pos","width","height", NULL };
2060
2061 self = self;
2062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiii:wxSizer_SetItemMinSizePosWH",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
2063 return NULL;
2064 if (_argo0) {
2065 if (_argo0 == Py_None) { _arg0 = NULL; }
2066 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizer_p")) {
2067 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizer_SetItemMinSizePosWH. Expected _wxSizer_p.");
2068 return NULL;
2069 }
2070 }
2071 {
2072 PyThreadState* __tstate = wxPyBeginAllowThreads();
2073 wxSizer_SetItemMinSizePosWH(_arg0,_arg1,_arg2,_arg3);
2074
2075 wxPyEndAllowThreads(__tstate);
2076 if (PyErr_Occurred()) return NULL;
2077 } Py_INCREF(Py_None);
2078 _resultobj = Py_None;
2079 return _resultobj;
2080 }
2081
2082 #define wxSizer_GetSize(_swigobj) (_swigobj->GetSize())
2083 static PyObject *_wrap_wxSizer_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
2084 PyObject * _resultobj;
2085 wxSize * _result;
2086 wxSizer * _arg0;
2087 PyObject * _argo0 = 0;
2088 char *_kwnames[] = { "self", NULL };
2089 char _ptemp[128];
2090
2091 self = self;
2092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSizer_GetSize",_kwnames,&_argo0))
2093 return NULL;
2094 if (_argo0) {
2095 if (_argo0 == Py_None) { _arg0 = NULL; }
2096 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizer_p")) {
2097 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizer_GetSize. Expected _wxSizer_p.");
2098 return NULL;
2099 }
2100 }
2101 {
2102 PyThreadState* __tstate = wxPyBeginAllowThreads();
2103 _result = new wxSize (wxSizer_GetSize(_arg0));
2104
2105 wxPyEndAllowThreads(__tstate);
2106 if (PyErr_Occurred()) return NULL;
2107 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
2108 _resultobj = Py_BuildValue("s",_ptemp);
2109 return _resultobj;
2110 }
2111
2112 #define wxSizer_GetPosition(_swigobj) (_swigobj->GetPosition())
2113 static PyObject *_wrap_wxSizer_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
2114 PyObject * _resultobj;
2115 wxPoint * _result;
2116 wxSizer * _arg0;
2117 PyObject * _argo0 = 0;
2118 char *_kwnames[] = { "self", NULL };
2119 char _ptemp[128];
2120
2121 self = self;
2122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSizer_GetPosition",_kwnames,&_argo0))
2123 return NULL;
2124 if (_argo0) {
2125 if (_argo0 == Py_None) { _arg0 = NULL; }
2126 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizer_p")) {
2127 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizer_GetPosition. Expected _wxSizer_p.");
2128 return NULL;
2129 }
2130 }
2131 {
2132 PyThreadState* __tstate = wxPyBeginAllowThreads();
2133 _result = new wxPoint (wxSizer_GetPosition(_arg0));
2134
2135 wxPyEndAllowThreads(__tstate);
2136 if (PyErr_Occurred()) return NULL;
2137 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
2138 _resultobj = Py_BuildValue("s",_ptemp);
2139 return _resultobj;
2140 }
2141
2142 #define wxSizer_GetMinSize(_swigobj) (_swigobj->GetMinSize())
2143 static PyObject *_wrap_wxSizer_GetMinSize(PyObject *self, PyObject *args, PyObject *kwargs) {
2144 PyObject * _resultobj;
2145 wxSize * _result;
2146 wxSizer * _arg0;
2147 PyObject * _argo0 = 0;
2148 char *_kwnames[] = { "self", NULL };
2149 char _ptemp[128];
2150
2151 self = self;
2152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSizer_GetMinSize",_kwnames,&_argo0))
2153 return NULL;
2154 if (_argo0) {
2155 if (_argo0 == Py_None) { _arg0 = NULL; }
2156 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizer_p")) {
2157 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizer_GetMinSize. Expected _wxSizer_p.");
2158 return NULL;
2159 }
2160 }
2161 {
2162 PyThreadState* __tstate = wxPyBeginAllowThreads();
2163 _result = new wxSize (wxSizer_GetMinSize(_arg0));
2164
2165 wxPyEndAllowThreads(__tstate);
2166 if (PyErr_Occurred()) return NULL;
2167 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
2168 _resultobj = Py_BuildValue("s",_ptemp);
2169 return _resultobj;
2170 }
2171
2172 #define wxSizer_Layout(_swigobj) (_swigobj->Layout())
2173 static PyObject *_wrap_wxSizer_Layout(PyObject *self, PyObject *args, PyObject *kwargs) {
2174 PyObject * _resultobj;
2175 wxSizer * _arg0;
2176 PyObject * _argo0 = 0;
2177 char *_kwnames[] = { "self", NULL };
2178
2179 self = self;
2180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSizer_Layout",_kwnames,&_argo0))
2181 return NULL;
2182 if (_argo0) {
2183 if (_argo0 == Py_None) { _arg0 = NULL; }
2184 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizer_p")) {
2185 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizer_Layout. Expected _wxSizer_p.");
2186 return NULL;
2187 }
2188 }
2189 {
2190 PyThreadState* __tstate = wxPyBeginAllowThreads();
2191 wxSizer_Layout(_arg0);
2192
2193 wxPyEndAllowThreads(__tstate);
2194 if (PyErr_Occurred()) return NULL;
2195 } Py_INCREF(Py_None);
2196 _resultobj = Py_None;
2197 return _resultobj;
2198 }
2199
2200 #define wxSizer_Fit(_swigobj,_swigarg0) (_swigobj->Fit(_swigarg0))
2201 static PyObject *_wrap_wxSizer_Fit(PyObject *self, PyObject *args, PyObject *kwargs) {
2202 PyObject * _resultobj;
2203 wxSize * _result;
2204 wxSizer * _arg0;
2205 wxWindow * _arg1;
2206 PyObject * _argo0 = 0;
2207 PyObject * _argo1 = 0;
2208 char *_kwnames[] = { "self","window", NULL };
2209 char _ptemp[128];
2210
2211 self = self;
2212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxSizer_Fit",_kwnames,&_argo0,&_argo1))
2213 return NULL;
2214 if (_argo0) {
2215 if (_argo0 == Py_None) { _arg0 = NULL; }
2216 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizer_p")) {
2217 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizer_Fit. Expected _wxSizer_p.");
2218 return NULL;
2219 }
2220 }
2221 if (_argo1) {
2222 if (_argo1 == Py_None) { _arg1 = NULL; }
2223 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
2224 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxSizer_Fit. Expected _wxWindow_p.");
2225 return NULL;
2226 }
2227 }
2228 {
2229 PyThreadState* __tstate = wxPyBeginAllowThreads();
2230 _result = new wxSize (wxSizer_Fit(_arg0,_arg1));
2231
2232 wxPyEndAllowThreads(__tstate);
2233 if (PyErr_Occurred()) return NULL;
2234 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
2235 _resultobj = Py_BuildValue("s",_ptemp);
2236 return _resultobj;
2237 }
2238
2239 #define wxSizer_FitInside(_swigobj,_swigarg0) (_swigobj->FitInside(_swigarg0))
2240 static PyObject *_wrap_wxSizer_FitInside(PyObject *self, PyObject *args, PyObject *kwargs) {
2241 PyObject * _resultobj;
2242 wxSizer * _arg0;
2243 wxWindow * _arg1;
2244 PyObject * _argo0 = 0;
2245 PyObject * _argo1 = 0;
2246 char *_kwnames[] = { "self","window", NULL };
2247
2248 self = self;
2249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxSizer_FitInside",_kwnames,&_argo0,&_argo1))
2250 return NULL;
2251 if (_argo0) {
2252 if (_argo0 == Py_None) { _arg0 = NULL; }
2253 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizer_p")) {
2254 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizer_FitInside. Expected _wxSizer_p.");
2255 return NULL;
2256 }
2257 }
2258 if (_argo1) {
2259 if (_argo1 == Py_None) { _arg1 = NULL; }
2260 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
2261 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxSizer_FitInside. Expected _wxWindow_p.");
2262 return NULL;
2263 }
2264 }
2265 {
2266 PyThreadState* __tstate = wxPyBeginAllowThreads();
2267 wxSizer_FitInside(_arg0,_arg1);
2268
2269 wxPyEndAllowThreads(__tstate);
2270 if (PyErr_Occurred()) return NULL;
2271 } Py_INCREF(Py_None);
2272 _resultobj = Py_None;
2273 return _resultobj;
2274 }
2275
2276 #define wxSizer_SetSizeHints(_swigobj,_swigarg0) (_swigobj->SetSizeHints(_swigarg0))
2277 static PyObject *_wrap_wxSizer_SetSizeHints(PyObject *self, PyObject *args, PyObject *kwargs) {
2278 PyObject * _resultobj;
2279 wxSizer * _arg0;
2280 wxWindow * _arg1;
2281 PyObject * _argo0 = 0;
2282 PyObject * _argo1 = 0;
2283 char *_kwnames[] = { "self","window", NULL };
2284
2285 self = self;
2286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxSizer_SetSizeHints",_kwnames,&_argo0,&_argo1))
2287 return NULL;
2288 if (_argo0) {
2289 if (_argo0 == Py_None) { _arg0 = NULL; }
2290 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizer_p")) {
2291 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizer_SetSizeHints. Expected _wxSizer_p.");
2292 return NULL;
2293 }
2294 }
2295 if (_argo1) {
2296 if (_argo1 == Py_None) { _arg1 = NULL; }
2297 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
2298 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxSizer_SetSizeHints. Expected _wxWindow_p.");
2299 return NULL;
2300 }
2301 }
2302 {
2303 PyThreadState* __tstate = wxPyBeginAllowThreads();
2304 wxSizer_SetSizeHints(_arg0,_arg1);
2305
2306 wxPyEndAllowThreads(__tstate);
2307 if (PyErr_Occurred()) return NULL;
2308 } Py_INCREF(Py_None);
2309 _resultobj = Py_None;
2310 return _resultobj;
2311 }
2312
2313 #define wxSizer_SetVirtualSizeHints(_swigobj,_swigarg0) (_swigobj->SetVirtualSizeHints(_swigarg0))
2314 static PyObject *_wrap_wxSizer_SetVirtualSizeHints(PyObject *self, PyObject *args, PyObject *kwargs) {
2315 PyObject * _resultobj;
2316 wxSizer * _arg0;
2317 wxWindow * _arg1;
2318 PyObject * _argo0 = 0;
2319 PyObject * _argo1 = 0;
2320 char *_kwnames[] = { "self","window", NULL };
2321
2322 self = self;
2323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxSizer_SetVirtualSizeHints",_kwnames,&_argo0,&_argo1))
2324 return NULL;
2325 if (_argo0) {
2326 if (_argo0 == Py_None) { _arg0 = NULL; }
2327 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizer_p")) {
2328 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizer_SetVirtualSizeHints. Expected _wxSizer_p.");
2329 return NULL;
2330 }
2331 }
2332 if (_argo1) {
2333 if (_argo1 == Py_None) { _arg1 = NULL; }
2334 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
2335 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxSizer_SetVirtualSizeHints. Expected _wxWindow_p.");
2336 return NULL;
2337 }
2338 }
2339 {
2340 PyThreadState* __tstate = wxPyBeginAllowThreads();
2341 wxSizer_SetVirtualSizeHints(_arg0,_arg1);
2342
2343 wxPyEndAllowThreads(__tstate);
2344 if (PyErr_Occurred()) return NULL;
2345 } Py_INCREF(Py_None);
2346 _resultobj = Py_None;
2347 return _resultobj;
2348 }
2349
2350 static PyObject * wxSizer_GetChildren(wxSizer *self) {
2351 wxSizerItemList& list = self->GetChildren();
2352 return wxPy_ConvertList(&list, "wxSizerItem");
2353 }
2354 static PyObject *_wrap_wxSizer_GetChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
2355 PyObject * _resultobj;
2356 PyObject * _result;
2357 wxSizer * _arg0;
2358 PyObject * _argo0 = 0;
2359 char *_kwnames[] = { "self", NULL };
2360
2361 self = self;
2362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSizer_GetChildren",_kwnames,&_argo0))
2363 return NULL;
2364 if (_argo0) {
2365 if (_argo0 == Py_None) { _arg0 = NULL; }
2366 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizer_p")) {
2367 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizer_GetChildren. Expected _wxSizer_p.");
2368 return NULL;
2369 }
2370 }
2371 {
2372 PyThreadState* __tstate = wxPyBeginAllowThreads();
2373 _result = (PyObject *)wxSizer_GetChildren(_arg0);
2374
2375 wxPyEndAllowThreads(__tstate);
2376 if (PyErr_Occurred()) return NULL;
2377 }{
2378 _resultobj = _result;
2379 }
2380 return _resultobj;
2381 }
2382
2383 #define wxSizer_SetDimension(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetDimension(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2384 static PyObject *_wrap_wxSizer_SetDimension(PyObject *self, PyObject *args, PyObject *kwargs) {
2385 PyObject * _resultobj;
2386 wxSizer * _arg0;
2387 int _arg1;
2388 int _arg2;
2389 int _arg3;
2390 int _arg4;
2391 PyObject * _argo0 = 0;
2392 char *_kwnames[] = { "self","x","y","width","height", NULL };
2393
2394 self = self;
2395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiiii:wxSizer_SetDimension",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
2396 return NULL;
2397 if (_argo0) {
2398 if (_argo0 == Py_None) { _arg0 = NULL; }
2399 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizer_p")) {
2400 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizer_SetDimension. Expected _wxSizer_p.");
2401 return NULL;
2402 }
2403 }
2404 {
2405 PyThreadState* __tstate = wxPyBeginAllowThreads();
2406 wxSizer_SetDimension(_arg0,_arg1,_arg2,_arg3,_arg4);
2407
2408 wxPyEndAllowThreads(__tstate);
2409 if (PyErr_Occurred()) return NULL;
2410 } Py_INCREF(Py_None);
2411 _resultobj = Py_None;
2412 return _resultobj;
2413 }
2414
2415 #define wxSizer_ShowWindow(_swigobj,_swigarg0,_swigarg1) (_swigobj->Show(_swigarg0,_swigarg1))
2416 static PyObject *_wrap_wxSizer_ShowWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
2417 PyObject * _resultobj;
2418 wxSizer * _arg0;
2419 wxWindow * _arg1;
2420 bool _arg2 = (bool ) TRUE;
2421 PyObject * _argo0 = 0;
2422 PyObject * _argo1 = 0;
2423 int tempbool2 = (int) TRUE;
2424 char *_kwnames[] = { "self","window","show", NULL };
2425
2426 self = self;
2427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxSizer_ShowWindow",_kwnames,&_argo0,&_argo1,&tempbool2))
2428 return NULL;
2429 if (_argo0) {
2430 if (_argo0 == Py_None) { _arg0 = NULL; }
2431 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizer_p")) {
2432 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizer_ShowWindow. Expected _wxSizer_p.");
2433 return NULL;
2434 }
2435 }
2436 if (_argo1) {
2437 if (_argo1 == Py_None) { _arg1 = NULL; }
2438 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
2439 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxSizer_ShowWindow. Expected _wxWindow_p.");
2440 return NULL;
2441 }
2442 }
2443 _arg2 = (bool ) tempbool2;
2444 {
2445 PyThreadState* __tstate = wxPyBeginAllowThreads();
2446 wxSizer_ShowWindow(_arg0,_arg1,_arg2);
2447
2448 wxPyEndAllowThreads(__tstate);
2449 if (PyErr_Occurred()) return NULL;
2450 } Py_INCREF(Py_None);
2451 _resultobj = Py_None;
2452 return _resultobj;
2453 }
2454
2455 #define wxSizer_ShowSizer(_swigobj,_swigarg0,_swigarg1) (_swigobj->Show(_swigarg0,_swigarg1))
2456 static PyObject *_wrap_wxSizer_ShowSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
2457 PyObject * _resultobj;
2458 wxSizer * _arg0;
2459 wxSizer * _arg1;
2460 bool _arg2 = (bool ) TRUE;
2461 PyObject * _argo0 = 0;
2462 PyObject * _argo1 = 0;
2463 int tempbool2 = (int) TRUE;
2464 char *_kwnames[] = { "self","sizer","show", NULL };
2465
2466 self = self;
2467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxSizer_ShowSizer",_kwnames,&_argo0,&_argo1,&tempbool2))
2468 return NULL;
2469 if (_argo0) {
2470 if (_argo0 == Py_None) { _arg0 = NULL; }
2471 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizer_p")) {
2472 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizer_ShowSizer. Expected _wxSizer_p.");
2473 return NULL;
2474 }
2475 }
2476 if (_argo1) {
2477 if (_argo1 == Py_None) { _arg1 = NULL; }
2478 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxSizer_p")) {
2479 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxSizer_ShowSizer. Expected _wxSizer_p.");
2480 return NULL;
2481 }
2482 }
2483 _arg2 = (bool ) tempbool2;
2484 {
2485 PyThreadState* __tstate = wxPyBeginAllowThreads();
2486 wxSizer_ShowSizer(_arg0,_arg1,_arg2);
2487
2488 wxPyEndAllowThreads(__tstate);
2489 if (PyErr_Occurred()) return NULL;
2490 } Py_INCREF(Py_None);
2491 _resultobj = Py_None;
2492 return _resultobj;
2493 }
2494
2495 #define wxSizer_ShowPos(_swigobj,_swigarg0,_swigarg1) (_swigobj->Show(_swigarg0,_swigarg1))
2496 static PyObject *_wrap_wxSizer_ShowPos(PyObject *self, PyObject *args, PyObject *kwargs) {
2497 PyObject * _resultobj;
2498 wxSizer * _arg0;
2499 size_t _arg1;
2500 bool _arg2 = (bool ) TRUE;
2501 PyObject * _argo0 = 0;
2502 int tempbool2 = (int) TRUE;
2503 char *_kwnames[] = { "self","index","show", NULL };
2504
2505 self = self;
2506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|i:wxSizer_ShowPos",_kwnames,&_argo0,&_arg1,&tempbool2))
2507 return NULL;
2508 if (_argo0) {
2509 if (_argo0 == Py_None) { _arg0 = NULL; }
2510 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizer_p")) {
2511 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizer_ShowPos. Expected _wxSizer_p.");
2512 return NULL;
2513 }
2514 }
2515 _arg2 = (bool ) tempbool2;
2516 {
2517 PyThreadState* __tstate = wxPyBeginAllowThreads();
2518 wxSizer_ShowPos(_arg0,_arg1,_arg2);
2519
2520 wxPyEndAllowThreads(__tstate);
2521 if (PyErr_Occurred()) return NULL;
2522 } Py_INCREF(Py_None);
2523 _resultobj = Py_None;
2524 return _resultobj;
2525 }
2526
2527 #define wxSizer_HideWindow(_swigobj,_swigarg0) (_swigobj->Hide(_swigarg0))
2528 static PyObject *_wrap_wxSizer_HideWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
2529 PyObject * _resultobj;
2530 wxSizer * _arg0;
2531 wxWindow * _arg1;
2532 PyObject * _argo0 = 0;
2533 PyObject * _argo1 = 0;
2534 char *_kwnames[] = { "self","window", NULL };
2535
2536 self = self;
2537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxSizer_HideWindow",_kwnames,&_argo0,&_argo1))
2538 return NULL;
2539 if (_argo0) {
2540 if (_argo0 == Py_None) { _arg0 = NULL; }
2541 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizer_p")) {
2542 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizer_HideWindow. Expected _wxSizer_p.");
2543 return NULL;
2544 }
2545 }
2546 if (_argo1) {
2547 if (_argo1 == Py_None) { _arg1 = NULL; }
2548 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
2549 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxSizer_HideWindow. Expected _wxWindow_p.");
2550 return NULL;
2551 }
2552 }
2553 {
2554 PyThreadState* __tstate = wxPyBeginAllowThreads();
2555 wxSizer_HideWindow(_arg0,_arg1);
2556
2557 wxPyEndAllowThreads(__tstate);
2558 if (PyErr_Occurred()) return NULL;
2559 } Py_INCREF(Py_None);
2560 _resultobj = Py_None;
2561 return _resultobj;
2562 }
2563
2564 #define wxSizer_HideSizer(_swigobj,_swigarg0) (_swigobj->Hide(_swigarg0))
2565 static PyObject *_wrap_wxSizer_HideSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
2566 PyObject * _resultobj;
2567 wxSizer * _arg0;
2568 wxSizer * _arg1;
2569 PyObject * _argo0 = 0;
2570 PyObject * _argo1 = 0;
2571 char *_kwnames[] = { "self","sizer", NULL };
2572
2573 self = self;
2574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxSizer_HideSizer",_kwnames,&_argo0,&_argo1))
2575 return NULL;
2576 if (_argo0) {
2577 if (_argo0 == Py_None) { _arg0 = NULL; }
2578 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizer_p")) {
2579 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizer_HideSizer. Expected _wxSizer_p.");
2580 return NULL;
2581 }
2582 }
2583 if (_argo1) {
2584 if (_argo1 == Py_None) { _arg1 = NULL; }
2585 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxSizer_p")) {
2586 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxSizer_HideSizer. Expected _wxSizer_p.");
2587 return NULL;
2588 }
2589 }
2590 {
2591 PyThreadState* __tstate = wxPyBeginAllowThreads();
2592 wxSizer_HideSizer(_arg0,_arg1);
2593
2594 wxPyEndAllowThreads(__tstate);
2595 if (PyErr_Occurred()) return NULL;
2596 } Py_INCREF(Py_None);
2597 _resultobj = Py_None;
2598 return _resultobj;
2599 }
2600
2601 #define wxSizer_HidePos(_swigobj,_swigarg0) (_swigobj->Hide(_swigarg0))
2602 static PyObject *_wrap_wxSizer_HidePos(PyObject *self, PyObject *args, PyObject *kwargs) {
2603 PyObject * _resultobj;
2604 wxSizer * _arg0;
2605 size_t _arg1;
2606 PyObject * _argo0 = 0;
2607 char *_kwnames[] = { "self","index", NULL };
2608
2609 self = self;
2610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSizer_HidePos",_kwnames,&_argo0,&_arg1))
2611 return NULL;
2612 if (_argo0) {
2613 if (_argo0 == Py_None) { _arg0 = NULL; }
2614 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizer_p")) {
2615 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizer_HidePos. Expected _wxSizer_p.");
2616 return NULL;
2617 }
2618 }
2619 {
2620 PyThreadState* __tstate = wxPyBeginAllowThreads();
2621 wxSizer_HidePos(_arg0,_arg1);
2622
2623 wxPyEndAllowThreads(__tstate);
2624 if (PyErr_Occurred()) return NULL;
2625 } Py_INCREF(Py_None);
2626 _resultobj = Py_None;
2627 return _resultobj;
2628 }
2629
2630 #define wxSizer_IsShownWindow(_swigobj,_swigarg0) (_swigobj->IsShown(_swigarg0))
2631 static PyObject *_wrap_wxSizer_IsShownWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
2632 PyObject * _resultobj;
2633 bool _result;
2634 wxSizer * _arg0;
2635 wxWindow * _arg1;
2636 PyObject * _argo0 = 0;
2637 PyObject * _argo1 = 0;
2638 char *_kwnames[] = { "self","window", NULL };
2639
2640 self = self;
2641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxSizer_IsShownWindow",_kwnames,&_argo0,&_argo1))
2642 return NULL;
2643 if (_argo0) {
2644 if (_argo0 == Py_None) { _arg0 = NULL; }
2645 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizer_p")) {
2646 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizer_IsShownWindow. Expected _wxSizer_p.");
2647 return NULL;
2648 }
2649 }
2650 if (_argo1) {
2651 if (_argo1 == Py_None) { _arg1 = NULL; }
2652 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
2653 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxSizer_IsShownWindow. Expected _wxWindow_p.");
2654 return NULL;
2655 }
2656 }
2657 {
2658 PyThreadState* __tstate = wxPyBeginAllowThreads();
2659 _result = (bool )wxSizer_IsShownWindow(_arg0,_arg1);
2660
2661 wxPyEndAllowThreads(__tstate);
2662 if (PyErr_Occurred()) return NULL;
2663 } _resultobj = Py_BuildValue("i",_result);
2664 return _resultobj;
2665 }
2666
2667 #define wxSizer_IsShownSizer(_swigobj,_swigarg0) (_swigobj->IsShown(_swigarg0))
2668 static PyObject *_wrap_wxSizer_IsShownSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
2669 PyObject * _resultobj;
2670 bool _result;
2671 wxSizer * _arg0;
2672 wxSizer * _arg1;
2673 PyObject * _argo0 = 0;
2674 PyObject * _argo1 = 0;
2675 char *_kwnames[] = { "self","sizer", NULL };
2676
2677 self = self;
2678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxSizer_IsShownSizer",_kwnames,&_argo0,&_argo1))
2679 return NULL;
2680 if (_argo0) {
2681 if (_argo0 == Py_None) { _arg0 = NULL; }
2682 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizer_p")) {
2683 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizer_IsShownSizer. Expected _wxSizer_p.");
2684 return NULL;
2685 }
2686 }
2687 if (_argo1) {
2688 if (_argo1 == Py_None) { _arg1 = NULL; }
2689 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxSizer_p")) {
2690 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxSizer_IsShownSizer. Expected _wxSizer_p.");
2691 return NULL;
2692 }
2693 }
2694 {
2695 PyThreadState* __tstate = wxPyBeginAllowThreads();
2696 _result = (bool )wxSizer_IsShownSizer(_arg0,_arg1);
2697
2698 wxPyEndAllowThreads(__tstate);
2699 if (PyErr_Occurred()) return NULL;
2700 } _resultobj = Py_BuildValue("i",_result);
2701 return _resultobj;
2702 }
2703
2704 #define wxSizer_IsShownPos(_swigobj,_swigarg0) (_swigobj->IsShown(_swigarg0))
2705 static PyObject *_wrap_wxSizer_IsShownPos(PyObject *self, PyObject *args, PyObject *kwargs) {
2706 PyObject * _resultobj;
2707 bool _result;
2708 wxSizer * _arg0;
2709 size_t _arg1;
2710 PyObject * _argo0 = 0;
2711 char *_kwnames[] = { "self","index", NULL };
2712
2713 self = self;
2714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSizer_IsShownPos",_kwnames,&_argo0,&_arg1))
2715 return NULL;
2716 if (_argo0) {
2717 if (_argo0 == Py_None) { _arg0 = NULL; }
2718 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizer_p")) {
2719 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizer_IsShownPos. Expected _wxSizer_p.");
2720 return NULL;
2721 }
2722 }
2723 {
2724 PyThreadState* __tstate = wxPyBeginAllowThreads();
2725 _result = (bool )wxSizer_IsShownPos(_arg0,_arg1);
2726
2727 wxPyEndAllowThreads(__tstate);
2728 if (PyErr_Occurred()) return NULL;
2729 } _resultobj = Py_BuildValue("i",_result);
2730 return _resultobj;
2731 }
2732
2733 #define wxSizer_ShowItems(_swigobj,_swigarg0) (_swigobj->ShowItems(_swigarg0))
2734 static PyObject *_wrap_wxSizer_ShowItems(PyObject *self, PyObject *args, PyObject *kwargs) {
2735 PyObject * _resultobj;
2736 wxSizer * _arg0;
2737 bool _arg1;
2738 PyObject * _argo0 = 0;
2739 int tempbool1;
2740 char *_kwnames[] = { "self","show", NULL };
2741
2742 self = self;
2743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSizer_ShowItems",_kwnames,&_argo0,&tempbool1))
2744 return NULL;
2745 if (_argo0) {
2746 if (_argo0 == Py_None) { _arg0 = NULL; }
2747 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizer_p")) {
2748 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizer_ShowItems. Expected _wxSizer_p.");
2749 return NULL;
2750 }
2751 }
2752 _arg1 = (bool ) tempbool1;
2753 {
2754 PyThreadState* __tstate = wxPyBeginAllowThreads();
2755 wxSizer_ShowItems(_arg0,_arg1);
2756
2757 wxPyEndAllowThreads(__tstate);
2758 if (PyErr_Occurred()) return NULL;
2759 } Py_INCREF(Py_None);
2760 _resultobj = Py_None;
2761 return _resultobj;
2762 }
2763
2764 static void *SwigwxPySizerTowxSizer(void *ptr) {
2765 wxPySizer *src;
2766 wxSizer *dest;
2767 src = (wxPySizer *) ptr;
2768 dest = (wxSizer *) src;
2769 return (void *) dest;
2770 }
2771
2772 static void *SwigwxPySizerTowxObject(void *ptr) {
2773 wxPySizer *src;
2774 wxObject *dest;
2775 src = (wxPySizer *) ptr;
2776 dest = (wxObject *) src;
2777 return (void *) dest;
2778 }
2779
2780 #define new_wxPySizer() (new wxPySizer())
2781 static PyObject *_wrap_new_wxPySizer(PyObject *self, PyObject *args, PyObject *kwargs) {
2782 PyObject * _resultobj;
2783 wxPySizer * _result;
2784 char *_kwnames[] = { NULL };
2785 char _ptemp[128];
2786
2787 self = self;
2788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPySizer",_kwnames))
2789 return NULL;
2790 {
2791 PyThreadState* __tstate = wxPyBeginAllowThreads();
2792 _result = (wxPySizer *)new_wxPySizer();
2793
2794 wxPyEndAllowThreads(__tstate);
2795 if (PyErr_Occurred()) return NULL;
2796 } if (_result) {
2797 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPySizer_p");
2798 _resultobj = Py_BuildValue("s",_ptemp);
2799 } else {
2800 Py_INCREF(Py_None);
2801 _resultobj = Py_None;
2802 }
2803 return _resultobj;
2804 }
2805
2806 #define wxPySizer__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
2807 static PyObject *_wrap_wxPySizer__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
2808 PyObject * _resultobj;
2809 wxPySizer * _arg0;
2810 PyObject * _arg1;
2811 PyObject * _arg2;
2812 PyObject * _argo0 = 0;
2813 PyObject * _obj1 = 0;
2814 PyObject * _obj2 = 0;
2815 char *_kwnames[] = { "self","self","_class", NULL };
2816
2817 self = self;
2818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPySizer__setCallbackInfo",_kwnames,&_argo0,&_obj1,&_obj2))
2819 return NULL;
2820 if (_argo0) {
2821 if (_argo0 == Py_None) { _arg0 = NULL; }
2822 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPySizer_p")) {
2823 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPySizer__setCallbackInfo. Expected _wxPySizer_p.");
2824 return NULL;
2825 }
2826 }
2827 {
2828 _arg1 = _obj1;
2829 }
2830 {
2831 _arg2 = _obj2;
2832 }
2833 {
2834 PyThreadState* __tstate = wxPyBeginAllowThreads();
2835 wxPySizer__setCallbackInfo(_arg0,_arg1,_arg2);
2836
2837 wxPyEndAllowThreads(__tstate);
2838 if (PyErr_Occurred()) return NULL;
2839 } Py_INCREF(Py_None);
2840 _resultobj = Py_None;
2841 return _resultobj;
2842 }
2843
2844 static void *SwigwxBoxSizerTowxSizer(void *ptr) {
2845 wxBoxSizer *src;
2846 wxSizer *dest;
2847 src = (wxBoxSizer *) ptr;
2848 dest = (wxSizer *) src;
2849 return (void *) dest;
2850 }
2851
2852 static void *SwigwxBoxSizerTowxObject(void *ptr) {
2853 wxBoxSizer *src;
2854 wxObject *dest;
2855 src = (wxBoxSizer *) ptr;
2856 dest = (wxObject *) src;
2857 return (void *) dest;
2858 }
2859
2860 #define new_wxBoxSizer(_swigarg0) (new wxBoxSizer(_swigarg0))
2861 static PyObject *_wrap_new_wxBoxSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
2862 PyObject * _resultobj;
2863 wxBoxSizer * _result;
2864 int _arg0 = (int ) wxHORIZONTAL;
2865 char *_kwnames[] = { "orient", NULL };
2866 char _ptemp[128];
2867
2868 self = self;
2869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|i:new_wxBoxSizer",_kwnames,&_arg0))
2870 return NULL;
2871 {
2872 PyThreadState* __tstate = wxPyBeginAllowThreads();
2873 _result = (wxBoxSizer *)new_wxBoxSizer(_arg0);
2874
2875 wxPyEndAllowThreads(__tstate);
2876 if (PyErr_Occurred()) return NULL;
2877 } if (_result) {
2878 SWIG_MakePtr(_ptemp, (char *) _result,"_wxBoxSizer_p");
2879 _resultobj = Py_BuildValue("s",_ptemp);
2880 } else {
2881 Py_INCREF(Py_None);
2882 _resultobj = Py_None;
2883 }
2884 return _resultobj;
2885 }
2886
2887 #define wxBoxSizer_GetOrientation(_swigobj) (_swigobj->GetOrientation())
2888 static PyObject *_wrap_wxBoxSizer_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
2889 PyObject * _resultobj;
2890 int _result;
2891 wxBoxSizer * _arg0;
2892 PyObject * _argo0 = 0;
2893 char *_kwnames[] = { "self", NULL };
2894
2895 self = self;
2896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxBoxSizer_GetOrientation",_kwnames,&_argo0))
2897 return NULL;
2898 if (_argo0) {
2899 if (_argo0 == Py_None) { _arg0 = NULL; }
2900 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBoxSizer_p")) {
2901 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBoxSizer_GetOrientation. Expected _wxBoxSizer_p.");
2902 return NULL;
2903 }
2904 }
2905 {
2906 PyThreadState* __tstate = wxPyBeginAllowThreads();
2907 _result = (int )wxBoxSizer_GetOrientation(_arg0);
2908
2909 wxPyEndAllowThreads(__tstate);
2910 if (PyErr_Occurred()) return NULL;
2911 } _resultobj = Py_BuildValue("i",_result);
2912 return _resultobj;
2913 }
2914
2915 #define wxBoxSizer_SetOrientation(_swigobj,_swigarg0) (_swigobj->SetOrientation(_swigarg0))
2916 static PyObject *_wrap_wxBoxSizer_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
2917 PyObject * _resultobj;
2918 wxBoxSizer * _arg0;
2919 int _arg1;
2920 PyObject * _argo0 = 0;
2921 char *_kwnames[] = { "self","orient", NULL };
2922
2923 self = self;
2924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxBoxSizer_SetOrientation",_kwnames,&_argo0,&_arg1))
2925 return NULL;
2926 if (_argo0) {
2927 if (_argo0 == Py_None) { _arg0 = NULL; }
2928 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBoxSizer_p")) {
2929 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBoxSizer_SetOrientation. Expected _wxBoxSizer_p.");
2930 return NULL;
2931 }
2932 }
2933 {
2934 PyThreadState* __tstate = wxPyBeginAllowThreads();
2935 wxBoxSizer_SetOrientation(_arg0,_arg1);
2936
2937 wxPyEndAllowThreads(__tstate);
2938 if (PyErr_Occurred()) return NULL;
2939 } Py_INCREF(Py_None);
2940 _resultobj = Py_None;
2941 return _resultobj;
2942 }
2943
2944 #define wxBoxSizer_RecalcSizes(_swigobj) (_swigobj->RecalcSizes())
2945 static PyObject *_wrap_wxBoxSizer_RecalcSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
2946 PyObject * _resultobj;
2947 wxBoxSizer * _arg0;
2948 PyObject * _argo0 = 0;
2949 char *_kwnames[] = { "self", NULL };
2950
2951 self = self;
2952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxBoxSizer_RecalcSizes",_kwnames,&_argo0))
2953 return NULL;
2954 if (_argo0) {
2955 if (_argo0 == Py_None) { _arg0 = NULL; }
2956 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBoxSizer_p")) {
2957 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBoxSizer_RecalcSizes. Expected _wxBoxSizer_p.");
2958 return NULL;
2959 }
2960 }
2961 {
2962 PyThreadState* __tstate = wxPyBeginAllowThreads();
2963 wxBoxSizer_RecalcSizes(_arg0);
2964
2965 wxPyEndAllowThreads(__tstate);
2966 if (PyErr_Occurred()) return NULL;
2967 } Py_INCREF(Py_None);
2968 _resultobj = Py_None;
2969 return _resultobj;
2970 }
2971
2972 #define wxBoxSizer_CalcMin(_swigobj) (_swigobj->CalcMin())
2973 static PyObject *_wrap_wxBoxSizer_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
2974 PyObject * _resultobj;
2975 wxSize * _result;
2976 wxBoxSizer * _arg0;
2977 PyObject * _argo0 = 0;
2978 char *_kwnames[] = { "self", NULL };
2979 char _ptemp[128];
2980
2981 self = self;
2982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxBoxSizer_CalcMin",_kwnames,&_argo0))
2983 return NULL;
2984 if (_argo0) {
2985 if (_argo0 == Py_None) { _arg0 = NULL; }
2986 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBoxSizer_p")) {
2987 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBoxSizer_CalcMin. Expected _wxBoxSizer_p.");
2988 return NULL;
2989 }
2990 }
2991 {
2992 PyThreadState* __tstate = wxPyBeginAllowThreads();
2993 _result = new wxSize (wxBoxSizer_CalcMin(_arg0));
2994
2995 wxPyEndAllowThreads(__tstate);
2996 if (PyErr_Occurred()) return NULL;
2997 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
2998 _resultobj = Py_BuildValue("s",_ptemp);
2999 return _resultobj;
3000 }
3001
3002 static void *SwigwxStaticBoxSizerTowxBoxSizer(void *ptr) {
3003 wxStaticBoxSizer *src;
3004 wxBoxSizer *dest;
3005 src = (wxStaticBoxSizer *) ptr;
3006 dest = (wxBoxSizer *) src;
3007 return (void *) dest;
3008 }
3009
3010 static void *SwigwxStaticBoxSizerTowxSizer(void *ptr) {
3011 wxStaticBoxSizer *src;
3012 wxSizer *dest;
3013 src = (wxStaticBoxSizer *) ptr;
3014 dest = (wxSizer *) src;
3015 return (void *) dest;
3016 }
3017
3018 static void *SwigwxStaticBoxSizerTowxObject(void *ptr) {
3019 wxStaticBoxSizer *src;
3020 wxObject *dest;
3021 src = (wxStaticBoxSizer *) ptr;
3022 dest = (wxObject *) src;
3023 return (void *) dest;
3024 }
3025
3026 #define new_wxStaticBoxSizer(_swigarg0,_swigarg1) (new wxStaticBoxSizer(_swigarg0,_swigarg1))
3027 static PyObject *_wrap_new_wxStaticBoxSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
3028 PyObject * _resultobj;
3029 wxStaticBoxSizer * _result;
3030 wxStaticBox * _arg0;
3031 int _arg1 = (int ) wxHORIZONTAL;
3032 PyObject * _argo0 = 0;
3033 char *_kwnames[] = { "box","orient", NULL };
3034 char _ptemp[128];
3035
3036 self = self;
3037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:new_wxStaticBoxSizer",_kwnames,&_argo0,&_arg1))
3038 return NULL;
3039 if (_argo0) {
3040 if (_argo0 == Py_None) { _arg0 = NULL; }
3041 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStaticBox_p")) {
3042 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxStaticBoxSizer. Expected _wxStaticBox_p.");
3043 return NULL;
3044 }
3045 }
3046 {
3047 PyThreadState* __tstate = wxPyBeginAllowThreads();
3048 _result = (wxStaticBoxSizer *)new_wxStaticBoxSizer(_arg0,_arg1);
3049
3050 wxPyEndAllowThreads(__tstate);
3051 if (PyErr_Occurred()) return NULL;
3052 } if (_result) {
3053 SWIG_MakePtr(_ptemp, (char *) _result,"_wxStaticBoxSizer_p");
3054 _resultobj = Py_BuildValue("s",_ptemp);
3055 } else {
3056 Py_INCREF(Py_None);
3057 _resultobj = Py_None;
3058 }
3059 return _resultobj;
3060 }
3061
3062 #define wxStaticBoxSizer_GetStaticBox(_swigobj) (_swigobj->GetStaticBox())
3063 static PyObject *_wrap_wxStaticBoxSizer_GetStaticBox(PyObject *self, PyObject *args, PyObject *kwargs) {
3064 PyObject * _resultobj;
3065 wxStaticBox * _result;
3066 wxStaticBoxSizer * _arg0;
3067 PyObject * _argo0 = 0;
3068 char *_kwnames[] = { "self", NULL };
3069
3070 self = self;
3071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStaticBoxSizer_GetStaticBox",_kwnames,&_argo0))
3072 return NULL;
3073 if (_argo0) {
3074 if (_argo0 == Py_None) { _arg0 = NULL; }
3075 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStaticBoxSizer_p")) {
3076 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStaticBoxSizer_GetStaticBox. Expected _wxStaticBoxSizer_p.");
3077 return NULL;
3078 }
3079 }
3080 {
3081 PyThreadState* __tstate = wxPyBeginAllowThreads();
3082 _result = (wxStaticBox *)wxStaticBoxSizer_GetStaticBox(_arg0);
3083
3084 wxPyEndAllowThreads(__tstate);
3085 if (PyErr_Occurred()) return NULL;
3086 }{ _resultobj = wxPyMake_wxObject(_result); }
3087 return _resultobj;
3088 }
3089
3090 #define wxStaticBoxSizer_RecalcSizes(_swigobj) (_swigobj->RecalcSizes())
3091 static PyObject *_wrap_wxStaticBoxSizer_RecalcSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
3092 PyObject * _resultobj;
3093 wxStaticBoxSizer * _arg0;
3094 PyObject * _argo0 = 0;
3095 char *_kwnames[] = { "self", NULL };
3096
3097 self = self;
3098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStaticBoxSizer_RecalcSizes",_kwnames,&_argo0))
3099 return NULL;
3100 if (_argo0) {
3101 if (_argo0 == Py_None) { _arg0 = NULL; }
3102 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStaticBoxSizer_p")) {
3103 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStaticBoxSizer_RecalcSizes. Expected _wxStaticBoxSizer_p.");
3104 return NULL;
3105 }
3106 }
3107 {
3108 PyThreadState* __tstate = wxPyBeginAllowThreads();
3109 wxStaticBoxSizer_RecalcSizes(_arg0);
3110
3111 wxPyEndAllowThreads(__tstate);
3112 if (PyErr_Occurred()) return NULL;
3113 } Py_INCREF(Py_None);
3114 _resultobj = Py_None;
3115 return _resultobj;
3116 }
3117
3118 #define wxStaticBoxSizer_CalcMin(_swigobj) (_swigobj->CalcMin())
3119 static PyObject *_wrap_wxStaticBoxSizer_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
3120 PyObject * _resultobj;
3121 wxSize * _result;
3122 wxStaticBoxSizer * _arg0;
3123 PyObject * _argo0 = 0;
3124 char *_kwnames[] = { "self", NULL };
3125 char _ptemp[128];
3126
3127 self = self;
3128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStaticBoxSizer_CalcMin",_kwnames,&_argo0))
3129 return NULL;
3130 if (_argo0) {
3131 if (_argo0 == Py_None) { _arg0 = NULL; }
3132 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStaticBoxSizer_p")) {
3133 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStaticBoxSizer_CalcMin. Expected _wxStaticBoxSizer_p.");
3134 return NULL;
3135 }
3136 }
3137 {
3138 PyThreadState* __tstate = wxPyBeginAllowThreads();
3139 _result = new wxSize (wxStaticBoxSizer_CalcMin(_arg0));
3140
3141 wxPyEndAllowThreads(__tstate);
3142 if (PyErr_Occurred()) return NULL;
3143 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
3144 _resultobj = Py_BuildValue("s",_ptemp);
3145 return _resultobj;
3146 }
3147
3148 static void *SwigwxNotebookSizerTowxSizer(void *ptr) {
3149 wxNotebookSizer *src;
3150 wxSizer *dest;
3151 src = (wxNotebookSizer *) ptr;
3152 dest = (wxSizer *) src;
3153 return (void *) dest;
3154 }
3155
3156 static void *SwigwxNotebookSizerTowxObject(void *ptr) {
3157 wxNotebookSizer *src;
3158 wxObject *dest;
3159 src = (wxNotebookSizer *) ptr;
3160 dest = (wxObject *) src;
3161 return (void *) dest;
3162 }
3163
3164 #define new_wxNotebookSizer(_swigarg0) (new wxNotebookSizer(_swigarg0))
3165 static PyObject *_wrap_new_wxNotebookSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
3166 PyObject * _resultobj;
3167 wxNotebookSizer * _result;
3168 wxNotebook * _arg0;
3169 PyObject * _argo0 = 0;
3170 char *_kwnames[] = { "nb", NULL };
3171 char _ptemp[128];
3172
3173 self = self;
3174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:new_wxNotebookSizer",_kwnames,&_argo0))
3175 return NULL;
3176 if (_argo0) {
3177 if (_argo0 == Py_None) { _arg0 = NULL; }
3178 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebook_p")) {
3179 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxNotebookSizer. Expected _wxNotebook_p.");
3180 return NULL;
3181 }
3182 }
3183 {
3184 PyThreadState* __tstate = wxPyBeginAllowThreads();
3185 _result = (wxNotebookSizer *)new_wxNotebookSizer(_arg0);
3186
3187 wxPyEndAllowThreads(__tstate);
3188 if (PyErr_Occurred()) return NULL;
3189 } if (_result) {
3190 SWIG_MakePtr(_ptemp, (char *) _result,"_wxNotebookSizer_p");
3191 _resultobj = Py_BuildValue("s",_ptemp);
3192 } else {
3193 Py_INCREF(Py_None);
3194 _resultobj = Py_None;
3195 }
3196 return _resultobj;
3197 }
3198
3199 #define wxNotebookSizer_RecalcSizes(_swigobj) (_swigobj->RecalcSizes())
3200 static PyObject *_wrap_wxNotebookSizer_RecalcSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
3201 PyObject * _resultobj;
3202 wxNotebookSizer * _arg0;
3203 PyObject * _argo0 = 0;
3204 char *_kwnames[] = { "self", NULL };
3205
3206 self = self;
3207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxNotebookSizer_RecalcSizes",_kwnames,&_argo0))
3208 return NULL;
3209 if (_argo0) {
3210 if (_argo0 == Py_None) { _arg0 = NULL; }
3211 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebookSizer_p")) {
3212 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebookSizer_RecalcSizes. Expected _wxNotebookSizer_p.");
3213 return NULL;
3214 }
3215 }
3216 {
3217 PyThreadState* __tstate = wxPyBeginAllowThreads();
3218 wxNotebookSizer_RecalcSizes(_arg0);
3219
3220 wxPyEndAllowThreads(__tstate);
3221 if (PyErr_Occurred()) return NULL;
3222 } Py_INCREF(Py_None);
3223 _resultobj = Py_None;
3224 return _resultobj;
3225 }
3226
3227 #define wxNotebookSizer_CalcMin(_swigobj) (_swigobj->CalcMin())
3228 static PyObject *_wrap_wxNotebookSizer_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
3229 PyObject * _resultobj;
3230 wxSize * _result;
3231 wxNotebookSizer * _arg0;
3232 PyObject * _argo0 = 0;
3233 char *_kwnames[] = { "self", NULL };
3234 char _ptemp[128];
3235
3236 self = self;
3237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxNotebookSizer_CalcMin",_kwnames,&_argo0))
3238 return NULL;
3239 if (_argo0) {
3240 if (_argo0 == Py_None) { _arg0 = NULL; }
3241 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebookSizer_p")) {
3242 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebookSizer_CalcMin. Expected _wxNotebookSizer_p.");
3243 return NULL;
3244 }
3245 }
3246 {
3247 PyThreadState* __tstate = wxPyBeginAllowThreads();
3248 _result = new wxSize (wxNotebookSizer_CalcMin(_arg0));
3249
3250 wxPyEndAllowThreads(__tstate);
3251 if (PyErr_Occurred()) return NULL;
3252 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
3253 _resultobj = Py_BuildValue("s",_ptemp);
3254 return _resultobj;
3255 }
3256
3257 #define wxNotebookSizer_GetNotebook(_swigobj) (_swigobj->GetNotebook())
3258 static PyObject *_wrap_wxNotebookSizer_GetNotebook(PyObject *self, PyObject *args, PyObject *kwargs) {
3259 PyObject * _resultobj;
3260 wxNotebook * _result;
3261 wxNotebookSizer * _arg0;
3262 PyObject * _argo0 = 0;
3263 char *_kwnames[] = { "self", NULL };
3264
3265 self = self;
3266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxNotebookSizer_GetNotebook",_kwnames,&_argo0))
3267 return NULL;
3268 if (_argo0) {
3269 if (_argo0 == Py_None) { _arg0 = NULL; }
3270 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebookSizer_p")) {
3271 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebookSizer_GetNotebook. Expected _wxNotebookSizer_p.");
3272 return NULL;
3273 }
3274 }
3275 {
3276 PyThreadState* __tstate = wxPyBeginAllowThreads();
3277 _result = (wxNotebook *)wxNotebookSizer_GetNotebook(_arg0);
3278
3279 wxPyEndAllowThreads(__tstate);
3280 if (PyErr_Occurred()) return NULL;
3281 }{ _resultobj = wxPyMake_wxObject(_result); }
3282 return _resultobj;
3283 }
3284
3285 static void *SwigwxGridSizerTowxSizer(void *ptr) {
3286 wxGridSizer *src;
3287 wxSizer *dest;
3288 src = (wxGridSizer *) ptr;
3289 dest = (wxSizer *) src;
3290 return (void *) dest;
3291 }
3292
3293 static void *SwigwxGridSizerTowxObject(void *ptr) {
3294 wxGridSizer *src;
3295 wxObject *dest;
3296 src = (wxGridSizer *) ptr;
3297 dest = (wxObject *) src;
3298 return (void *) dest;
3299 }
3300
3301 #define new_wxGridSizer(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxGridSizer(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3302 static PyObject *_wrap_new_wxGridSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
3303 PyObject * _resultobj;
3304 wxGridSizer * _result;
3305 int _arg0 = (int ) 1;
3306 int _arg1 = (int ) 0;
3307 int _arg2 = (int ) 0;
3308 int _arg3 = (int ) 0;
3309 char *_kwnames[] = { "rows","cols","vgap","hgap", NULL };
3310 char _ptemp[128];
3311
3312 self = self;
3313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|iiii:new_wxGridSizer",_kwnames,&_arg0,&_arg1,&_arg2,&_arg3))
3314 return NULL;
3315 {
3316 PyThreadState* __tstate = wxPyBeginAllowThreads();
3317 _result = (wxGridSizer *)new_wxGridSizer(_arg0,_arg1,_arg2,_arg3);
3318
3319 wxPyEndAllowThreads(__tstate);
3320 if (PyErr_Occurred()) return NULL;
3321 } if (_result) {
3322 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridSizer_p");
3323 _resultobj = Py_BuildValue("s",_ptemp);
3324 } else {
3325 Py_INCREF(Py_None);
3326 _resultobj = Py_None;
3327 }
3328 return _resultobj;
3329 }
3330
3331 #define wxGridSizer_RecalcSizes(_swigobj) (_swigobj->RecalcSizes())
3332 static PyObject *_wrap_wxGridSizer_RecalcSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
3333 PyObject * _resultobj;
3334 wxGridSizer * _arg0;
3335 PyObject * _argo0 = 0;
3336 char *_kwnames[] = { "self", NULL };
3337
3338 self = self;
3339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridSizer_RecalcSizes",_kwnames,&_argo0))
3340 return NULL;
3341 if (_argo0) {
3342 if (_argo0 == Py_None) { _arg0 = NULL; }
3343 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridSizer_p")) {
3344 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridSizer_RecalcSizes. Expected _wxGridSizer_p.");
3345 return NULL;
3346 }
3347 }
3348 {
3349 PyThreadState* __tstate = wxPyBeginAllowThreads();
3350 wxGridSizer_RecalcSizes(_arg0);
3351
3352 wxPyEndAllowThreads(__tstate);
3353 if (PyErr_Occurred()) return NULL;
3354 } Py_INCREF(Py_None);
3355 _resultobj = Py_None;
3356 return _resultobj;
3357 }
3358
3359 #define wxGridSizer_CalcMin(_swigobj) (_swigobj->CalcMin())
3360 static PyObject *_wrap_wxGridSizer_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
3361 PyObject * _resultobj;
3362 wxSize * _result;
3363 wxGridSizer * _arg0;
3364 PyObject * _argo0 = 0;
3365 char *_kwnames[] = { "self", NULL };
3366 char _ptemp[128];
3367
3368 self = self;
3369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridSizer_CalcMin",_kwnames,&_argo0))
3370 return NULL;
3371 if (_argo0) {
3372 if (_argo0 == Py_None) { _arg0 = NULL; }
3373 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridSizer_p")) {
3374 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridSizer_CalcMin. Expected _wxGridSizer_p.");
3375 return NULL;
3376 }
3377 }
3378 {
3379 PyThreadState* __tstate = wxPyBeginAllowThreads();
3380 _result = new wxSize (wxGridSizer_CalcMin(_arg0));
3381
3382 wxPyEndAllowThreads(__tstate);
3383 if (PyErr_Occurred()) return NULL;
3384 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
3385 _resultobj = Py_BuildValue("s",_ptemp);
3386 return _resultobj;
3387 }
3388
3389 #define wxGridSizer_SetCols(_swigobj,_swigarg0) (_swigobj->SetCols(_swigarg0))
3390 static PyObject *_wrap_wxGridSizer_SetCols(PyObject *self, PyObject *args, PyObject *kwargs) {
3391 PyObject * _resultobj;
3392 wxGridSizer * _arg0;
3393 int _arg1;
3394 PyObject * _argo0 = 0;
3395 char *_kwnames[] = { "self","cols", NULL };
3396
3397 self = self;
3398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridSizer_SetCols",_kwnames,&_argo0,&_arg1))
3399 return NULL;
3400 if (_argo0) {
3401 if (_argo0 == Py_None) { _arg0 = NULL; }
3402 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridSizer_p")) {
3403 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridSizer_SetCols. Expected _wxGridSizer_p.");
3404 return NULL;
3405 }
3406 }
3407 {
3408 PyThreadState* __tstate = wxPyBeginAllowThreads();
3409 wxGridSizer_SetCols(_arg0,_arg1);
3410
3411 wxPyEndAllowThreads(__tstate);
3412 if (PyErr_Occurred()) return NULL;
3413 } Py_INCREF(Py_None);
3414 _resultobj = Py_None;
3415 return _resultobj;
3416 }
3417
3418 #define wxGridSizer_SetRows(_swigobj,_swigarg0) (_swigobj->SetRows(_swigarg0))
3419 static PyObject *_wrap_wxGridSizer_SetRows(PyObject *self, PyObject *args, PyObject *kwargs) {
3420 PyObject * _resultobj;
3421 wxGridSizer * _arg0;
3422 int _arg1;
3423 PyObject * _argo0 = 0;
3424 char *_kwnames[] = { "self","rows", NULL };
3425
3426 self = self;
3427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridSizer_SetRows",_kwnames,&_argo0,&_arg1))
3428 return NULL;
3429 if (_argo0) {
3430 if (_argo0 == Py_None) { _arg0 = NULL; }
3431 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridSizer_p")) {
3432 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridSizer_SetRows. Expected _wxGridSizer_p.");
3433 return NULL;
3434 }
3435 }
3436 {
3437 PyThreadState* __tstate = wxPyBeginAllowThreads();
3438 wxGridSizer_SetRows(_arg0,_arg1);
3439
3440 wxPyEndAllowThreads(__tstate);
3441 if (PyErr_Occurred()) return NULL;
3442 } Py_INCREF(Py_None);
3443 _resultobj = Py_None;
3444 return _resultobj;
3445 }
3446
3447 #define wxGridSizer_SetVGap(_swigobj,_swigarg0) (_swigobj->SetVGap(_swigarg0))
3448 static PyObject *_wrap_wxGridSizer_SetVGap(PyObject *self, PyObject *args, PyObject *kwargs) {
3449 PyObject * _resultobj;
3450 wxGridSizer * _arg0;
3451 int _arg1;
3452 PyObject * _argo0 = 0;
3453 char *_kwnames[] = { "self","gap", NULL };
3454
3455 self = self;
3456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridSizer_SetVGap",_kwnames,&_argo0,&_arg1))
3457 return NULL;
3458 if (_argo0) {
3459 if (_argo0 == Py_None) { _arg0 = NULL; }
3460 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridSizer_p")) {
3461 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridSizer_SetVGap. Expected _wxGridSizer_p.");
3462 return NULL;
3463 }
3464 }
3465 {
3466 PyThreadState* __tstate = wxPyBeginAllowThreads();
3467 wxGridSizer_SetVGap(_arg0,_arg1);
3468
3469 wxPyEndAllowThreads(__tstate);
3470 if (PyErr_Occurred()) return NULL;
3471 } Py_INCREF(Py_None);
3472 _resultobj = Py_None;
3473 return _resultobj;
3474 }
3475
3476 #define wxGridSizer_SetHGap(_swigobj,_swigarg0) (_swigobj->SetHGap(_swigarg0))
3477 static PyObject *_wrap_wxGridSizer_SetHGap(PyObject *self, PyObject *args, PyObject *kwargs) {
3478 PyObject * _resultobj;
3479 wxGridSizer * _arg0;
3480 int _arg1;
3481 PyObject * _argo0 = 0;
3482 char *_kwnames[] = { "self","gap", NULL };
3483
3484 self = self;
3485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridSizer_SetHGap",_kwnames,&_argo0,&_arg1))
3486 return NULL;
3487 if (_argo0) {
3488 if (_argo0 == Py_None) { _arg0 = NULL; }
3489 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridSizer_p")) {
3490 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridSizer_SetHGap. Expected _wxGridSizer_p.");
3491 return NULL;
3492 }
3493 }
3494 {
3495 PyThreadState* __tstate = wxPyBeginAllowThreads();
3496 wxGridSizer_SetHGap(_arg0,_arg1);
3497
3498 wxPyEndAllowThreads(__tstate);
3499 if (PyErr_Occurred()) return NULL;
3500 } Py_INCREF(Py_None);
3501 _resultobj = Py_None;
3502 return _resultobj;
3503 }
3504
3505 #define wxGridSizer_GetCols(_swigobj) (_swigobj->GetCols())
3506 static PyObject *_wrap_wxGridSizer_GetCols(PyObject *self, PyObject *args, PyObject *kwargs) {
3507 PyObject * _resultobj;
3508 int _result;
3509 wxGridSizer * _arg0;
3510 PyObject * _argo0 = 0;
3511 char *_kwnames[] = { "self", NULL };
3512
3513 self = self;
3514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridSizer_GetCols",_kwnames,&_argo0))
3515 return NULL;
3516 if (_argo0) {
3517 if (_argo0 == Py_None) { _arg0 = NULL; }
3518 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridSizer_p")) {
3519 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridSizer_GetCols. Expected _wxGridSizer_p.");
3520 return NULL;
3521 }
3522 }
3523 {
3524 PyThreadState* __tstate = wxPyBeginAllowThreads();
3525 _result = (int )wxGridSizer_GetCols(_arg0);
3526
3527 wxPyEndAllowThreads(__tstate);
3528 if (PyErr_Occurred()) return NULL;
3529 } _resultobj = Py_BuildValue("i",_result);
3530 return _resultobj;
3531 }
3532
3533 #define wxGridSizer_GetRows(_swigobj) (_swigobj->GetRows())
3534 static PyObject *_wrap_wxGridSizer_GetRows(PyObject *self, PyObject *args, PyObject *kwargs) {
3535 PyObject * _resultobj;
3536 int _result;
3537 wxGridSizer * _arg0;
3538 PyObject * _argo0 = 0;
3539 char *_kwnames[] = { "self", NULL };
3540
3541 self = self;
3542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridSizer_GetRows",_kwnames,&_argo0))
3543 return NULL;
3544 if (_argo0) {
3545 if (_argo0 == Py_None) { _arg0 = NULL; }
3546 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridSizer_p")) {
3547 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridSizer_GetRows. Expected _wxGridSizer_p.");
3548 return NULL;
3549 }
3550 }
3551 {
3552 PyThreadState* __tstate = wxPyBeginAllowThreads();
3553 _result = (int )wxGridSizer_GetRows(_arg0);
3554
3555 wxPyEndAllowThreads(__tstate);
3556 if (PyErr_Occurred()) return NULL;
3557 } _resultobj = Py_BuildValue("i",_result);
3558 return _resultobj;
3559 }
3560
3561 #define wxGridSizer_GetVGap(_swigobj) (_swigobj->GetVGap())
3562 static PyObject *_wrap_wxGridSizer_GetVGap(PyObject *self, PyObject *args, PyObject *kwargs) {
3563 PyObject * _resultobj;
3564 int _result;
3565 wxGridSizer * _arg0;
3566 PyObject * _argo0 = 0;
3567 char *_kwnames[] = { "self", NULL };
3568
3569 self = self;
3570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridSizer_GetVGap",_kwnames,&_argo0))
3571 return NULL;
3572 if (_argo0) {
3573 if (_argo0 == Py_None) { _arg0 = NULL; }
3574 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridSizer_p")) {
3575 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridSizer_GetVGap. Expected _wxGridSizer_p.");
3576 return NULL;
3577 }
3578 }
3579 {
3580 PyThreadState* __tstate = wxPyBeginAllowThreads();
3581 _result = (int )wxGridSizer_GetVGap(_arg0);
3582
3583 wxPyEndAllowThreads(__tstate);
3584 if (PyErr_Occurred()) return NULL;
3585 } _resultobj = Py_BuildValue("i",_result);
3586 return _resultobj;
3587 }
3588
3589 #define wxGridSizer_GetHGap(_swigobj) (_swigobj->GetHGap())
3590 static PyObject *_wrap_wxGridSizer_GetHGap(PyObject *self, PyObject *args, PyObject *kwargs) {
3591 PyObject * _resultobj;
3592 int _result;
3593 wxGridSizer * _arg0;
3594 PyObject * _argo0 = 0;
3595 char *_kwnames[] = { "self", NULL };
3596
3597 self = self;
3598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridSizer_GetHGap",_kwnames,&_argo0))
3599 return NULL;
3600 if (_argo0) {
3601 if (_argo0 == Py_None) { _arg0 = NULL; }
3602 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridSizer_p")) {
3603 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridSizer_GetHGap. Expected _wxGridSizer_p.");
3604 return NULL;
3605 }
3606 }
3607 {
3608 PyThreadState* __tstate = wxPyBeginAllowThreads();
3609 _result = (int )wxGridSizer_GetHGap(_arg0);
3610
3611 wxPyEndAllowThreads(__tstate);
3612 if (PyErr_Occurred()) return NULL;
3613 } _resultobj = Py_BuildValue("i",_result);
3614 return _resultobj;
3615 }
3616
3617 static void *SwigwxFlexGridSizerTowxGridSizer(void *ptr) {
3618 wxFlexGridSizer *src;
3619 wxGridSizer *dest;
3620 src = (wxFlexGridSizer *) ptr;
3621 dest = (wxGridSizer *) src;
3622 return (void *) dest;
3623 }
3624
3625 static void *SwigwxFlexGridSizerTowxSizer(void *ptr) {
3626 wxFlexGridSizer *src;
3627 wxSizer *dest;
3628 src = (wxFlexGridSizer *) ptr;
3629 dest = (wxSizer *) src;
3630 return (void *) dest;
3631 }
3632
3633 static void *SwigwxFlexGridSizerTowxObject(void *ptr) {
3634 wxFlexGridSizer *src;
3635 wxObject *dest;
3636 src = (wxFlexGridSizer *) ptr;
3637 dest = (wxObject *) src;
3638 return (void *) dest;
3639 }
3640
3641 #define new_wxFlexGridSizer(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxFlexGridSizer(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3642 static PyObject *_wrap_new_wxFlexGridSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
3643 PyObject * _resultobj;
3644 wxFlexGridSizer * _result;
3645 int _arg0 = (int ) 1;
3646 int _arg1 = (int ) 0;
3647 int _arg2 = (int ) 0;
3648 int _arg3 = (int ) 0;
3649 char *_kwnames[] = { "rows","cols","vgap","hgap", NULL };
3650 char _ptemp[128];
3651
3652 self = self;
3653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|iiii:new_wxFlexGridSizer",_kwnames,&_arg0,&_arg1,&_arg2,&_arg3))
3654 return NULL;
3655 {
3656 PyThreadState* __tstate = wxPyBeginAllowThreads();
3657 _result = (wxFlexGridSizer *)new_wxFlexGridSizer(_arg0,_arg1,_arg2,_arg3);
3658
3659 wxPyEndAllowThreads(__tstate);
3660 if (PyErr_Occurred()) return NULL;
3661 } if (_result) {
3662 SWIG_MakePtr(_ptemp, (char *) _result,"_wxFlexGridSizer_p");
3663 _resultobj = Py_BuildValue("s",_ptemp);
3664 } else {
3665 Py_INCREF(Py_None);
3666 _resultobj = Py_None;
3667 }
3668 return _resultobj;
3669 }
3670
3671 #define wxFlexGridSizer_RecalcSizes(_swigobj) (_swigobj->RecalcSizes())
3672 static PyObject *_wrap_wxFlexGridSizer_RecalcSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
3673 PyObject * _resultobj;
3674 wxFlexGridSizer * _arg0;
3675 PyObject * _argo0 = 0;
3676 char *_kwnames[] = { "self", NULL };
3677
3678 self = self;
3679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFlexGridSizer_RecalcSizes",_kwnames,&_argo0))
3680 return NULL;
3681 if (_argo0) {
3682 if (_argo0 == Py_None) { _arg0 = NULL; }
3683 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFlexGridSizer_p")) {
3684 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFlexGridSizer_RecalcSizes. Expected _wxFlexGridSizer_p.");
3685 return NULL;
3686 }
3687 }
3688 {
3689 PyThreadState* __tstate = wxPyBeginAllowThreads();
3690 wxFlexGridSizer_RecalcSizes(_arg0);
3691
3692 wxPyEndAllowThreads(__tstate);
3693 if (PyErr_Occurred()) return NULL;
3694 } Py_INCREF(Py_None);
3695 _resultobj = Py_None;
3696 return _resultobj;
3697 }
3698
3699 #define wxFlexGridSizer_CalcMin(_swigobj) (_swigobj->CalcMin())
3700 static PyObject *_wrap_wxFlexGridSizer_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
3701 PyObject * _resultobj;
3702 wxSize * _result;
3703 wxFlexGridSizer * _arg0;
3704 PyObject * _argo0 = 0;
3705 char *_kwnames[] = { "self", NULL };
3706 char _ptemp[128];
3707
3708 self = self;
3709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFlexGridSizer_CalcMin",_kwnames,&_argo0))
3710 return NULL;
3711 if (_argo0) {
3712 if (_argo0 == Py_None) { _arg0 = NULL; }
3713 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFlexGridSizer_p")) {
3714 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFlexGridSizer_CalcMin. Expected _wxFlexGridSizer_p.");
3715 return NULL;
3716 }
3717 }
3718 {
3719 PyThreadState* __tstate = wxPyBeginAllowThreads();
3720 _result = new wxSize (wxFlexGridSizer_CalcMin(_arg0));
3721
3722 wxPyEndAllowThreads(__tstate);
3723 if (PyErr_Occurred()) return NULL;
3724 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
3725 _resultobj = Py_BuildValue("s",_ptemp);
3726 return _resultobj;
3727 }
3728
3729 #define wxFlexGridSizer_AddGrowableRow(_swigobj,_swigarg0,_swigarg1) (_swigobj->AddGrowableRow(_swigarg0,_swigarg1))
3730 static PyObject *_wrap_wxFlexGridSizer_AddGrowableRow(PyObject *self, PyObject *args, PyObject *kwargs) {
3731 PyObject * _resultobj;
3732 wxFlexGridSizer * _arg0;
3733 size_t _arg1;
3734 int _arg2 = (int ) 0;
3735 PyObject * _argo0 = 0;
3736 char *_kwnames[] = { "self","idx","proportion", NULL };
3737
3738 self = self;
3739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|i:wxFlexGridSizer_AddGrowableRow",_kwnames,&_argo0,&_arg1,&_arg2))
3740 return NULL;
3741 if (_argo0) {
3742 if (_argo0 == Py_None) { _arg0 = NULL; }
3743 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFlexGridSizer_p")) {
3744 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFlexGridSizer_AddGrowableRow. Expected _wxFlexGridSizer_p.");
3745 return NULL;
3746 }
3747 }
3748 {
3749 PyThreadState* __tstate = wxPyBeginAllowThreads();
3750 wxFlexGridSizer_AddGrowableRow(_arg0,_arg1,_arg2);
3751
3752 wxPyEndAllowThreads(__tstate);
3753 if (PyErr_Occurred()) return NULL;
3754 } Py_INCREF(Py_None);
3755 _resultobj = Py_None;
3756 return _resultobj;
3757 }
3758
3759 #define wxFlexGridSizer_RemoveGrowableRow(_swigobj,_swigarg0) (_swigobj->RemoveGrowableRow(_swigarg0))
3760 static PyObject *_wrap_wxFlexGridSizer_RemoveGrowableRow(PyObject *self, PyObject *args, PyObject *kwargs) {
3761 PyObject * _resultobj;
3762 wxFlexGridSizer * _arg0;
3763 size_t _arg1;
3764 PyObject * _argo0 = 0;
3765 char *_kwnames[] = { "self","idx", NULL };
3766
3767 self = self;
3768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxFlexGridSizer_RemoveGrowableRow",_kwnames,&_argo0,&_arg1))
3769 return NULL;
3770 if (_argo0) {
3771 if (_argo0 == Py_None) { _arg0 = NULL; }
3772 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFlexGridSizer_p")) {
3773 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFlexGridSizer_RemoveGrowableRow. Expected _wxFlexGridSizer_p.");
3774 return NULL;
3775 }
3776 }
3777 {
3778 PyThreadState* __tstate = wxPyBeginAllowThreads();
3779 wxFlexGridSizer_RemoveGrowableRow(_arg0,_arg1);
3780
3781 wxPyEndAllowThreads(__tstate);
3782 if (PyErr_Occurred()) return NULL;
3783 } Py_INCREF(Py_None);
3784 _resultobj = Py_None;
3785 return _resultobj;
3786 }
3787
3788 #define wxFlexGridSizer_AddGrowableCol(_swigobj,_swigarg0,_swigarg1) (_swigobj->AddGrowableCol(_swigarg0,_swigarg1))
3789 static PyObject *_wrap_wxFlexGridSizer_AddGrowableCol(PyObject *self, PyObject *args, PyObject *kwargs) {
3790 PyObject * _resultobj;
3791 wxFlexGridSizer * _arg0;
3792 size_t _arg1;
3793 int _arg2 = (int ) 0;
3794 PyObject * _argo0 = 0;
3795 char *_kwnames[] = { "self","idx","proportion", NULL };
3796
3797 self = self;
3798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|i:wxFlexGridSizer_AddGrowableCol",_kwnames,&_argo0,&_arg1,&_arg2))
3799 return NULL;
3800 if (_argo0) {
3801 if (_argo0 == Py_None) { _arg0 = NULL; }
3802 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFlexGridSizer_p")) {
3803 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFlexGridSizer_AddGrowableCol. Expected _wxFlexGridSizer_p.");
3804 return NULL;
3805 }
3806 }
3807 {
3808 PyThreadState* __tstate = wxPyBeginAllowThreads();
3809 wxFlexGridSizer_AddGrowableCol(_arg0,_arg1,_arg2);
3810
3811 wxPyEndAllowThreads(__tstate);
3812 if (PyErr_Occurred()) return NULL;
3813 } Py_INCREF(Py_None);
3814 _resultobj = Py_None;
3815 return _resultobj;
3816 }
3817
3818 #define wxFlexGridSizer_RemoveGrowableCol(_swigobj,_swigarg0) (_swigobj->RemoveGrowableCol(_swigarg0))
3819 static PyObject *_wrap_wxFlexGridSizer_RemoveGrowableCol(PyObject *self, PyObject *args, PyObject *kwargs) {
3820 PyObject * _resultobj;
3821 wxFlexGridSizer * _arg0;
3822 size_t _arg1;
3823 PyObject * _argo0 = 0;
3824 char *_kwnames[] = { "self","idx", NULL };
3825
3826 self = self;
3827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxFlexGridSizer_RemoveGrowableCol",_kwnames,&_argo0,&_arg1))
3828 return NULL;
3829 if (_argo0) {
3830 if (_argo0 == Py_None) { _arg0 = NULL; }
3831 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFlexGridSizer_p")) {
3832 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFlexGridSizer_RemoveGrowableCol. Expected _wxFlexGridSizer_p.");
3833 return NULL;
3834 }
3835 }
3836 {
3837 PyThreadState* __tstate = wxPyBeginAllowThreads();
3838 wxFlexGridSizer_RemoveGrowableCol(_arg0,_arg1);
3839
3840 wxPyEndAllowThreads(__tstate);
3841 if (PyErr_Occurred()) return NULL;
3842 } Py_INCREF(Py_None);
3843 _resultobj = Py_None;
3844 return _resultobj;
3845 }
3846
3847 #define wxFlexGridSizer_SetFlexibleDirection(_swigobj,_swigarg0) (_swigobj->SetFlexibleDirection(_swigarg0))
3848 static PyObject *_wrap_wxFlexGridSizer_SetFlexibleDirection(PyObject *self, PyObject *args, PyObject *kwargs) {
3849 PyObject * _resultobj;
3850 wxFlexGridSizer * _arg0;
3851 int _arg1;
3852 PyObject * _argo0 = 0;
3853 char *_kwnames[] = { "self","direction", NULL };
3854
3855 self = self;
3856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxFlexGridSizer_SetFlexibleDirection",_kwnames,&_argo0,&_arg1))
3857 return NULL;
3858 if (_argo0) {
3859 if (_argo0 == Py_None) { _arg0 = NULL; }
3860 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFlexGridSizer_p")) {
3861 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFlexGridSizer_SetFlexibleDirection. Expected _wxFlexGridSizer_p.");
3862 return NULL;
3863 }
3864 }
3865 {
3866 PyThreadState* __tstate = wxPyBeginAllowThreads();
3867 wxFlexGridSizer_SetFlexibleDirection(_arg0,_arg1);
3868
3869 wxPyEndAllowThreads(__tstate);
3870 if (PyErr_Occurred()) return NULL;
3871 } Py_INCREF(Py_None);
3872 _resultobj = Py_None;
3873 return _resultobj;
3874 }
3875
3876 #define wxFlexGridSizer_GetFlexibleDirection(_swigobj) (_swigobj->GetFlexibleDirection())
3877 static PyObject *_wrap_wxFlexGridSizer_GetFlexibleDirection(PyObject *self, PyObject *args, PyObject *kwargs) {
3878 PyObject * _resultobj;
3879 int _result;
3880 wxFlexGridSizer * _arg0;
3881 PyObject * _argo0 = 0;
3882 char *_kwnames[] = { "self", NULL };
3883
3884 self = self;
3885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFlexGridSizer_GetFlexibleDirection",_kwnames,&_argo0))
3886 return NULL;
3887 if (_argo0) {
3888 if (_argo0 == Py_None) { _arg0 = NULL; }
3889 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFlexGridSizer_p")) {
3890 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFlexGridSizer_GetFlexibleDirection. Expected _wxFlexGridSizer_p.");
3891 return NULL;
3892 }
3893 }
3894 {
3895 PyThreadState* __tstate = wxPyBeginAllowThreads();
3896 _result = (int )wxFlexGridSizer_GetFlexibleDirection(_arg0);
3897
3898 wxPyEndAllowThreads(__tstate);
3899 if (PyErr_Occurred()) return NULL;
3900 } _resultobj = Py_BuildValue("i",_result);
3901 return _resultobj;
3902 }
3903
3904 #define wxFlexGridSizer_SetNonFlexibleGrowMode(_swigobj,_swigarg0) (_swigobj->SetNonFlexibleGrowMode(_swigarg0))
3905 static PyObject *_wrap_wxFlexGridSizer_SetNonFlexibleGrowMode(PyObject *self, PyObject *args, PyObject *kwargs) {
3906 PyObject * _resultobj;
3907 wxFlexGridSizer * _arg0;
3908 wxFlexSizerGrowMode _arg1;
3909 PyObject * _argo0 = 0;
3910 char *_kwnames[] = { "self","mode", NULL };
3911
3912 self = self;
3913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxFlexGridSizer_SetNonFlexibleGrowMode",_kwnames,&_argo0,&_arg1))
3914 return NULL;
3915 if (_argo0) {
3916 if (_argo0 == Py_None) { _arg0 = NULL; }
3917 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFlexGridSizer_p")) {
3918 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFlexGridSizer_SetNonFlexibleGrowMode. Expected _wxFlexGridSizer_p.");
3919 return NULL;
3920 }
3921 }
3922 {
3923 PyThreadState* __tstate = wxPyBeginAllowThreads();
3924 wxFlexGridSizer_SetNonFlexibleGrowMode(_arg0,_arg1);
3925
3926 wxPyEndAllowThreads(__tstate);
3927 if (PyErr_Occurred()) return NULL;
3928 } Py_INCREF(Py_None);
3929 _resultobj = Py_None;
3930 return _resultobj;
3931 }
3932
3933 #define wxFlexGridSizer_GetNonFlexibleGrowMode(_swigobj) (_swigobj->GetNonFlexibleGrowMode())
3934 static PyObject *_wrap_wxFlexGridSizer_GetNonFlexibleGrowMode(PyObject *self, PyObject *args, PyObject *kwargs) {
3935 PyObject * _resultobj;
3936 wxFlexSizerGrowMode _result;
3937 wxFlexGridSizer * _arg0;
3938 PyObject * _argo0 = 0;
3939 char *_kwnames[] = { "self", NULL };
3940
3941 self = self;
3942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFlexGridSizer_GetNonFlexibleGrowMode",_kwnames,&_argo0))
3943 return NULL;
3944 if (_argo0) {
3945 if (_argo0 == Py_None) { _arg0 = NULL; }
3946 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFlexGridSizer_p")) {
3947 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFlexGridSizer_GetNonFlexibleGrowMode. Expected _wxFlexGridSizer_p.");
3948 return NULL;
3949 }
3950 }
3951 {
3952 PyThreadState* __tstate = wxPyBeginAllowThreads();
3953 _result = (wxFlexSizerGrowMode )wxFlexGridSizer_GetNonFlexibleGrowMode(_arg0);
3954
3955 wxPyEndAllowThreads(__tstate);
3956 if (PyErr_Occurred()) return NULL;
3957 } _resultobj = Py_BuildValue("i",_result);
3958 return _resultobj;
3959 }
3960
3961 static PyMethodDef sizerscMethods[] = {
3962 { "wxFlexGridSizer_GetNonFlexibleGrowMode", (PyCFunction) _wrap_wxFlexGridSizer_GetNonFlexibleGrowMode, METH_VARARGS | METH_KEYWORDS },
3963 { "wxFlexGridSizer_SetNonFlexibleGrowMode", (PyCFunction) _wrap_wxFlexGridSizer_SetNonFlexibleGrowMode, METH_VARARGS | METH_KEYWORDS },
3964 { "wxFlexGridSizer_GetFlexibleDirection", (PyCFunction) _wrap_wxFlexGridSizer_GetFlexibleDirection, METH_VARARGS | METH_KEYWORDS },
3965 { "wxFlexGridSizer_SetFlexibleDirection", (PyCFunction) _wrap_wxFlexGridSizer_SetFlexibleDirection, METH_VARARGS | METH_KEYWORDS },
3966 { "wxFlexGridSizer_RemoveGrowableCol", (PyCFunction) _wrap_wxFlexGridSizer_RemoveGrowableCol, METH_VARARGS | METH_KEYWORDS },
3967 { "wxFlexGridSizer_AddGrowableCol", (PyCFunction) _wrap_wxFlexGridSizer_AddGrowableCol, METH_VARARGS | METH_KEYWORDS },
3968 { "wxFlexGridSizer_RemoveGrowableRow", (PyCFunction) _wrap_wxFlexGridSizer_RemoveGrowableRow, METH_VARARGS | METH_KEYWORDS },
3969 { "wxFlexGridSizer_AddGrowableRow", (PyCFunction) _wrap_wxFlexGridSizer_AddGrowableRow, METH_VARARGS | METH_KEYWORDS },
3970 { "wxFlexGridSizer_CalcMin", (PyCFunction) _wrap_wxFlexGridSizer_CalcMin, METH_VARARGS | METH_KEYWORDS },
3971 { "wxFlexGridSizer_RecalcSizes", (PyCFunction) _wrap_wxFlexGridSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS },
3972 { "new_wxFlexGridSizer", (PyCFunction) _wrap_new_wxFlexGridSizer, METH_VARARGS | METH_KEYWORDS },
3973 { "wxGridSizer_GetHGap", (PyCFunction) _wrap_wxGridSizer_GetHGap, METH_VARARGS | METH_KEYWORDS },
3974 { "wxGridSizer_GetVGap", (PyCFunction) _wrap_wxGridSizer_GetVGap, METH_VARARGS | METH_KEYWORDS },
3975 { "wxGridSizer_GetRows", (PyCFunction) _wrap_wxGridSizer_GetRows, METH_VARARGS | METH_KEYWORDS },
3976 { "wxGridSizer_GetCols", (PyCFunction) _wrap_wxGridSizer_GetCols, METH_VARARGS | METH_KEYWORDS },
3977 { "wxGridSizer_SetHGap", (PyCFunction) _wrap_wxGridSizer_SetHGap, METH_VARARGS | METH_KEYWORDS },
3978 { "wxGridSizer_SetVGap", (PyCFunction) _wrap_wxGridSizer_SetVGap, METH_VARARGS | METH_KEYWORDS },
3979 { "wxGridSizer_SetRows", (PyCFunction) _wrap_wxGridSizer_SetRows, METH_VARARGS | METH_KEYWORDS },
3980 { "wxGridSizer_SetCols", (PyCFunction) _wrap_wxGridSizer_SetCols, METH_VARARGS | METH_KEYWORDS },
3981 { "wxGridSizer_CalcMin", (PyCFunction) _wrap_wxGridSizer_CalcMin, METH_VARARGS | METH_KEYWORDS },
3982 { "wxGridSizer_RecalcSizes", (PyCFunction) _wrap_wxGridSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS },
3983 { "new_wxGridSizer", (PyCFunction) _wrap_new_wxGridSizer, METH_VARARGS | METH_KEYWORDS },
3984 { "wxNotebookSizer_GetNotebook", (PyCFunction) _wrap_wxNotebookSizer_GetNotebook, METH_VARARGS | METH_KEYWORDS },
3985 { "wxNotebookSizer_CalcMin", (PyCFunction) _wrap_wxNotebookSizer_CalcMin, METH_VARARGS | METH_KEYWORDS },
3986 { "wxNotebookSizer_RecalcSizes", (PyCFunction) _wrap_wxNotebookSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS },
3987 { "new_wxNotebookSizer", (PyCFunction) _wrap_new_wxNotebookSizer, METH_VARARGS | METH_KEYWORDS },
3988 { "wxStaticBoxSizer_CalcMin", (PyCFunction) _wrap_wxStaticBoxSizer_CalcMin, METH_VARARGS | METH_KEYWORDS },
3989 { "wxStaticBoxSizer_RecalcSizes", (PyCFunction) _wrap_wxStaticBoxSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS },
3990 { "wxStaticBoxSizer_GetStaticBox", (PyCFunction) _wrap_wxStaticBoxSizer_GetStaticBox, METH_VARARGS | METH_KEYWORDS },
3991 { "new_wxStaticBoxSizer", (PyCFunction) _wrap_new_wxStaticBoxSizer, METH_VARARGS | METH_KEYWORDS },
3992 { "wxBoxSizer_CalcMin", (PyCFunction) _wrap_wxBoxSizer_CalcMin, METH_VARARGS | METH_KEYWORDS },
3993 { "wxBoxSizer_RecalcSizes", (PyCFunction) _wrap_wxBoxSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS },
3994 { "wxBoxSizer_SetOrientation", (PyCFunction) _wrap_wxBoxSizer_SetOrientation, METH_VARARGS | METH_KEYWORDS },
3995 { "wxBoxSizer_GetOrientation", (PyCFunction) _wrap_wxBoxSizer_GetOrientation, METH_VARARGS | METH_KEYWORDS },
3996 { "new_wxBoxSizer", (PyCFunction) _wrap_new_wxBoxSizer, METH_VARARGS | METH_KEYWORDS },
3997 { "wxPySizer__setCallbackInfo", (PyCFunction) _wrap_wxPySizer__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
3998 { "new_wxPySizer", (PyCFunction) _wrap_new_wxPySizer, METH_VARARGS | METH_KEYWORDS },
3999 { "wxSizer_ShowItems", (PyCFunction) _wrap_wxSizer_ShowItems, METH_VARARGS | METH_KEYWORDS },
4000 { "wxSizer_IsShownPos", (PyCFunction) _wrap_wxSizer_IsShownPos, METH_VARARGS | METH_KEYWORDS },
4001 { "wxSizer_IsShownSizer", (PyCFunction) _wrap_wxSizer_IsShownSizer, METH_VARARGS | METH_KEYWORDS },
4002 { "wxSizer_IsShownWindow", (PyCFunction) _wrap_wxSizer_IsShownWindow, METH_VARARGS | METH_KEYWORDS },
4003 { "wxSizer_HidePos", (PyCFunction) _wrap_wxSizer_HidePos, METH_VARARGS | METH_KEYWORDS },
4004 { "wxSizer_HideSizer", (PyCFunction) _wrap_wxSizer_HideSizer, METH_VARARGS | METH_KEYWORDS },
4005 { "wxSizer_HideWindow", (PyCFunction) _wrap_wxSizer_HideWindow, METH_VARARGS | METH_KEYWORDS },
4006 { "wxSizer_ShowPos", (PyCFunction) _wrap_wxSizer_ShowPos, METH_VARARGS | METH_KEYWORDS },
4007 { "wxSizer_ShowSizer", (PyCFunction) _wrap_wxSizer_ShowSizer, METH_VARARGS | METH_KEYWORDS },
4008 { "wxSizer_ShowWindow", (PyCFunction) _wrap_wxSizer_ShowWindow, METH_VARARGS | METH_KEYWORDS },
4009 { "wxSizer_SetDimension", (PyCFunction) _wrap_wxSizer_SetDimension, METH_VARARGS | METH_KEYWORDS },
4010 { "wxSizer_GetChildren", (PyCFunction) _wrap_wxSizer_GetChildren, METH_VARARGS | METH_KEYWORDS },
4011 { "wxSizer_SetVirtualSizeHints", (PyCFunction) _wrap_wxSizer_SetVirtualSizeHints, METH_VARARGS | METH_KEYWORDS },
4012 { "wxSizer_SetSizeHints", (PyCFunction) _wrap_wxSizer_SetSizeHints, METH_VARARGS | METH_KEYWORDS },
4013 { "wxSizer_FitInside", (PyCFunction) _wrap_wxSizer_FitInside, METH_VARARGS | METH_KEYWORDS },
4014 { "wxSizer_Fit", (PyCFunction) _wrap_wxSizer_Fit, METH_VARARGS | METH_KEYWORDS },
4015 { "wxSizer_Layout", (PyCFunction) _wrap_wxSizer_Layout, METH_VARARGS | METH_KEYWORDS },
4016 { "wxSizer_GetMinSize", (PyCFunction) _wrap_wxSizer_GetMinSize, METH_VARARGS | METH_KEYWORDS },
4017 { "wxSizer_GetPosition", (PyCFunction) _wrap_wxSizer_GetPosition, METH_VARARGS | METH_KEYWORDS },
4018 { "wxSizer_GetSize", (PyCFunction) _wrap_wxSizer_GetSize, METH_VARARGS | METH_KEYWORDS },
4019 { "wxSizer_SetItemMinSizePosWH", (PyCFunction) _wrap_wxSizer_SetItemMinSizePosWH, METH_VARARGS | METH_KEYWORDS },
4020 { "wxSizer_SetItemMinSizeSizerWH", (PyCFunction) _wrap_wxSizer_SetItemMinSizeSizerWH, METH_VARARGS | METH_KEYWORDS },
4021 { "wxSizer_SetItemMinSizeWindowWH", (PyCFunction) _wrap_wxSizer_SetItemMinSizeWindowWH, METH_VARARGS | METH_KEYWORDS },
4022 { "wxSizer_SetItemMinSizePos", (PyCFunction) _wrap_wxSizer_SetItemMinSizePos, METH_VARARGS | METH_KEYWORDS },
4023 { "wxSizer_SetItemMinSizeSizer", (PyCFunction) _wrap_wxSizer_SetItemMinSizeSizer, METH_VARARGS | METH_KEYWORDS },
4024 { "wxSizer_SetItemMinSizeWindow", (PyCFunction) _wrap_wxSizer_SetItemMinSizeWindow, METH_VARARGS | METH_KEYWORDS },
4025 { "wxSizer_SetMinSize", (PyCFunction) _wrap_wxSizer_SetMinSize, METH_VARARGS | METH_KEYWORDS },
4026 { "wxSizer_DeleteWindows", (PyCFunction) _wrap_wxSizer_DeleteWindows, METH_VARARGS | METH_KEYWORDS },
4027 { "wxSizer_Clear", (PyCFunction) _wrap_wxSizer_Clear, METH_VARARGS | METH_KEYWORDS },
4028 { "wxSizer_DetachPos", (PyCFunction) _wrap_wxSizer_DetachPos, METH_VARARGS | METH_KEYWORDS },
4029 { "wxSizer_DetachSizer", (PyCFunction) _wrap_wxSizer_DetachSizer, METH_VARARGS | METH_KEYWORDS },
4030 { "wxSizer_DetachWindow", (PyCFunction) _wrap_wxSizer_DetachWindow, METH_VARARGS | METH_KEYWORDS },
4031 { "wxSizer_RemovePos", (PyCFunction) _wrap_wxSizer_RemovePos, METH_VARARGS | METH_KEYWORDS },
4032 { "wxSizer_RemoveSizer", (PyCFunction) _wrap_wxSizer_RemoveSizer, METH_VARARGS | METH_KEYWORDS },
4033 { "wxSizer_RemoveWindow", (PyCFunction) _wrap_wxSizer_RemoveWindow, METH_VARARGS | METH_KEYWORDS },
4034 { "wxSizer_PrependSpacer", (PyCFunction) _wrap_wxSizer_PrependSpacer, METH_VARARGS | METH_KEYWORDS },
4035 { "wxSizer_PrependSizer", (PyCFunction) _wrap_wxSizer_PrependSizer, METH_VARARGS | METH_KEYWORDS },
4036 { "wxSizer_PrependWindow", (PyCFunction) _wrap_wxSizer_PrependWindow, METH_VARARGS | METH_KEYWORDS },
4037 { "wxSizer_InsertSpacer", (PyCFunction) _wrap_wxSizer_InsertSpacer, METH_VARARGS | METH_KEYWORDS },
4038 { "wxSizer_InsertSizer", (PyCFunction) _wrap_wxSizer_InsertSizer, METH_VARARGS | METH_KEYWORDS },
4039 { "wxSizer_InsertWindow", (PyCFunction) _wrap_wxSizer_InsertWindow, METH_VARARGS | METH_KEYWORDS },
4040 { "wxSizer_AddSpacer", (PyCFunction) _wrap_wxSizer_AddSpacer, METH_VARARGS | METH_KEYWORDS },
4041 { "wxSizer_AddSizer", (PyCFunction) _wrap_wxSizer_AddSizer, METH_VARARGS | METH_KEYWORDS },
4042 { "wxSizer_AddWindow", (PyCFunction) _wrap_wxSizer_AddWindow, METH_VARARGS | METH_KEYWORDS },
4043 { "wxSizer_Destroy", (PyCFunction) _wrap_wxSizer_Destroy, METH_VARARGS | METH_KEYWORDS },
4044 { "wxSizer__setOORInfo", (PyCFunction) _wrap_wxSizer__setOORInfo, METH_VARARGS | METH_KEYWORDS },
4045 { "wxSizerItem_GetUserData", (PyCFunction) _wrap_wxSizerItem_GetUserData, METH_VARARGS | METH_KEYWORDS },
4046 { "wxSizerItem_GetPosition", (PyCFunction) _wrap_wxSizerItem_GetPosition, METH_VARARGS | METH_KEYWORDS },
4047 { "wxSizerItem_IsShown", (PyCFunction) _wrap_wxSizerItem_IsShown, METH_VARARGS | METH_KEYWORDS },
4048 { "wxSizerItem_Show", (PyCFunction) _wrap_wxSizerItem_Show, METH_VARARGS | METH_KEYWORDS },
4049 { "wxSizerItem_SetSpacer", (PyCFunction) _wrap_wxSizerItem_SetSpacer, METH_VARARGS | METH_KEYWORDS },
4050 { "wxSizerItem_GetSpacer", (PyCFunction) _wrap_wxSizerItem_GetSpacer, METH_VARARGS | METH_KEYWORDS },
4051 { "wxSizerItem_SetSizer", (PyCFunction) _wrap_wxSizerItem_SetSizer, METH_VARARGS | METH_KEYWORDS },
4052 { "wxSizerItem_GetSizer", (PyCFunction) _wrap_wxSizerItem_GetSizer, METH_VARARGS | METH_KEYWORDS },
4053 { "wxSizerItem_SetWindow", (PyCFunction) _wrap_wxSizerItem_SetWindow, METH_VARARGS | METH_KEYWORDS },
4054 { "wxSizerItem_GetWindow", (PyCFunction) _wrap_wxSizerItem_GetWindow, METH_VARARGS | METH_KEYWORDS },
4055 { "wxSizerItem_GetBorder", (PyCFunction) _wrap_wxSizerItem_GetBorder, METH_VARARGS | METH_KEYWORDS },
4056 { "wxSizerItem_SetBorder", (PyCFunction) _wrap_wxSizerItem_SetBorder, METH_VARARGS | METH_KEYWORDS },
4057 { "wxSizerItem_GetFlag", (PyCFunction) _wrap_wxSizerItem_GetFlag, METH_VARARGS | METH_KEYWORDS },
4058 { "wxSizerItem_SetFlag", (PyCFunction) _wrap_wxSizerItem_SetFlag, METH_VARARGS | METH_KEYWORDS },
4059 { "wxSizerItem_GetProportion", (PyCFunction) _wrap_wxSizerItem_GetProportion, METH_VARARGS | METH_KEYWORDS },
4060 { "wxSizerItem_SetProportion", (PyCFunction) _wrap_wxSizerItem_SetProportion, METH_VARARGS | METH_KEYWORDS },
4061 { "wxSizerItem_IsSpacer", (PyCFunction) _wrap_wxSizerItem_IsSpacer, METH_VARARGS | METH_KEYWORDS },
4062 { "wxSizerItem_IsSizer", (PyCFunction) _wrap_wxSizerItem_IsSizer, METH_VARARGS | METH_KEYWORDS },
4063 { "wxSizerItem_IsWindow", (PyCFunction) _wrap_wxSizerItem_IsWindow, METH_VARARGS | METH_KEYWORDS },
4064 { "wxSizerItem_GetRatio", (PyCFunction) _wrap_wxSizerItem_GetRatio, METH_VARARGS | METH_KEYWORDS },
4065 { "wxSizerItem_SetRatio", (PyCFunction) _wrap_wxSizerItem_SetRatio, METH_VARARGS | METH_KEYWORDS },
4066 { "wxSizerItem_SetRatioSize", (PyCFunction) _wrap_wxSizerItem_SetRatioSize, METH_VARARGS | METH_KEYWORDS },
4067 { "wxSizerItem_SetRatioWH", (PyCFunction) _wrap_wxSizerItem_SetRatioWH, METH_VARARGS | METH_KEYWORDS },
4068 { "wxSizerItem_SetInitSize", (PyCFunction) _wrap_wxSizerItem_SetInitSize, METH_VARARGS | METH_KEYWORDS },
4069 { "wxSizerItem_GetMinSize", (PyCFunction) _wrap_wxSizerItem_GetMinSize, METH_VARARGS | METH_KEYWORDS },
4070 { "wxSizerItem_SetDimension", (PyCFunction) _wrap_wxSizerItem_SetDimension, METH_VARARGS | METH_KEYWORDS },
4071 { "wxSizerItem_CalcMin", (PyCFunction) _wrap_wxSizerItem_CalcMin, METH_VARARGS | METH_KEYWORDS },
4072 { "wxSizerItem_GetSize", (PyCFunction) _wrap_wxSizerItem_GetSize, METH_VARARGS | METH_KEYWORDS },
4073 { "wxSizerItem_DetachSizer", (PyCFunction) _wrap_wxSizerItem_DetachSizer, METH_VARARGS | METH_KEYWORDS },
4074 { "wxSizerItem_DeleteWindows", (PyCFunction) _wrap_wxSizerItem_DeleteWindows, METH_VARARGS | METH_KEYWORDS },
4075 { NULL, NULL }
4076 };
4077 #ifdef __cplusplus
4078 }
4079 #endif
4080 /*
4081 * This table is used by the pointer type-checker
4082 */
4083 static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
4084 { "_signed_long","_long",0},
4085 { "_wxPrintQuality","_wxCoord",0},
4086 { "_wxPrintQuality","_int",0},
4087 { "_wxPrintQuality","_signed_int",0},
4088 { "_wxPrintQuality","_unsigned_int",0},
4089 { "_wxPrintQuality","_wxWindowID",0},
4090 { "_wxPrintQuality","_uint",0},
4091 { "_wxPrintQuality","_EBool",0},
4092 { "_wxPrintQuality","_size_t",0},
4093 { "_wxPrintQuality","_time_t",0},
4094 { "_byte","_unsigned_char",0},
4095 { "_long","_unsigned_long",0},
4096 { "_long","_signed_long",0},
4097 { "_wxGridSizer","_wxFlexGridSizer",SwigwxFlexGridSizerTowxGridSizer},
4098 { "_size_t","_wxCoord",0},
4099 { "_size_t","_wxPrintQuality",0},
4100 { "_size_t","_time_t",0},
4101 { "_size_t","_unsigned_int",0},
4102 { "_size_t","_int",0},
4103 { "_size_t","_wxWindowID",0},
4104 { "_size_t","_uint",0},
4105 { "_uint","_wxCoord",0},
4106 { "_uint","_wxPrintQuality",0},
4107 { "_uint","_time_t",0},
4108 { "_uint","_size_t",0},
4109 { "_uint","_unsigned_int",0},
4110 { "_uint","_int",0},
4111 { "_uint","_wxWindowID",0},
4112 { "_wxChar","_char",0},
4113 { "_wxBoxSizer","_wxStaticBoxSizer",SwigwxStaticBoxSizerTowxBoxSizer},
4114 { "_char","_wxChar",0},
4115 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
4116 { "_EBool","_wxCoord",0},
4117 { "_EBool","_wxPrintQuality",0},
4118 { "_EBool","_signed_int",0},
4119 { "_EBool","_int",0},
4120 { "_EBool","_wxWindowID",0},
4121 { "_unsigned_long","_long",0},
4122 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
4123 { "_signed_int","_wxCoord",0},
4124 { "_signed_int","_wxPrintQuality",0},
4125 { "_signed_int","_EBool",0},
4126 { "_signed_int","_wxWindowID",0},
4127 { "_signed_int","_int",0},
4128 { "_WXTYPE","_short",0},
4129 { "_WXTYPE","_signed_short",0},
4130 { "_WXTYPE","_unsigned_short",0},
4131 { "_unsigned_short","_WXTYPE",0},
4132 { "_unsigned_short","_short",0},
4133 { "_wxObject","_wxFlexGridSizer",SwigwxFlexGridSizerTowxObject},
4134 { "_wxObject","_wxGridSizer",SwigwxGridSizerTowxObject},
4135 { "_wxObject","_wxNotebookSizer",SwigwxNotebookSizerTowxObject},
4136 { "_wxObject","_wxStaticBoxSizer",SwigwxStaticBoxSizerTowxObject},
4137 { "_wxObject","_wxBoxSizer",SwigwxBoxSizerTowxObject},
4138 { "_wxObject","_wxPySizer",SwigwxPySizerTowxObject},
4139 { "_wxObject","_wxSizer",SwigwxSizerTowxObject},
4140 { "_wxObject","_wxSizerItem",SwigwxSizerItemTowxObject},
4141 { "_signed_short","_WXTYPE",0},
4142 { "_signed_short","_short",0},
4143 { "_unsigned_char","_byte",0},
4144 { "_unsigned_int","_wxCoord",0},
4145 { "_unsigned_int","_wxPrintQuality",0},
4146 { "_unsigned_int","_time_t",0},
4147 { "_unsigned_int","_size_t",0},
4148 { "_unsigned_int","_uint",0},
4149 { "_unsigned_int","_wxWindowID",0},
4150 { "_unsigned_int","_int",0},
4151 { "_short","_WXTYPE",0},
4152 { "_short","_unsigned_short",0},
4153 { "_short","_signed_short",0},
4154 { "_wxWindowID","_wxCoord",0},
4155 { "_wxWindowID","_wxPrintQuality",0},
4156 { "_wxWindowID","_time_t",0},
4157 { "_wxWindowID","_size_t",0},
4158 { "_wxWindowID","_EBool",0},
4159 { "_wxWindowID","_uint",0},
4160 { "_wxWindowID","_int",0},
4161 { "_wxWindowID","_signed_int",0},
4162 { "_wxWindowID","_unsigned_int",0},
4163 { "_int","_wxCoord",0},
4164 { "_int","_wxPrintQuality",0},
4165 { "_int","_time_t",0},
4166 { "_int","_size_t",0},
4167 { "_int","_EBool",0},
4168 { "_int","_uint",0},
4169 { "_int","_wxWindowID",0},
4170 { "_int","_unsigned_int",0},
4171 { "_int","_signed_int",0},
4172 { "_time_t","_wxCoord",0},
4173 { "_time_t","_wxPrintQuality",0},
4174 { "_time_t","_unsigned_int",0},
4175 { "_time_t","_int",0},
4176 { "_time_t","_wxWindowID",0},
4177 { "_time_t","_uint",0},
4178 { "_time_t","_size_t",0},
4179 { "_wxCoord","_int",0},
4180 { "_wxCoord","_signed_int",0},
4181 { "_wxCoord","_unsigned_int",0},
4182 { "_wxCoord","_wxWindowID",0},
4183 { "_wxCoord","_uint",0},
4184 { "_wxCoord","_EBool",0},
4185 { "_wxCoord","_size_t",0},
4186 { "_wxCoord","_time_t",0},
4187 { "_wxCoord","_wxPrintQuality",0},
4188 { "_wxSizer","_wxFlexGridSizer",SwigwxFlexGridSizerTowxSizer},
4189 { "_wxSizer","_wxGridSizer",SwigwxGridSizerTowxSizer},
4190 { "_wxSizer","_wxNotebookSizer",SwigwxNotebookSizerTowxSizer},
4191 { "_wxSizer","_wxStaticBoxSizer",SwigwxStaticBoxSizerTowxSizer},
4192 { "_wxSizer","_wxBoxSizer",SwigwxBoxSizerTowxSizer},
4193 { "_wxSizer","_wxPySizer",SwigwxPySizerTowxSizer},
4194 {0,0,0}};
4195
4196 static PyObject *SWIG_globals;
4197 #ifdef __cplusplus
4198 extern "C"
4199 #endif
4200 SWIGEXPORT(void) initsizersc() {
4201 PyObject *m, *d;
4202 SWIG_globals = SWIG_newvarlink();
4203 m = Py_InitModule("sizersc", sizerscMethods);
4204 d = PyModule_GetDict(m);
4205 PyDict_SetItemString(d,"wxFLEX_GROWMODE_NONE", PyInt_FromLong((long) wxFLEX_GROWMODE_NONE));
4206 PyDict_SetItemString(d,"wxFLEX_GROWMODE_SPECIFIED", PyInt_FromLong((long) wxFLEX_GROWMODE_SPECIFIED));
4207 PyDict_SetItemString(d,"wxFLEX_GROWMODE_ALL", PyInt_FromLong((long) wxFLEX_GROWMODE_ALL));
4208 {
4209 int i;
4210 for (i = 0; _swig_mapping[i].n1; i++)
4211 SWIG_RegisterMapping(_swig_mapping[i].n1,_swig_mapping[i].n2,_swig_mapping[i].pcnv);
4212 }
4213 }