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