]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/gtk/sizers.cpp
Added LoadFile and SaveFile methods
[wxWidgets.git] / wxPython / src / gtk / sizers.cpp
CommitLineData
37f6a977 1/*
2cd2fac8 2 * FILE : src/gtk/sizers.cpp
37f6a977
RD
3 *
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
2cd2fac8 6 * Version 1.1 (Build 883)
37f6a977
RD
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
b67a9327
RD
22#include "Python.h"
23
37f6a977
RD
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__)
3bcd5e1c 32# define SWIGEXPORT(a) a _export
37f6a977 33# else
3bcd5e1c 34# define SWIGEXPORT(a) a
37f6a977
RD
35# endif
36# endif
37#else
3bcd5e1c 38# define SWIGEXPORT(a) a
37f6a977
RD
39#endif
40
41#ifdef __cplusplus
42extern "C" {
43#endif
37f6a977
RD
44extern void SWIG_MakePtr(char *, void *, char *);
45extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
46extern char *SWIG_GetPtr(char *, void **, char *);
47extern char *SWIG_GetPtrObj(PyObject *, void **, char *);
48extern void SWIG_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
49extern 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
9df61a29
RD
59#include <wx/notebook.h>
60
37f6a977
RD
61
62static PyObject* t_output_helper(PyObject* target, PyObject* o) {
63 PyObject* o2;
64 PyObject* o3;
65
3bcd5e1c 66 if (!target) {
37f6a977 67 target = o;
3bcd5e1c 68 } else if (target == Py_None) {
37f6a977
RD
69 Py_DECREF(Py_None);
70 target = o;
3bcd5e1c 71 } else {
37f6a977
RD
72 if (!PyTuple_Check(target)) {
73 o2 = target;
74 target = PyTuple_New(1);
75 PyTuple_SetItem(target, 0, o2);
76 }
3bcd5e1c
RD
77 o3 = PyTuple_New(1);
78 PyTuple_SetItem(o3, 0, o);
37f6a977
RD
79
80 o2 = target;
3bcd5e1c
RD
81 target = PySequence_Concat(o2, o3);
82 Py_DECREF(o2);
37f6a977
RD
83 Py_DECREF(o3);
84 }
85 return target;
86}
87
37f6a977
RD
88class wxPySizer : public wxSizer {
89 DECLARE_DYNAMIC_CLASS(wxPySizer);
90public:
91 wxPySizer() : wxSizer() {};
92
93 DEC_PYCALLBACK___pure(RecalcSizes);
94 DEC_PYCALLBACK_wxSize__pure(CalcMin);
95 PYPRIVATE;
96};
97
98
99IMP_PYCALLBACK___pure(wxPySizer, wxSizer, RecalcSizes);
100IMP_PYCALLBACK_wxSize__pure(wxPySizer, wxSizer, CalcMin);
101
102IMPLEMENT_DYNAMIC_CLASS(wxPySizer, wxSizer);
103#ifdef __cplusplus
104extern "C" {
105#endif
9df61a29
RD
106static void *SwigwxSizerItemTowxObject(void *ptr) {
107 wxSizerItem *src;
108 wxObject *dest;
109 src = (wxSizerItem *) ptr;
110 dest = (wxObject *) src;
111 return (void *) dest;
112}
113
93283355
RD
114#define wxSizerItem_DeleteWindows(_swigobj) (_swigobj->DeleteWindows())
115static 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{
474c48f9 132 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 133 wxSizerItem_DeleteWindows(_arg0);
93283355 134
474c48f9 135 wxPyEndAllowThreads(__tstate);
93283355
RD
136 if (PyErr_Occurred()) return NULL;
137} Py_INCREF(Py_None);
138 _resultobj = Py_None;
139 return _resultobj;
140}
141
b67a9327
RD
142#define wxSizerItem_DetachSizer(_swigobj) (_swigobj->DetachSizer())
143static PyObject *_wrap_wxSizerItem_DetachSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
aa2a5b86 144 PyObject * _resultobj;
aa2a5b86
RD
145 wxSizerItem * _arg0;
146 PyObject * _argo0 = 0;
147 char *_kwnames[] = { "self", NULL };
aa2a5b86
RD
148
149 self = self;
b67a9327 150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSizerItem_DetachSizer",_kwnames,&_argo0))
aa2a5b86
RD
151 return NULL;
152 if (_argo0) {
153 if (_argo0 == Py_None) { _arg0 = NULL; }
154 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizerItem_p")) {
b67a9327 155 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizerItem_DetachSizer. Expected _wxSizerItem_p.");
aa2a5b86
RD
156 return NULL;
157 }
158 }
159{
474c48f9 160 PyThreadState* __tstate = wxPyBeginAllowThreads();
b67a9327 161 wxSizerItem_DetachSizer(_arg0);
aa2a5b86 162
474c48f9 163 wxPyEndAllowThreads(__tstate);
aa2a5b86 164 if (PyErr_Occurred()) return NULL;
b67a9327
RD
165} Py_INCREF(Py_None);
166 _resultobj = Py_None;
aa2a5b86
RD
167 return _resultobj;
168}
169
37f6a977
RD
170#define wxSizerItem_GetSize(_swigobj) (_swigobj->GetSize())
171static 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{
474c48f9 190 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 191 _result = new wxSize (wxSizerItem_GetSize(_arg0));
37f6a977 192
474c48f9 193 wxPyEndAllowThreads(__tstate);
4dfaa61e 194 if (PyErr_Occurred()) return NULL;
37f6a977
RD
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())
201static 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{
474c48f9 220 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 221 _result = new wxSize (wxSizerItem_CalcMin(_arg0));
37f6a977 222
474c48f9 223 wxPyEndAllowThreads(__tstate);
4dfaa61e 224 if (PyErr_Occurred()) return NULL;
37f6a977
RD
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))
231static 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{
474c48f9 264 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 265 wxSizerItem_SetDimension(_arg0,*_arg1,*_arg2);
37f6a977 266
474c48f9 267 wxPyEndAllowThreads(__tstate);
4dfaa61e 268 if (PyErr_Occurred()) return NULL;
37f6a977
RD
269} Py_INCREF(Py_None);
270 _resultobj = Py_None;
271 return _resultobj;
272}
273
b67a9327
RD
274#define wxSizerItem_GetMinSize(_swigobj) (_swigobj->GetMinSize())
275static 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))
305static 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
f6bcfd97
BP
334#define wxSizerItem_SetRatioWH(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRatio(_swigarg0,_swigarg1))
335static 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{
474c48f9 354 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 355 wxSizerItem_SetRatioWH(_arg0,_arg1,_arg2);
f6bcfd97 356
474c48f9 357 wxPyEndAllowThreads(__tstate);
4dfaa61e 358 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
359} Py_INCREF(Py_None);
360 _resultobj = Py_None;
361 return _resultobj;
362}
363
364#define wxSizerItem_SetRatioSize(_swigobj,_swigarg0) (_swigobj->SetRatio(_swigarg0))
365static 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{
474c48f9 390 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 391 wxSizerItem_SetRatioSize(_arg0,*_arg1);
f6bcfd97 392
474c48f9 393 wxPyEndAllowThreads(__tstate);
4dfaa61e 394 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
395} Py_INCREF(Py_None);
396 _resultobj = Py_None;
397 return _resultobj;
398}
399
400#define wxSizerItem_SetRatio(_swigobj,_swigarg0) (_swigobj->SetRatio(_swigarg0))
401static 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{
474c48f9 419 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 420 wxSizerItem_SetRatio(_arg0,_arg1);
f6bcfd97 421
474c48f9 422 wxPyEndAllowThreads(__tstate);
4dfaa61e 423 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
424} Py_INCREF(Py_None);
425 _resultobj = Py_None;
426 return _resultobj;
427}
428
429#define wxSizerItem_GetRatio(_swigobj) (_swigobj->GetRatio())
430static 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{
474c48f9 448 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 449 _result = (float )wxSizerItem_GetRatio(_arg0);
f6bcfd97 450
474c48f9 451 wxPyEndAllowThreads(__tstate);
4dfaa61e 452 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
453} _resultobj = Py_BuildValue("f",_result);
454 return _resultobj;
455}
456
37f6a977
RD
457#define wxSizerItem_IsWindow(_swigobj) (_swigobj->IsWindow())
458static 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{
474c48f9 476 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 477 _result = (bool )wxSizerItem_IsWindow(_arg0);
37f6a977 478
474c48f9 479 wxPyEndAllowThreads(__tstate);
4dfaa61e 480 if (PyErr_Occurred()) return NULL;
37f6a977
RD
481} _resultobj = Py_BuildValue("i",_result);
482 return _resultobj;
483}
484
485#define wxSizerItem_IsSizer(_swigobj) (_swigobj->IsSizer())
486static 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{
474c48f9 504 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 505 _result = (bool )wxSizerItem_IsSizer(_arg0);
37f6a977 506
474c48f9 507 wxPyEndAllowThreads(__tstate);
4dfaa61e 508 if (PyErr_Occurred()) return NULL;
37f6a977
RD
509} _resultobj = Py_BuildValue("i",_result);
510 return _resultobj;
511}
512
513#define wxSizerItem_IsSpacer(_swigobj) (_swigobj->IsSpacer())
514static 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{
474c48f9 532 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 533 _result = (bool )wxSizerItem_IsSpacer(_arg0);
37f6a977 534
474c48f9 535 wxPyEndAllowThreads(__tstate);
4dfaa61e 536 if (PyErr_Occurred()) return NULL;
37f6a977
RD
537} _resultobj = Py_BuildValue("i",_result);
538 return _resultobj;
539}
540
b67a9327
RD
541#define wxSizerItem_SetProportion(_swigobj,_swigarg0) (_swigobj->SetProportion(_swigarg0))
542static PyObject *_wrap_wxSizerItem_SetProportion(PyObject *self, PyObject *args, PyObject *kwargs) {
f6bcfd97
BP
543 PyObject * _resultobj;
544 wxSizerItem * _arg0;
b67a9327 545 int _arg1;
f6bcfd97 546 PyObject * _argo0 = 0;
b67a9327 547 char *_kwnames[] = { "self","proportion", NULL };
f6bcfd97
BP
548
549 self = self;
b67a9327 550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSizerItem_SetProportion",_kwnames,&_argo0,&_arg1))
f6bcfd97
BP
551 return NULL;
552 if (_argo0) {
553 if (_argo0 == Py_None) { _arg0 = NULL; }
554 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizerItem_p")) {
b67a9327 555 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizerItem_SetProportion. Expected _wxSizerItem_p.");
f6bcfd97
BP
556 return NULL;
557 }
558 }
559{
474c48f9 560 PyThreadState* __tstate = wxPyBeginAllowThreads();
b67a9327 561 wxSizerItem_SetProportion(_arg0,_arg1);
f6bcfd97 562
474c48f9 563 wxPyEndAllowThreads(__tstate);
4dfaa61e 564 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
565} Py_INCREF(Py_None);
566 _resultobj = Py_None;
567 return _resultobj;
568}
569
b67a9327
RD
570#define wxSizerItem_GetProportion(_swigobj) (_swigobj->GetProportion())
571static PyObject *_wrap_wxSizerItem_GetProportion(PyObject *self, PyObject *args, PyObject *kwargs) {
37f6a977 572 PyObject * _resultobj;
b67a9327 573 int _result;
37f6a977
RD
574 wxSizerItem * _arg0;
575 PyObject * _argo0 = 0;
576 char *_kwnames[] = { "self", NULL };
37f6a977
RD
577
578 self = self;
b67a9327 579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSizerItem_GetProportion",_kwnames,&_argo0))
37f6a977
RD
580 return NULL;
581 if (_argo0) {
582 if (_argo0 == Py_None) { _arg0 = NULL; }
583 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizerItem_p")) {
b67a9327 584 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizerItem_GetProportion. Expected _wxSizerItem_p.");
37f6a977
RD
585 return NULL;
586 }
587 }
588{
474c48f9 589 PyThreadState* __tstate = wxPyBeginAllowThreads();
b67a9327 590 _result = (int )wxSizerItem_GetProportion(_arg0);
37f6a977 591
474c48f9 592 wxPyEndAllowThreads(__tstate);
4dfaa61e 593 if (PyErr_Occurred()) return NULL;
b67a9327 594} _resultobj = Py_BuildValue("i",_result);
37f6a977
RD
595 return _resultobj;
596}
597
b67a9327
RD
598#define wxSizerItem_SetFlag(_swigobj,_swigarg0) (_swigobj->SetFlag(_swigarg0))
599static PyObject *_wrap_wxSizerItem_SetFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
f6bcfd97
BP
600 PyObject * _resultobj;
601 wxSizerItem * _arg0;
b67a9327 602 int _arg1;
f6bcfd97 603 PyObject * _argo0 = 0;
b67a9327 604 char *_kwnames[] = { "self","flag", NULL };
f6bcfd97
BP
605
606 self = self;
b67a9327 607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSizerItem_SetFlag",_kwnames,&_argo0,&_arg1))
f6bcfd97
BP
608 return NULL;
609 if (_argo0) {
610 if (_argo0 == Py_None) { _arg0 = NULL; }
611 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizerItem_p")) {
b67a9327 612 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizerItem_SetFlag. Expected _wxSizerItem_p.");
f6bcfd97
BP
613 return NULL;
614 }
615 }
616{
474c48f9 617 PyThreadState* __tstate = wxPyBeginAllowThreads();
b67a9327 618 wxSizerItem_SetFlag(_arg0,_arg1);
f6bcfd97 619
474c48f9 620 wxPyEndAllowThreads(__tstate);
4dfaa61e 621 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
622} Py_INCREF(Py_None);
623 _resultobj = Py_None;
624 return _resultobj;
625}
626
b67a9327
RD
627#define wxSizerItem_GetFlag(_swigobj) (_swigobj->GetFlag())
628static PyObject *_wrap_wxSizerItem_GetFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
37f6a977
RD
629 PyObject * _resultobj;
630 int _result;
631 wxSizerItem * _arg0;
632 PyObject * _argo0 = 0;
633 char *_kwnames[] = { "self", NULL };
634
635 self = self;
b67a9327 636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSizerItem_GetFlag",_kwnames,&_argo0))
37f6a977
RD
637 return NULL;
638 if (_argo0) {
639 if (_argo0 == Py_None) { _arg0 = NULL; }
640 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizerItem_p")) {
b67a9327 641 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizerItem_GetFlag. Expected _wxSizerItem_p.");
37f6a977
RD
642 return NULL;
643 }
644 }
645{
474c48f9 646 PyThreadState* __tstate = wxPyBeginAllowThreads();
b67a9327 647 _result = (int )wxSizerItem_GetFlag(_arg0);
37f6a977 648
474c48f9 649 wxPyEndAllowThreads(__tstate);
4dfaa61e 650 if (PyErr_Occurred()) return NULL;
37f6a977
RD
651} _resultobj = Py_BuildValue("i",_result);
652 return _resultobj;
653}
654
b67a9327
RD
655#define wxSizerItem_SetBorder(_swigobj,_swigarg0) (_swigobj->SetBorder(_swigarg0))
656static PyObject *_wrap_wxSizerItem_SetBorder(PyObject *self, PyObject *args, PyObject *kwargs) {
37f6a977 657 PyObject * _resultobj;
37f6a977 658 wxSizerItem * _arg0;
b67a9327 659 int _arg1;
37f6a977 660 PyObject * _argo0 = 0;
b67a9327 661 char *_kwnames[] = { "self","border", NULL };
37f6a977
RD
662
663 self = self;
b67a9327 664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSizerItem_SetBorder",_kwnames,&_argo0,&_arg1))
37f6a977
RD
665 return NULL;
666 if (_argo0) {
667 if (_argo0 == Py_None) { _arg0 = NULL; }
668 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizerItem_p")) {
b67a9327 669 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizerItem_SetBorder. Expected _wxSizerItem_p.");
37f6a977
RD
670 return NULL;
671 }
672 }
673{
474c48f9 674 PyThreadState* __tstate = wxPyBeginAllowThreads();
b67a9327 675 wxSizerItem_SetBorder(_arg0,_arg1);
37f6a977 676
474c48f9 677 wxPyEndAllowThreads(__tstate);
4dfaa61e 678 if (PyErr_Occurred()) return NULL;
b67a9327
RD
679} Py_INCREF(Py_None);
680 _resultobj = Py_None;
37f6a977
RD
681 return _resultobj;
682}
683
684#define wxSizerItem_GetBorder(_swigobj) (_swigobj->GetBorder())
685static 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{
474c48f9 703 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 704 _result = (int )wxSizerItem_GetBorder(_arg0);
37f6a977 705
474c48f9 706 wxPyEndAllowThreads(__tstate);
4dfaa61e 707 if (PyErr_Occurred()) return NULL;
37f6a977
RD
708} _resultobj = Py_BuildValue("i",_result);
709 return _resultobj;
710}
711
b67a9327
RD
712#define wxSizerItem_GetWindow(_swigobj) (_swigobj->GetWindow())
713static PyObject *_wrap_wxSizerItem_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
ab2208b5 714 PyObject * _resultobj;
b67a9327 715 wxWindow * _result;
ab2208b5 716 wxSizerItem * _arg0;
ab2208b5 717 PyObject * _argo0 = 0;
b67a9327 718 char *_kwnames[] = { "self", NULL };
ab2208b5
RD
719
720 self = self;
b67a9327 721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSizerItem_GetWindow",_kwnames,&_argo0))
ab2208b5
RD
722 return NULL;
723 if (_argo0) {
724 if (_argo0 == Py_None) { _arg0 = NULL; }
725 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizerItem_p")) {
b67a9327 726 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizerItem_GetWindow. Expected _wxSizerItem_p.");
ab2208b5
RD
727 return NULL;
728 }
729 }
730{
474c48f9 731 PyThreadState* __tstate = wxPyBeginAllowThreads();
b67a9327 732 _result = (wxWindow *)wxSizerItem_GetWindow(_arg0);
ab2208b5 733
474c48f9 734 wxPyEndAllowThreads(__tstate);
4dfaa61e 735 if (PyErr_Occurred()) return NULL;
b67a9327 736}{ _resultobj = wxPyMake_wxObject(_result); }
ab2208b5
RD
737 return _resultobj;
738}
739
b67a9327
RD
740#define wxSizerItem_SetWindow(_swigobj,_swigarg0) (_swigobj->SetWindow(_swigarg0))
741static PyObject *_wrap_wxSizerItem_SetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
ab2208b5
RD
742 PyObject * _resultobj;
743 wxSizerItem * _arg0;
b67a9327 744 wxWindow * _arg1;
ab2208b5 745 PyObject * _argo0 = 0;
b67a9327
RD
746 PyObject * _argo1 = 0;
747 char *_kwnames[] = { "self","window", NULL };
ab2208b5
RD
748
749 self = self;
b67a9327 750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxSizerItem_SetWindow",_kwnames,&_argo0,&_argo1))
ab2208b5
RD
751 return NULL;
752 if (_argo0) {
753 if (_argo0 == Py_None) { _arg0 = NULL; }
754 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizerItem_p")) {
b67a9327
RD
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.");
ab2208b5
RD
763 return NULL;
764 }
765 }
766{
474c48f9 767 PyThreadState* __tstate = wxPyBeginAllowThreads();
b67a9327 768 wxSizerItem_SetWindow(_arg0,_arg1);
ab2208b5 769
474c48f9 770 wxPyEndAllowThreads(__tstate);
4dfaa61e 771 if (PyErr_Occurred()) return NULL;
ab2208b5
RD
772} Py_INCREF(Py_None);
773 _resultobj = Py_None;
774 return _resultobj;
775}
776
b67a9327
RD
777#define wxSizerItem_GetSizer(_swigobj) (_swigobj->GetSizer())
778static PyObject *_wrap_wxSizerItem_GetSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
ab2208b5 779 PyObject * _resultobj;
b67a9327 780 wxSizer * _result;
ab2208b5 781 wxSizerItem * _arg0;
ab2208b5 782 PyObject * _argo0 = 0;
b67a9327 783 char *_kwnames[] = { "self", NULL };
ab2208b5
RD
784
785 self = self;
b67a9327 786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSizerItem_GetSizer",_kwnames,&_argo0))
ab2208b5
RD
787 return NULL;
788 if (_argo0) {
789 if (_argo0 == Py_None) { _arg0 = NULL; }
790 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizerItem_p")) {
b67a9327 791 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizerItem_GetSizer. Expected _wxSizerItem_p.");
ab2208b5
RD
792 return NULL;
793 }
794 }
795{
474c48f9 796 PyThreadState* __tstate = wxPyBeginAllowThreads();
b67a9327 797 _result = (wxSizer *)wxSizerItem_GetSizer(_arg0);
ab2208b5 798
474c48f9 799 wxPyEndAllowThreads(__tstate);
4dfaa61e 800 if (PyErr_Occurred()) return NULL;
b67a9327 801}{ _resultobj = wxPyMake_wxSizer(_result); }
ab2208b5
RD
802 return _resultobj;
803}
804
b67a9327
RD
805#define wxSizerItem_SetSizer(_swigobj,_swigarg0) (_swigobj->SetSizer(_swigarg0))
806static PyObject *_wrap_wxSizerItem_SetSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
ab2208b5
RD
807 PyObject * _resultobj;
808 wxSizerItem * _arg0;
b67a9327 809 wxSizer * _arg1;
ab2208b5 810 PyObject * _argo0 = 0;
b67a9327
RD
811 PyObject * _argo1 = 0;
812 char *_kwnames[] = { "self","sizer", NULL };
ab2208b5
RD
813
814 self = self;
b67a9327 815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxSizerItem_SetSizer",_kwnames,&_argo0,&_argo1))
ab2208b5
RD
816 return NULL;
817 if (_argo0) {
818 if (_argo0 == Py_None) { _arg0 = NULL; }
819 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizerItem_p")) {
b67a9327
RD
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.");
ab2208b5
RD
828 return NULL;
829 }
830 }
831{
474c48f9 832 PyThreadState* __tstate = wxPyBeginAllowThreads();
b67a9327 833 wxSizerItem_SetSizer(_arg0,_arg1);
ab2208b5 834
474c48f9 835 wxPyEndAllowThreads(__tstate);
4dfaa61e 836 if (PyErr_Occurred()) return NULL;
ab2208b5
RD
837} Py_INCREF(Py_None);
838 _resultobj = Py_None;
839 return _resultobj;
840}
841
b67a9327
RD
842#define wxSizerItem_GetSpacer(_swigobj) (_swigobj->GetSpacer())
843static PyObject *_wrap_wxSizerItem_GetSpacer(PyObject *self, PyObject *args, PyObject *kwargs) {
37f6a977 844 PyObject * _resultobj;
b67a9327 845 wxSize * _result;
37f6a977
RD
846 wxSizerItem * _arg0;
847 PyObject * _argo0 = 0;
848 char *_kwnames[] = { "self", NULL };
b67a9327 849 char _ptemp[128];
37f6a977
RD
850
851 self = self;
b67a9327
RD
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))
879static 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))
915static 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())
946static 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())
974static 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
1003static 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 }
1013static 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))
37f6a977
RD
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{
474c48f9 1031 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1032 _result = (PyObject *)wxSizerItem_GetUserData(_arg0);
37f6a977 1033
474c48f9 1034 wxPyEndAllowThreads(__tstate);
4dfaa61e 1035 if (PyErr_Occurred()) return NULL;
37f6a977
RD
1036}{
1037 _resultobj = _result;
1038}
1039 return _resultobj;
1040}
1041
9df61a29
RD
1042static void *SwigwxSizerTowxObject(void *ptr) {
1043 wxSizer *src;
1044 wxObject *dest;
1045 src = (wxSizer *) ptr;
1046 dest = (wxObject *) src;
1047 return (void *) dest;
1048}
1049
17c0e08c 1050static void wxSizer__setOORInfo(wxSizer *self,PyObject * _self) {
301dfd67 1051 self->SetClientObject(new wxPyOORClientData(_self));
17c0e08c
RD
1052 }
1053static 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{
474c48f9 1075 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1076 wxSizer__setOORInfo(_arg0,_arg1);
17c0e08c 1077
474c48f9 1078 wxPyEndAllowThreads(__tstate);
17c0e08c
RD
1079 if (PyErr_Occurred()) return NULL;
1080} Py_INCREF(Py_None);
1081 _resultobj = Py_None;
1082 return _resultobj;
1083}
1084
37f6a977
RD
1085static void wxSizer_Destroy(wxSizer *self) { delete self; }
1086static 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{
474c48f9 1103 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1104 wxSizer_Destroy(_arg0);
37f6a977 1105
474c48f9 1106 wxPyEndAllowThreads(__tstate);
4dfaa61e 1107 if (PyErr_Occurred()) return NULL;
37f6a977
RD
1108} Py_INCREF(Py_None);
1109 _resultobj = Py_None;
1110 return _resultobj;
1111}
1112
b67a9327 1113static void wxSizer_AddWindow(wxSizer *self,wxWindow * window,int proportion,int flag,int border,PyObject * userData) {
37f6a977
RD
1114 wxPyUserData* data = NULL;
1115 if (userData) data = new wxPyUserData(userData);
b67a9327 1116 self->Add(window, proportion, flag, border, data);
37f6a977
RD
1117 }
1118static 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;
b67a9327 1129 char *_kwnames[] = { "self","window","proportion","flag","border","userData", NULL };
37f6a977
RD
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{
474c48f9 1153 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1154 wxSizer_AddWindow(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
37f6a977 1155
474c48f9 1156 wxPyEndAllowThreads(__tstate);
4dfaa61e 1157 if (PyErr_Occurred()) return NULL;
37f6a977
RD
1158} Py_INCREF(Py_None);
1159 _resultobj = Py_None;
1160 return _resultobj;
1161}
1162
b67a9327 1163static void wxSizer_AddSizer(wxSizer *self,wxSizer * sizer,int proportion,int flag,int border,PyObject * userData) {
37f6a977
RD
1164 wxPyUserData* data = NULL;
1165 if (userData) data = new wxPyUserData(userData);
b67a9327 1166 self->Add(sizer, proportion, flag, border, data);
37f6a977
RD
1167 }
1168static 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;
b67a9327 1179 char *_kwnames[] = { "self","sizer","proportion","flag","border","userData", NULL };
37f6a977
RD
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{
474c48f9 1203 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1204 wxSizer_AddSizer(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
37f6a977 1205
474c48f9 1206 wxPyEndAllowThreads(__tstate);
4dfaa61e 1207 if (PyErr_Occurred()) return NULL;
37f6a977
RD
1208} Py_INCREF(Py_None);
1209 _resultobj = Py_None;
1210 return _resultobj;
1211}
1212
b67a9327 1213static void wxSizer_AddSpacer(wxSizer *self,int width,int height,int proportion,int flag,int border,PyObject * userData) {
37f6a977
RD
1214 wxPyUserData* data = NULL;
1215 if (userData) data = new wxPyUserData(userData);
b67a9327 1216 self->Add(width, height, proportion, flag, border, data);
37f6a977
RD
1217 }
1218static 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;
b67a9327 1229 char *_kwnames[] = { "self","width","height","proportion","flag","border","userData", NULL };
37f6a977
RD
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{
474c48f9 1246 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1247 wxSizer_AddSpacer(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
37f6a977 1248
474c48f9 1249 wxPyEndAllowThreads(__tstate);
4dfaa61e 1250 if (PyErr_Occurred()) return NULL;
37f6a977
RD
1251} Py_INCREF(Py_None);
1252 _resultobj = Py_None;
1253 return _resultobj;
1254}
1255
b67a9327 1256static void wxSizer_InsertWindow(wxSizer *self,int before,wxWindow * window,int proportion,int flag,int border,PyObject * userData) {
f6bcfd97
BP
1257 wxPyUserData* data = NULL;
1258 if (userData) data = new wxPyUserData(userData);
b67a9327 1259 self->Insert(before, window, proportion, flag, border, data);
f6bcfd97
BP
1260 }
1261static 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;
b67a9327 1273 char *_kwnames[] = { "self","before","window","proportion","flag","border","userData", NULL };
f6bcfd97
BP
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{
474c48f9 1297 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1298 wxSizer_InsertWindow(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
f6bcfd97 1299
474c48f9 1300 wxPyEndAllowThreads(__tstate);
4dfaa61e 1301 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1302} Py_INCREF(Py_None);
1303 _resultobj = Py_None;
1304 return _resultobj;
1305}
1306
b67a9327 1307static void wxSizer_InsertSizer(wxSizer *self,int before,wxSizer * sizer,int proportion,int flag,int border,PyObject * userData) {
f6bcfd97
BP
1308 wxPyUserData* data = NULL;
1309 if (userData) data = new wxPyUserData(userData);
b67a9327 1310 self->Insert(before, sizer, proportion, flag, border, data);
f6bcfd97
BP
1311 }
1312static 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;
b67a9327 1324 char *_kwnames[] = { "self","before","sizer","proportion","flag","border","userData", NULL };
f6bcfd97
BP
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{
474c48f9 1348 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1349 wxSizer_InsertSizer(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
f6bcfd97 1350
474c48f9 1351 wxPyEndAllowThreads(__tstate);
4dfaa61e 1352 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1353} Py_INCREF(Py_None);
1354 _resultobj = Py_None;
1355 return _resultobj;
1356}
1357
b67a9327 1358static void wxSizer_InsertSpacer(wxSizer *self,int before,int width,int height,int proportion,int flag,int border,PyObject * userData) {
f6bcfd97
BP
1359 wxPyUserData* data = NULL;
1360 if (userData) data = new wxPyUserData(userData);
b67a9327 1361 self->Insert(before, width, height, proportion, flag, border, data);
f6bcfd97
BP
1362 }
1363static 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;
b67a9327 1375 char *_kwnames[] = { "self","before","width","height","proportion","flag","border","userData", NULL };
f6bcfd97
BP
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{
474c48f9 1392 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1393 wxSizer_InsertSpacer(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7);
f6bcfd97 1394
474c48f9 1395 wxPyEndAllowThreads(__tstate);
4dfaa61e 1396 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1397} Py_INCREF(Py_None);
1398 _resultobj = Py_None;
1399 return _resultobj;
1400}
1401
b67a9327 1402static void wxSizer_PrependWindow(wxSizer *self,wxWindow * window,int proportion,int flag,int border,PyObject * userData) {
37f6a977
RD
1403 wxPyUserData* data = NULL;
1404 if (userData) data = new wxPyUserData(userData);
b67a9327 1405 self->Prepend(window, proportion, flag, border, data);
37f6a977
RD
1406 }
1407static 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;
b67a9327 1418 char *_kwnames[] = { "self","window","proportion","flag","border","userData", NULL };
37f6a977
RD
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{
474c48f9 1442 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1443 wxSizer_PrependWindow(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
37f6a977 1444
474c48f9 1445 wxPyEndAllowThreads(__tstate);
4dfaa61e 1446 if (PyErr_Occurred()) return NULL;
37f6a977
RD
1447} Py_INCREF(Py_None);
1448 _resultobj = Py_None;
1449 return _resultobj;
1450}
1451
b67a9327 1452static void wxSizer_PrependSizer(wxSizer *self,wxSizer * sizer,int proportion,int flag,int border,PyObject * userData) {
37f6a977
RD
1453 wxPyUserData* data = NULL;
1454 if (userData) data = new wxPyUserData(userData);
b67a9327 1455 self->Prepend(sizer, proportion, flag, border, data);
37f6a977
RD
1456 }
1457static 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;
b67a9327 1468 char *_kwnames[] = { "self","sizer","proportion","flag","border","userData", NULL };
37f6a977
RD
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{
474c48f9 1492 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1493 wxSizer_PrependSizer(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
37f6a977 1494
474c48f9 1495 wxPyEndAllowThreads(__tstate);
4dfaa61e 1496 if (PyErr_Occurred()) return NULL;
37f6a977
RD
1497} Py_INCREF(Py_None);
1498 _resultobj = Py_None;
1499 return _resultobj;
1500}
1501
b67a9327 1502static void wxSizer_PrependSpacer(wxSizer *self,int width,int height,int proportion,int flag,int border,PyObject * userData) {
37f6a977
RD
1503 wxPyUserData* data = NULL;
1504 if (userData) data = new wxPyUserData(userData);
b67a9327 1505 self->Prepend(width, height, proportion, flag, border, data);
37f6a977
RD
1506 }
1507static 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;
b67a9327 1518 char *_kwnames[] = { "self","width","height","proportion","flag","border","userData", NULL };
37f6a977
RD
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{
474c48f9 1535 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1536 wxSizer_PrependSpacer(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
37f6a977 1537
474c48f9 1538 wxPyEndAllowThreads(__tstate);
4dfaa61e 1539 if (PyErr_Occurred()) return NULL;
37f6a977
RD
1540} Py_INCREF(Py_None);
1541 _resultobj = Py_None;
1542 return _resultobj;
1543}
1544
1545#define wxSizer_RemoveWindow(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
1546static 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{
474c48f9 1573 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1574 _result = (bool )wxSizer_RemoveWindow(_arg0,_arg1);
37f6a977 1575
474c48f9 1576 wxPyEndAllowThreads(__tstate);
4dfaa61e 1577 if (PyErr_Occurred()) return NULL;
37f6a977
RD
1578} _resultobj = Py_BuildValue("i",_result);
1579 return _resultobj;
1580}
1581
1582#define wxSizer_RemoveSizer(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
1583static 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{
474c48f9 1610 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1611 _result = (bool )wxSizer_RemoveSizer(_arg0,_arg1);
37f6a977 1612
474c48f9 1613 wxPyEndAllowThreads(__tstate);
4dfaa61e 1614 if (PyErr_Occurred()) return NULL;
37f6a977
RD
1615} _resultobj = Py_BuildValue("i",_result);
1616 return _resultobj;
1617}
1618
1619#define wxSizer_RemovePos(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
1620static 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{
474c48f9 1639 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1640 _result = (bool )wxSizer_RemovePos(_arg0,_arg1);
37f6a977 1641
474c48f9 1642 wxPyEndAllowThreads(__tstate);
4dfaa61e 1643 if (PyErr_Occurred()) return NULL;
37f6a977
RD
1644} _resultobj = Py_BuildValue("i",_result);
1645 return _resultobj;
1646}
1647
b67a9327
RD
1648#define wxSizer_DetachWindow(_swigobj,_swigarg0) (_swigobj->Detach(_swigarg0))
1649static PyObject *_wrap_wxSizer_DetachWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
37f6a977 1650 PyObject * _resultobj;
b67a9327 1651 bool _result;
37f6a977 1652 wxSizer * _arg0;
b67a9327 1653 wxWindow * _arg1;
37f6a977 1654 PyObject * _argo0 = 0;
b67a9327
RD
1655 PyObject * _argo1 = 0;
1656 char *_kwnames[] = { "self","window", NULL };
37f6a977
RD
1657
1658 self = self;
b67a9327 1659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxSizer_DetachWindow",_kwnames,&_argo0,&_argo1))
37f6a977
RD
1660 return NULL;
1661 if (_argo0) {
1662 if (_argo0 == Py_None) { _arg0 = NULL; }
1663 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizer_p")) {
b67a9327
RD
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.");
37f6a977
RD
1672 return NULL;
1673 }
1674 }
1675{
474c48f9 1676 PyThreadState* __tstate = wxPyBeginAllowThreads();
b67a9327 1677 _result = (bool )wxSizer_DetachWindow(_arg0,_arg1);
37f6a977 1678
474c48f9 1679 wxPyEndAllowThreads(__tstate);
4dfaa61e 1680 if (PyErr_Occurred()) return NULL;
b67a9327 1681} _resultobj = Py_BuildValue("i",_result);
37f6a977
RD
1682 return _resultobj;
1683}
1684
b67a9327
RD
1685#define wxSizer_DetachSizer(_swigobj,_swigarg0) (_swigobj->Detach(_swigarg0))
1686static PyObject *_wrap_wxSizer_DetachSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
f6bcfd97 1687 PyObject * _resultobj;
b67a9327 1688 bool _result;
f6bcfd97 1689 wxSizer * _arg0;
b67a9327 1690 wxSizer * _arg1;
f6bcfd97 1691 PyObject * _argo0 = 0;
b67a9327
RD
1692 PyObject * _argo1 = 0;
1693 char *_kwnames[] = { "self","sizer", NULL };
f6bcfd97
BP
1694
1695 self = self;
b67a9327 1696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxSizer_DetachSizer",_kwnames,&_argo0,&_argo1))
f6bcfd97
BP
1697 return NULL;
1698 if (_argo0) {
1699 if (_argo0 == Py_None) { _arg0 = NULL; }
1700 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizer_p")) {
b67a9327 1701 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizer_DetachSizer. Expected _wxSizer_p.");
f6bcfd97
BP
1702 return NULL;
1703 }
1704 }
b67a9327
RD
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.");
f6bcfd97 1709 return NULL;
b67a9327
RD
1710 }
1711 }
f6bcfd97 1712{
474c48f9 1713 PyThreadState* __tstate = wxPyBeginAllowThreads();
b67a9327 1714 _result = (bool )wxSizer_DetachSizer(_arg0,_arg1);
f6bcfd97 1715
474c48f9 1716 wxPyEndAllowThreads(__tstate);
4dfaa61e 1717 if (PyErr_Occurred()) return NULL;
b67a9327 1718} _resultobj = Py_BuildValue("i",_result);
f6bcfd97
BP
1719 return _resultobj;
1720}
1721
b67a9327
RD
1722#define wxSizer_DetachPos(_swigobj,_swigarg0) (_swigobj->Detach(_swigarg0))
1723static PyObject *_wrap_wxSizer_DetachPos(PyObject *self, PyObject *args, PyObject *kwargs) {
f6bcfd97 1724 PyObject * _resultobj;
b67a9327 1725 bool _result;
f6bcfd97 1726 wxSizer * _arg0;
b67a9327 1727 int _arg1;
f6bcfd97 1728 PyObject * _argo0 = 0;
b67a9327 1729 char *_kwnames[] = { "self","pos", NULL };
f6bcfd97
BP
1730
1731 self = self;
b67a9327 1732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSizer_DetachPos",_kwnames,&_argo0,&_arg1))
f6bcfd97
BP
1733 return NULL;
1734 if (_argo0) {
1735 if (_argo0 == Py_None) { _arg0 = NULL; }
1736 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizer_p")) {
b67a9327 1737 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizer_DetachPos. Expected _wxSizer_p.");
f6bcfd97
BP
1738 return NULL;
1739 }
1740 }
1741{
474c48f9 1742 PyThreadState* __tstate = wxPyBeginAllowThreads();
b67a9327 1743 _result = (bool )wxSizer_DetachPos(_arg0,_arg1);
f6bcfd97 1744
474c48f9 1745 wxPyEndAllowThreads(__tstate);
4dfaa61e 1746 if (PyErr_Occurred()) return NULL;
b67a9327 1747} _resultobj = Py_BuildValue("i",_result);
f6bcfd97
BP
1748 return _resultobj;
1749}
1750
b67a9327
RD
1751#define wxSizer_Clear(_swigobj,_swigarg0) (_swigobj->Clear(_swigarg0))
1752static PyObject *_wrap_wxSizer_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
f6bcfd97
BP
1753 PyObject * _resultobj;
1754 wxSizer * _arg0;
b67a9327 1755 bool _arg1 = (bool ) false;
f6bcfd97 1756 PyObject * _argo0 = 0;
b67a9327
RD
1757 int tempbool1 = (int) false;
1758 char *_kwnames[] = { "self","delete_windows", NULL };
f6bcfd97
BP
1759
1760 self = self;
b67a9327 1761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxSizer_Clear",_kwnames,&_argo0,&tempbool1))
f6bcfd97
BP
1762 return NULL;
1763 if (_argo0) {
1764 if (_argo0 == Py_None) { _arg0 = NULL; }
1765 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizer_p")) {
b67a9327 1766 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizer_Clear. Expected _wxSizer_p.");
f6bcfd97
BP
1767 return NULL;
1768 }
1769 }
b67a9327 1770 _arg1 = (bool ) tempbool1;
f6bcfd97 1771{
474c48f9 1772 PyThreadState* __tstate = wxPyBeginAllowThreads();
b67a9327 1773 wxSizer_Clear(_arg0,_arg1);
f6bcfd97 1774
474c48f9 1775 wxPyEndAllowThreads(__tstate);
4dfaa61e 1776 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1777} Py_INCREF(Py_None);
1778 _resultobj = Py_None;
1779 return _resultobj;
1780}
1781
b67a9327
RD
1782#define wxSizer_DeleteWindows(_swigobj) (_swigobj->DeleteWindows())
1783static PyObject *_wrap_wxSizer_DeleteWindows(PyObject *self, PyObject *args, PyObject *kwargs) {
f6bcfd97
BP
1784 PyObject * _resultobj;
1785 wxSizer * _arg0;
f6bcfd97 1786 PyObject * _argo0 = 0;
b67a9327 1787 char *_kwnames[] = { "self", NULL };
f6bcfd97
BP
1788
1789 self = self;
b67a9327 1790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSizer_DeleteWindows",_kwnames,&_argo0))
f6bcfd97
BP
1791 return NULL;
1792 if (_argo0) {
1793 if (_argo0 == Py_None) { _arg0 = NULL; }
1794 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizer_p")) {
b67a9327 1795 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizer_DeleteWindows. Expected _wxSizer_p.");
f6bcfd97
BP
1796 return NULL;
1797 }
1798 }
1799{
474c48f9 1800 PyThreadState* __tstate = wxPyBeginAllowThreads();
b67a9327 1801 wxSizer_DeleteWindows(_arg0);
f6bcfd97 1802
474c48f9 1803 wxPyEndAllowThreads(__tstate);
4dfaa61e 1804 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1805} Py_INCREF(Py_None);
1806 _resultobj = Py_None;
1807 return _resultobj;
1808}
1809
b67a9327
RD
1810#define wxSizer_SetMinSize(_swigobj,_swigarg0) (_swigobj->SetMinSize(_swigarg0))
1811static PyObject *_wrap_wxSizer_SetMinSize(PyObject *self, PyObject *args, PyObject *kwargs) {
37f6a977 1812 PyObject * _resultobj;
37f6a977 1813 wxSizer * _arg0;
b67a9327 1814 wxSize * _arg1;
37f6a977 1815 PyObject * _argo0 = 0;
b67a9327
RD
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))
1847static 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))
1892static 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))
1937static 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))
1974static 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))
2013static 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))
2052static 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())
2083static 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];
37f6a977
RD
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{
474c48f9 2102 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2103 _result = new wxSize (wxSizer_GetSize(_arg0));
37f6a977 2104
474c48f9 2105 wxPyEndAllowThreads(__tstate);
4dfaa61e 2106 if (PyErr_Occurred()) return NULL;
37f6a977
RD
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())
2113static 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{
474c48f9 2132 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2133 _result = new wxPoint (wxSizer_GetPosition(_arg0));
37f6a977 2134
474c48f9 2135 wxPyEndAllowThreads(__tstate);
4dfaa61e 2136 if (PyErr_Occurred()) return NULL;
37f6a977
RD
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())
2143static PyObject *_wrap_wxSizer_GetMinSize(PyObject *self, PyObject *args, PyObject *kwargs) {
2144 PyObject * _resultobj;
b67a9327
RD
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())
2173static 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))
2201static 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))
2240static 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))
2277static 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))
2314static 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
2350static PyObject * wxSizer_GetChildren(wxSizer *self) {
2351 wxSizerItemList& list = self->GetChildren();
2352 return wxPy_ConvertList(&list, "wxSizerItem");
2353 }
2354static 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))
2384static 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))
2416static 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))
2456static PyObject *_wrap_wxSizer_ShowSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
2457 PyObject * _resultobj;
37f6a977 2458 wxSizer * _arg0;
b67a9327
RD
2459 wxSizer * _arg1;
2460 bool _arg2 = (bool ) TRUE;
37f6a977 2461 PyObject * _argo0 = 0;
b67a9327
RD
2462 PyObject * _argo1 = 0;
2463 int tempbool2 = (int) TRUE;
2464 char *_kwnames[] = { "self","sizer","show", NULL };
37f6a977
RD
2465
2466 self = self;
b67a9327 2467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxSizer_ShowSizer",_kwnames,&_argo0,&_argo1,&tempbool2))
37f6a977
RD
2468 return NULL;
2469 if (_argo0) {
2470 if (_argo0 == Py_None) { _arg0 = NULL; }
2471 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizer_p")) {
b67a9327
RD
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.");
37f6a977
RD
2480 return NULL;
2481 }
2482 }
b67a9327 2483 _arg2 = (bool ) tempbool2;
37f6a977 2484{
474c48f9 2485 PyThreadState* __tstate = wxPyBeginAllowThreads();
b67a9327 2486 wxSizer_ShowSizer(_arg0,_arg1,_arg2);
37f6a977 2487
474c48f9 2488 wxPyEndAllowThreads(__tstate);
4dfaa61e 2489 if (PyErr_Occurred()) return NULL;
b67a9327
RD
2490} Py_INCREF(Py_None);
2491 _resultobj = Py_None;
37f6a977
RD
2492 return _resultobj;
2493}
2494
b67a9327
RD
2495#define wxSizer_ShowPos(_swigobj,_swigarg0,_swigarg1) (_swigobj->Show(_swigarg0,_swigarg1))
2496static PyObject *_wrap_wxSizer_ShowPos(PyObject *self, PyObject *args, PyObject *kwargs) {
37f6a977
RD
2497 PyObject * _resultobj;
2498 wxSizer * _arg0;
b67a9327
RD
2499 size_t _arg1;
2500 bool _arg2 = (bool ) TRUE;
37f6a977 2501 PyObject * _argo0 = 0;
b67a9327
RD
2502 int tempbool2 = (int) TRUE;
2503 char *_kwnames[] = { "self","index","show", NULL };
37f6a977
RD
2504
2505 self = self;
b67a9327 2506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|i:wxSizer_ShowPos",_kwnames,&_argo0,&_arg1,&tempbool2))
37f6a977
RD
2507 return NULL;
2508 if (_argo0) {
2509 if (_argo0 == Py_None) { _arg0 = NULL; }
2510 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizer_p")) {
b67a9327 2511 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizer_ShowPos. Expected _wxSizer_p.");
37f6a977
RD
2512 return NULL;
2513 }
2514 }
b67a9327 2515 _arg2 = (bool ) tempbool2;
37f6a977 2516{
474c48f9 2517 PyThreadState* __tstate = wxPyBeginAllowThreads();
b67a9327 2518 wxSizer_ShowPos(_arg0,_arg1,_arg2);
37f6a977 2519
474c48f9 2520 wxPyEndAllowThreads(__tstate);
4dfaa61e 2521 if (PyErr_Occurred()) return NULL;
37f6a977
RD
2522} Py_INCREF(Py_None);
2523 _resultobj = Py_None;
2524 return _resultobj;
2525}
2526
b67a9327
RD
2527#define wxSizer_HideWindow(_swigobj,_swigarg0) (_swigobj->Hide(_swigarg0))
2528static PyObject *_wrap_wxSizer_HideWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
37f6a977
RD
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;
b67a9327 2537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxSizer_HideWindow",_kwnames,&_argo0,&_argo1))
37f6a977
RD
2538 return NULL;
2539 if (_argo0) {
2540 if (_argo0 == Py_None) { _arg0 = NULL; }
2541 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizer_p")) {
b67a9327 2542 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizer_HideWindow. Expected _wxSizer_p.");
37f6a977
RD
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")) {
b67a9327 2549 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxSizer_HideWindow. Expected _wxWindow_p.");
37f6a977
RD
2550 return NULL;
2551 }
2552 }
2553{
474c48f9 2554 PyThreadState* __tstate = wxPyBeginAllowThreads();
b67a9327 2555 wxSizer_HideWindow(_arg0,_arg1);
37f6a977 2556
474c48f9 2557 wxPyEndAllowThreads(__tstate);
4dfaa61e 2558 if (PyErr_Occurred()) return NULL;
b67a9327
RD
2559} Py_INCREF(Py_None);
2560 _resultobj = Py_None;
37f6a977
RD
2561 return _resultobj;
2562}
2563
b67a9327
RD
2564#define wxSizer_HideSizer(_swigobj,_swigarg0) (_swigobj->Hide(_swigarg0))
2565static PyObject *_wrap_wxSizer_HideSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
8381e4cd
RD
2566 PyObject * _resultobj;
2567 wxSizer * _arg0;
b67a9327 2568 wxSizer * _arg1;
8381e4cd
RD
2569 PyObject * _argo0 = 0;
2570 PyObject * _argo1 = 0;
b67a9327 2571 char *_kwnames[] = { "self","sizer", NULL };
8381e4cd
RD
2572
2573 self = self;
b67a9327 2574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxSizer_HideSizer",_kwnames,&_argo0,&_argo1))
8381e4cd
RD
2575 return NULL;
2576 if (_argo0) {
2577 if (_argo0 == Py_None) { _arg0 = NULL; }
2578 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizer_p")) {
b67a9327 2579 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizer_HideSizer. Expected _wxSizer_p.");
8381e4cd
RD
2580 return NULL;
2581 }
2582 }
2583 if (_argo1) {
2584 if (_argo1 == Py_None) { _arg1 = NULL; }
b67a9327
RD
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.");
8381e4cd
RD
2587 return NULL;
2588 }
2589 }
2590{
2591 PyThreadState* __tstate = wxPyBeginAllowThreads();
b67a9327 2592 wxSizer_HideSizer(_arg0,_arg1);
8381e4cd
RD
2593
2594 wxPyEndAllowThreads(__tstate);
2595 if (PyErr_Occurred()) return NULL;
2596} Py_INCREF(Py_None);
2597 _resultobj = Py_None;
2598 return _resultobj;
2599}
2600
b67a9327
RD
2601#define wxSizer_HidePos(_swigobj,_swigarg0) (_swigobj->Hide(_swigarg0))
2602static PyObject *_wrap_wxSizer_HidePos(PyObject *self, PyObject *args, PyObject *kwargs) {
37f6a977
RD
2603 PyObject * _resultobj;
2604 wxSizer * _arg0;
b67a9327 2605 size_t _arg1;
37f6a977 2606 PyObject * _argo0 = 0;
b67a9327 2607 char *_kwnames[] = { "self","index", NULL };
37f6a977
RD
2608
2609 self = self;
b67a9327 2610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSizer_HidePos",_kwnames,&_argo0,&_arg1))
37f6a977
RD
2611 return NULL;
2612 if (_argo0) {
2613 if (_argo0 == Py_None) { _arg0 = NULL; }
2614 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizer_p")) {
b67a9327 2615 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizer_HidePos. Expected _wxSizer_p.");
37f6a977
RD
2616 return NULL;
2617 }
2618 }
2619{
474c48f9 2620 PyThreadState* __tstate = wxPyBeginAllowThreads();
b67a9327 2621 wxSizer_HidePos(_arg0,_arg1);
37f6a977 2622
474c48f9 2623 wxPyEndAllowThreads(__tstate);
4dfaa61e 2624 if (PyErr_Occurred()) return NULL;
37f6a977
RD
2625} Py_INCREF(Py_None);
2626 _resultobj = Py_None;
2627 return _resultobj;
2628}
2629
b67a9327
RD
2630#define wxSizer_IsShownWindow(_swigobj,_swigarg0) (_swigobj->IsShown(_swigarg0))
2631static PyObject *_wrap_wxSizer_IsShownWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8381e4cd 2632 PyObject * _resultobj;
b67a9327 2633 bool _result;
8381e4cd
RD
2634 wxSizer * _arg0;
2635 wxWindow * _arg1;
2636 PyObject * _argo0 = 0;
2637 PyObject * _argo1 = 0;
2638 char *_kwnames[] = { "self","window", NULL };
2639
2640 self = self;
b67a9327 2641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxSizer_IsShownWindow",_kwnames,&_argo0,&_argo1))
8381e4cd
RD
2642 return NULL;
2643 if (_argo0) {
2644 if (_argo0 == Py_None) { _arg0 = NULL; }
2645 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizer_p")) {
b67a9327 2646 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizer_IsShownWindow. Expected _wxSizer_p.");
8381e4cd
RD
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")) {
b67a9327 2653 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxSizer_IsShownWindow. Expected _wxWindow_p.");
8381e4cd
RD
2654 return NULL;
2655 }
2656 }
2657{
2658 PyThreadState* __tstate = wxPyBeginAllowThreads();
b67a9327 2659 _result = (bool )wxSizer_IsShownWindow(_arg0,_arg1);
8381e4cd
RD
2660
2661 wxPyEndAllowThreads(__tstate);
2662 if (PyErr_Occurred()) return NULL;
b67a9327 2663} _resultobj = Py_BuildValue("i",_result);
8381e4cd
RD
2664 return _resultobj;
2665}
2666
b67a9327
RD
2667#define wxSizer_IsShownSizer(_swigobj,_swigarg0) (_swigobj->IsShown(_swigarg0))
2668static PyObject *_wrap_wxSizer_IsShownSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
93283355 2669 PyObject * _resultobj;
b67a9327 2670 bool _result;
93283355 2671 wxSizer * _arg0;
b67a9327 2672 wxSizer * _arg1;
93283355 2673 PyObject * _argo0 = 0;
b67a9327
RD
2674 PyObject * _argo1 = 0;
2675 char *_kwnames[] = { "self","sizer", NULL };
93283355
RD
2676
2677 self = self;
b67a9327 2678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxSizer_IsShownSizer",_kwnames,&_argo0,&_argo1))
93283355
RD
2679 return NULL;
2680 if (_argo0) {
2681 if (_argo0 == Py_None) { _arg0 = NULL; }
2682 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizer_p")) {
b67a9327
RD
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.");
93283355
RD
2691 return NULL;
2692 }
2693 }
93283355 2694{
474c48f9 2695 PyThreadState* __tstate = wxPyBeginAllowThreads();
b67a9327 2696 _result = (bool )wxSizer_IsShownSizer(_arg0,_arg1);
93283355 2697
474c48f9 2698 wxPyEndAllowThreads(__tstate);
93283355 2699 if (PyErr_Occurred()) return NULL;
b67a9327 2700} _resultobj = Py_BuildValue("i",_result);
93283355
RD
2701 return _resultobj;
2702}
2703
b67a9327
RD
2704#define wxSizer_IsShownPos(_swigobj,_swigarg0) (_swigobj->IsShown(_swigarg0))
2705static PyObject *_wrap_wxSizer_IsShownPos(PyObject *self, PyObject *args, PyObject *kwargs) {
93283355 2706 PyObject * _resultobj;
b67a9327 2707 bool _result;
93283355 2708 wxSizer * _arg0;
b67a9327 2709 size_t _arg1;
93283355 2710 PyObject * _argo0 = 0;
b67a9327 2711 char *_kwnames[] = { "self","index", NULL };
93283355
RD
2712
2713 self = self;
b67a9327 2714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSizer_IsShownPos",_kwnames,&_argo0,&_arg1))
93283355
RD
2715 return NULL;
2716 if (_argo0) {
2717 if (_argo0 == Py_None) { _arg0 = NULL; }
2718 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizer_p")) {
b67a9327 2719 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizer_IsShownPos. Expected _wxSizer_p.");
93283355
RD
2720 return NULL;
2721 }
2722 }
2723{
474c48f9 2724 PyThreadState* __tstate = wxPyBeginAllowThreads();
b67a9327 2725 _result = (bool )wxSizer_IsShownPos(_arg0,_arg1);
93283355 2726
474c48f9 2727 wxPyEndAllowThreads(__tstate);
93283355 2728 if (PyErr_Occurred()) return NULL;
b67a9327 2729} _resultobj = Py_BuildValue("i",_result);
93283355
RD
2730 return _resultobj;
2731}
2732
b67a9327
RD
2733#define wxSizer_ShowItems(_swigobj,_swigarg0) (_swigobj->ShowItems(_swigarg0))
2734static PyObject *_wrap_wxSizer_ShowItems(PyObject *self, PyObject *args, PyObject *kwargs) {
37f6a977 2735 PyObject * _resultobj;
37f6a977 2736 wxSizer * _arg0;
b67a9327 2737 bool _arg1;
37f6a977 2738 PyObject * _argo0 = 0;
b67a9327
RD
2739 int tempbool1;
2740 char *_kwnames[] = { "self","show", NULL };
37f6a977
RD
2741
2742 self = self;
b67a9327 2743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSizer_ShowItems",_kwnames,&_argo0,&tempbool1))
37f6a977
RD
2744 return NULL;
2745 if (_argo0) {
2746 if (_argo0 == Py_None) { _arg0 = NULL; }
2747 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizer_p")) {
b67a9327 2748 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizer_ShowItems. Expected _wxSizer_p.");
37f6a977
RD
2749 return NULL;
2750 }
2751 }
b67a9327 2752 _arg1 = (bool ) tempbool1;
37f6a977 2753{
474c48f9 2754 PyThreadState* __tstate = wxPyBeginAllowThreads();
b67a9327 2755 wxSizer_ShowItems(_arg0,_arg1);
37f6a977 2756
474c48f9 2757 wxPyEndAllowThreads(__tstate);
4dfaa61e 2758 if (PyErr_Occurred()) return NULL;
b67a9327
RD
2759} Py_INCREF(Py_None);
2760 _resultobj = Py_None;
37f6a977
RD
2761 return _resultobj;
2762}
2763
2764static void *SwigwxPySizerTowxSizer(void *ptr) {
2765 wxPySizer *src;
2766 wxSizer *dest;
2767 src = (wxPySizer *) ptr;
2768 dest = (wxSizer *) src;
2769 return (void *) dest;
2770}
2771
9df61a29
RD
2772static void *SwigwxPySizerTowxObject(void *ptr) {
2773 wxPySizer *src;
2774 wxObject *dest;
2775 src = (wxPySizer *) ptr;
2776 dest = (wxObject *) src;
2777 return (void *) dest;
2778}
2779
37f6a977
RD
2780#define new_wxPySizer() (new wxPySizer())
2781static 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{
474c48f9 2791 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2792 _result = (wxPySizer *)new_wxPySizer();
37f6a977 2793
474c48f9 2794 wxPyEndAllowThreads(__tstate);
4dfaa61e 2795 if (PyErr_Occurred()) return NULL;
37f6a977
RD
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
0220cbc1
RD
2806#define wxPySizer__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
2807static PyObject *_wrap_wxPySizer__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
37f6a977
RD
2808 PyObject * _resultobj;
2809 wxPySizer * _arg0;
2810 PyObject * _arg1;
f6bcfd97 2811 PyObject * _arg2;
37f6a977
RD
2812 PyObject * _argo0 = 0;
2813 PyObject * _obj1 = 0;
f6bcfd97
BP
2814 PyObject * _obj2 = 0;
2815 char *_kwnames[] = { "self","self","_class", NULL };
37f6a977
RD
2816
2817 self = self;
0220cbc1 2818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPySizer__setCallbackInfo",_kwnames,&_argo0,&_obj1,&_obj2))
37f6a977
RD
2819 return NULL;
2820 if (_argo0) {
2821 if (_argo0 == Py_None) { _arg0 = NULL; }
2822 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPySizer_p")) {
0220cbc1 2823 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPySizer__setCallbackInfo. Expected _wxPySizer_p.");
37f6a977
RD
2824 return NULL;
2825 }
2826 }
2827{
2828 _arg1 = _obj1;
2829}
f6bcfd97
BP
2830{
2831 _arg2 = _obj2;
2832}
37f6a977 2833{
474c48f9 2834 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2835 wxPySizer__setCallbackInfo(_arg0,_arg1,_arg2);
37f6a977 2836
474c48f9 2837 wxPyEndAllowThreads(__tstate);
4dfaa61e 2838 if (PyErr_Occurred()) return NULL;
37f6a977
RD
2839} Py_INCREF(Py_None);
2840 _resultobj = Py_None;
2841 return _resultobj;
2842}
2843
2844static void *SwigwxBoxSizerTowxSizer(void *ptr) {
2845 wxBoxSizer *src;
2846 wxSizer *dest;
2847 src = (wxBoxSizer *) ptr;
2848 dest = (wxSizer *) src;
2849 return (void *) dest;
2850}
2851
9df61a29
RD
2852static void *SwigwxBoxSizerTowxObject(void *ptr) {
2853 wxBoxSizer *src;
2854 wxObject *dest;
2855 src = (wxBoxSizer *) ptr;
2856 dest = (wxObject *) src;
2857 return (void *) dest;
2858}
2859
37f6a977
RD
2860#define new_wxBoxSizer(_swigarg0) (new wxBoxSizer(_swigarg0))
2861static 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{
474c48f9 2872 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2873 _result = (wxBoxSizer *)new_wxBoxSizer(_arg0);
37f6a977 2874
474c48f9 2875 wxPyEndAllowThreads(__tstate);
4dfaa61e 2876 if (PyErr_Occurred()) return NULL;
37f6a977
RD
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())
2888static 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{
474c48f9 2906 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2907 _result = (int )wxBoxSizer_GetOrientation(_arg0);
37f6a977 2908
474c48f9 2909 wxPyEndAllowThreads(__tstate);
4dfaa61e 2910 if (PyErr_Occurred()) return NULL;
37f6a977
RD
2911} _resultobj = Py_BuildValue("i",_result);
2912 return _resultobj;
2913}
2914
b67a9327
RD
2915#define wxBoxSizer_SetOrientation(_swigobj,_swigarg0) (_swigobj->SetOrientation(_swigarg0))
2916static 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
f6bcfd97
BP
2944#define wxBoxSizer_RecalcSizes(_swigobj) (_swigobj->RecalcSizes())
2945static 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{
474c48f9 2962 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2963 wxBoxSizer_RecalcSizes(_arg0);
f6bcfd97 2964
474c48f9 2965 wxPyEndAllowThreads(__tstate);
4dfaa61e 2966 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
2967} Py_INCREF(Py_None);
2968 _resultobj = Py_None;
2969 return _resultobj;
2970}
2971
2972#define wxBoxSizer_CalcMin(_swigobj) (_swigobj->CalcMin())
2973static 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{
474c48f9 2992 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2993 _result = new wxSize (wxBoxSizer_CalcMin(_arg0));
f6bcfd97 2994
474c48f9 2995 wxPyEndAllowThreads(__tstate);
4dfaa61e 2996 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
2997} SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
2998 _resultobj = Py_BuildValue("s",_ptemp);
2999 return _resultobj;
3000}
3001
37f6a977
RD
3002static void *SwigwxStaticBoxSizerTowxBoxSizer(void *ptr) {
3003 wxStaticBoxSizer *src;
3004 wxBoxSizer *dest;
3005 src = (wxStaticBoxSizer *) ptr;
3006 dest = (wxBoxSizer *) src;
3007 return (void *) dest;
3008}
3009
3010static void *SwigwxStaticBoxSizerTowxSizer(void *ptr) {
3011 wxStaticBoxSizer *src;
3012 wxSizer *dest;
3013 src = (wxStaticBoxSizer *) ptr;
3014 dest = (wxSizer *) src;
3015 return (void *) dest;
3016}
3017
9df61a29
RD
3018static void *SwigwxStaticBoxSizerTowxObject(void *ptr) {
3019 wxStaticBoxSizer *src;
3020 wxObject *dest;
3021 src = (wxStaticBoxSizer *) ptr;
3022 dest = (wxObject *) src;
3023 return (void *) dest;
3024}
3025
37f6a977
RD
3026#define new_wxStaticBoxSizer(_swigarg0,_swigarg1) (new wxStaticBoxSizer(_swigarg0,_swigarg1))
3027static 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{
474c48f9 3047 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3048 _result = (wxStaticBoxSizer *)new_wxStaticBoxSizer(_arg0,_arg1);
37f6a977 3049
474c48f9 3050 wxPyEndAllowThreads(__tstate);
4dfaa61e 3051 if (PyErr_Occurred()) return NULL;
37f6a977
RD
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())
3063static 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 };
37f6a977
RD
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{
474c48f9 3081 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3082 _result = (wxStaticBox *)wxStaticBoxSizer_GetStaticBox(_arg0);
37f6a977 3083
474c48f9 3084 wxPyEndAllowThreads(__tstate);
4dfaa61e 3085 if (PyErr_Occurred()) return NULL;
9df61a29 3086}{ _resultobj = wxPyMake_wxObject(_result); }
37f6a977
RD
3087 return _resultobj;
3088}
3089
f6bcfd97
BP
3090#define wxStaticBoxSizer_RecalcSizes(_swigobj) (_swigobj->RecalcSizes())
3091static 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{
474c48f9 3108 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3109 wxStaticBoxSizer_RecalcSizes(_arg0);
f6bcfd97 3110
474c48f9 3111 wxPyEndAllowThreads(__tstate);
4dfaa61e 3112 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
3113} Py_INCREF(Py_None);
3114 _resultobj = Py_None;
3115 return _resultobj;
3116}
3117
3118#define wxStaticBoxSizer_CalcMin(_swigobj) (_swigobj->CalcMin())
3119static 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{
474c48f9 3138 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3139 _result = new wxSize (wxStaticBoxSizer_CalcMin(_arg0));
f6bcfd97 3140
474c48f9 3141 wxPyEndAllowThreads(__tstate);
4dfaa61e 3142 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
3143} SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
3144 _resultobj = Py_BuildValue("s",_ptemp);
3145 return _resultobj;
3146}
3147
3148static void *SwigwxNotebookSizerTowxSizer(void *ptr) {
3149 wxNotebookSizer *src;
3150 wxSizer *dest;
3151 src = (wxNotebookSizer *) ptr;
3152 dest = (wxSizer *) src;
3153 return (void *) dest;
3154}
3155
9df61a29
RD
3156static void *SwigwxNotebookSizerTowxObject(void *ptr) {
3157 wxNotebookSizer *src;
3158 wxObject *dest;
3159 src = (wxNotebookSizer *) ptr;
3160 dest = (wxObject *) src;
3161 return (void *) dest;
3162}
3163
f6bcfd97
BP
3164#define new_wxNotebookSizer(_swigarg0) (new wxNotebookSizer(_swigarg0))
3165static 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{
474c48f9 3184 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3185 _result = (wxNotebookSizer *)new_wxNotebookSizer(_arg0);
f6bcfd97 3186
474c48f9 3187 wxPyEndAllowThreads(__tstate);
4dfaa61e 3188 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
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())
3200static 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{
474c48f9 3217 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3218 wxNotebookSizer_RecalcSizes(_arg0);
f6bcfd97 3219
474c48f9 3220 wxPyEndAllowThreads(__tstate);
4dfaa61e 3221 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
3222} Py_INCREF(Py_None);
3223 _resultobj = Py_None;
3224 return _resultobj;
3225}
3226
3227#define wxNotebookSizer_CalcMin(_swigobj) (_swigobj->CalcMin())
3228static 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{
474c48f9 3247 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3248 _result = new wxSize (wxNotebookSizer_CalcMin(_arg0));
f6bcfd97 3249
474c48f9 3250 wxPyEndAllowThreads(__tstate);
4dfaa61e 3251 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
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())
3258static 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 };
f6bcfd97
BP
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{
474c48f9 3276 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3277 _result = (wxNotebook *)wxNotebookSizer_GetNotebook(_arg0);
f6bcfd97 3278
474c48f9 3279 wxPyEndAllowThreads(__tstate);
4dfaa61e 3280 if (PyErr_Occurred()) return NULL;
9df61a29 3281}{ _resultobj = wxPyMake_wxObject(_result); }
f6bcfd97
BP
3282 return _resultobj;
3283}
3284
3285static void *SwigwxGridSizerTowxSizer(void *ptr) {
3286 wxGridSizer *src;
3287 wxSizer *dest;
3288 src = (wxGridSizer *) ptr;
3289 dest = (wxSizer *) src;
3290 return (void *) dest;
3291}
3292
9df61a29
RD
3293static void *SwigwxGridSizerTowxObject(void *ptr) {
3294 wxGridSizer *src;
3295 wxObject *dest;
3296 src = (wxGridSizer *) ptr;
3297 dest = (wxObject *) src;
3298 return (void *) dest;
3299}
3300
f6bcfd97
BP
3301#define new_wxGridSizer(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxGridSizer(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3302static 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{
474c48f9 3316 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3317 _result = (wxGridSizer *)new_wxGridSizer(_arg0,_arg1,_arg2,_arg3);
f6bcfd97 3318
474c48f9 3319 wxPyEndAllowThreads(__tstate);
4dfaa61e 3320 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
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())
3332static 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{
474c48f9 3349 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3350 wxGridSizer_RecalcSizes(_arg0);
f6bcfd97 3351
474c48f9 3352 wxPyEndAllowThreads(__tstate);
4dfaa61e 3353 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
3354} Py_INCREF(Py_None);
3355 _resultobj = Py_None;
3356 return _resultobj;
3357}
3358
3359#define wxGridSizer_CalcMin(_swigobj) (_swigobj->CalcMin())
3360static 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{
474c48f9 3379 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3380 _result = new wxSize (wxGridSizer_CalcMin(_arg0));
f6bcfd97 3381
474c48f9 3382 wxPyEndAllowThreads(__tstate);
4dfaa61e 3383 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
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))
3390static 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{
474c48f9 3408 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3409 wxGridSizer_SetCols(_arg0,_arg1);
f6bcfd97 3410
474c48f9 3411 wxPyEndAllowThreads(__tstate);
4dfaa61e 3412 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
3413} Py_INCREF(Py_None);
3414 _resultobj = Py_None;
3415 return _resultobj;
3416}
3417
3418#define wxGridSizer_SetRows(_swigobj,_swigarg0) (_swigobj->SetRows(_swigarg0))
3419static 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{
474c48f9 3437 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3438 wxGridSizer_SetRows(_arg0,_arg1);
f6bcfd97 3439
474c48f9 3440 wxPyEndAllowThreads(__tstate);
4dfaa61e 3441 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
3442} Py_INCREF(Py_None);
3443 _resultobj = Py_None;
3444 return _resultobj;
3445}
3446
3447#define wxGridSizer_SetVGap(_swigobj,_swigarg0) (_swigobj->SetVGap(_swigarg0))
3448static 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{
474c48f9 3466 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3467 wxGridSizer_SetVGap(_arg0,_arg1);
f6bcfd97 3468
474c48f9 3469 wxPyEndAllowThreads(__tstate);
4dfaa61e 3470 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
3471} Py_INCREF(Py_None);
3472 _resultobj = Py_None;
3473 return _resultobj;
3474}
3475
3476#define wxGridSizer_SetHGap(_swigobj,_swigarg0) (_swigobj->SetHGap(_swigarg0))
3477static 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{
474c48f9 3495 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3496 wxGridSizer_SetHGap(_arg0,_arg1);
f6bcfd97 3497
474c48f9 3498 wxPyEndAllowThreads(__tstate);
4dfaa61e 3499 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
3500} Py_INCREF(Py_None);
3501 _resultobj = Py_None;
3502 return _resultobj;
3503}
3504
3505#define wxGridSizer_GetCols(_swigobj) (_swigobj->GetCols())
3506static 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{
474c48f9 3524 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3525 _result = (int )wxGridSizer_GetCols(_arg0);
f6bcfd97 3526
474c48f9 3527 wxPyEndAllowThreads(__tstate);
4dfaa61e 3528 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
3529} _resultobj = Py_BuildValue("i",_result);
3530 return _resultobj;
3531}
3532
3533#define wxGridSizer_GetRows(_swigobj) (_swigobj->GetRows())
3534static 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{
474c48f9 3552 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3553 _result = (int )wxGridSizer_GetRows(_arg0);
f6bcfd97 3554
474c48f9 3555 wxPyEndAllowThreads(__tstate);
4dfaa61e 3556 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
3557} _resultobj = Py_BuildValue("i",_result);
3558 return _resultobj;
3559}
3560
3561#define wxGridSizer_GetVGap(_swigobj) (_swigobj->GetVGap())
3562static 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{
474c48f9 3580 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3581 _result = (int )wxGridSizer_GetVGap(_arg0);
f6bcfd97 3582
474c48f9 3583 wxPyEndAllowThreads(__tstate);
4dfaa61e 3584 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
3585} _resultobj = Py_BuildValue("i",_result);
3586 return _resultobj;
3587}
3588
3589#define wxGridSizer_GetHGap(_swigobj) (_swigobj->GetHGap())
3590static 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{
474c48f9 3608 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3609 _result = (int )wxGridSizer_GetHGap(_arg0);
f6bcfd97 3610
474c48f9 3611 wxPyEndAllowThreads(__tstate);
4dfaa61e 3612 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
3613} _resultobj = Py_BuildValue("i",_result);
3614 return _resultobj;
3615}
3616
3617static void *SwigwxFlexGridSizerTowxGridSizer(void *ptr) {
3618 wxFlexGridSizer *src;
3619 wxGridSizer *dest;
3620 src = (wxFlexGridSizer *) ptr;
3621 dest = (wxGridSizer *) src;
3622 return (void *) dest;
3623}
3624
3625static void *SwigwxFlexGridSizerTowxSizer(void *ptr) {
3626 wxFlexGridSizer *src;
3627 wxSizer *dest;
3628 src = (wxFlexGridSizer *) ptr;
3629 dest = (wxSizer *) src;
3630 return (void *) dest;
3631}
3632
9df61a29
RD
3633static void *SwigwxFlexGridSizerTowxObject(void *ptr) {
3634 wxFlexGridSizer *src;
3635 wxObject *dest;
3636 src = (wxFlexGridSizer *) ptr;
3637 dest = (wxObject *) src;
3638 return (void *) dest;
3639}
3640
f6bcfd97
BP
3641#define new_wxFlexGridSizer(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxFlexGridSizer(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3642static 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{
474c48f9 3656 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3657 _result = (wxFlexGridSizer *)new_wxFlexGridSizer(_arg0,_arg1,_arg2,_arg3);
f6bcfd97 3658
474c48f9 3659 wxPyEndAllowThreads(__tstate);
4dfaa61e 3660 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
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())
3672static 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{
474c48f9 3689 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3690 wxFlexGridSizer_RecalcSizes(_arg0);
f6bcfd97 3691
474c48f9 3692 wxPyEndAllowThreads(__tstate);
4dfaa61e 3693 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
3694} Py_INCREF(Py_None);
3695 _resultobj = Py_None;
3696 return _resultobj;
3697}
3698
3699#define wxFlexGridSizer_CalcMin(_swigobj) (_swigobj->CalcMin())
3700static 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{
474c48f9 3719 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3720 _result = new wxSize (wxFlexGridSizer_CalcMin(_arg0));
f6bcfd97 3721
474c48f9 3722 wxPyEndAllowThreads(__tstate);
4dfaa61e 3723 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
3724} SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
3725 _resultobj = Py_BuildValue("s",_ptemp);
3726 return _resultobj;
3727}
3728
b67a9327 3729#define wxFlexGridSizer_AddGrowableRow(_swigobj,_swigarg0,_swigarg1) (_swigobj->AddGrowableRow(_swigarg0,_swigarg1))
f6bcfd97
BP
3730static PyObject *_wrap_wxFlexGridSizer_AddGrowableRow(PyObject *self, PyObject *args, PyObject *kwargs) {
3731 PyObject * _resultobj;
3732 wxFlexGridSizer * _arg0;
3733 size_t _arg1;
b67a9327 3734 int _arg2 = (int ) 0;
f6bcfd97 3735 PyObject * _argo0 = 0;
b67a9327 3736 char *_kwnames[] = { "self","idx","proportion", NULL };
f6bcfd97
BP
3737
3738 self = self;
b67a9327 3739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|i:wxFlexGridSizer_AddGrowableRow",_kwnames,&_argo0,&_arg1,&_arg2))
f6bcfd97
BP
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{
474c48f9 3749 PyThreadState* __tstate = wxPyBeginAllowThreads();
b67a9327 3750 wxFlexGridSizer_AddGrowableRow(_arg0,_arg1,_arg2);
f6bcfd97 3751
474c48f9 3752 wxPyEndAllowThreads(__tstate);
4dfaa61e 3753 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
3754} Py_INCREF(Py_None);
3755 _resultobj = Py_None;
3756 return _resultobj;
3757}
3758
3759#define wxFlexGridSizer_RemoveGrowableRow(_swigobj,_swigarg0) (_swigobj->RemoveGrowableRow(_swigarg0))
3760static 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{
474c48f9 3778 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3779 wxFlexGridSizer_RemoveGrowableRow(_arg0,_arg1);
f6bcfd97 3780
474c48f9 3781 wxPyEndAllowThreads(__tstate);
4dfaa61e 3782 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
3783} Py_INCREF(Py_None);
3784 _resultobj = Py_None;
3785 return _resultobj;
3786}
3787
b67a9327 3788#define wxFlexGridSizer_AddGrowableCol(_swigobj,_swigarg0,_swigarg1) (_swigobj->AddGrowableCol(_swigarg0,_swigarg1))
f6bcfd97
BP
3789static PyObject *_wrap_wxFlexGridSizer_AddGrowableCol(PyObject *self, PyObject *args, PyObject *kwargs) {
3790 PyObject * _resultobj;
3791 wxFlexGridSizer * _arg0;
3792 size_t _arg1;
b67a9327 3793 int _arg2 = (int ) 0;
f6bcfd97 3794 PyObject * _argo0 = 0;
b67a9327 3795 char *_kwnames[] = { "self","idx","proportion", NULL };
f6bcfd97
BP
3796
3797 self = self;
b67a9327 3798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|i:wxFlexGridSizer_AddGrowableCol",_kwnames,&_argo0,&_arg1,&_arg2))
f6bcfd97
BP
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{
474c48f9 3808 PyThreadState* __tstate = wxPyBeginAllowThreads();
b67a9327 3809 wxFlexGridSizer_AddGrowableCol(_arg0,_arg1,_arg2);
f6bcfd97 3810
474c48f9 3811 wxPyEndAllowThreads(__tstate);
4dfaa61e 3812 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
3813} Py_INCREF(Py_None);
3814 _resultobj = Py_None;
3815 return _resultobj;
3816}
3817
3818#define wxFlexGridSizer_RemoveGrowableCol(_swigobj,_swigarg0) (_swigobj->RemoveGrowableCol(_swigarg0))
3819static 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{
474c48f9 3837 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3838 wxFlexGridSizer_RemoveGrowableCol(_arg0,_arg1);
f6bcfd97 3839
474c48f9 3840 wxPyEndAllowThreads(__tstate);
4dfaa61e 3841 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
3842} Py_INCREF(Py_None);
3843 _resultobj = Py_None;
3844 return _resultobj;
3845}
3846
b67a9327
RD
3847#define wxFlexGridSizer_SetFlexibleDirection(_swigobj,_swigarg0) (_swigobj->SetFlexibleDirection(_swigarg0))
3848static 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())
3877static 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))
3905static 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())
3934static 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
37f6a977 3961static PyMethodDef sizerscMethods[] = {
b67a9327
RD
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 },
f6bcfd97
BP
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 },
37f6a977
RD
3990 { "wxStaticBoxSizer_GetStaticBox", (PyCFunction) _wrap_wxStaticBoxSizer_GetStaticBox, METH_VARARGS | METH_KEYWORDS },
3991 { "new_wxStaticBoxSizer", (PyCFunction) _wrap_new_wxStaticBoxSizer, METH_VARARGS | METH_KEYWORDS },
f6bcfd97
BP
3992 { "wxBoxSizer_CalcMin", (PyCFunction) _wrap_wxBoxSizer_CalcMin, METH_VARARGS | METH_KEYWORDS },
3993 { "wxBoxSizer_RecalcSizes", (PyCFunction) _wrap_wxBoxSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS },
b67a9327 3994 { "wxBoxSizer_SetOrientation", (PyCFunction) _wrap_wxBoxSizer_SetOrientation, METH_VARARGS | METH_KEYWORDS },
37f6a977
RD
3995 { "wxBoxSizer_GetOrientation", (PyCFunction) _wrap_wxBoxSizer_GetOrientation, METH_VARARGS | METH_KEYWORDS },
3996 { "new_wxBoxSizer", (PyCFunction) _wrap_new_wxBoxSizer, METH_VARARGS | METH_KEYWORDS },
0220cbc1 3997 { "wxPySizer__setCallbackInfo", (PyCFunction) _wrap_wxPySizer__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
37f6a977 3998 { "new_wxPySizer", (PyCFunction) _wrap_new_wxPySizer, METH_VARARGS | METH_KEYWORDS },
b67a9327
RD
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 },
37f6a977 4010 { "wxSizer_GetChildren", (PyCFunction) _wrap_wxSizer_GetChildren, METH_VARARGS | METH_KEYWORDS },
8381e4cd 4011 { "wxSizer_SetVirtualSizeHints", (PyCFunction) _wrap_wxSizer_SetVirtualSizeHints, METH_VARARGS | METH_KEYWORDS },
37f6a977 4012 { "wxSizer_SetSizeHints", (PyCFunction) _wrap_wxSizer_SetSizeHints, METH_VARARGS | METH_KEYWORDS },
8381e4cd 4013 { "wxSizer_FitInside", (PyCFunction) _wrap_wxSizer_FitInside, METH_VARARGS | METH_KEYWORDS },
37f6a977
RD
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 },
b67a9327
RD
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 },
f6bcfd97
BP
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 },
b67a9327
RD
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 },
37f6a977
RD
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 },
f6bcfd97
BP
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 },
37f6a977
RD
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 },
17c0e08c 4044 { "wxSizer__setOORInfo", (PyCFunction) _wrap_wxSizer__setOORInfo, METH_VARARGS | METH_KEYWORDS },
37f6a977 4045 { "wxSizerItem_GetUserData", (PyCFunction) _wrap_wxSizerItem_GetUserData, METH_VARARGS | METH_KEYWORDS },
b67a9327
RD
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 },
f6bcfd97 4051 { "wxSizerItem_SetSizer", (PyCFunction) _wrap_wxSizerItem_SetSizer, METH_VARARGS | METH_KEYWORDS },
37f6a977 4052 { "wxSizerItem_GetSizer", (PyCFunction) _wrap_wxSizerItem_GetSizer, METH_VARARGS | METH_KEYWORDS },
f6bcfd97 4053 { "wxSizerItem_SetWindow", (PyCFunction) _wrap_wxSizerItem_SetWindow, METH_VARARGS | METH_KEYWORDS },
37f6a977 4054 { "wxSizerItem_GetWindow", (PyCFunction) _wrap_wxSizerItem_GetWindow, METH_VARARGS | METH_KEYWORDS },
b67a9327
RD
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 },
37f6a977
RD
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 },
f6bcfd97
BP
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 },
b67a9327
RD
4068 { "wxSizerItem_SetInitSize", (PyCFunction) _wrap_wxSizerItem_SetInitSize, METH_VARARGS | METH_KEYWORDS },
4069 { "wxSizerItem_GetMinSize", (PyCFunction) _wrap_wxSizerItem_GetMinSize, METH_VARARGS | METH_KEYWORDS },
37f6a977
RD
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 },
b67a9327 4073 { "wxSizerItem_DetachSizer", (PyCFunction) _wrap_wxSizerItem_DetachSizer, METH_VARARGS | METH_KEYWORDS },
93283355 4074 { "wxSizerItem_DeleteWindows", (PyCFunction) _wrap_wxSizerItem_DeleteWindows, METH_VARARGS | METH_KEYWORDS },
37f6a977
RD
4075 { NULL, NULL }
4076};
4077#ifdef __cplusplus
4078}
4079#endif
4080/*
4081 * This table is used by the pointer type-checker
4082 */
4083static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
37f6a977 4084 { "_signed_long","_long",0},
4120ef2b 4085 { "_wxPrintQuality","_wxCoord",0},
37f6a977
RD
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},
c368d904 4093 { "_wxPrintQuality","_time_t",0},
37f6a977 4094 { "_byte","_unsigned_char",0},
37f6a977
RD
4095 { "_long","_unsigned_long",0},
4096 { "_long","_signed_long",0},
f6bcfd97 4097 { "_wxGridSizer","_wxFlexGridSizer",SwigwxFlexGridSizerTowxGridSizer},
4120ef2b 4098 { "_size_t","_wxCoord",0},
37f6a977 4099 { "_size_t","_wxPrintQuality",0},
c368d904 4100 { "_size_t","_time_t",0},
37f6a977
RD
4101 { "_size_t","_unsigned_int",0},
4102 { "_size_t","_int",0},
4103 { "_size_t","_wxWindowID",0},
4104 { "_size_t","_uint",0},
4120ef2b 4105 { "_uint","_wxCoord",0},
37f6a977 4106 { "_uint","_wxPrintQuality",0},
c368d904 4107 { "_uint","_time_t",0},
37f6a977
RD
4108 { "_uint","_size_t",0},
4109 { "_uint","_unsigned_int",0},
4110 { "_uint","_int",0},
4111 { "_uint","_wxWindowID",0},
f6bcfd97 4112 { "_wxChar","_char",0},
37f6a977 4113 { "_wxBoxSizer","_wxStaticBoxSizer",SwigwxStaticBoxSizerTowxBoxSizer},
f6bcfd97 4114 { "_char","_wxChar",0},
32c988a3 4115 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
4120ef2b 4116 { "_EBool","_wxCoord",0},
37f6a977
RD
4117 { "_EBool","_wxPrintQuality",0},
4118 { "_EBool","_signed_int",0},
4119 { "_EBool","_int",0},
4120 { "_EBool","_wxWindowID",0},
37f6a977 4121 { "_unsigned_long","_long",0},
32c988a3 4122 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
4120ef2b 4123 { "_signed_int","_wxCoord",0},
37f6a977
RD
4124 { "_signed_int","_wxPrintQuality",0},
4125 { "_signed_int","_EBool",0},
4126 { "_signed_int","_wxWindowID",0},
4127 { "_signed_int","_int",0},
37f6a977
RD
4128 { "_WXTYPE","_short",0},
4129 { "_WXTYPE","_signed_short",0},
4130 { "_WXTYPE","_unsigned_short",0},
37f6a977
RD
4131 { "_unsigned_short","_WXTYPE",0},
4132 { "_unsigned_short","_short",0},
9df61a29 4133 { "_wxObject","_wxFlexGridSizer",SwigwxFlexGridSizerTowxObject},
9df61a29 4134 { "_wxObject","_wxGridSizer",SwigwxGridSizerTowxObject},
9df61a29 4135 { "_wxObject","_wxNotebookSizer",SwigwxNotebookSizerTowxObject},
9df61a29 4136 { "_wxObject","_wxStaticBoxSizer",SwigwxStaticBoxSizerTowxObject},
9df61a29 4137 { "_wxObject","_wxBoxSizer",SwigwxBoxSizerTowxObject},
9df61a29 4138 { "_wxObject","_wxPySizer",SwigwxPySizerTowxObject},
9df61a29 4139 { "_wxObject","_wxSizer",SwigwxSizerTowxObject},
9df61a29 4140 { "_wxObject","_wxSizerItem",SwigwxSizerItemTowxObject},
37f6a977
RD
4141 { "_signed_short","_WXTYPE",0},
4142 { "_signed_short","_short",0},
37f6a977 4143 { "_unsigned_char","_byte",0},
4120ef2b 4144 { "_unsigned_int","_wxCoord",0},
37f6a977 4145 { "_unsigned_int","_wxPrintQuality",0},
c368d904 4146 { "_unsigned_int","_time_t",0},
37f6a977
RD
4147 { "_unsigned_int","_size_t",0},
4148 { "_unsigned_int","_uint",0},
4149 { "_unsigned_int","_wxWindowID",0},
4150 { "_unsigned_int","_int",0},
37f6a977
RD
4151 { "_short","_WXTYPE",0},
4152 { "_short","_unsigned_short",0},
4153 { "_short","_signed_short",0},
4120ef2b 4154 { "_wxWindowID","_wxCoord",0},
37f6a977 4155 { "_wxWindowID","_wxPrintQuality",0},
c368d904 4156 { "_wxWindowID","_time_t",0},
37f6a977
RD
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},
4120ef2b 4163 { "_int","_wxCoord",0},
37f6a977 4164 { "_int","_wxPrintQuality",0},
c368d904 4165 { "_int","_time_t",0},
37f6a977
RD
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},
c368d904
RD
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},
4120ef2b
RD
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},
c368d904 4186 { "_wxCoord","_time_t",0},
4120ef2b 4187 { "_wxCoord","_wxPrintQuality",0},
f6bcfd97 4188 { "_wxSizer","_wxFlexGridSizer",SwigwxFlexGridSizerTowxSizer},
f6bcfd97 4189 { "_wxSizer","_wxGridSizer",SwigwxGridSizerTowxSizer},
f6bcfd97 4190 { "_wxSizer","_wxNotebookSizer",SwigwxNotebookSizerTowxSizer},
37f6a977 4191 { "_wxSizer","_wxStaticBoxSizer",SwigwxStaticBoxSizerTowxSizer},
37f6a977 4192 { "_wxSizer","_wxBoxSizer",SwigwxBoxSizerTowxSizer},
37f6a977 4193 { "_wxSizer","_wxPySizer",SwigwxPySizerTowxSizer},
37f6a977
RD
4194{0,0,0}};
4195
4196static PyObject *SWIG_globals;
4197#ifdef __cplusplus
4198extern "C"
4199#endif
4200SWIGEXPORT(void) initsizersc() {
4201 PyObject *m, *d;
4202 SWIG_globals = SWIG_newvarlink();
4203 m = Py_InitModule("sizersc", sizerscMethods);
4204 d = PyModule_GetDict(m);
b67a9327
RD
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));
37f6a977
RD
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}